Add more sNaN tests (cimag, conj, copysign, creal, fma, fmod).
[glibc.git] / ChangeLog
blobd6b12ff91756068d149a9bb6679099f4c089d6dc
1 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
3         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
4         (conj_test_data): Likewise.
5         (copysign_test_data): Likewise.
6         (creal_test_data): Likewise.
7         (fma_test_data): Likewise.
8         (fmod_test_data): Likewise.
10         [BZ #20250]
11         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
12         itself.
13         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
14         zero input to itself.
15         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
16         Likewise.
17         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
18         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
19         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
20         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
21         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
23 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
26         * nptl/tst-cancel4-common.c: New file.
27         * nptl/tst-cancel4-common.h: Likewise.
28         * nptl/tst-cancel4.c: Move common definitions to
29         tst-cancel4-common.{c,h} file.
30         * nptl/tst-cancel4_1.c: New test.
31         * nptl/tst-cancel4_2.c: New test.
33 2016-06-13  Florian Weimer  <fweimer@redhat.com>
35         [BZ #20248]
36         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
37         (write_message): New function.
38         (stackoverflow_handler): Call it instead of printf, to avoid
39         excessive stack usage by printf.
40         (do_test): Restore SIGSEGV, SIGBUS default handlers.
42 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
44         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
45         (prio_inherit_missing): Remove define.
46         * sysdeps/unix/sysv/linux/arm/kernel-features.h
47         (__ASSUME_FUTEX_LOCK_PI): Likewise.
48         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
49         Likewise.
50         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
51         (__ASSUME_FUTEX_LOCK_PI): Likewise.
52         * sysdeps/unix/sysv/linux/mips/kernel-features.h
53         (__ASSUME_FUTEX_LOCK_PI): Likewise.
54         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
55         (__ASSUME_FUTEX_LOCK_PI): Likewise.
57 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
59         [BZ #19670]
60         [BZ #19672]
62         * io/test-lfs.c (do_prepare): Use xmalloc.
63         * io/tst-fcntl.c (do_prepare): Likewise.
64         * libio/tst-fopenloc.c (do_bz17916): Likewise.
65         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
66         * login/tst-utmp.c (do_prepare): Likewise.
67         * posix/tst-exec.c (do_prepare): Likewise.
68         * posix/tst-pathconf.c (prepare): Likewise.
69         * posix/tst-spawn.c (do_prepare): Likewise.
70         * posix/tst-truncate.c (do_prepare): Likewise.
71         * rt/tst-aio.c (do_prepare): Likewise.
72         * rt/tst-aio64.c (do_prepare): Likewise.
74 2016-06-11  Florian Weimer  <fweimer@redhat.com>
76         [BZ #20237]
77         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
78         (get*ent): Set entidx to NULL during initialization.  If entidx is
79         NULL, start iteration from the beginning.
81 2016-06-11  Florian Weimer  <fweimer@redhat.com>
83         * malloc/malloc.c (musable): Return correct size for dumped fake
84         mmapped chunk.
86 2016-06-11  Florian Weimer  <fweimer@redhat.com>
88         [BZ #20222]
89         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
90         (_IO_cookie_write): Likewise.
91         (_IO_cookie_seek): Likewise.
92         (_IO_cookie_close): Likewise.
93         (_IO_old_cookie_seek): Likewise.
94         (set_callbacks): New function.
95         (_IO_cookie_init): Call set_callbacks to copy callbacks.
97 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
99         * locale/programs/localedef.c (oldstyle_tables): Remove.
100         * locale/programs/localedef.h (oldstyle_tables): Likewise.
102 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
104         [BZ #20240]
105         * math/Makefile (CFLAGS-s_modf.c): New variable.
106         (CFLAGS-s_modff.c): Likewise.
107         (CFLAGS-s_modfl.c): Likewise.
108         * math/libm-test.inc (modf_test_data): Add sNaN tests.
110 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
112         [BZ #20215]
113         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
114         [!__GNUC_PREREQ (3,2)]: Likewise.
116 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
118         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
119         (msghdr.msg_controllen): Likewise.
120         (cmsghdr.cmsg_len): Likewise.
121         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
122         ptw-oldsendmsg.
123         (CFLAGS-oldrecvmsg.c): Remove rule.
124         (CFLAGS-oldsendmsg.c): Likewise.
125         (CFLAGS-recvmsg.c): Add rule.
126         (CFLAGS-sendmsg.c): Likewise.
127         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
128         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
129         (CFLAGS-recvmsg.c): Remove rule.
130         (CFLAGS-sendmsg.c): Likewise.
131         (CFLAGS-oldrecvmsg.c): Likewise.
132         (CFLAGS-oldsendmsg.c): Likewise.
133         (CFLAGS-recvmmsg.c): Likewise.
134         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
135         to kernel defined interfaces.
136         (msghdr.msg_controllen): Likewise.
137         (cmsghdr.cmsg_len): Likewise.
138         (msghdr.__glibc_reserved1): Remove member.
139         (msghdr.__glibc_reserved2): Likewise.
140         (cmsghdr.__glibc_reserved1): Likewise.
141         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
142         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
143         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
144         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
145         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
146         version.
147         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
148         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
149         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
150         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
151         Remove recvmsg and sendmsg.
152         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
153         Likewise.
154         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
155         Likewise.
156         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
157         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
158         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
159         Likewise.
160         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
161         Likewise.
162         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
163         [libc] (GLIBC_2.24): Likewise.
164         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
165         Likewise.
166         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
167         Likewise.
168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
169         [libc] (GLIBC_2.24): Likewise.
170         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
171         Likewise.
172         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
173         Likewise.
174         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
175         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
176         Likewise.
177         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
178         Likewise.
179         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
180         Likewise.
181         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
182         Likewise.
183         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
184         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
185         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
186         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
187         version for {recv,send,recm,sendm}msg.
188         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
189         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
190         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
191         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
192         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
193         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
194         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
195         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
196         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
197         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
198         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
199         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
201         Likewise.
202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
203         Likewise.
204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
206         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
207         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
208         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
209         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
210         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
211         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
212         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
213         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
214         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
215         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
216         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
218 2016-06-10  Florian Weimer  <fweimer@redhat.com>
220         [BZ #19564]
221         Remove __malloc_initialize_hook from the API.
222         * malloc/malloc.h (__malloc_initialize_hook): Remove.
223         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
224         #pragma GCC poison.
225         * malloc/malloc-hooks.h: New file.
226         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
227         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
228         (old__malloc_initialize_hook): Rename from
229         __malloc_initialize_hook to evade poisoning.  Turn into compat
230         symbol.
231         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
232         __malloc_initialize_hook.
233         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
234         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
235         * manual/memory.texi (Hooks for Malloc): Remove
236         __malloc_initialize_hook.  Adjust hook example.
238 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
240         [BZ #20235]
241         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
242         itself.
243         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
244         * math/libm-test.inc (log2_test_data): Add sNaN tests.
246         [BZ #20234]
247         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
248         infinity or NaN input to itself.
250         [BZ #20233]
251         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
252         to itself.
254         [BZ #20232]
255         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
256         itself.
258 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
260         * sysdeps/x86_64/start.S (_start): Always indirect branch to
261         __libc_start_main via GOT.
263 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
265         * sysdeps/x86_64/memcopy.h: New file.
266         * sysdeps/x86_64/wordcopy.c: Likewise.
268 2016-06-09  Florian Weimer  <fweimer@redhat.com>
270         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
271         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
272         <cstdlib>.
273         (optimization_barrier): New.
274         (do_test): Use it.  Call quick_exit in the global namespace.
275         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
276         instead of <cstdlib>, <thread>.
277         (optimization_barrier): New.
278         (non_main_thread): Adjust declaration.  Call optimization_barrier.
279         Call quick_exit in the global namespace.
280         (do_test): Call optimization_barrier.  Use pthread_create,
281         pthread_join instead of std::thread.
283 2016-06-09  Andreas Schwab  <schwab@suse.de>
285         [BZ #19755]
286         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
287         new entries in auto-propagate mode.
288         * nscd/grpcache.c (cache_addgr): Likewise.
290 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
292         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
293         New functions.
294         (add_temp_file): Use them.
296 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
298         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
300 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
302         [BZ #20229]
303         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
304         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
305         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
307         [BZ #20228]
308         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
309         itself.
310         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
311         * math/libm-test.inc (log10_test_data): Add sNaN tests.
313         [BZ #20227]
314         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
315         itself.
316         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
317         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
318         * math/libm-test.inc (log_test_data): Add sNaN tests.
320         [BZ #20226]
321         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
322         itself.
323         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
324         * math/libm-test.inc (exp_test_data): Add sNaN tests.
325         (exp10_test_data): Likewise.
326         (expm1_test_data): Likewise.
328         [BZ #20225]
329         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
330         itself.
331         * math/s_ldexpf.c (__ldexpf): Likewise.
332         * math/s_ldexpl.c (__ldexpl): Likewise.
333         * math/w_scalbln.c (__w_scalbln): Likewise.
334         * math/w_scalblnf.c (__w_scalblnf): Likewise.
335         * math/w_scalblnl.c (__w_scalblnl): Likewise.
336         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
337         (scalbln_test_data): Likewise.
339         [BZ #20224]
340         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
341         argument to itself.
342         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
344 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
346         [BZ #19776]
347         * sysdeps/x86_64/memcpy.S: Make it dummy.
348         * sysdeps/x86_64/mempcpy.S: Likewise.
349         * sysdeps/x86_64/memmove.S: New file.
350         * sysdeps/x86_64/memmove_chk.S: Likewise.
351         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
352         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
353         * sysdeps/x86_64/memmove.c: Removed.
354         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
355         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
356         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
357         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
358         Likewise.
359         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
360         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
361         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
362         memcpy-sse2-unaligned, memmove-avx-unaligned,
363         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
364         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
365         (__libc_ifunc_impl_list): Replace
366         __memmove_chk_avx512_unaligned_2 with
367         __memmove_chk_avx512_unaligned.  Remove
368         __memmove_chk_avx_unaligned_2.  Replace
369         __memmove_chk_sse2_unaligned_2 with
370         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
371         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
372         with __memmove_avx512_unaligned.  Replace
373         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
374         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
375         with __memcpy_chk_avx512_unaligned.  Remove
376         __memcpy_chk_avx_unaligned_2.  Replace
377         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
378         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
379         Replace __memcpy_avx512_unaligned_2 with
380         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
381         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
382         with __mempcpy_chk_avx512_unaligned.  Remove
383         __mempcpy_chk_avx_unaligned_2.  Replace
384         __mempcpy_chk_sse2_unaligned_2 with
385         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
386         Replace __mempcpy_avx512_unaligned_2 with
387         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
388         Replace __mempcpy_sse2_unaligned_2 with
389         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
390         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
391         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
392         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
393         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
394         (ENTRY): Removed.
395         (END): Likewise.
396         (ENTRY_CHK): Likewise.
397         (libc_hidden_builtin_def): Likewise.
398         Don't include ../memcpy.S.
399         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
400         __memcpy_chk_avx512_unaligned_erms and
401         __memcpy_chk_avx512_unaligned.  Use
402         __memcpy_chk_avx_unaligned_erms and
403         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
404         Default to __memcpy_chk_sse2_unaligned.
405         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
406         Change function suffix from unaligned_2 to unaligned.
407         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
408         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
409         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
410         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
411         (ENTRY): Removed.
412         (END): Likewise.
413         (ENTRY_CHK): Likewise.
414         (libc_hidden_builtin_def): Likewise.
415         Don't include ../mempcpy.S.
416         (mempcpy): New.  Add a weak alias.
417         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
418         __mempcpy_chk_avx512_unaligned_erms and
419         __mempcpy_chk_avx512_unaligned.  Use
420         __mempcpy_chk_avx_unaligned_erms and
421         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
422         Default to __mempcpy_chk_sse2_unaligned.
424 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
426         [BZ #19881]
427         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
428         into ...
429         * sysdeps/x86_64/memset.S: This.
430         (__bzero): Removed.
431         (__memset_tail): Likewise.
432         (__memset_chk): Likewise.
433         (memset): Likewise.
434         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
435         defined.
436         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
437         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
438         (__memset_zero_constant_len_parameter): Check SHARED instead of
439         PIC.
440         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
441         memset-avx2 and memset-sse2-unaligned-erms.
442         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
443         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
444         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
445         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
446         (__bzero): Enabled.
447         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
448         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
449         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
450         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
451         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
452         (memset): Removed.
453         (__memset_chk): Likewise.
454         (MEMSET_SYMBOL): New.
455         (libc_hidden_builtin_def): Replace __memset_sse2 with
456         __memset_sse2_unaligned.
457         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
458         __memset_chk_sse2 and __memset_chk_avx2 with
459         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
460         Use __memset_chk_sse2_unaligned_erms or
461         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
462         __memset_chk_avx512_unaligned_erms and
463         __memset_chk_avx512_unaligned.
465 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
467         * math/gen-auto-libm-test.c (fp_format_desc): remove
468         suffix member.
469         (output_generic_value): Remove usage of suffix member,
470         and the resulting unuse of the fp_format argument.
471         (output_for_one_input_case): Remove unused fp_format
472         parameter.
474         * math/auto-libm-test-out: Regenerate.
476         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
477         usage with TEST_COND_ibm128.
478         (TEST_COND_flt_32): Remove.
479         (TEST_COND_dbl_64): Remove.
480         (TEST_COND_ldbl_96_intel): Remove.
481         (TEST_COND_ldbl_96_m68k): Remove.
482         (TEST_COND_ldbl_128): Remove.
484 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
486         * auto-libm-test-in:
487         Replace flt-32 usage with binary32.
488         Replace dbl-64 usage with binary64.
489         Replace ldbl-intel-96 usage with intel96.
490         Replace ldbl-m68k-96 usage with m68k96.
491         Replace ldbl-128ibm usage with ibm128.
492         Replace ldbl-128 usage with binary128.
494         * auto-libm-test-out: Regenerate.
496 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
498         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
499         (parse_ulps): Dynamically generate type name matching
500         string from all_floats.
501         (get_ulps): Generate the ulps as an array instead.
502         (output_ulps): Dynamically compose the type based
503         on the number of supported formats, and print
504         the indices as type specific helper macros.
506         * math/libm-test.inc: Remove comment about CHOOSE.
507         (ulp_data): Generate the type in libm-test-ulps.h.
508         (ULP_IDX): New macro.
509         (find_ulps): Update usage of max_ulp.
511         * math/test-double-vlen2.h (CHOOSE): Remove.
512         * math/test-double-vlen4.h (CHOOSE): Likewise.
513         * math/test-double-vlen8.h (CHOOSE): Likewise.
514         * math/test-float.c (CHOOSE): Likewise.
515         * math/test-float-finite.c (CHOOSE): Likewise.
516         * math/test-double.c (CHOOSE): Likewise.
517         * math/test-double-finite.c (CHOOSE): Likewise.
518         * math/test-idouble.c (CHOOSE): Likewise.
519         * math/test-ifloat.c (CHOOSE): Likewise.
520         * math/test-ildoubl.c (CHOOSE): Likewise.
521         * math/test-ldouble-finite.c (CHOOSE): Likewise.
522         * math/test-ldouble.c (CHOOSE): Likewise.
524         * math/test-float.h (TEST_FLOAT): Remove.
525         * math/test-double.h (TEST_DOUBLE): Likewise.
526         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
528 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
530         * math/gen-libm-test.pl: (apply_lit): New subroutine.
531         (parse_args): Strip C suffix from floating point literals
532         typed with 'f' and wrap them with LIT().
534         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
535         (test_ff_f_data_nexttoward): Rename to
536         (test_fj_f_data): New struct.
537         (nexttoward_test_data): Relabel tests as
538         TEST_fj_f instead of TEST_ff_f.
540 2016-06-08  Florian Weimer  <fweimer@redhat.com>
542         Emacs bug 23726.
543         * malloc/malloc.c (dumped_main_arena_start): Update comment.
544         (__libc_realloc): Correct size computation for dumped fake mmapped
545         chunks.
547 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
549         [BZ #20219]
550         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
551         to itself.
552         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
554         [BZ #20218]
555         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
556         to itself.
557         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
559 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
561         [BZ #20195]
562         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
563         check to ...
564         (init_cpu_features): Here.
566 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
568         [BZ #20214]
569         * sysdeps/unix/sysv/linux/bits/in.h
570         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
571          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
572         Define to 1.
573         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
574          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
575         Define to 0.
576         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
577         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
579 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
581         [BZ #20198]
582         * stdlib/Makefile (tests): Add tst-quick_exit, and
583         tst-thread-quick_exit.
584         [ifeq ($(have-cxx-thread_local),yes)]
585         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
586         (CFLAGS-tst-thread-quick_exit.o): Likewise.
587         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
588         (LDLIBS-tst-thread-quick_exit): Likewise.
589         [ifneq ($(have-cxx-thread_local),yes)]
590         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
591         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
592         If run_dtors is true call __call_tls_dtors.
593         (exit): Call __run_exit_handlers with run_dtors set to true.
594         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
595         definition.
596         * stdlib/quick_exit.c (quick_exit): Remove function.
597         (__new_quick_exit): New function.
598         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
599         function.
600         * stdlib/tst-quick_exit.cc: New file.
601         * stdlib/tst-thread-quick_exit.cc: New file.
602         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
603         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
604         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
605         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
606         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
607         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
608         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
609         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
610         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
611         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
612         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
613         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
614         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
615         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
616         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
617         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
622         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
623         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
624         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
625         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
626         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
627         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
628         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
629         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
630         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
631         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
633 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
635         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
636         a typo in comments.
638 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
640         [BZ #20213]
641         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
642         argument to itself.
643         * math/libm-test.inc (asin_test_data): Add sNaN tests.
645 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
647         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
648         required flags.
649         (CFLAGS-pwritev64.c): Likewise.
650         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
651         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
652         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
653         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
654         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
655         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
656         syscall from auto-generation.
657         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
658         [WORDSIZE == 64] (pwritev64): Remove macro.
659         [!PWRITEV] (PWRITEV): Likewise.
660         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
661         [!PWRITEV] (PWRITE): Likewise.
662         [!PWRITEV] (OFF_T): Likewise.
663         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
664         (LO_HI_LONG): Remove macro.
665         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
666         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
667         (PWRITEV): Remove macro.
668         (PWRITEV_REPLACEMENTE): Likewise.
669         (PWRITE): Likewise.
670         (OFF_T): Likewise.
671         (pwritev64): New function.
672         * nptl/tst-cancel4.c (tf_writev): Add test.
674         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
675         required flags.
676         (CFLAGS-preadv64.c): Likewise.
677         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
678         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
679         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
680         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
681         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
682         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
683         syscall from auto-generation.
684         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
685         [WORDSIZE == 64] (preadv64): Remove macro.
686         [!PREADV] (PREADV): Likewise.
687         [!PREADV] (PREADV_REPLACEMENT): Likewise.
688         [!PREADV] (PREAD): Likewise.
689         [!PREADV] (OFF_T): Likewise.
690         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
691         (LO_HI_LONG): Remove macro.
692         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
693         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
694         (PREADV): Remove macro.
695         (PREADV_REPLACEMENTE): Likewise.
696         (PREAD): Likewise.
697         (OFF_T): Likewise.
698         (preadv64): New function.
699         * nptl/tst-cancel4.c (tf_preadv): Add test.
701 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
703         [BZ #20212]
704         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
705         argument to itself.
706         * math/libm-test.inc (acos_test_data): Add sNaN tests.
708 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
710         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
711         New symbol defined as libc_hidden_def.
712         (strcasestr): Became a weak alias to __strcasestr.
713         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
714         according to multi-arch support.  Move __stpncpy hidden
715         definition from here to...
716         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
717         symbol stpncpy.
718         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
719         libc_hidden_builtin_def.
720         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
721         memset symbol to use when multi-arch support is available.
723 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
725         * dlfcn/tst-rec-dlopen.c: Include string.h.
727 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
729         * manual/install.texi: Remove mention of --without-tls
730         * INSTALL: Regenerate.
732 2016-06-05  Florian Weimer  <fweimer@redhat.com>
734         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
735         Remove.
736         (call_function, interposed_malloc_called): New variables.
737         (malloc): New function.
738         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
739         and clear call_function as needed.
741 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
743         * include/wchar.h (__wmemset): Use __typeof.
745 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
747         * include/wchar.h (__wmemset): Declare function without typeof.
749 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
751         [BZ #20205]
752         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
753         exponent when incrementing negative subnormal with low mantissa
754         word zero.
755         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
756         Add another test.
758 2016-06-03  Florian Weimer  <fweimer@redhat.com>
760         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
761         __wmemset instead of wmemset.
763 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
765         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
766         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
767         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
768         __USE_KERNEL_IPV6_DEFS to 0.
769         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
770         Update comment.
772 2016-06-01  Florian Weimer  <fweimer@redhat.com>
774         [BZ #19861]
775         Do not use IFUNC resolver with potentially unrelocated symbol.
776         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
777         (DEFINE_FORK): Remove macro and inline definition.
778         (fork_alias): Renamed from fork_ifunc.
779         (__fork_alias): Renamed from __fork_ifunc.
781 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
783         [BZ 19653]
784         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
785         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
787 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
789         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
790         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
791         i386-linux-gnu).
792         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
793         Set to no.
794         * sysdeps/mach/hurd/configure: Refresh.
796 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
798         [BZ #20178]
799         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
800         on failure instead of exit.
802 2016-05-30  Roland McGrath  <roland@hack.frob.com>
804         [BZ #3629]
805         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
806         of POSIX.1-2008.
808 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
810         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
811           Use PLT entry for calling _hurd_self_sigstate.
813 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
815         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
816         available logical processors with SMT level type sharing L2
817         cache for Intel processors.
819 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
821         [BZ #20160]
822         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
823         argument to itself before returning the result.
824         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
825         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
826         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
827         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
828         Likewise.
829         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
830         Likewise.
831         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
832         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
833         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
834         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
835         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
836         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
838         [BZ #20160]
839         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
840         argument to itself before returning the result.
841         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
842         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
843         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
844         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
845         Likewise.
846         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
847         Likewise.
848         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
849         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
850         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
851         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
852         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
853         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
855 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
857         * libm-test.inc: Replace usage of M_El with
858         (lit_e): New macro.
860 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
862         * libm-test.inc: Replace usage of M_PI_4l with
863         (lit_pi_4_d): New macro.
865 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
867         * libm-test.inc: Replace usage of M_PIl with
868         (lit_pi): New macro.
870 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
872         * libm-test.inc: Replace usage of M_PI2l with
873         (lit_pi_2_d): New macro.
875         * math/test-double.h (LITM): New macro.
876         * math/test-float.h (LITM): Likewise.
877         * math/test-ldouble.h (LITM): Likewise.
879 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
881         * libm-test.inc (M_PI_34l): Rename to
882         (lit_pi_3_m_4_d): New Macro.
883         (M_PI_34_LOG10El): Rename to
884         (lit_pi_3_m_4_ln10_m_d): New Macro.
885         (M_PI2_LOG10El): Rename to
886         (lit_pi_2_ln10_m_d):  New Macro.
887         (M_PI4_LOG10El): Rename to
888         (lit_pi_4_ln10_m_d):  New Macro.
889         (M_PI_LOG10El): Rename to
890         (lit_pi_ln10_d):  New Macro.
892 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
894         [BZ #20157]
895         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
896         determine whether to negate low half if [_ARCH_PPCGR], and integer
897         comparison otherwise.
898         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
899         determine whether to negate low half.
901         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
902         (NO_TEST_INLINE_DOUBLE): Likewise.
903         (TEST_COND_x86_64): Likewise.
904         (TEST_COND_x86): Likewise.
905         (M_PI_6l): Likewise.
907 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
909         * math/libm-test.inc:
910         (TEST_FLOAT): Change usage to TEST_COND_binary32.
911         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
912         (TEST_LDOUBLE): Update usage to evaluate as true if
913         the guarded tests match the property being tested.
914         (LDBL_MAX_EXP): Change to MAX_EXP.
915         (LDBL_MIN_EXP): Change to MIN_EXP.
916         (LDBL_MANT_DIG): Change to MANT_DIG, except for
917         nexttoward tests.
919 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
921         * math/libm-test.inc:
922         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
923         (TYPE_MIN): Likewise.
924         (TYPE_TRUE_MIN): Likewise.
925         (TYPE_MAX): Likewise.
926         (MIN_EXP): Likewise.
927         (MAX_EXP): Likewise.
928         (MANT_DIG): Likewise.
930         (FSTR_MAX): New macro.
931         (__CONCATX): Likewise.
932         (QTYPE_STR): Likewise.
933         (TEST_COND_binary32): Likewise.
934         (TEST_COND_binary64): Likewise.
935         (TEST_COND_binary128): Likewise.
936         (TEST_COND_ibm128): Likewise.
937         (TEST_COND_intel96): Likewise.
938         (TEST_COND_m68k96): Likewise.
940         (TEST_COND_flt_32): Redefine as equivalent format test macro.
941         (TEST_COND_dbl_64): Likewise.
942         (TEST_COND_ldbl_96_intel): Likewise.
943         (TEST_COND_ldbl_96_m68k): Likewise.
944         (TEST_COND_ldbl_128): Likewise.
945         (TEST_COND_ldbl_128ibm): Likewise.
947         (plus_zero): Redefine using LIT macro.
948         (minus_zero): Likewise.
949         (plus_infty): Redefine as (INF).
950         (minux_infty): Redefine as (-INF).
951         (max_value): Redefine as TYPE_MAX.
952         (min_value): Redefine as TYPE_MIN.
953         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
955         (print_float): Refactor to use snprintf to convert FLOAT values
956         to string. This brings it closer to dropin replacement of strtof
957         for the TS 18661 defined types.
958         (update_stats): Likewise.
959         (print_complex_function_ulps): Likewise.
960         (print_max_error): Likewise.
961         (print_complex_max_error): Likewise.
962         (check_float_internal): Likewise.
964         * math/test-float.h (PREFIX): New macro.
965         (LIT): Likewise.
966         (TYPE_STR): Likewise.
967         (FTOSTR): Likewise.
969         * math/test-double.h (PREFIX): New macro.
970         (LIT): Likewise.
971         (TYPE_STR): Likewise.
972         (FTOSTR): Likewise.
974         * math/test-ldouble.h (PREFIX): New macro.
975         (LIT): Likewise.
976         (TYPE_STR): Likewise.
977         (FTOSTR): Likewise.
979 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
981         [BZ #20156]
982         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
983         to itself when zero or not finite.
984         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
985         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
986         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
987         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
989 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
991         [BZ #20153]
992         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
993         x * x + x for infinities and NaNs.
995         [BZ #20151]
996         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
997         argument to itself before returning result.
998         (__ieee754_y0l): Likewise.
999         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1000         (__ieee754_y1l).
1002         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
1003         (atan_test_data): Likewise.
1004         (ceil_test_data): Likewise.
1005         (cos_test_data): Likewise.
1006         (cosh_test_data): Likewise.
1007         (erf_test_data): Likewise.
1008         (exp2_test_data): Likewise.
1009         (fabs_test_data): Likewise.
1010         (floor_test_data): Likewise.
1011         (ilogb_test_data): Likewise.
1012         (j0_test_data): Likewise.
1013         (j1_test_data): Likewise.
1014         (jn_test_data): Likewise.
1015         (lgamma_test_data): Likewise.
1016         (lrint_test_data): Likewise.
1017         (llrint_test_data): Likewise.
1018         (logb_test_data): Likewise.
1019         (lround_test_data): Likewise.
1020         (llround_test_data): Likewise.
1021         (nearbyint_test_data): Likewise.
1022         (rint_test_data): Likewise.
1023         (round_test_data): Likewise.
1024         (sin_test_data): Likewise.
1025         (sincos_test_data): Likewise.
1026         (sinh_test_data): Likewise.
1027         (sqrt_test_data): Likewise.
1028         (tan_test_data): Likewise.
1029         (tanh_test_data): Likewise.
1030         (tgamma_test_data): Likewise.
1031         (trunc_test_data): Likewise.
1032         (y0_test_data): Likewise.
1033         (y1_test_data): Likewise.
1034         (yn_test_data): Likewise.
1036         * math/libm-test.inc: Update comment about NaN testing.
1037         (TEST_SNAN): New macro.
1038         (snan_value): Likewise.
1039         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
1040         (fpclassify_test_data): Add sNaN tests.
1041         (isfinite_test_data): Likewise.
1042         (isinf_test_data): Likewise.
1043         (isnan_test_data): Likewise.
1044         (isnormal_test_data): Likewise.
1045         (issignaling_test_data): Likewise.
1046         (signbit_test_data): Likewise.
1047         * math/gen-libm-test.pl (%beautify): Add snan_value.
1048         (show_exceptions): Add argument $test_snan.
1049         (parse_args): Handle snan_value as non-finite.  Update call to
1050         show_exceptions.
1051         * math/Makefile (libm-test-no-inline-cflags): Add
1052         -fsignaling-nans.
1054 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1056         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
1057         (CFLAGS-oldsendmsg.c): Add rule.
1058         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
1059         Correct recvmsg symbol name.
1060         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
1061         Likewise.
1063 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1065         * sysdeps/unix/sysv/linux/Makefile
1066         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
1067         oldsendmmsg.
1068         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
1069         sendmmsg.
1070         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1071         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1072         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1073         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1075         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1076         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1077         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
1078         Likewise.
1079         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1080         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
1081         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
1082         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
1083         iovlen and controllen fields to adjust to POSIX specification.
1084         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
1086         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
1087         and change to correct expected type.
1088         (msghdr.msg_controllen): Likewise.
1089         (cmsghdr.cmsg_len): Likewise.
1090         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
1091         expected POSIX assumption about the size.
1092         (msghdr.msg_controllen): Likewise.
1093         (msghdr.__glibc_reserved1): Likewise.
1094         (msghdr.__glibc_reserved2): Likewise.
1095         (cmsghdr.cmsg_len): Likewise.
1096         (cmsghdr.__glibc_reserved1): Likewise.
1097         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
1098         Add ptw-oldrecvmsg and ptw-oldsendmsg.
1099         (CFLAGS-sendmsg.c): Remove rule.
1100         (CFLAGS-recvmsg.c): Likewise.
1101         (CFLAGS-oldsendmsg.c): Add rule.
1102         (CFLAGS-oldrecvmsg.c): Likewise.
1103         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
1104         recvmsg and sendmsg.
1105         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
1106         Likewise.
1107         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
1108         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
1109         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
1110         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
1111         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
1112         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
1113         Likewise.
1114         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
1115         Likewise.
1116         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
1117         Likewise.
1118         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
1119         Likewise.
1120         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
1121         Likewise.
1122         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
1123         Likewise.
1124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
1125         (GLIBC_2.24): Likewise.
1126         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
1127         Likewise.
1128         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
1129         Likewise.
1130         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
1131         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
1132         Likewise.
1133         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
1134         Likewise.
1135         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
1136         Likewise.
1137         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
1138         (GLIBC_2.24): Likewise.
1139         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
1140         Likewise.
1141         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
1142         Likewise.
1143         * sysdeps/unix/sysv/linux/Makefile
1144         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
1145         (CFLAGS-sendmsg.c): Add rule.
1146         (CFLAGS-recvmsg.c): Likewise.
1147         (CFLAGS-oldsendmsg.c): Likewise.
1148         (CFLAGS-oldrecvmsg.c): Likewise.
1149         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
1150         initialization.
1151         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
1152         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
1153         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
1154         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
1155         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
1156         iovlen and controllen fields to adjust to POSIX specification.
1157         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
1158         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
1159         added recvmsg and sendmsg.
1160         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1161         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1162         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1163         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1164         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1165         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1166         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1167         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1168         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1169         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1170         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1171         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
1172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1173         Likewise.
1174         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
1175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1176         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1177         Likewise.
1178         Likewise.
1179         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1180         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1181         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1182         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1183         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1184         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1185         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1186         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1187         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1188         Likewise.
1189         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1190         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1192         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
1193         from auto-generation.
1194         (sendmsg): Likewise.
1195         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
1196         (sendmsg): Likewise.
1197         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
1198         (sendmsg): Likewise.
1199         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
1200         (sendmsg): Likewise.
1201         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
1202         (sendmsg): Likewise.
1203         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
1204         (sendmsg): Likewise.
1205         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
1206         Likewise.
1207         (sendmsg): Likewise.
1208         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
1209         (sendmsg): Likewise.
1210         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1211         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1212         Remove.
1213         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1214         Likewise.
1215         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1216         Undefine.
1217         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1218         Likewise.
1219         * sysdeps/unix/sysv/linux/kernel-features.h
1220         (__ASSUME_SENDMSG_SYSCALL): Define.
1221         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1222         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1223         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1224         Remove.
1225         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1226         Likewise.
1227         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1228         Undefine.
1229         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1230         Likewise.
1231         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1232         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1233         Remove.
1234         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1235         Likewise.
1236         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1237         Undefine.
1238         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1239         Likewise.
1240         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1241         (__ASSUME_SENDMSG_SYSCALL): Undefine.
1242         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1243         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1244         (__ASSUME_SENDMSG_SYSCALL): Likewise.
1245         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1246         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1247         (__ASSUME_SENDMSG_SYSCALL): Likewise.
1248         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1250 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1252         * stdlib/gen-tst-strtod-round.c: Add backslash to
1253         compile command in comment.
1254         (printfp): Remove the literal suffix, and define an infinite
1255         value as INF to avoid expansion clash with INFINITY.
1256         (round_str): Remove the literal suffix.
1257         (round_for_all): Likewise, remove the now duplicate ldbl-64
1258         entry, and remove some magic constants.
1260         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
1261         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
1262         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
1263         (_CONCAT): New macro.
1264         (CONCAT): Likewise.
1265         (CHOOSE_ld): Likewise.
1266         (CHOOSE_f): Likewise.
1267         (CHOOSE_d): Likewise.
1268         (FTYPE_MEMBER): Likewise.
1269         (BOOL_MEMBER): Likewise.
1270         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
1271         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
1272         (_XNTRY): Likewise.
1273         (XNTRY): Likewise.
1274         (_ENTRY): Likewise.
1275         (ENTRY): Likewise.
1276         (test_exactness): Generate members via macro.
1277         (test_results): Likewise.
1278         (test): Update members.
1279         (TEST): Redefine using new macros.
1280         (INF): New macro.
1281         (fetestmodes): New structure.
1282         (do_test): Refactor to be type generic.
1283         (test_in_one_mode): Refactor duplicate code into
1284         (GEN_ONE_TEST): New macro.
1286         * stdlib/tst-strtod-round-data.h: Regenerate.
1288         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
1289         Extend to pass additional arbitrary parameters to
1290         generators.
1292 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
1294         [BZ #15479]
1295         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
1296         floating-point state after first floating-point operation on
1297         input.  Restore full floating-point state instead of just rounding
1298         mode.
1299         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
1300         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
1301         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
1302         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
1303         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
1305         [BZ #15479]
1306         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
1307         floating-point state after first floating-point operation on
1308         input.  Restore full floating-point state instead of just rounding
1309         mode.
1310         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
1311         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
1312         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
1313         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
1314         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
1316 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1318         [BZ #19727]
1319         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
1320         valid high surrogate.
1321         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
1322         of an utf16 surrogate.
1323         * iconv/gconv_simple.c (BODY): Likewise.
1324         * iconvdata/bug-iconv12.c: New file.
1325         * iconvdata/Makefile (tests): Add bug-iconv12.
1327 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1329         [BZ #19726]
1330         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
1331         outptrp in case of an illegal input.
1332         * iconv/tst-iconv6.c: New file.
1333         * iconv/Makefile (tests): Add tst-iconv6.
1335 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1337         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
1338         an error in case of a value in range of an utf16 low surrogate.
1340 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1342         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
1343         an error in case of a value in range of an utf16 low surrogate.
1345 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1347         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
1348         Move to ...
1349         * sysdeps/s390/Makefile: ... here.
1350         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
1351         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
1352         (BRANCH_ON_COUNT): New define.
1353         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
1354         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
1355         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
1356         run on s390-32, too.
1357         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
1358         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
1359         run on s390-32, too.
1360         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
1361         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
1362         run on s390-32, too.
1364 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1366         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
1367         etf3eh or new vector loop-variant.
1369 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1371         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
1372         etf3eh or new vector loop-variant.
1374 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1376         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
1377         or new vector loop-variant.
1379 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1381         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
1382         Rename to TR_LOOP and usage of tr instead of troo instruction.
1384 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1386         * sysdeps/s390/multiarch/gconv_simple.c: New File.
1387         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
1389 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1391         * sysdeps/s390/multiarch/8bit-generic.c: New File.
1392         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
1393         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
1394         New override define.
1395         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
1397 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1399         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
1400         * sysdeps/s390/configure.ac: Add test for S390 vector register
1401         support in gcc.
1402         * sysdeps/s390/configure: Regenerated.
1404 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1406         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
1407         Install file from $(objpfx)gconv-modules.
1408         ($(objpfx)gconv-modules): Concatenate architecture specific file
1409         in variable sysdeps-gconv-modules and gconv-modules in src dir.
1410         * sysdeps/s390/gconv-modules: New file.
1411         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
1412         Deleted.
1413         ($(objpfx)gconv-modules-s390): Deleted.
1414         (sysdeps-gconv-modules): New variable.
1416 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
1418         [BZ #15479]
1419         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
1420         of immediate operand to rounding instruction.
1421         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
1422         Likewise.
1423         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
1424         Likewise.
1425         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
1426         Likewise.
1428 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1430         * math/libm-test.inc (MIN_EXP): Directly define as
1431         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
1433 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1435         * math/libm-test.inc (MANT_DIG): Directly define as
1436         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
1438 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1440         * stdlib/gen-tst-strtod-round.c (main):
1441           Change usage to more closely match the generated
1442           output.  Add usage and compilation instructions.
1443           (string_to_fp): Add and use FILE* parameter as
1444           output target.
1445           (print_fp): Likewise.
1446           (round_str): Likewise.
1447           (round_for_all): Likewise.
1448         * stdlib/tst-strtod-round.c (tests): Move into
1449         * stdlib/tst-strtod-round-data.h: New file.
1451 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
1453         [BZ #15479]
1454         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
1455         (__round): Do not force "inexact" exception.
1456         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
1457         variable.
1458         (__round): Do not force "inexact" exception.
1459         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
1460         (__roundf): Do not force "inexact" exception.
1461         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
1462         (__roundl): Do not force "inexact" exception.
1463         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
1464         (__roundl): Do not force "inexact" exception.
1465         * math/libm-test.inc (round_test_data): Do not allow spurious
1466         "inexact" exceptions.
1468         [BZ #15479]
1469         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
1470         exception in comment.
1471         (huge): Remove variable.
1472         (__floor): Do not force "inexact" exception.
1473         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
1474         "inexact" exception in comment.
1475         (huge): Remove variable.
1476         (__floor): Do not force "inexact" exception.
1477         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
1478         exception in comment.
1479         (huge): Remove variable.
1480         (__floorf): Do not force "inexact" exception.
1481         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
1482         exception in comment.
1483         (huge): Remove variable.
1484         (__floorl): Do not force "inexact" exception.
1486         [BZ #15479]
1487         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
1488         exception in comment.
1489         (huge): Remove variable.
1490         (__ceil): Do not force "inexact" exception.
1491         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
1492         "inexact" exception in comment.
1493         (huge): Remove variable.
1494         (__ceil): Do not force "inexact" exception.
1495         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
1496         (__ceilf): Do not force "inexact" exception.
1497         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
1498         exception in comment.
1499         (huge): Remove variable.
1500         (__ceill): Do not force "inexact" exception.
1502 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
1504         * config.h.in (BIND_NOW): New.
1505         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
1506         * configure: Regenerated.
1507         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
1508         indirect branch via the GOT slot.
1510 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1512         [BZ #19765]
1513         * sysdeps/s390/mempcpy.S: New File.
1514         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
1515         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
1516         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1517         Add mempcpy variants.
1518         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
1519         (memcpy): Adjust to be usable from mempcpy entry point.
1520         (__memcpy_mvcle): Likewise.
1521         * sysdeps/s390/s390-64/memcpy.S: Likewise.
1522         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
1523         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
1524         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
1525         (__memcpy_z10): Likewise.
1526         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
1528 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1530         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
1531         Remove __GI_ symbol.
1532         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
1533         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
1534         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
1535         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
1536         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
1537         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
1539 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1541         * sysdeps/s390/s390-64/memcpy.S (memcpy):
1542         Use cghi instead of chi to compare 64bit value.
1544 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1546         * sysdeps/s390/s390-32/memcpy.S (memcpy):
1547         Jump to 1MB check before executing mvc-loop.
1549 2016-05-24  Florian Weimer  <fweimer@redhat.com>
1551         [BZ #6527]
1552         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
1553         unconditionally.
1554         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
1556 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1558         * stdlib/tst-strtod6.c (do_test): Use new type generic
1559         invocation of the test function.
1560         (test): Refactor into ...
1561         (TEST_STRTOD): New macro base function.
1563 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1565         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
1566         (TEST_STRTOD): New macro.
1567         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
1569 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1571         * stdlib/tst-strtod6.c (do_test): Use new type generic
1572         invocation of the test function.
1573         (test): Refactor into ...
1574         (TEST_STRTOD): New macro base function.
1576 2016-05-23  Florian Weimer  <fweimer@redhat.com>
1578         CVE-2016-4429
1579         [BZ #20112]
1580         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
1581         payload.
1583 2016-05-23  Florian Weimer  <fweimer@redhat.com>
1585         [BZ #20111]
1586         * bits/sockaddr.h (_SS_SIZE): Define.
1587         * bits/socket.h (_SS_SIZE): Remove.
1588         (_SS_PADSIZE): Adjust to account for all padding.
1589         (struct sockaddr_storage): Update comment.  Avoid implicit
1590         padding.
1591         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
1592         (_SS_PADSIZE): Adjust to account for all padding.
1593         (struct sockaddr_storage): Update comment.  Avoid implicit
1594         padding.
1595         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
1596         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
1597         (_SS_PADSIZE): Adjust to account for all padding.
1598         (struct sockaddr_storage): Update comment.  Avoid implicit
1599         padding.
1600         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
1601         __SS_SIZE is 126 in this version.
1602         * inet/tst-sockaddr.c: New file.
1603         * inet/Makefile (tests): Add tst-sockaddr.c
1604         (tst-sockaddr.c): Compile with non-strict aliasing.
1606 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
1608         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
1609         [XPG3 || XPG4].
1610         (NL_ARGMAX): Also expect for [XPG3].
1611         (NL_LANGMAX): Likewise.
1612         (NL_MSGMAX): Likewise.
1613         (NL_NMAX): Likewise.
1614         (NL_SETMAX): Likewise.
1615         (NL_TEXTMAX): Likewise.
1616         (NZERO): Likewise.
1617         (TMP_MAX): Likewise.
1618         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
1619         variable.
1621         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
1622         (PF_MAX): Update value.
1623         (AF_KCM): New macro.
1624         (SOL_NETBEUI): Likewise.
1625         (SOL_LLC): Likewise.
1626         (SOL_DCCP): Likewise.
1627         (SOL_NETLINK): Likewise.
1628         (SOL_TIPC): Likewise.
1629         (SOL_RXRPC): Likewise.
1630         (SOL_PPPOL2TP): Likewise.
1631         (SOL_BLUETOOTH): Likewise.
1632         (SOL_PNPIPE): Likewise.
1633         (SOL_RDS): Likewise.
1634         (SOL_IUCV): Likewise.
1635         (SOL_CAIF): Likewise.
1636         (SOL_ALG): Likewise.
1637         (SOL_NFC): Likewise.
1638         (SOL_KCM): Likewise.
1639         (MSG_BATCH): New enum value and macro.
1641 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
1643         [BZ #18185]
1644         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
1645         sharing L2 cache to 2 for Knights Landing.
1647 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
1649         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
1650         (FTW_DP): Do not expect for [XPG3 || XPG4].
1651         (FTW_SL): Do not expect for [XPG3].
1652         (FTW_SLN): Likewise.
1653         (FTW_PHYS): Likewise.
1654         (FTW_MOUNT): Likewise.
1655         (FTW_DEPTH): Likewise.
1656         (FTW_CHDIR): Likewise.
1657         (nftw): Likewise.
1658         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
1659         variable.
1661 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
1663         * manual/errno.texi: Fix various typos & grammar errors.
1665 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
1667         * manual/intro.texi: Fix duplicated typo.
1669 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
1671         [BZ #13304]
1672         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
1673         <float.h>, <math_private.h> and <stdlib.h>.
1674         (add_split): New function.
1675         (mul_split): Likewise.
1676         (ext_val): New typedef.
1677         (store_ext_val): New function.
1678         (mul_ext_val): New function.
1679         (compare): New function.
1680         (add_split_ext): New function.
1681         (__fmal): After checking for Inf, NaN and zero, compute result as
1682         an exact sum of scaled double values in round-to-nearest before
1683         adding those up and adjusting for other rounding modes.
1684         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
1685         tests of fma.
1686         * math/auto-libm-test-out: Regenerated.
1688 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1690         [BZ #20119]
1691         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
1692         processor level type mask for CPUID with EAX == 11.
1694 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1696         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
1697         logical threads if the HTT bit is 0.
1698         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
1699         (index_cpu_HTT): Likewise.
1700         (reg_HTT): Likewise.
1702 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1704         [BZ #20115]
1705         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
1706         Remove alignments on jump targets.
1708 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
1710         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
1711         (getpwent): Likewise.
1712         (setpwent): Likewise.
1713         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
1714         variable.
1716         * conform/data/search.h-data (insque): Do not expect for [XPG3].
1717         (remque): Likewise.
1718         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
1719         variable.
1721 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
1723         * math/libm-test.inc: Update comment not to refer to signs of NaNs
1724         not being tested.
1726 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1728         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
1729         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
1730         call.
1731         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
1732         (__condvar_cleanup1): Likewise.
1734 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1736         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
1737         New
1738         (__pthread_unwind): Renamed to ...
1739         (PTHREAD_UNWIND): This.
1740         (__pthread_enable_asynccancel): Replace
1741         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
1743 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
1745         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
1746         (CLONE_NEWCGROUP): New macro.
1748         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
1749         (Q_GETNEXTQUOTA): New macro.
1751 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1753         [BZ #19907]
1754         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
1755         buffer updated by the previous run.
1756         * string/test-memcpy.c (do_one_test): Likewise.
1757         * benchtests/bench-memmove.c (do_one_test): Add a comment.
1758         * string/test-memmove.c (do_one_test): Likewise.
1760 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
1762         [BZ #20094]
1763         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
1764         not [__USE_XOPEN].
1765         (unlockpt): Likewise.
1766         (ptsname): Likewise.
1767         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
1768         variable.
1770         [BZ #20076]
1771         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
1772         instead of [__USE_UNIX98].
1773         (S_ISSOCK): Likewise.
1774         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
1775         variable.
1777         [BZ #20074]
1778         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
1779         [__USE_POSIX].
1780         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
1781         variable.
1783         [BZ #20051]
1784         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
1785         (ttyslot): Do not declare.
1786         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
1787         (ttyslot): New prototype.
1788         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
1789         variable.
1790         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1792 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1794         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
1796 2016-05-13  Florian Weimer  <fweimer@redhat.com>
1798         Fix race condition in tst-mallocfork2, use fewer resources.
1799         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
1800         to current process group.
1801         (signal_sender): Yield in the non-sleeping case.
1803 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
1805         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
1806         (ecvt): Likewise.
1807         (fcvt): Likewise.
1808         (gcvt): Likewise.
1809         (getsubopt): Likewise.
1810         (grantpt): Likewise.
1811         (initstate): Likewise.
1812         (l64a): Likewise.
1813         (mktemp): Likewise.
1814         (mkstemp): Likewise.
1815         (ptsname): Likewise.
1816         (random): Likewise.
1817         (realpath): Likewise.
1818         (setstate): Likewise.
1819         (srandom): Likewise.
1820         (ttyslot): Likewise.
1821         (unlockpt): Likewise.
1822         (valloc): Likewise.
1824         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
1825         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
1826         variable.
1828 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
1830         [BZ #20072]
1831         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
1832         init_cpu_features only if SHARED is defined.
1833         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
1835 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
1837         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
1838         non-inclusive caches on Intel processors.
1840 2016-05-13  Florian Weimer  <fweimer@redhat.com>
1842         * malloc/malloc.c (dumped_main_arena_start)
1843         (dumped_main_arena_end): New variables.
1844         (DUMPED_MAIN_ARENA_CHUNK): New macro.
1845         (do_check_chunk): Skip dumped fake mmapped chunks.
1846         (munmap_chunk): Likewise.
1847         (__libc_free): Do not adjust statistics for fake mmapped chunks.
1848         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
1849         mmapped chunks.
1850         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
1851         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
1852         and dumped_main_arena_end to cover the dumped heap.
1854 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
1856         * conform/data/time.h-data (getdate_err): Do not expect for
1857         [XPG3].
1858         (getdate): Likewise.
1859         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
1860         variable.
1862         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
1863         (F_ULOCK): Likewise.
1864         (F_TEST): Likewise.
1865         (F_TLOCK): Likewise.
1866         (useconds_t): Likewise.
1867         (intptr_t): Do not expect for [XPG3] or [XPG4].
1868         (brk): Do not expect for [XPG3]
1869         (fchown): Likewise.
1870         (fchdir): Likewise.
1871         (ftruncate): Likewise.
1872         (getdtablesize): Likewise.
1873         (gethostid): Likewise.
1874         (getpagesize): Likewise.
1875         (getpgid): Likewise.
1876         (getsid): Likewise.
1877         (getwd): Likewise.
1878         (lchown): Likewise.
1879         (lockf): Likewise.
1880         (readlink): Likewise.
1881         (sbrk): Likewise.
1882         (setpgrp): Likewise.
1883         (setregid): Likewise.
1884         (setreuid): Likewise.
1885         (symlink): Likewise.
1886         (sync): Likewise.
1887         (truncate): Likewise.
1888         (ualarm): Likewise.
1889         (usleep): Likewise.
1890         (vfork): Likewise.
1891         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
1892         variable.
1894         [BZ #20054]
1895         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
1896         not [__USE_UNIX98].
1897         * conform/data/unistd.h-data (gethostname): Do not expect for
1898         [XPG3].
1900         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
1901         [!POSIX] (S_IFBLK): Likewise.
1902         [!POSIX] (S_IFCHR): Likewise.
1903         [!POSIX] (S_IFIFO): Likewise.
1904         [!POSIX] (S_IFREG): Likewise.
1905         [!POSIX] (S_IFDIR): Likewise.
1906         [!POSIX] (S_IFLNK): Likewise.
1907         [!POSIX] (S_IFSOCK): Likewise.
1908         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
1909         variable.
1910         (test-xfail-XPG4/fcntl.h/conform): Likewise.
1912 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
1914         * sysdeps/aarch64/memset.S (__memset):
1915         Rewrite of optimized memset.
1917 2016-05-12  Florian Weimer  <fweimer@redhat.com>
1919         [BZ #19703]
1920         Partially async-signal-safe fork for single-threaded processes.
1921         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
1922         variable.  Do not acquire and reset/release malloc and libio locks
1923         in single-threaded processes.
1924         * malloc/tst-mallocfork2.c: New file.
1925         * malloc/Makefile (tests): Add it.
1927 2016-05-12  Florian Weimer  <fweimer@redhat.com>
1929         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
1930         argument.  Use scratch buffer instead of extend_alloca.
1931         (gethosts): Use scratch buffer instead of extend_alloca.
1932         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
1933         extend_alloca.
1934         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
1936 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
1938         [BZ #20055]
1939         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
1940         instead of [__USE_UNIX98].
1941         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
1942         [__USE_UNIX98].
1943         * conform/data/termios.h-data (tcgetsid): Do not expect for
1944         [XPG3].
1945         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
1946         variable.
1947         (test-xfail-XPG4/termios.h/conform): Likewise.
1949 2016-05-11  Florian Weimer  <fweimer@redhat.com>
1951         Do not use mcheck in localedef.
1952         * locale/programs/localedef.c (turn_on_mcheck)
1953         (__malloc_initialize_hook): Remove.
1955 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1957         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
1958         * sysdeps/s390/s390-64/Makefile: Likewise.
1960 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
1962         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
1963         Remove ifunc-defines.sym.
1964         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
1965         Likewise.
1966         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
1967         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
1968         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
1969         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
1970         rtld-global-offsets.sym.
1971         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
1972         * sysdeps/x86/cpu-features-offsets.sym: This.
1973         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
1974         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
1976 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
1978         [BZ #20073]
1979         * io/sys/stat.h (fchmod): Declare for
1980         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
1981         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
1982         variable.
1984         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
1985         [XPG3] (S_IFSOCK): Likewise.
1986         [XPG3] (S_ISVTX): Likewise.
1987         [XPG3] (S_ISLNK): Likewise.
1988         [XPG3] (S_ISSOCK): Likewise.
1989         [XPG3] (fchmod): Likewise.
1990         [XPG3] (lstat): Likewise.
1991         [XPG3] (mknod): Likewise.
1993         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
1994         [XPG3].  Expect type long and XFAIL for [XPG4].
1995         (st_blocks): Likewise.
1997         [BZ #20044]
1998         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
1999         (pthread_atfork): New prototype.
2000         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
2001         variable.
2003         [BZ #20043]
2004         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
2005         prototype.
2007 2016-05-10  Florian Weimer  <fweimer@redhat.com>
2009         [BZ #20017]
2010         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
2011         gmtime.
2013 2016-05-10  Florian Weimer  <fweimer@redhat.com>
2015         [BZ #19994]
2016         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
2017         flag in _res.options.
2019 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
2021         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
2022         [XPG3 || XPG4].
2023         (blksize_t): Likewise.
2024         (clockid_t): Likewise.
2025         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
2026         variable.
2027         (test-xfail-XPG4/sys/types.h/conform): Likewise.
2029 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
2031         * sysdeps/unix/sysv/linux/s390/init-first.c:
2032         Add VDSO_SYMBOL(getcpu).
2033         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
2034         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
2035         Add VDSO_SYMBOL(getcpu).
2036         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
2037         New define HAVE_GETCPU_VSYSCALL.
2038         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2040 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
2042         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
2043         instead of <sysdeps/x86_64/cacheinfo.c>.
2044         * sysdeps/x86_64/cacheinfo.c: Moved to ...
2045         * sysdeps/x86/cacheinfo.c: Here.
2047 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2049         * malloc/malloc-internal.h: Adjust header file guard.
2051 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2053         [BZ #19787]
2054         * inet/getnameinfo.c (check_sprintf_result): New function.
2055         (CHECKED_SNPRINTF): New macro.
2056         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
2057         to the host buffer.
2058         (gni_host_local): Use checked_copy to copy the host name.
2059         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
2060         (gni_serv_local): Use checked_copy to copy the service name.
2061         (getnameinfo): Remove unnecessary truncation of result buffers.
2063 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2065         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
2066         in case of inet_ntop failure.
2068 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2070         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
2071         avoid long lines.
2072         (gni_host_inet_numeric): Likewise.  Reduce scope of local
2073         variables.
2074         (gni_host_inet, gni_host_local): Add comment.
2075         (gni_host): Add comment.  Use temporary to avoid long lines.
2077 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2079         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
2080         registers specifiers where general purpose registers specifiers should
2081         have been used.
2083 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2085         [BZ #19779]
2086         CVE-2016-1234
2087         Avoid copying names of directory entries.
2088         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
2089         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
2090         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
2091         (struct readdir_result): New type.
2092         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
2093         (GL_READDIR): New macros.
2094         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
2095         (convert_dirent, convert_dirent64): New functions.
2096         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
2097         convert_dirent64.  Adjust references to the readdir result.
2098         * sysdeps/unix/sysv/linux/i386/glob64.c:
2099         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
2100         * posix/bug-glob2.c (LONG_NAME): Define.
2101         (filesystem): Add LONG_NAME.
2102         (my_DIR): Increase the size of room_for_dirent.
2104 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
2106         [BZ #20041]
2107         * misc/sys/select.h (__need_timespec): Only define if
2108         [__USE_XOPEN2K].
2109         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
2110         variable.
2111         (test-xfail-XPG4/utmpx.h/conform): Likewise.
2112         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2113         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2115 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2116             Segher Boessenkool  <segher@gcc.gnu.org>
2118         [BZ #20004]
2119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
2120         (__novec_swapcontext): Add missing load.
2122 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
2124         [BZ #20023]
2125         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
2126         <time.h>.
2127         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
2128         variable.
2129         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2131 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
2134         flags CLONE_VM compare.
2136 2016-05-02  Florian Weimer  <fweimer@redhat.com>
2138         [BZ #20031]
2139         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
2140         completely empty.
2142 2016-05-02  Florian Weimer  <fweimer@redhat.com>
2144         [BZ #19573]
2145         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
2146         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
2147         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
2148         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
2149         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
2150         (hesiod_free_list): Mark as hidden.
2151         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
2152         res_set, res_get.
2153         * hesiod/hesiod.c: Remove unnecessary forward declarations.
2154         (init, __hesiod_res_get, __hesiod_res_set): Remove.
2155         (hesiod_init): Remove obsolete res_ninit call.
2156         (hesiod_end): Do not free resolver state.  Do not invoke callback.
2157         (hesiod_bind): Do not call init.
2158         (get_txt_records): Use res_mkquery, res_send instead of
2159         res_nmkquery, res_nsend.
2160         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
2161         instead of _nss_hesiod_init.
2162         (_nss_hesiod_initgroups_dyn): Likewise.
2163         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
2164         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
2165         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
2167 2016-05-02  Florian Weimer  <fweimer@redhat.com>
2169         * hesiod/hesiod_p.h (DEF_RHS): Remove.
2170         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
2172 2016-05-02  Florian Weimer  <fweimer@redhat.com>
2174         * hesiod/hesiod.h: Remove RCS keyword.
2175         * hesiod/hesiod_p.h: Likewise.
2177         * hesiod/hesiod.c: Likewise.
2179 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
2181         [BZ #12450]
2182         * locale/iso-639.def: Add Samogitian/sgs.
2184 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
2186         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
2188         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
2190 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
2191             Carlos O'Donell  <carlos@redhat.com>
2193         [BZ #19072]
2194         * grp/Makefile (headers): Add grp-merge.h
2195         (routines): Add grp-merge.
2196         * grp/getgrgid_r.c: Include grp-merge.h.
2197         (DEEPCOPY_FN): Define.
2198         (MERGE_FN): Define.
2199         * grp/getgrname_r.c: Include grp-merge.h.
2200         (DEEPCOPY_FN): Define.
2201         (MERGE_FN): Define.
2202         * grp/grp-merge.c: New file.
2203         * grp/grp-merge.h: New file.
2204         * include/grp-merge.h: New file.
2205         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
2206         __copy_grp@GLIBC_PRIVATE.
2207         * manual/nss.texi (Actions in the NSS configuration): Describe
2208         return, continue, and merge.
2209         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
2210         (DEEPCOPY_FN): Define.
2211         (MERGE_FN): Define.
2212         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
2213         (DEEPCOPY_FN): Define.
2214         (MERGE_FN): Define.
2215         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
2216         [!MERGE_FN]: Define __merge_einval.
2217         (CHECK_MERGE): Define.
2218         (REENTRANT_NAME): Process merge if do_merge is true.
2219         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
2220         (__nss_getent_r): Likewise.
2221         * nss/nsswitch.c (nss_parse_service_list): Likewise.
2222         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
2224 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2226         [BZ #20012]
2227         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
2228         length to calculate the buffer to read.
2229         (fmemopen_write): Set the buffer position based on bytes written.
2230         (fmemopen_seek): Return EINVAL for invalid whence modes.
2232         [BZ #19957]
2233         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
2234         tst-getpid2.
2235         (test): Add tst-clone2.
2236         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
2237         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
2238         pid/tid fields for CLONE_VM.
2239         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
2240         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
2241         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
2242         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
2243         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
2244         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
2245         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
2246         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
2247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
2248         Likewise.
2249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2250         Likewise.
2251         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
2252         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
2253         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
2254         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
2255         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
2256         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
2257         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
2258         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
2260 2016-04-29  Florian Weimer  <fweimer@redhat.com>
2262         [BZ #19642]
2263         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
2264         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
2265         (gni_serv_local, gni_serv): New functions extracted from
2266         getnameinfo.
2267         (getnameinfo): Call gni_host and gni_serv to perform the
2268         processing.  Always free scratch buffer.
2270 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2272         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
2273         remaining bytes in the dest string, with zeros.
2275 2016-04-29  Florian Weimer  <fweimer@redhat.com>
2277         [BZ #20010]
2278         CVE-2016-3706
2279         * sysdeps/posix/getaddrinfo.c
2280         (convert_hostent_to_gaih_addrtuple): New function.
2281         (gethosts): Call convert_hostent_to_gaih_addrtuple.
2282         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
2283         AF_INET data.
2285 2016-04-29  Florian Weimer  <fweimer@redhat.com>
2287         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
2288         callback function gl_readdir.
2289         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
2290         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
2291         (glob_in_dir): Remove len.  Use strdup instead of malloc and
2292         memcpy to copy the name.
2293         * manual/pattern.texi (Calling Glob): Document requirements for
2294         implementations of the gl_readdir callback function.
2295         * manual/examples/mkdirent.c: New example.
2296         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
2297         per the manual guidance.
2298         * posix/tst-gnuglob.c (my_readdir): Likewise.
2300 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
2302         [BZ #20014]
2303         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
2304         not [__USE_POSIX].
2305         (getchar_unlocked): Likewise.
2306         (putc_unlocked): Likewise.
2307         (putchar_unlocked): Likewise.
2308         (flockfile): Likewise.
2309         (ftrylockfile): Likewise.
2310         (funlockfile): Likewise.
2311         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
2312         variable.
2313         (test-xfail-XPG4/stdio.h/conform): Likewise.
2315         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
2316         Expect constant.
2317         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
2318         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
2319         variable.
2320         (test-xfail-XPG4/langinfo.h/conform): Likewise.
2321         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2323         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
2324         [__USE_LARGEFILE64] (off64_t): Likewise.
2325         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
2326         variable.
2328 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2330         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
2332 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2334         * resolv/inet_addr.c: Reindent preprocessor conditionals.
2335         * resolv/res_init.c: Likewise.
2336         * resolv/res_mkquery.c: Likewise.
2338 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2340         * resolv/res_init.c (isascii): Do not define.  Use definition in
2341         <ctype.h>.
2342         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
2343         (LOG_AUTH): Remove.
2344         (SPRINTF): Remove, adjust caller.
2345         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
2347 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2349         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
2350         SUNSECURITY conditional.
2351         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
2353 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2355         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
2356         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
2357         Remove BSD-related preprocessor conditionals.
2358         * conf/portability.h: Remove.
2360 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2362         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
2363         * resolv/res_data.c: Likewise.
2365 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2367         * resolv/res_comp.c: Remove code conditional on __ultrix__.
2368         * resolv/res_data.c: Remove code conditional on ultrix.
2370 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2372         * resolv/res_init.c (RFC1535): Do not define.  Remove
2373         RFC1535 preprocessor conditionals.
2374         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
2375         because there configuration options which make the resolver
2376         behavior different.
2378 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2380         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
2381         RESOLVSORT preprocessor conditionals.
2382         * resolv/nss_dns/dns-host.c: Likewise.
2383         * resolv/res_init.c: Likewise.
2385 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2387         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
2388         is never defined.
2390 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2392         * inet/inet_lnaof.c: Remove SCSS keyword.
2393         * inet/inet_mkadr.c: Likewise.
2394         * inet/inet_net.c: Likewise.
2395         * inet/inet_netof.c: Likewise.
2396         * inet/rcmd.c: Likewise.
2397         * inet/rexec.c: Likewise.
2398         * inet/ruserpass.c: Likewise.
2400 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2402         * resolv/inet_addr.c: Remove _LIBC conditionals.
2403         * resolv/res_data.c: Likewise.
2404         * resolv/res_init.c: Likewise.
2405         * resolv/res_mkquery.c: Likewise.
2406         * resolv/res_libc.c: Update comment.
2407         * resolv/README: Update.
2409 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2411         * resolv/gethnamaddr.c: Remove SCSS keyword.
2412         * resolv/herror.c: Likewise.
2413         * resolv/inet_addr.c: Likewise.
2414         * resolv/inet_net_ntop.c: Likewise.
2415         * resolv/inet_net_pton.c: Likewise.
2416         * resolv/inet_neta.c: Likewise.
2417         * resolv/inet_ntop.c: Likewise.
2418         * resolv/inet_pton.c: Likewise.
2419         * resolv/ns_date.c: Remove RCS keyword.
2420         * resolv/ns_name.c: Likewise.
2421         * resolv/ns_netint.c: Likewise.
2422         * resolv/ns_parse.c: Likewise.
2423         * resolv/ns_print.c: Likewise.
2424         * resolv/ns_samedomain.c: Likewise.
2425         * resolv/ns_ttl.c: Likewise.
2426         * resolv/nsap_addr.c: Likewise.
2427         * resolv/res_comp.c: Remove SCSS and RCS keyword.
2428         * resolv/res_data.c: Remove RCS keyword.
2429         * resolv/res_debug.c: Remove SCSS and RCS keyword.
2430         * resolv/res_init.c: Likewise.
2431         * resolv/res_mkquery.c: Likewise.
2432         * resolv/res_query.c: Likewise.
2433         * resolv/res_send.c: Likewise.
2435 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
2437         * conform/data/stdio.h-data (fdopen): Expect also for
2438         [XPG3 || XPG4].
2440         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
2441         (fseeko): Likewise.
2442         (ftello): Likewise.
2443         (ftrylockfile): Likewise.
2444         (funlockfile): Likewise.
2445         (getc_unlocked): Likewise.
2446         (getchar_unlocked): Likewise.
2447         (putc_unlocked): Likewise.
2448         (putchar_unlocked): Likewise.
2450 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2452         [BZ #19868]
2453         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
2454         DNS packet syntax checks (which were not needed before).  Skip
2455         over non-PTR records.
2457 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2459         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
2460         definition.  Include <stddef.h> instead.
2462 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2464         [BZ #19831]
2465         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
2466         function.
2467         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
2468         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
2470 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2472         [BZ #19862]
2473         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
2474         (getanswer_r): Do not call syslog.
2475         (gaih_getanswer_slice): Likewise.
2476         * resolv/gethnamaddr.c (AskedForGot): Remove.
2477         (getanswer): Do not call syslog.
2478         (gethostbyaddr): Likewise.
2480 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
2482         * conform/data/signal.h-data (union sigval): Expect also if
2483         [XOPEN2K].
2484         (struct sigevent): Likewise.
2485         (SIGEV_NONE): Likewise.
2486         (SIGEV_SIGNAL): Likewise.
2487         (SIGEV_THREAD): Likewise.
2488         (SIGRTMIN): Likewise.
2489         (SIGRTMAX): Likewise.
2490         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
2491         variable.
2492         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2494 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2496         [BZ #19830]
2497         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
2498         (gaih_getanswer_slice): Likewise.
2499         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
2500         Also check for availability of RR metadata.
2502 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2504         [BZ #19825]
2505         * resolv/res_send.c (send_vc): Remove early *resplen2
2506         initialization.  Set *resplen2 on socket error.  Call
2507         close_and_return_error for other errors.
2509 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
2511         * sysdeps/unix/sysv/linux/netiucv/iucv.h
2512         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
2513         (SCM_IUCV_TRGCLS): New define.
2515 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2517         [BZ #20005]
2518         * libio/fmemopen.c (fmemopen_write): Update internal position after
2519         write.
2520         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
2521         * stdio-common/tst-fmemopen4.c: New file..
2523 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
2525         [BZ #19996]
2526         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
2527         not [__USE_XOPEN2K].
2528         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
2529         variable.
2531         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
2532         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
2533         variable.
2535         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
2536         [__USE_XOPEN2K8].
2537         [__USE_LARGEFILE64] (off64_t): Likewise.
2538         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
2539         variable.
2541 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
2543         [BZ #19989]
2544         * libio/stdio.h (cuserid): Do not declare if
2545         [__USE_XOPEN2K && !__USE_GNU].
2546         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
2547         variable.
2549 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2551         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2552         (sysdep_routines): Add P8 and PPC64 strcspn targets.
2553         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2554         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
2555         ifunc'ed strcspn.
2556         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
2557         [EALIGN]: Removed.
2558         [END]: Likewise
2559         [STRSPN]: Define instead of the above to control symbol name.
2560         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
2561         New file.
2562         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
2563         Likewise.
2564         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
2565         Likewise.
2566         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
2567         Likewise.
2568         * sysdeps/powerpc/powerpc64/power8/strspn.S:
2569         [INITIAL_MASK]: New macro.
2570         [STRCSPN]: Likewise.
2571         [UPDATE_MASK]: Likewise.
2572         [USE_AS_STRCSPN]: Lisewise.
2574 2016-04-25  Florian Weimer  <fweimer@redhat.com>
2576         [BZ #19931]
2577         * stdio-common/tst-vfprintf-width-prec.c: New file.
2578         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
2579         (tests-special): Add tst-vfprintf-width-prec-mem.out.
2580         (generated): Add mtrace-related files.
2581         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
2582         (tst-%-mem.out): New pattern rule, replaces
2583         tst-printf-bz18872-mem.out.
2584         * stdio-common/vfprintf.c (vfprintf): When handling a precision
2585         specifier, deallocate any previously allocated work buffer.
2587 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
2589         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
2590         Add nop before __startcontext, add explaining comments.
2592 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
2594         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
2595         any more. Notably since IPV6_PKTINFO has been reintroduced with a
2596         completely different API.
2598         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
2599         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
2600         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
2601         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
2602         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
2603         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
2604         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
2605         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
2606         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
2607         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
2609 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
2611         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
2613 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
2615         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
2616         when it is the default of 0.
2618 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2620         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
2621         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2622         (sysdep_routines): Add new strcasestr targets.
2623         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2624         (__libc_ifunc_impl_list): Likewise.
2625         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
2626         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
2627         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
2628         * sysdeps/powerpc/powerpc64/power8/Makefile:
2629         New file to add strcasestr-ppc64 to sysdep_routines.
2630         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
2631         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
2633 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
2635         * benchtests/Makefile (wcsmbs-benchset): Include only for
2636         native builds and runs.
2637         (LOCALES): Likewise.
2638         (bench-build): Build timing-type here instead of the bench
2639         target.  Generate locale only for native builds.
2640         * benchtests/README: Add note for cross-building.
2642         * benchtests/Makefile (bench-clean): Clean up extra-objs.
2644         * benchtests/README: Update README to include instructions on
2645         using bench-build.
2647         * Makefile.in (bench-build): New target.
2648         * Rules (PHONY): Add bench-build target.
2649         * benchtests/Makefile (bench): Depend on bench-build.
2650         (bench-build): New target.
2652 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2654         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
2655         profil_reply_port.
2656         (profile_waiter): Do not initialize profil_reply_port.
2657         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
2658         frequency instead of tick length in us.
2660 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
2662         [BZ #18712]
2663         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
2664         (__old_mempcpy_small): Likewise.
2665         (__old_strcpy_small): Likewise.
2666         (__old_stpcpy_small): Likewise.
2667         (__old_strpbrk_c2): Fix compat symbol name.
2668         (__old_strpbrk_c3): Likewise.
2669         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
2670         (__mempcpy_small): Remove.
2671         (__strcpy_small): Remove.
2672         (__stpcpy_small): Remove.
2674 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
2676         [BZ #19400]
2677         * locale/iso-639.def: Add the Talossan/tzl language.
2679 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
2681         [BZ #16983]
2682         * locale/programs/ld-address.c (address_finish): Update postal_fmt
2683         comment.  Add "ln" to strchr check on postal_fmt.
2685 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
2687         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
2688         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
2689         tel_dom_fmt.
2691 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2693         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2694         (sysdep_routines): Added __strlen_power8.
2695         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
2696         __strlen_power8 entry.
2697         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
2698         Implementation for POWER8.
2699         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
2700         for __strlen_power8.
2701         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
2702         Implementation for POWER8.
2704 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
2706         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
2708 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
2710         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
2711         Goldmont and Airmont processors.
2713 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
2715         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
2716         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
2717         (__STRING2_SMALL_GET32): Remove.
2718         (memset): Remove.
2719         (__memset_1): Remove.
2720         (__memset_gc): Remove.
2721         (__mempcpy): Remove.
2722         (mempcpy): Remove.
2723         (__mempcpy_args): Remove.
2724         (strchr): Remove.
2725         (strcpy): Remove.
2726         (strcpy_args): Remove.
2727         (__stpcpy_args): Remove.
2728         (__strcmp_cc): Remove.
2729         (__strcmp_gc): Remove.
2730         (strstr): Remove.
2732 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
2734         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
2735         * nis/nis_call.c (nis_server_cache_add): Likewise.
2737 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2739         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
2741 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2743         * malloc/arena.c (__malloc_fork_lock_parent)
2744         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
2745         internal_function attribute.
2747 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
2749         * stdio-common/printf_fp.c (__printf_fp_l):
2750         Rename ___printf_fp_l to __printf_fp_l and
2751         remove strong alias. Use libc_hidden_def instead
2752         of ldbl_hidden_def macro.
2754 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2756         Remove malloc hooks from fork handler.  They are no longer needed
2757         because malloc runs right before fork, and no malloc calls from
2758         other fork handlers are not possible anymore.
2759         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
2760         declarations.
2761         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
2762         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
2763         (atfork_recursive_cntr): Remove.
2764         (__malloc_fork_lock_parent): Do not override malloc hooks and
2765         thread_arena.
2766         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
2767         thread_arena.
2768         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
2769         thread_arena instead of save_arena.
2771 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2773         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
2774         (thread_atfork, thread_atfork_static): Remove.
2775         * sysdeps/mach/hurd/malloc-machine.h:
2776         (thread_atfork, thread_atfork_static): Remove.
2778 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2780         [BZ #19431]
2781         Run the malloc fork handler as late as possible to avoid deadlocks.
2782         * malloc/malloc-internal.h: New file.
2783         * malloc/malloc.c: Include it.
2784         * malloc/arena.c (ATFORK_MEM): Remove.
2785         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
2786         Update comment.
2787         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
2788         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
2789         Remove outdated comment.
2790         (ptmalloc_init): Do not call thread_atfork.  Remove
2791         thread_atfork_static.
2792         * malloc/tst-malloc-fork-deadlock.c: New file.
2793         * Makefile (tests): Add tst-malloc-fork-deadlock.
2794         (tst-malloc-fork-deadlock): Link against libpthread.
2795         * manual/memory.texi (Aligned Memory Blocks): Update safety
2796         annotation comments.
2797         * sysdeps/nptl/fork.c (__libc_fork): Call
2798         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
2799         __malloc_fork_unlock_child.
2800         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
2802 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2804         [BZ #19613]
2805         Remove union wait.
2806         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
2807         (w_stopsig, w_stopval): Remove.
2808         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
2809         stat_loc argument.
2810         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
2811         (__WAIT_STATUS_DEFN): Remove.
2812         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
2813         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
2814         (wait, wait3, wait4): Use int * for the stat_loc argument.
2815         * posix/wait.c (__wait): Likewise.
2816         * posix/wait3.c (__wait3): Likewise.
2817         * posix/wait4.c (__wait4): Likewise.
2818         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
2819         (__WAIT_STATUS_DEFN): Remove.
2820         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
2821         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
2822         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
2823         argument.
2824         * sysdeps/posix/wait.c (__libc_wait): Likewise.
2825         * sysdeps/posix/wait3.c (__wait3): Likewise.
2826         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
2827         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
2828         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
2829         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
2830         stat_loc argument.
2831         * manual/process.texi (BSD Wait Functions): Remove union wait.
2833 2016-04-13  Andreas Schwab  <schwab@suse.de>
2835         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
2836         (test-extras): Add tst-tlsalign-vars.
2837         * math/Makefile: Wrap long lines.
2838         (libm-vec-test-wrappers): Define.
2839         (test-extras): Add $(libm-vec-test-wrappers).
2840         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
2841         * nss/Makefile (extra-test-objs): Add nss_test1.os.
2842         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
2843         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
2844         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
2845         (extra-test-objs): Add corresponding objects.
2847 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
2849         [BZ #19928]
2850         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
2851         New.
2852         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
2853         times of shared cache size.
2854         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
2855         (VMOVNT): New.
2856         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
2857         (VMOVNT): Likewise.
2858         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
2859         (VMOVNT): Likewise.
2860         (VMOVU): Changed to movups for smaller code sizes.
2861         (VMOVA): Changed to movaps for smaller code sizes.
2862         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
2863         comments.
2864         (PREFETCH): New.
2865         (PREFETCH_SIZE): Likewise.
2866         (PREFETCHED_LOAD_SIZE): Likewise.
2867         (PREFETCH_ONE_SET): Likewise.
2868         Rewrite to use forward and backward loops, which move 4 vector
2869         registers at a time, to support overlapping addresses and use
2870         non temporal store if size is above the threshold and there is
2871         no overlap between destination and source.
2873 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
2875         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
2876         Include dl-vdso.
2877         * sysdeps/unix/sysv/linux/mips/Versions: Add
2878         __vdso_clock_gettime.
2879         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
2880         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
2881         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
2882         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
2883         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
2884         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
2885         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2886         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
2887         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
2889 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2891         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
2892         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
2893         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2894         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2895         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2896         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2899         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
2900         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
2901         syscalls generation.
2902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2903         [__NR_pwrite64] (__NR_write): Remove define.
2904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2905         [__NR_pwrite64] (__NR_write): Remove define.
2906         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
2907         Remove define.
2908         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
2909         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
2910         Remove define.
2911         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
2912         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
2913         Linux implementation as base.
2914         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2916         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
2917         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
2918         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2919         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
2921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2922         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
2923         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
2924         syscall generation.
2925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2926         [__NR_pread64] (__NR_pread): Remove define.
2927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2928         [__NR_pread64] (__NR_pread): Likewise.
2929         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
2930         define.
2931         (__libc_pread): Use SYSCALL_LL macro on offset argument.
2932         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
2933         Remove define.
2934         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
2935         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
2936         Linux implementation as base.
2937         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2938         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2939         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2941         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
2942         definition.
2943         (__ALIGNMENT_COUNT): Likewise.
2944         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
2945         (__ALIGNMENT_COUNT): Likewise.
2946         (SYSCALL_LL): New define.
2947         (SYSCALL_LL64): Likewise.
2948         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
2949         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
2950         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
2951         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
2953         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2954         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
2955         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2956         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
2957         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2958         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
2960 2016-04-11  Florian Weimer  <fweimer@redhat.com>
2962         [BZ #19865]
2963         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
2964         original buffer before retry.
2966 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2968         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
2969         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
2970         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
2971         GLRO(dl_auxv) list.
2972         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
2973         including <ldsodefs.h>.
2974         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
2976 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
2978         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
2979         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
2980         $(CPPFLAGS).
2982 2016-04-09  Khem Raj  <raj.khem@gmail.com>
2984         [BZ #17950]
2985         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
2986         Add -mfpmath=387.
2988 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
2990         * sysdeps/i386/configure.ac: Change == to = when calling test.
2991         * sysdeps/x86_64/configure.ac: Likewise.
2992         * sysdeps/i386/configure: Regenerated.
2993         * sysdeps/x86_64/configure: Likewise.
2995 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
2997         [BZ #16137]
2998         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
2999         * benchtests/bench-strcoll.c (input_files): Likewise.
3000         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
3001         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
3002         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
3004 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
3006         [BZ #19929]
3007         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
3008         [__USE_XOPEN2K8 && !__USE_GNU].
3009         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
3010         variable.
3012         [BZ #19925]
3013         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
3014         define if [!__USE_MISC && __USE_XOPEN2K].
3015         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
3016         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
3017         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
3018         Likewise.
3019         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
3020         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
3021         variable.
3022         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3024 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3026         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3027         (sysdep_routines): Add new strspn targets.
3028         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3029         (__libc_ifunc_impl_list): Add strspn.
3030         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
3031         New file.
3032         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
3033         Likewise.
3034         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
3035         Likewise.
3036         * sysdeps/powerpc/powerpc64/power8/strspn.S:
3037         Likewise.
3039 2016-04-07  Florian Weimer  <fweimer@redhat.com>
3041         * misc/hsearch_r.c: Include <limits.h>.
3043 2016-04-07  Florian Weimer  <fweimer@redhat.com>
3045         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
3047 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
3049         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3050         (MEMCPY_SYMBOL): New.
3051         (MEMPCPY_SYMBOL): Likewise.
3052         (MEMMOVE_CHK_SYMBOL): Likewise.
3053         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
3054         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
3055         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
3056         Provide alias for memcpy in libc.a and ld.so.
3058 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
3060         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
3061         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
3062         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
3063         Disabled fro now.
3064         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
3065         symbols.  Properly check USE_MULTIARCH on __memset symbols.
3067 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
3069         * benchtests/Makefile (string-benchset): Add memcpy-large,
3070         memmove-large and memset-large.
3071         * benchtests/bench-memcpy-large.c: New file.
3072         * benchtests/bench-memmove-large.c: Likewise.
3073         * benchtests/bench-memmove-large.c: Likewise.
3074         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
3076 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
3078         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
3079         32-bit displacement to avoid long nop between instructions.
3081 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
3083         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
3084         a comment on VMOVU and VMOVA.
3086 2016-04-04  Florian Weimer  <fweimer@redhat.com>
3088         [BZ #19633]
3089         Use specified locale for number formatting in strfmon_l.
3090         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
3091         (__nl_lookup_word): New inline functions.
3092         * include/printf.h (__print_fp_l): Declare.
3093         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
3094         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
3095         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
3096         (___printf_fp): New function.
3097         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
3098         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
3099         * stdlib/tst-strfmon_l.c (do_test): New test.
3100         * stdlib/Makefile (tests): Add kt.
3101         (LOCALES): Build additional locales.
3102         (tst-strfmon_l.out): Require locales.
3104 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
3106         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
3107         if not in libc.
3108         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
3109         Likewise.
3110         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
3111         Likewise.
3112         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
3113         Likewise.
3115 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
3117         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3118         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
3119         with unaligned_erms.
3120         (__memmove_erms): Skip if source == destination.
3121         (__memmove_unaligned_erms): Don't check source == destination
3122         first.
3124 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
3126         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
3127         bit_arch_Fast_Copy_Backward for Intel Core proessors.
3129 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3131         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
3132         * string/strspn.c (strspn): Likewise.
3134 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
3136         * benchtests/bench-memset.c (do_test): Support 64-byte
3137         alignment.
3138         (test_main): Test 64-byte alignment.
3140 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
3142         * benchtests/bench-memmove.c (test_main): Test 64-byte
3143         alignment.
3145 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
3147         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
3149 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3151         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
3152         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
3153         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
3155         * string/strpbrk.c (strpbrk): Rewrite function.
3156         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
3157         (__strpbrk_c2): Likewise.
3158         (__strpbrk_c3): Likewise.
3159         * string/string-inlines.c
3160         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
3161         Likewise.
3162         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
3163         Likewise.
3165         * string/strspn.c (strcspn): Rewrite function.
3166         * string/bits/string2.h (strspn): Use __builtin_strcspn.
3167         (__strspn_c1): Remove inline function.
3168         (__strspn_c2): Likewise.
3169         (__strspn_c3): Likewise.
3170         * string/string-inlines.c
3171         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
3172         compatibility symbol.
3173         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
3174         Likewise.
3175         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
3176         Likewise.
3177         * string/string-inlines.c: Include generic version.
3179 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
3180             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3182         * string/Version (libc): Add GLIBC_2.24.
3183         * string/strcspn.c (strcspn): Rewrite function.
3184         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
3185         (__strcspn_c1): Remove inline function.
3186         (__strcspn_c2): Likewise.
3187         (__strcspn_c3): Likewise.
3188         * string/string-inline.c
3189         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
3190         compatibility symbol.
3191         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
3192         Likewise.
3193         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
3194         Likewise.
3195         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
3197 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
3199         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
3200         Use ahi instead of aghi to adjust stack pointer.
3202 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3204         [BZ #19853]
3205         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
3206         TEST to take significant digits as second parameter.
3207         [TEST]: Redefine in terms of TEST_N taking 30
3208         significant digits.
3209         (do_test): Add test case to demonstrate precision
3210         failure in the ldbl-128ibm printf.
3211         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
3212         (__mpn_extract_long_double): Carry 7 extra intermediate
3213         bits of precision to aide computing difference when
3214         signs differ.
3216 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
3218         [BZ #19881]
3219         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3220         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
3221         memset-avx512-unaligned-erms.
3222         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3223         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
3224         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
3225         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
3226         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
3227         __memset_sse2_unaligned_erms, __memset_erms,
3228         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
3229         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
3230         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
3231         file.
3232         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
3233         Likewise.
3234         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
3235         Likewise.
3236         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
3237         Likewise.
3239 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
3241         [BZ #19776]
3242         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3243         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
3244         memmove-avx512-unaligned-erms.
3245         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3246         (__libc_ifunc_impl_list): Test
3247         __memmove_chk_avx512_unaligned_2,
3248         __memmove_chk_avx512_unaligned_erms,
3249         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
3250         __memmove_chk_sse2_unaligned_2,
3251         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
3252         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
3253         __memmove_avx512_unaligned_erms, __memmove_erms,
3254         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
3255         __memcpy_chk_avx512_unaligned_2,
3256         __memcpy_chk_avx512_unaligned_erms,
3257         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
3258         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
3259         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
3260         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
3261         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
3262         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
3263         __mempcpy_chk_avx512_unaligned_erms,
3264         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
3265         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
3266         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
3267         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
3268         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
3269         __mempcpy_erms.
3270         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
3271         file.
3272         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
3273         Likwise.
3274         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
3275         Likwise.
3276         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3277         Likwise.
3279 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
3281         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
3282         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
3283         (La_s390_64_regs): Likewise.
3284         (La_s390_32_retval): Append vector register lrv_v24.
3285         (La_s390_64_retval): Likeweise.
3286         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
3287         Handle extended structs La_s390_32_regs and La_s390_32_retval.
3288         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
3289         Handle extended structs La_s390_64_regs and La_s390_64_retval.
3291 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
3293         [BZ #19916]
3294         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
3295         to create a non-vector/vector version for _dl_runtime_resolve and
3296         _dl_runtime_profile. Move implementation to ...
3297         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
3298         (_dl_runtime_resolve) Save and restore fpr/vrs.
3299         (_dl_runtime_profile) Save and restore vrs and fix some issues
3300         if _dl_call_pltexit is called.
3301         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
3302         Choose the correct resolver function if running on a machine with vx.
3303         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
3304         to create a non-vector/vector version for _dl_runtime_resolve and
3305         _dl_runtime_profile. Move implementation to ...
3306         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
3307         (_dl_runtime_resolve) Save and restore fpr/vrs.
3308         (_dl_runtime_profile) Save and restore vrs and fix some issues
3309         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
3310         Choose the correct resolver function if running on a machine with vx.
3312 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3314         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
3316 2016-03-31  Florian Weimer  <fweimer@redhat.com>
3318         [BZ #19509]
3319         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
3320         skip_map != NULL.
3321         * elf/tst-dlsym-error.c: New file.
3322         * elf/Makefile (tests): Add tst-dlsym-error.
3323         (tst-dlsym-error): Link against libdl.
3325 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
3327         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3328         (__ASSUME_FUTIMESAT): Remove macro.
3329         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
3331 2016-03-29  Florian Weimer  <fweimer@redhat.com>
3333         [BZ #19879]
3334         CVE-2016-3075
3335         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
3336         copy name.
3338 2016-03-29  Florian Weimer  <fweimer@redhat.com>
3340         [BZ #19837]
3341         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
3342         error if parse_line fails.
3344 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3346         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
3347         (index_cpu_ERMS): Likewise.
3348         (reg_ERMS): Likewise.
3350 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
3352         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
3353         PER_LINUX_FDPIC): Add.
3355 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3357         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3358         memcpy-avx512-no-vzeroupper.
3359         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
3360         to ...
3361         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
3362         (MEMCPY): Don't define.
3363         (MEMCPY_CHK): Likewise.
3364         (MEMPCPY): Likewise.
3365         (MEMPCPY_CHK): Likewise.
3366         (MEMPCPY_CHK): Renamed to ...
3367         (__mempcpy_chk_avx512_no_vzeroupper): This.
3368         (MEMPCPY_CHK): Renamed to ...
3369         (__mempcpy_chk_avx512_no_vzeroupper): This.
3370         (MEMCPY_CHK): Renamed to ...
3371         (__memmove_chk_avx512_no_vzeroupper): This.
3372         (MEMCPY): Renamed to ...
3373         (__memmove_avx512_no_vzeroupper): This.
3374         (__memcpy_avx512_no_vzeroupper): New alias.
3375         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
3377 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3379         [BZ #18858]
3380         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3381         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
3382         and mempcpy-avx512-no-vzeroupper.
3383         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
3384         New.
3385         (MEMPCPY): Likewise.
3386         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
3387         (MEMPCPY_CHK): New.
3388         (MEMPCPY): Likewise.
3389         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
3390         (MEMPCPY): Likewise.
3391         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
3392         (MEMPCPY): Likewise.
3393         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
3394         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
3395         Likewise.
3396         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
3397         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
3399 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3400              Amit Pawar  <Amit.Pawar@amd.com>
3402         [BZ #19583]
3403         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
3404         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
3405         processors.  Set Fast_Copy_Backward for AMD Excavator
3406         processors.
3407         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
3408         New.
3409         (index_arch_Fast_Unaligned_Copy): Likewise.
3410         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
3411         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
3413 2016-03-25  Florian Weimer  <fweimer@redhat.com>
3415         [BZ #19791]
3416         * resolv/res_send.c (close_and_return_error): New function.
3417         (send_dg): Initialize *resplen2 after reopen failure.  Call
3418         close_and_return_error for error returns.  On error paths without
3419         __res_iclose, initialze *resplen2 explicitly.  Update comment for
3420         successful return.
3422 2016-03-25  Florian Weimer  <fweimer@redhat.com>
3424         [BZ# 19860]
3425         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
3426         zero if the compiler does not provide the AVX512F bit.
3428 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
3430         [BZ #19848]
3431         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
3432         from 8 to 4.
3433         (__ieee754_powl): Compare integer exponent against 4 not 8.
3434         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
3435         from 8 to 4.
3436         (__ieee754_powl): Compare integer exponent against 4 not 8.
3437         * math/auto-libm-test-in: Add more tests of pow.
3438         * math/auto-libm-test-out: Regenerated.
3439         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
3440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3442 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
3444         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
3445         Make code unconditional.
3446         [!__NR_utimensat]: Remove conditional code.
3447         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
3448         Make code unconditional.
3449         [!__NR_utimensat]: Remove conditional code.
3450         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
3451         Make code unconditional.
3452         [!__NR_utimensat]: Remove conditional code.
3454 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
3456         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
3457         Make code unconditional.
3459 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
3461         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
3462         call-clobbered %eax on retry path.
3463         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
3465 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
3467         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
3468         Don't set %rcx twice before "rep movsb".
3470 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
3472         [BZ #19583]
3473         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
3474         inline.  Check family before setting family, model and
3475         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
3476         bits here.
3477         (init_cpu_features): Replace HAS_CPU_FEATURE and
3478         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
3479         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
3480         for Intel processors with usable AVX2.  Call get_common_indeces
3481         for other processors with family == NULL.
3482         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
3483         (CPU_FEATURES_ARCH_P): Likewise.
3484         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
3485         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
3487 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3489         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
3490         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
3491         $(shared-thread-library) instead of hardcoding the path to libpthread.
3493 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
3495         * sysdeps/unix/sysv/linux/kernel-features.h
3496         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
3497         * sysdeps/unix/sysv/linux/getdents.c
3498         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
3499         [!have_no_getdents64_defined]: Likewise.
3500         (__GETDENTS): Remove __have_no_getdents64 conditional.
3502 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
3504         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
3505         Remove macro.
3506         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
3507         <kernel-features.h>.
3508         (signalfd) [__NR_signalfd4]: Make code unconditional.
3509         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
3511 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3513         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
3514         style.
3516 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
3518         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
3519         (__pthread_enable_asynccancel): Use JUMPTARGET to call
3520         __pthread_unwind.
3521         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
3522         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
3523         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
3524         (__condvar_cleanup1): Likewise.
3526 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
3528         [BZ #19822]
3529         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
3530         move it to the final $@ location.
3532 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3534         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
3535         access where posix_spawn success and pid argument is null.
3536         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
3537         success case.
3539 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
3541         * sysdeps/mach/hurd/i386/c++-types.data: New file.
3543         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
3545         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
3546         and __fcntl.
3547         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
3548         __fcntl only.
3549         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
3550         adding attribute_hidden to __open and __fcntl.
3552         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
3553         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
3554         depend on libc-modules.h,
3555         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
3557 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
3559         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
3560         Remove macro.
3561         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
3562         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
3563         entry.
3565         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
3566         Remove macro.
3567         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
3568         include <kernel-features.h>.
3569         [!__ASSUME_FALLOCATE]: Remove conditional code.
3570         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
3572 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3574         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
3575         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
3576         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
3577         (_ZGVdN4v_cos_avx2): Likewise.
3578         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
3579         (_ZGVdN4v_cos): Likewise.
3580         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
3581         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
3582         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
3583         (_ZGVdN4v_exp_avx2): Likewise.
3584         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
3585         (_ZGVdN4v_exp): Likewise.
3586         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
3587         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
3588         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
3589         (_ZGVdN4v_log_avx2): Likewise.
3590         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
3591         (_ZGVdN4v_log): Likewise.
3592         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
3593         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
3594         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
3595         (_ZGVdN4vv_pow_avx2): Likewise.
3596         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
3597         (_ZGVdN4vv_pow): Likewise.
3598         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
3599         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
3600         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
3601         (_ZGVdN4v_sin_avx2): Likewise.
3602         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
3603         (_ZGVdN4v_sin): Likewise.
3604         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
3605         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
3606         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
3607         (_ZGVdN4vvv_sincos_avx2): Likewise.
3608         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
3609         (_ZGVdN4vvv_sincos): Likewise.
3610         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
3611         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
3612         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
3613         (_ZGVbN4v_cosf_sse4): Likewise.
3614         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
3615         (_ZGVdN8v_cosf_avx2): Likewise.
3616         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
3617         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
3618         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
3619         (_ZGVbN4v_expf_sse4): Likewise.
3620         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
3621         (_ZGVdN8v_expf_avx2): Likewise.
3622         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
3623         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
3624         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
3625         (_ZGVbN4v_logf_sse4): Likewise.
3626         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
3627         (_ZGVdN8v_logf_avx2): Likewise.
3628         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
3629         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
3630         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
3631         (_ZGVbN4vv_powf_sse4): Likewise.
3632         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
3633         (_ZGVdN8vv_powf_avx2): Likewise.
3634         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
3635         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
3636         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
3637         (_ZGVbN4vvv_sincosf_sse4): Likewise.
3638         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
3639         (_ZGVdN8vvv_sincosf_avx2): Likewise.
3640         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
3641         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
3642         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
3643         (_ZGVbN4v_sinf_sse4): Likewise.
3644         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
3645         (_ZGVdN8v_sinf_avx2): Likewise.
3646         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
3647         Use JUMPTARGET to call callee.
3648         (WRAPPER_IMPL_SSE2_ff): Likewise.
3649         (WRAPPER_IMPL_SSE2_fFF): Likewise.
3650         (WRAPPER_IMPL_AVX): Likewise.
3651         (WRAPPER_IMPL_AVX_ff): Likewise.
3652         (WRAPPER_IMPL_AVX_fFF): Likewise.
3653         (WRAPPER_IMPL_AVX512): Likewise.
3654         (WRAPPER_IMPL_AVX512_ff): Likewise.
3655         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
3656         Likewise.
3657         (WRAPPER_IMPL_SSE2_ff): Likewise.
3658         (WRAPPER_IMPL_SSE2_fFF): Likewise.
3659         (WRAPPER_IMPL_AVX): Likewise.
3660         (WRAPPER_IMPL_AVX_ff): Likewise.
3661         (WRAPPER_IMPL_AVX_fFF): Likewise.
3662         (WRAPPER_IMPL_AVX512): Likewise.
3663         (WRAPPER_IMPL_AVX512_ff): Likewise.
3664         (WRAPPER_IMPL_AVX512_fFF): Likewise.
3666 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3668         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
3669         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
3670         qualifier.
3671         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
3672         internal_function qualifiers.
3674 2016-03-15  Carlos O'Donell <carlos@redhat.com>
3676         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
3677         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
3678         * math/atest-exp.c (exp_mpn): Mark chk unused.
3679         * math/atest-exp2.c (exp_mpn): Likwise.
3680         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
3681         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
3683 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
3685         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
3686         Remove macro.
3687         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
3688         <kernel-features.h>.
3689         [__NR_ppoll]: Make code unconditional.
3690         [!__ASSUME_PPOLL]: Remove conditional code.
3692         * sysdeps/unix/sysv/linux/kernel-features.h
3693         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
3694         (__ASSUME_ACCEPT4): Likewise.
3695         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3696         Define.
3697         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
3698         Likewise.
3699         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3700         Likewise.
3701         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
3702         Likewise.
3703         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
3704         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
3705         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3706         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3707         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3708         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3709         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3710         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3711         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3712         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3713         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3714         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3715         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3716         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3717         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3718         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3719         Likewise.
3720         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3721         Likewise.
3722         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3723         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
3724         0x040300].
3725         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3726         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3727         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3728         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3729         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
3730         0x030300].
3731         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
3732         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3733         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3734         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
3735         0x040300].
3736         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3737         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3738         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3739         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3740         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3741         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3742         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
3743         0x030300].
3744         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3745         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3746         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3747         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3748         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3749         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3750         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3751         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3752         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3753         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3754         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
3755         0x040300].
3756         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3757         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3758         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3759         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3760         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3761         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3762         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3763         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3764         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3765         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3766         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3767         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3768         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3769         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3770         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
3771         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3772         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3773         Likewise.
3774         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3775         Likewise.
3777 2016-03-15  Andreas Schwab  <schwab@suse.de>
3779         [BZ #19257]
3780         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
3781         statp->_u._ext.nscount as loop count.
3783 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
3785         * math/test-signgam-finite-c99.c: Also #undef
3786         __LIBC_INTERNAL_MATH_INLINES.
3787         * math/test-signgam-main.c: Likewise.
3789 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
3791         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
3792         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
3793         (MADV_FREE): Likewise.
3794         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
3795         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
3796         EPOLLEXCLUSIVE.
3798 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
3800         * timezone/README: Remove mention of checktab.awk. Mention wiki
3801         SharedSourceFiles.
3803 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
3805         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
3806         WUNTRACED.
3808 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3810         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
3811         order to match the type of p when calling atomic_exchange_acq().
3813 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3815         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
3816         cfi_offset calls.
3817         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
3818         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
3819         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
3820         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
3821         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
3823 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
3825         * timezone/checktab.awk: Removed.
3827 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
3829         * manual/math.texi (Errors in Math Functions): Document relaxed
3830         accuracy goals for IBM long double.
3831         * math/libm-test.inc (test_exceptions): Always allow spurious
3832         "underflow" and "inexact" exceptions for IBM long double.
3834 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
3836         [BZ #19762]
3837         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
3838         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
3839         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
3840         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
3841         (bit_arch_*): This for feature array.
3842         (bit_*): Renamed to ...
3843         (bit_cpu_*): This for cpu array.
3844         (index_*): Renamed to ...
3845         (index_arch_*): This for feature array.
3846         (index_*): Renamed to ...
3847         (index_cpu_*): This for cpu array.
3848         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
3849         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
3850         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
3851         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
3852         bit_##name with index_cpu_##name and bit_cpu_##name.
3853         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
3854         bit_##name with index_arch_##name and bit_arch_##name.
3856 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
3858         [BZ #19792]
3859         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
3860         Terminate FDE before return label.
3862 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
3864         [BZ #19790]
3865         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
3866         (rintl): Define as macro.
3867         [USE_AS_NEARBYINTL] (__rintl): Likewise.
3868         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
3869         of fesetround.  Ensure results are evaluated before end of scope.
3870         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
3871         USE_AS_NEARBYINTL and include s_rintl.c.
3872         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
3873         Disable exception traps in new environment.
3874         (libc_feholdsetround_ppc_ctx): Likewise.
3876 2016-03-08  Roland McGrath  <roland@hack.frob.com>
3878         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
3879         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
3880         (tst_audit10_aux) [__AVX512F__]: ... here.
3882 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
3884         * include/sys/auxv.h: New file.
3886 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
3888         [BZ #19759]
3889         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
3891 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3893         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
3894         operand modifier.
3895         (feclearexcept): Likewise.
3897 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3899         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
3900         to reflect the entire 32-bit HWCAP.
3901         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
3902         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
3904 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
3906         [BZ #19783]
3907         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
3908         $(test-via-rtld-prefix).
3909         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
3911 2016-03-08  Florian Weimer  <fweimer@redhat.com>
3913         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
3914         union wait.  Report any non-zero exit status as error.
3916 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3918         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
3919         configured with --enable-hardcoded-path-in-tests.
3921 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
3923         [BZ #19677]
3924         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
3925         (__ieee754_remainderl): Put zero low parts in canonical form.
3926         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
3927         file.  Based on
3928         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
3929         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
3930         with wrapper round test-fmodrem-ldbl-128ibm.c.
3931         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
3932         file.
3933         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
3934         Likewise.
3935         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
3936         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
3938 2016-03-07  Florian Weimer  <fweimer@redhat.com>
3940         [BZ #19610]
3941         * elf/ldconfig.c (opt_link): Update comment.
3942         (options): Update help string for option -X.
3943         (search_dir): Unlink stale symbolic link only if updating symbolic
3944         links.
3945         * elf/tst-ldconfig-X.sh: New file.
3946         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
3947         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
3949 2016-03-07  Andreas Schwab  <schwab@suse.de>
3951         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
3952         needed arguments.
3954 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
3956         [BZ #15333]
3957         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
3958         to lstat64.
3960 2016-03-07  Florian Weimer  <fweimer@redhat.com>
3962         * libio/filedoalloc.c (isatty): Remove.
3963         (local_isatty): Add comment.  Call __isatty directly.
3964         (_IO_file_doallocate): Update comment.  Assume _LIBC.
3965         * libio/wfiledoalloc.c (isatty): Remove.
3966         (_IO_wfile_doallocate): Update comment.
3968 2016-03-07  Florian Weimer  <fweimer@redhat.com>
3970         [BZ #19269]
3971         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
3972         tst-audit4-aux.o.
3973         (tst-audit10): Depend on tst-audit10-aux.o.
3974         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
3975         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
3976         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
3977         instead of inline AVX code.
3978         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
3979         instead of inline AVX512 code.
3980         * sysdeps/x86_64/tst-audit4-aux.c: New file
3981         * sysdeps/x86_64/tst-audit10-aux.c: New file
3983         [BZ #19648]
3984         * test-skeleton.c (main): Do not set RLIMIT_DATA.
3986 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3988         [BZ #14750]
3989         [BZ #10354]
3990         [BZ #18433]
3991         * include/sched.h (__clone): Add hidden prototype.
3992         (__clone2): Likewise.
3993         * include/unistd.h (__dup): Likewise.
3994         * posix/Makefile (tests): Add tst-spawn2.
3995         * posix/tst-spawn2.c: New file.
3996         * sysdeps/posix/dup.c (__dup): Add hidden definition.
3997         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
3998         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
3999         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
4000         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
4001         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
4002         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
4003         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
4004         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
4005         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
4006         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
4007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
4008         Likewise.
4009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4010         Likewise.
4011         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
4012         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
4013         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
4014         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
4015         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
4016         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
4017         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
4018         * sysdeps/unix/sysv/linux/nptl-signals.h
4019         (____nptl_is_internal_signal): New function.
4020         * sysdeps/unix/sysv/linux/spawni.c: New file.
4022         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
4023         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
4024         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
4025         * posix/tst-execvp2.c (do_test): Likewise.
4026         * posix/tst-execvp3.c (do_test): Likewise.
4027         * posix/tst-execvp4.c (do_test): Likewise.
4028         * posix/tst-execvpe1.c: New file.
4029         * posix/tst-execvpe2.c: Likewise.
4030         * posix/tst-execvpe3.c: Likewise.
4031         * posix/tst-execvpe4.c: Likewise.
4032         * posix/tst-execvpe5.c: Likewise.
4033         * posix/tst-execvpe6.c: Likewise.
4035         [BZ #19534]
4036         * posix/execl.c (execl): Remove dynamic memory allocation.
4037         * posix/execle.c (execle): Likewise.
4038         * posix/execlp.c (execlp): Likewise.
4040 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
4042         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
4043         Replace .text with .text.avx512.
4044         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
4045         Likewise.
4047 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
4049         * sysdeps/generic/libnsl.abilist: New file.
4050         * sysdeps/generic/libutil.abilist: New file.
4052 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
4054         [BZ #19762]
4055         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
4056         HAS_ARCH_FEATURE with Fast_Rep_String.
4057         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
4058         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
4059         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
4060         Likewise.
4061         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
4062         Likewise.
4063         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
4064         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
4065         Likewise.
4066         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
4067         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
4068         Likewise.
4070 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
4072         [BZ #19745]
4073         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
4074         with *%rax in call.
4076 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
4078         [BZ #19745]
4079         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
4080         with *__libc_start_main@GOTPCREL(%rip) in call.
4082 2016-03-04  Roland McGrath  <roland@hack.frob.com>
4084         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
4085         inside conditional for nonempty $(CXX).
4087         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
4088         nonempty.
4090         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
4091         to test for empty $(CXX) rather than $(CXX) of "no".
4093 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
4095         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
4097 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
4098             H.J. Lu  <hongjiu.lu@intel.com>
4100         [BZ #18880]
4101         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
4102         instead of Slow_BSF, and also check for Fast_Copy_Backward to
4103         enable __memcpy_ssse3_back.
4105 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
4107         [BZ #19758]
4108         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
4109         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
4111 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
4113         [BZ #19490]
4114         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
4115         (__fentry__): Likewise.
4117 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
4119         * gmon/Makefile (noprof): Add $(sysdep_noprof).
4120         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
4122 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
4124         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
4125         __mcount_internal directly.
4126         (C_LABEL(__fentry__)): Likewise.
4127         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
4128         directly.
4130 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
4132         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
4133         (__start_context): Call __setcontext directly.
4135 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
4137         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4138         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4139         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
4140         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
4141         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4142         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4143         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
4144         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4145         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4146         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
4147         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
4148         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
4149         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4150         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4151         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4152         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4153         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
4154         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4155         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4156         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
4157         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
4158         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4159         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4160         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
4161         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
4162         Remove conditional code.
4163         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4164         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
4165         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4166         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4167         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
4168         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4169         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
4170         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4171         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4172         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4173         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4174         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4176 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
4178         * NEWS (2.23): Fix typo in bug 19048 text.
4180 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
4182         [BZ #14259]
4183         * Makeconfig: Rename msgcatdir to localedir.
4184         Rename inst_msgcatdir to inst_localedir.
4185         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
4186         * config.make.in: Add localedir.
4187         * elf/Makefile ($(objpfx)sotruss): Use localedir.
4188         (ldd-rewrite): Likewise.
4189         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
4190         (install-others): Use inst_localedir.
4191         (CPPFLAGS): Use localedir.
4192         * locale/Makefile (locale-CPPFLAGS): Likewise.
4193         * po/Makefile (mo-installed): Use inst_localedir.
4195         [BZ #19575]
4196         * localedata/charmaps/GB18030: Update comments regarding PAU to
4197         non-PUA mappings.
4199 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
4201         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
4202         test for header.
4203         * sysdeps/unix/sysv/linux/configure: Regenerated.
4204         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
4205         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
4206         Remove conditional code.
4207         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
4209         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4210         Define to 3.2.0.
4211         (arch_minimum_kernel): Likewise.
4212         * sysdeps/unix/sysv/linux/configure: Regenerated.
4213         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
4214         Define to 2.6.32.
4215         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
4216         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
4217         (arch_minimum_kernel): Define to 2.6.32.
4218         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
4219         * README: Document Linux 3.2 requirement.
4220         * manual/install.texi (Linux): Document Linux 3.2 headers
4221         requirement.
4222         * INSTALL: Regenerated.
4224 2016-02-24  Andreas Schwab  <schwab@suse.de>
4226         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
4227         if !NO_LONG_DOUBLE.
4229 2016-02-22  Roland McGrath  <roland@hack.frob.com>
4231         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
4232         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
4234 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
4236         [BZ #19512]
4237         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
4239 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
4241         * posix/tst-dir.c: Include libc-internal.h.
4243 2016-02-20  Florian Weimer  <fweimer@redhat.com>
4245         [BZ #19056]
4246         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
4247         * manual/filesys.texi (Reading/Closing Directory): Mention
4248         deprecaion.
4249         * posix/tst-dir.c (main): Disable deprecation warning in test.
4251 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
4253         [BZ #19679]
4254         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
4255         Renamed to ...
4256         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
4257         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
4258         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
4259         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
4260         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
4261         * sysdeps/x86_64/dl-trampoline.h
4262         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
4263         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
4265 2016-02-19  Mark Wielaard  <mjw@redhat.com>
4267         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
4269 2016-02-19  Mark Wielaard  <mjw@redhat.com>
4271         * elf/elf.h (R_386_GOT32X): New.
4272         (R_386_NUM): Update.
4273         (R_X86_64_GOTPCRELX: New.
4274         (R_X86_64_REX_GOTPCRELX): New.
4275         (R_X86_64_NUM): Update.
4277 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
4279         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
4281 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
4283         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
4284         assign attr->stackaddr to it, and adjust it down when
4285         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
4286         [_STACK_GROWS_UP]: Delete assert.
4287         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
4288         Implement stack grows up logic.
4289         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
4290         stack grows up logic.
4292 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4294         * NEWS: Update with 2.24 template.
4296 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
4298         [BZ #19678]
4299         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
4300         Ensure +0.0 is returned when taking the next value below the least
4301         positive value.
4303 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4305         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
4306         available.  Do not define NO_THREADS.
4307         * malloc/malloc.c: Do not check NO_THREADS.
4308         * malloc/arena.c: Likewise.
4310 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4312         * malloc/malloc.c (__libc_mallinfo): Update comment.
4313         (struct malloc_par): Remove max_total_mem member, it was always 0.
4314         (int_mallinfo): Store 0 into usmblks (no functional change).
4315         * malloc/hooks.c (struct malloc_state): Document that
4316         max_total_mem is always 0.
4317         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
4318         always 0.
4319         * manual/memory.texi (Statistics of Malloc): Likewise.
4321 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4323         * malloc/malloc.c (sysmalloc): Do not update arena_max.
4324         * malloc/arena.c (arena_max): Remove.
4325         (heap_trim, _int_new_arena): Do not update arena_max.
4327 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4329         * resolv/res_init.c (res_ninit): Update comment.
4331 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4333         [BZ #19505]
4334         * posix/spawn_int.h: Add headers and include guard.
4335         (__spawn_valid_fd): New function.
4336         * posix/spawn_faction_addopen.c
4337         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
4338         * posix/spawn_faction_addclose.c
4339         (posix_spawn_file_actions_addclose): Likewise.
4340         * posix/spawn_faction_adddup2.c
4341         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
4342         second file descriptor.
4343         * posix/spawn_valid_fd.c: New file.
4344         * posix/tst-posix_spawn-fd.c: New file.
4345         * posix/Makefile (routines): Add spawn_valid_fd.
4346         (tests): Add tst-posix_spawn-fd.
4348 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4350         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
4351         (do_test): Limit the number of arenas, so that we can use fewer
4352         outer threads.  Limit timeout to 3 seconds, in preparation for a
4353         larger TIMEOUT value.
4355 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
4357         [BZ #19674]
4358         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
4359         sign in overflowing and underflowing results when overflow or
4360         underflow is detected early.  Include sign in result before rather
4361         than after scaling.
4363         [BZ #19603]
4364         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
4365         (__ieee754_remainderl): Adjust sign of integer version of low part
4366         when taking absolute value of high part.
4367         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4368         * math/libm-test.inc (remainder_test_data): Add another test.
4369         (remquo_test_data): Likewise.
4371 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
4373         [BZ #19602]
4374         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
4375         equal high parts and both low parts zero specially.
4376         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
4377         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
4378         Add test-fmodl-ldbl-128ibm.
4380         [BZ #19595]
4381         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
4382         common logic for all cases of shifting subnormal results.  Do not
4383         insert sign bit in shifted mantissa.  Always pass -1023 as biased
4384         exponent to ldbl_insert_mantissa in subnormal case.
4386         [BZ #19594]
4387         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
4388         on high and low parts then adjust result and use
4389         ldbl_canonicalize_int if needed.
4391         [BZ #19593]
4392         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
4393         on high part and __floor or __ceil on low part then use
4394         ldbl_canonicalize_int if needed.
4396         [BZ #19592]
4397         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
4398         high and low parts then use ldbl_canonicalize_int if needed.
4400         [BZ #17899]
4401         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
4402         New function.
4403         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
4404         on high and low parts then use ldbl_canonicalize_int if needed.
4406 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4408         * configure: Regenerated.
4410         * po/libc.pot: Regenerated.
4412         * po/be.po: Updated translation.
4413         * po/bg.po: Likewise.
4414         * po/ca.po: Likewise.
4415         * po/cs.po: Likewise.
4416         * po/da.po: Likewise.
4417         * po/el.po: Likewise.
4418         * po/eo.po: Likewise.
4419         * po/es.po: Likewise.
4420         * po/fi.po: Likewise.
4421         * po/fr.po: Likewise.
4422         * po/gl.po: Likewise.
4423         * po/hr.po: Likewise.
4424         * po/hu.po: Likewise.
4425         * po/ia.po: Likewise.
4426         * po/id.po: Likewise.
4427         * po/it.po: Likewise.
4428         * po/ja.po: Likewise.
4429         * po/lt.po: Likewise.
4430         * po/nb.po: Likewise.
4431         * po/nl.po: Likewise.
4432         * po/pt_BR.po: Likewise.
4433         * po/rw.po: Likewise.
4434         * po/sk.po: Likewise.
4435         * po/sl.po: Likewise.
4436         * po/sv.po: Likewise.
4437         * po/tr.po: Likewise.
4438         * po/zh_CN.po: Likewise.
4439         * po/zh_TW.po: Likewise.
4441         * version.h (RELEAES): Set to "development".
4442         (VERSION): Set to 2.23.90.
4444         * version.h (RELEASE): Set to "stable".
4445         (VERSION): Set to 2.23.
4446         * include/feature.h (__GLIBC_MINOR__): Set to 23.
4448         * NEWS: Updated fixed bugs.
4450 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
4451             Wilco Dijkstra  <wdijkstr@arm.com>
4453         [BZ #19462]
4454         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
4455         (_STRING_INLINE_unaligned): This.
4456         * include/string.h: Include <string_private.h>.
4457         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
4458         _STRING_INLINE_unaligned.
4459         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
4460         (_STRING_INLINE_unaligned): New.
4461         * sysdeps/aarch64/string_private.h: New file.
4462         * sysdeps/generic/string_private.h: Likewise.
4463         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
4464         * sysdeps/s390/string_private.h: Likewise.
4465         * sysdeps/x86/string_private.h: Likewise.
4466         * sysdeps/m68k/m680x0/m68020/bits/string.h
4467         (_STRING_ARCH_unaligned): Renamed to ...
4468         (_STRING_INLINE_unaligned): This.
4469         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
4470         to ...
4471         (_STRING_INLINE_unaligned): This.
4472         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
4473         to ...
4474         (_STRING_INLINE_unaligned): This.
4475         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
4476         to ...
4477         (_STRING_INLINE_unaligned): This.
4479 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
4480             H.J. Lu  <hongjiu.lu@intel.com>
4482         [BZ #19590]
4483         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
4484         relocation.
4486 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
4488         [BZ #18665]
4489         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
4490         *herrno_p.
4491         (gaih_getanswer): Document functional behviour. Return tryagain
4492         if any result is tryagain.
4493         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
4494         when freed.
4495         * resolv/res_send.c: Add copyright text.
4496         (__libc_res_nsend): Document that MAXPACKET is expected.
4497         (send_vc): Document. Remove buffer reuse.
4498         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
4499         size of the buffer. Add Dprint for truncated UDP buffer.
4501 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
4503         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
4504         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
4505         * INSTALL: Regenerate.
4507 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
4508             Jonathan Wakely  <jwakely@redhat.com>
4509             Carlos O'Donell  <carlos@redhat.com>
4511         [BZ 19439]
4512         * math/Makefile (tests): Add test-math-isinff.
4513         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
4514         * math/bits/mathcalls.h [__USE_MISC]: Use
4515         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
4516         functions not in C++11 and which don't conflict e.g. isinff,
4517         isinfl etc.
4518         * math/test-math-isinff.cc: New file.
4520 2016-02-12  Florian Weimer  <fweimer@redhat.com>
4522         * misc/bug18240.c (do_test): Set RLIMIT_AS.
4524 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4526         [BZ #19529]
4527         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
4529 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4531         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
4533 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
4535         [BZ #19550]
4536         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
4537         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
4538         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
4539         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
4540         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
4541         New syscall entry.
4542         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
4543         New syscall entry.
4544         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
4545         syscall entry.
4547 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
4549         [BZ #18240]
4550         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
4551         unsigned int wraparound.
4553 2016-01-27  Florian Weimer  <fweimer@redhat.com>
4555         [BZ #18240]
4556         * misc/bug18240.c: New test.
4557         * misc/Makefile (tests): Add it.
4559 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
4560             Joseph Myers  <joseph@codesourcery.com>
4562         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
4563         load in branch delay slot when less than a word of input left.
4565 2016-01-27  Andreas Schwab  <schwab@suse.de>
4567         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
4568         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
4569         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
4570         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
4572 2016-01-26  David S. Miller  <davem@davemloft.net>
4574         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
4576 2016-01-25  David S. Miller  <davem@davemloft.net>
4578         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
4579         __sqrtl_finite.
4580         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
4581         instead using versioned_symbol.
4582         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
4583         of entries.
4585         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
4586         __sqrtl_finite to GLIBC_2.23
4588 2016-01-25  Ricchard Henderson  <rth@redhat.com>
4590         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4592 2016-01-25  Andreas Schwab  <schwab@suse.de>
4594         [BZ #17514]
4595         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
4596         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
4597         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
4598         * nptl/tst-mutex-errorcheck.c: New file.
4600 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4602         [BZ #18560]
4603         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
4604         (IPCOP_semop): Likewise.
4605         (IPCOP_semget): Likewise.
4606         (IPCOP_semctl): Likewise.
4607         (IPCOP_msgsnd): Likewise.
4608         (IPCOP_msgrcv): Likewise.
4609         (IPCOP_msgget): Likewise.
4610         (IPCOP_msgctl): Likewise.
4611         (IPCOP_shmat): Likewise.
4612         (IPCOP_shmdt): Likewise.
4613         (IPCOP_shmget): Likewise.
4614         (IPCOP_shmctl): Likewise.
4616 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
4618         * string/tst-endian.c: Include <libc-internal.h>.
4619         (do_test): Ignore tautological-compare warnings around
4620         "htobeXX (beXXtoh (i)) != i" and
4621         "htoleXX (leXXtoh (i)) != i" if-statements.
4623 2016-01-24  David S. Miller  <davem@davemloft.net>
4625         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
4626         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
4627         alias.
4628         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
4629         __sqrtl_finite.
4631         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4633 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
4635         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
4636         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
4637         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
4639 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4641         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
4642         (thread_func): Use new function to simplify barrier check.
4643         (do_test): Use new function to simplify checking barrier exit
4644         code, and actually join the child thread.
4646 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4648         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
4649         semicolon.
4650         (__libc_tend): Likewise.
4651         (__libc_tabort): Likewise.
4653 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
4655         * sysdeps/nios2/libm-test-ulps: Update.
4656         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
4657         (__gtsf2): Likewise.
4658         (__unorddf2): Likewise.
4659         (__unordsf2): Likewise.
4660         (__ledf2): Likewise.
4662 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
4664         * nis/nis_table.c (__follow_path): Disable diagnostic for
4665         uninitialized variable that is a false positive for gcc 4.7.
4666         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
4668 2016-01-20  Roland McGrath  <roland@hack.frob.com>
4670         * sysdeps/nacl/lowlevellock-futex.h
4671         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
4672         Always evaluate PRIVATE argument.
4674 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
4676         [BZ #19490]
4677         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
4678         (pthread_cond_broadcast): Use ENTRY/END
4679         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
4680         (pthread_cond_signal): Likewise.
4681         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
4682         Likewise.
4683         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
4684         Likewise.
4685         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
4686         Likewise.
4688 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
4690         * sysdeps/ieee754/dbl-64/s_finite.c
4691         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
4692         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
4693         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
4694         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
4695         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
4697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
4698         (__gtsf2): Add as optional for libc.so.
4699         (__unordsf2): Likewise.
4700         (__signbit): Remove for libc.so.
4701         (__signbitl): Likewise.
4703 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
4705         * iconvdata/bug-iconv11.c (test_ibm93x):
4706         Use %zu printf format specifier for size_t argument.
4708 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
4710         * math/gen-libm-test.pl (parse_ulps): Do not reduce
4711         already-recorded ulps.
4712         * sysdeps/arm/libm-test-ulps: Regenerated.
4713         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4714         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4715         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4717 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
4718             Paul Pluzhnikov  <ppluzhnikov@google.com>
4720         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
4721         assembler not supporting AVX-512.
4723 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
4725         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4727 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
4729         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4730         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4732         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4734         * sysdeps/arm/libm-test-ulps: Regenerated.
4736 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
4738         [BZ #19451]
4739         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
4741 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
4743         [BZ #19486]
4744         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
4745         * sysdeps/generic/fix-fp-int-convert-overflow.h
4746         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
4747         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
4748         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
4749         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
4750         Likewise.
4751         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
4752         Avoid conversions to long int where inexact exceptions
4753         could be raised.
4754         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
4755         Likewise.
4756         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
4757         Avoid conversions to long long int where inexact exceptions
4758         could be raised.
4759         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
4760         Likewise.
4762 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
4764         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
4765         * configure: Regenerated.
4767 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
4769         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
4771 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
4773         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
4774         outside of comment.
4776 2016-01-15  Torvald Riegel  <triegel@redhat.com>
4778         * nptl/tst-barrier1.c: Add description on first line.
4779         * nptl/tst-barrier2.c: Likewise.
4780         * nptl/tst-barrier3.c: Likewise.
4781         * nptl/tst-barrier4.c: Likewise.
4782         * nptl/tst-barrier5.c: Likewise.
4784 2016-01-15  Torvald Riegel  <triegel@redhat.com>
4786         [BZ #18868]
4787         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
4789 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
4791         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
4792         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
4793         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
4794         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
4795         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
4796         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
4797         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4798         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4799         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4800         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4801         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4803 2016-01-15  Torvald Riegel  <triegel@redhat.com>
4805         [BZ #13065]
4806         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
4807         new implementation.
4808         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
4809         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
4810         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
4811         (BARRIER_IN_THRESHOLD): New macro.
4812         * nptl/pthread_barrierattr_setpshared.c
4813         (pthread_barrierattr_setpshared): Clean up.
4814         * nptl/tst-barrier4.c: Correct comment.
4815         * nptl/tst-barrier5.c: New file.
4816         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
4817         (gen-as-const-headers): Remove lowlevelbarrier.sym.
4818         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
4819         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
4820         * nptl/lowlevelbarrier.sym: Remove.
4821         * nptl/DESIGN-barrier.txt: Remove.
4822         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
4823         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
4824         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
4825         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
4826         error.
4827         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
4828         implementation.
4830 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4832         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
4833         (do_child): Mask SIGRTMIN while thr is running.
4835 2016-01-15  Martin Sebor  <msebor@redhat.com>
4837         [BZ #19432]
4838         * iconvdata/Makefile: Add bug-iconv11.
4839         * iconvdata/bug-iconv11.c: New test.
4840         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
4841         * iconvdata/ibm933.c: Same.
4842         * iconvdata/ibm935.c: Same.
4843         * iconvdata/ibm937.c: Same.
4844         * iconvdata/ibm939.c: Same.
4846 2016-01-15  Martin Sebor  <msebor@redhat.com>
4848         [BZ #19443]
4849         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
4850         [DEBUG] (_ufc_set_bits): Declare used.
4851         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
4852         [DEBUG] (print_all): Declare used.
4853         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
4854         operands of the ternary ?: expression to target type.
4855         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
4856         calling the undeclared abort.
4857         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
4859 2016-01-15  Martin Sebor  <msebor@redhat.com>
4861         [BZ #18755]
4862         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
4863         warnings.
4864         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
4865         (__gai_create_helper_thread): Same.
4866         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
4867         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
4868         to suppress -Wmaybe-uninitialized warnings.
4870 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
4872         [BZ #19465]
4873         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
4874         inside if.
4875         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4876         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4877         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4879 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
4881         [BZ #19466]
4882         * time/tst-mktime2.c (time_t_max): Removed.
4883         (time_t_min): Likewise.
4884         (TYPE_SIGNED): New.
4885         (TYPE_MINIMUM): Likewise.
4886         (TYPE_MAXIMUM): Likewise.
4887         (TIME_T_MIN): Likewise.
4888         (TIME_T_MAX): Likewise.
4889         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
4890         and TIME_T_MIN.
4891         (do_test): Likewise.
4893 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
4895         [BZ #19467]
4896         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4897         index_Fast_Unaligned_Load flag for Excavator family CPUs.
4899 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
4901         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
4903 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
4905         * benchtests/Makefile (PYTHON): Define.
4906         (bench-func): Use $(PYTHON) to run python scripts.
4907         ($(objpfx)bench-%.c): Likewise.
4909 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
4911         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
4912         leading slash when `file_name' is "/".
4914 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
4916         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
4917         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
4918         Likewise.
4919         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
4920         Likewise.
4921         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
4922         Likewise.
4923         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
4924         enum constant and macro.
4925         (PTRACE_SETSIGMASK): Likewise.
4926         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4927         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
4928         (PTRACE_GETSIGMASK): Likewise.
4929         (PTRACE_SETSIGMASK): Likewise.
4930         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4931         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
4932         Likewise.
4933         (PTRACE_SETSIGMASK): Likewise.
4934         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4935         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
4936         (PTRACE_GETSIGMASK): Likewise.
4937         (PTRACE_SETSIGMASK): Likewise.
4938         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4939         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
4940         Likewise.
4941         (PTRACE_SETSIGMASK): Likewise.
4942         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4943         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
4944         Likewise.
4945         (PTRACE_SETSIGMASK): Likewise.
4946         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4947         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
4948         Likewise.
4949         (PTRACE_SETSIGMASK): Likewise.
4950         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4952 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
4953             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4955         [BZ #19439]
4956         * math/bits/mathcalls.h
4957         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
4958         prototype.
4959         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
4961 2016-01-11  Andreas Schwab  <schwab@suse.de>
4963         [BZ #19253]
4964         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
4965         cache when TZDEFRULES was used.
4966         * time/tst-tzname.c: New file.
4967         * time/Makefile (test): Add tst-tzname.
4968         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
4969         * timezone/Makefile (test-zones): Add $(posixrules-file).
4970         ($(testdata)/$(posixrules-file)): New rule.
4972 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
4974         Fix doc quoting problems with Texinfo 5
4975         Without this change, in the info file output, Texinfo 5 quotes code
4976         in text with undirected single quotes 'like this' and generates
4977         code examples that with many PDF readers cannot be cut out of PDFs
4978         and pasted into code.
4979         * manual/libc.texinfo: Configure the libc manual like the GNU
4980         Emacs manual, by using @documentencoding and setting
4981         txicodequoteundirected and txicodequotebacktick.  This way,
4982         Texinfo 5 quotes code in text with directed single quotes ‘like
4983         this’ and produces examples that can be cut out of PDFs.  This
4984         change causes Texinfo 5 to generate info files that contain UTF-8
4985         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
4986         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
4988 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4990         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
4991         __libc_tabort, __libc_tend): New wrappers that enforce compiler
4992         barriers to their respective compiler built-ins.
4993         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
4994         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
4995         * sysdeps/powerpc/sysdep.h: Likewise.
4996         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
4997         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
4998         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
5000 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
5002         * scripts/config.guess: Revert previous shebang change.
5003         * scripts/config.sub: Likewise.
5004         * scripts/mkinstalldirs: Likewise.
5006 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5008         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
5009         PPC_FEATURE2_HAS_IEEE128.
5010         * sysdeps/powerpc/dl-procinfo.c:
5011         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
5013 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
5015         [BZ #19415]
5016         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
5017         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
5018         (_dl_lookup_address): Rewrite using function resolver trampoline.
5019         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
5020         two bits in address.
5022 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
5024         * longlong.h: Change !__SHMEDIA__ to
5025         (!defined (__SHMEDIA__) || !__SHMEDIA__).
5026         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
5028 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
5029             Joseph Myers  <joseph@codesourcery.com>
5030             Mark Shinwell  <shinwell@codesourcery.com>
5031             Andrew Stubbs  <ams@codesourcery.com>
5032             Rich Felker <dalias@libc.org>
5034         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
5036 2016-01-07  Richard Henderson  <rth@redhat.com>
5038         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
5040 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
5042         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
5043         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
5044         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5045         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
5046         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
5048 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
5049             Joseph Myers  <joseph@codesourcery.com>
5051         * timezone/private.h: Update from tzcode 2015g.
5052         * timezone/tzfile.h: Likewise.
5053         * timezone/tzselect.ksh: Likewise.
5054         * timezone/zdump.c: Likewise.
5055         * timezone/zic.c: Likewise.
5056         * timezone/ialloc.c: Remove file.
5057         * timezone/scheck.c: Likewise.
5058         * timezone/Makefile (extra-objs): Remove variable.
5059         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
5060         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
5061         -Wno-maybe-uninitialized.
5062         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
5063         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
5064         (CFLAGS-ialloc.c): Remove variable.
5065         (CFLAGS-scheck.c): Likewise.
5066         * timezone/README: Update list of files from tzcode.
5068 2016-01-07  Khem Raj  <raj.khem@gmail.com>
5070         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
5071         instead of __fxprintf when _LIBC is undefined.
5073 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
5075         * catgets/test-gencat.sh: Remove space after shebang.
5076         * conform/GlibcConform.pm: Likewise.
5077         * conform/check-header-lists.sh: Likewise.
5078         * conform/conformtest.pl: Likewise.
5079         * conform/linknamespace.pl: Likewise.
5080         * conform/list-header-symbols.pl: Likewise.
5081         * debug/catchsegv.sh: Likewise.
5082         * elf/genrtldtbl.awk: Likewise.
5083         * elf/tst-pathopt.sh: Likewise.
5084         * elf/tst-rtld-load-self.sh: Likewise.
5085         * grp/tst_fgetgrent.sh: Likewise.
5086         * iconvdata/gen-8bit-gap-1.sh: Likewise.
5087         * iconvdata/gen-8bit-gap.sh: Likewise.
5088         * iconvdata/gen-8bit.sh: Likewise.
5089         * iconvdata/run-iconv-test.sh: Likewise.
5090         * intl/tst-gettext.sh: Likewise.
5091         * intl/tst-gettext2.sh: Likewise.
5092         * intl/tst-gettext4.sh: Likewise.
5093         * intl/tst-gettext6.sh: Likewise.
5094         * intl/tst-translit.sh: Likewise.
5095         * io/ftwtest-sh: Likewise.
5096         * libio/test-freopen.sh: Likewise.
5097         * locale/gen-translit.pl: Likewise.
5098         * malloc/tst-mtrace.sh: Likewise.
5099         * manual/check-safety.sh: Likewise.
5100         * manual/libc-texinfo.sh: Likewise.
5101         * manual/tsort.awk: Likewise.
5102         * manual/xtract-typefun.awk: Likewise.
5103         * nptl/tst-cancel-wrappers.sh: Likewise.
5104         * nptl/tst-tls6.sh: Likewise.
5105         * posix/globtest.sh: Likewise.
5106         * posix/tst-getconf.sh: Likewise.
5107         * posix/wordexp-tst.sh: Likewise.
5108         * scripts/check-c++-types.sh: Likewise.
5109         * scripts/check-local-headers.sh: Likewise.
5110         * scripts/config.guess: Likewise.
5111         * scripts/config.sub: Likewise.
5112         * scripts/cpp: Likewise.
5113         * scripts/cross-test-ssh.sh: Likewise.
5114         * scripts/documented.sh: Likewise.
5115         * scripts/evaluate-test.sh: Likewise.
5116         * scripts/gen-libc-abis: Likewise.
5117         * scripts/gen-sorted.awk: Likewise.
5118         * scripts/list-fixed-bugs.py: Likewise.
5119         * scripts/merge-test-results.sh: Likewise.
5120         * scripts/mkinstalldirs: Likewise.
5121         * scripts/rellns-sh: Likewise.
5122         * scripts/test-installation.pl: Likewise.
5123         * scripts/update-copyrights: Likewise.
5124         * stdio-common/tst-printf.sh: Likewise.
5125         * stdio-common/tst-unbputc.sh: Likewise.
5126         * stdlib/tst-fmtmsg.sh: Likewise.
5127         * stdlib/tst-setcontext3.sh: Likewise.
5128         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
5129         * sysdeps/unix/make-syscalls.sh: Likewise.
5131 2016-01-06  John David Anglin  <dave.anglin@bell.net>
5133         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
5134         asm stw with atomic_exchange_rel.  Add explanatory comment.
5135         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
5136         Likewise.
5138 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
5140         [BZ #19122]
5141         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
5142         * sysdeps/generic/dl-unistd.h: New file.
5143         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
5145 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
5147          [BZ #19122]
5148          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
5149          * sysdeps/generic/dl-mman.h: New file.
5150          * sysdeps/mach/hurd/dl-mman.h: Likewise.
5152 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
5154         * manual/texinfo.tex: Update to version 2016-01-04.21 with
5155         trailing whitespace removed.
5156         * scripts/config.guess: Update to version 2016-01-01.
5157         * scripts/config.sub: Update to version 2016-01-01.
5158         * scripts/move-if-change: Update from gnulib.
5160 2016-01-04  Anton Blanchard  <anton@samba.org>
5162         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
5163         for array indices.
5164         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
5166 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
5168         * NEWS: Update copyright dates.
5169         * catgets/gencat.c (print_version): Likewise.
5170         * csu/version.c (banner): Likewise.
5171         * debug/catchsegv.sh: Likewise.
5172         * debug/pcprofiledump.c (print_version): Likewise.
5173         * debug/xtrace.sh (do_version): Likewise.
5174         * elf/ldconfig.c (print_version): Likewise.
5175         * elf/ldd.bash.in: Likewise.
5176         * elf/pldd.c (print_version): Likewise.
5177         * elf/sotruss.sh: Likewise.
5178         * elf/sprof.c (print_version): Likewise.
5179         * iconv/iconv_prog.c (print_version): Likewise.
5180         * iconv/iconvconfig.c (print_version): Likewise.
5181         * locale/programs/locale.c (print_version): Likewise.
5182         * locale/programs/localedef.c (print_version): Likewise.
5183         * login/programs/pt_chown.c (print_version): Likewise.
5184         * malloc/memusage.sh (do_version): Likewise.
5185         * malloc/memusagestat.c (print_version): Likewise.
5186         * malloc/mtrace.pl: Likewise.
5187         * manual/libc.texinfo: Likewise.
5188         * nptl/version.c (banner): Likewise.
5189         * nscd/nscd.c (print_version): Likewise.
5190         * nss/getent.c (print_version): Likewise.
5191         * nss/makedb.c (print_version): Likewise.
5192         * posix/getconf.c (main): Likewise.
5193         * scripts/test-installation.pl: Likewise.
5194         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5196         * All files with FSF copyright notices: Update copyright dates
5197         using scripts/update-copyrights.
5198         * intl/plural.c: Regenerated.
5199         * locale/programs/charmap-kw.h: Likewise.
5200         * locale/programs/locfile-kw.h: Likewise.
5202 2016-01-02  Helge Deller  <deller@gmx.de>
5204         [BZ #19285]
5205         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
5206         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
5207         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
5208         (MADV_xxK_PAGES): Remove.
5210 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
5212         [BZ #15421]
5213         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
5214         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
5215         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
5216         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
5218 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
5220         [BZ #19408]
5221         * sysdeps/unix/sysv/linux/personality.c: New file.
5222         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
5223         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
5224         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
5225         (sysdep_routines): Add personality.
5226         (tests): Add tst-personality.
5227         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
5228         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
5229         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
5230         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
5231         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
5232         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
5233         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
5234         Likewise.
5235         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
5236         Likewise.
5237         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
5238         Likewise.
5239         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
5240         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
5241         Likewise.
5243 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
5245         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
5246         (PATH_ARM_SYSTYPE): Remove.
5247         (PATH_CPUINFO): Likewise.
5248         (IO_BASE_FOOTBRIDGE): Likewise.
5249         (IO_SHIFT_FOOTBRIDGE): Likewise.
5250         (struct platform): Likewise.
5251         (init_iosys): Remove compatibility code for 2.4 kernels.
5252         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
5254 2015-12-29  Florian Weimer  <fweimer@redhat.com>
5256         * malloc/tst-malloc-thread-fail.c: New file.
5257         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
5258         (tst-malloc-thread-fail): Link against libpthread.
5260 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
5262         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
5263         (get_parser): New function.
5264         (main): New function.
5266 2015-12-29  Rob Wu  <rob@robwu.nl>
5268         [BZ #19369]
5269         * resolv/res_init.c (__res_vinit): Reset defdname before use.
5271 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
5273         [BZ #19270]
5274         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
5276 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
5278         [BZ #15421]
5279         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
5281 2015-12-23  Torvald Riegel  <triegel@redhat.com>
5283         [BZ #13690]
5284         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
5285         after releasing it.
5286         (__lll_robust_unlock): Likewise.
5287         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5288         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
5289         (lll_robust_unlock): Likewise.
5290         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
5291         Prevent warnings in callers.
5293 2015-12-23  Florian Weimer  <fweimer@redhat.com>
5295         * malloc/arena.c (list_lock): Update comment.
5297 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5299         * sysdeps/powerpc/hwcapinfo.c: Export symbol
5300         __parse_hwcap_and_convert_at_platform to libc.a.
5302 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5304         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
5305         platform and feature support for POWER9.
5306         * sysdeps/powerpc/dl-procinfo.h: Likewise.
5307         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
5308         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
5309         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
5310         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
5311         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
5312         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
5313         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
5315 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5317         Harmonize generic stdio-lock support with nptl
5319         This fixes build when _IO_funlockfile is a macro, fixes build where
5320         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
5321         stack unwind.
5323         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
5324         _IO_release_lock ): Use cleanup attribute on new
5325         _IO_acquire_lock_file variable instead of assuming that
5326         _IO_release_lock will be called.
5327         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
5328         _IO_acquire_lock_needs_exceptions_enabled.
5329         (_IO_acquire_lock_clear_flags2): New macro.
5331 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5333         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5335 2015-12-21  Florian Weimer  <fweimer@redhat.com>
5337         [BZ #19182]
5338         * malloc/arena.c (list_lock): Document lock ordering requirements.
5339         (free_list_lock): New lock.
5340         (ptmalloc_lock_all): Comment on free_list_lock.
5341         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
5342         (detach_arena): Update comment.  free_list_lock is now needed.
5343         (_int_new_arena): Use free_list_lock around detach_arena call.
5344         Acquire arena lock after list_lock.  Add comment, including FIXME
5345         about incorrect synchronization.
5346         (get_free_list): Switch to free_list_lock.
5347         (reused_arena): Acquire free_list_lock around detach_arena call
5348         and attached threads counter update.  Add two FIXMEs about
5349         incorrect synchronization.
5350         (arena_thread_freeres): Switch to free_list_lock.
5351         * malloc/malloc.c (struct malloc_state): Update comments to
5352         mention free_list_lock.
5354 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
5356         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
5357         Remove functions.
5358         (sloww, sloww1): Accept argument to offset quadrant.
5359         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
5360         quadrant.
5361         (__sin, __cos): Consolidate common code into new functions.
5362         (reduce_sincos_1, do_sincos_1): New functions.
5363         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
5365         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
5366         code to new functions.
5367         (reduce_sincos_2, do_sincos_2): New functions.
5368         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
5370         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
5371         common code for sincos.
5372         (__cos) [!IN_SINCOS]: Likewise.
5373         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
5374         New function.
5375         (__sincos): Use it.
5377 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
5379         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
5380         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
5381         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5383 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
5385         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
5386         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
5387         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
5388         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
5389         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5390         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
5391         index_Prefer_No_VZEROUPPER): New feature.
5392         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
5393         Prefer_No_VZEROUPPER for Knights Landing.
5395 015-12-18  Torvald Riegel  <triegel@redhat.com>
5397         * math/atest-exp2.c (mp_exp_m1): Remove.
5399 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5401         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
5402         syscalls.
5403         (__SYSCALL0): New macro.
5404         (__SYSCALL1): Likewise.
5405         (__SYSCALL2): Likewise.
5406         (__SYSCALL3): Likewise.
5407         (__SYSCALL4): Likewise.
5408         (__SYSCALL5): Likewise.
5409         (__SYSCALL6): Likewise.
5410         (__SYSCALL_CONCAT_X): Likewise.
5411         (__SYSCALL_CONCAT): Likewise.
5412         (__SYSCALL_DIST): Likewise.
5413         (__SYSCALL_CALL): Likewise.
5415 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
5417         [BZ #19363]
5418         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
5420 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5422         [BZ #19375]
5423         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
5424         negative subnormals.
5426 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
5428         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
5429         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
5430         (INTERNAL_SYSCALL_NCS): Use it.
5431         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
5433 2015-12-16  Florian Weimer  <fweimer@redhat.com>
5435         [BZ #19243]
5436         * malloc/arena.c (get_free_list): Remove assert and adjust
5437         reference count handling.  Add comment about reused_arena
5438         interaction.
5439         (reused_arena): Add comments abount get_free_list interaction.
5440         * malloc/tst-malloc-thread-exit.c: New file.
5441         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
5442         (tst-malloc-thread-exit): Link against libpthread.
5444 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
5446         [BZ #19367]
5447         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
5448         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
5449         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
5450         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
5451         (index_Prefer_MAP_32BIT_EXEC): Likewise.
5453 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
5455         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
5456         Silvermont optimizations for Knights Landing.
5458 2015-12-15  Andreas Schwab  <schwab@suse.de>
5460         [BZ #17197]
5461         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
5462         immediately after emitting SI.
5463         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
5464         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
5465         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
5466         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
5467         * iconvdata/bug-iconv10.c: New file.
5468         * iconvdata/Makefile (tests): Add bug-iconv10.
5469         ($(objpfx)bug-iconv10.out): New rule.
5471 2015-12-15  Florian Weimer  <fweimer@redhat.com>
5473         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
5474         aliasing violation.
5476 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
5478         [BZ #18472]
5479         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
5480         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
5481         conditionals for them.
5482         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
5483         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
5484         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
5485         sys/kdaemon.h.
5486         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
5487         compat-only syscall, obsoleted in glibc 2.23.
5488         (create_module): Likewise.
5489         (get_kernel_syms): Likewise.
5490         (query_module): Likewise.
5491         (uselib): Likewise.
5492         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
5494 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
5496         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
5497         <linux/version.h>.
5498         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
5499         conditional code.
5500         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
5501         and ioshift_name initialization.
5503 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
5505         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
5506         Fix indentation.
5508 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
5510         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
5512 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
5514         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
5516 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
5517             Jakub Wilk  <jwilk@debian.org>
5519         [BZ #19347]
5520         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
5521         to change the group of the device to the tty group.
5523 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
5525         Split large string section; add truncation advice
5526         * manual/examples/strncat.c: Remove.
5527         This example was misleading, as the code would have undefined
5528         behavior if "hello" was longer than SIZE.  Anyway, the manual
5529         shouldn't encourage strncpy+strncat for this sort of thing.
5530         * manual/string.texi (Copying Strings and Arrays): Split into
5531         three sections Copying Strings and Arrays, Concatenating Strings,
5532         and Truncating Strings, as this section was way too long.  All
5533         cross-referenced changed.  Add advice about string-truncation
5534         functions.  Remove misleading strncat example.
5536 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
5538         * manual/nss.texi (NSS Modules Interface): Document
5539         NSS_STATUS_NOTFOUND and SUCCESS.
5541 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
5543         [BZ 18568]
5544         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
5545         201505L, for Unicode 8.
5547 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
5549         * locale/C-translit.h: Regenerate.
5551 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
5553         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
5554         and U+0153.
5556 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
5558         [BZ #19351]
5559         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
5560         expanding log(1+z), compare z rather than its square with epsilon
5561         to determine when to avoid evaluating the expansion.
5563         [BZ #19350]
5564         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
5565         Increase overflow threshold.
5567         [BZ #19349]
5568         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
5569         when small.
5571         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5572         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
5573         New macro.
5574         [__LINUX_KERNEL_VERSION >= 0x040300]
5575         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
5576         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
5577         Likewise.
5578         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
5579         Likewise.
5580         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
5581         Likewise.
5582         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
5583         Likewise.
5584         [__LINUX_KERNEL_VERSION >= 0x040300]
5585         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
5586         [__LINUX_KERNEL_VERSION >= 0x040300]
5587         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
5588         [__LINUX_KERNEL_VERSION >= 0x040300]
5589         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5590         [__LINUX_KERNEL_VERSION >= 0x040300]
5591         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
5592         [__LINUX_KERNEL_VERSION >= 0x040300]
5593         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
5594         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
5595         Likewise.
5596         [__LINUX_KERNEL_VERSION >= 0x040300]
5597         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
5598         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5599         Likewise.
5600         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
5601         Likewise.
5602         [__LINUX_KERNEL_VERSION >= 0x040300]
5603         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
5604         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5605         Likewise.
5606         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
5607         Likewise.
5608         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5609         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
5610         Likewise.
5611         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
5612         Likewise.
5613         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
5614         Likewise.
5615         [__LINUX_KERNEL_VERSION >= 0x040300]
5616         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
5617         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
5618         Likewise.
5619         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
5620         Likewise.
5621         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
5622         Likewise.
5623         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
5624         Likewise.
5625         [__LINUX_KERNEL_VERSION >= 0x040300]
5626         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
5627         [__LINUX_KERNEL_VERSION >= 0x040300]
5628         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
5629         [__LINUX_KERNEL_VERSION >= 0x040300]
5630         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5631         [__LINUX_KERNEL_VERSION >= 0x040300]
5632         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
5633         [__LINUX_KERNEL_VERSION >= 0x040300]
5634         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
5635         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
5636         Likewise.
5637         [__LINUX_KERNEL_VERSION >= 0x040300]
5638         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
5639         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5640         Likewise.
5641         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
5642         Likewise.
5643         [__LINUX_KERNEL_VERSION >= 0x040300]
5644         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
5645         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5646         Likewise.
5647         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
5648         Likewise.
5649         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5650         (__ASSUME_SOCKET_SYSCALL): Likewise.
5651         (__ASSUME_BIND_SYSCALL): Likewise.
5652         (__ASSUME_CONNECT_SYSCALL): Likewise.
5653         (__ASSUME_LISTEN_SYSCALL): Likewise.
5654         (__ASSUME_ACCEPT_SYSCALL): Likewise.
5655         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
5656         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
5657         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
5658         (__ASSUME_SEND_SYSCALL): Likewise.
5659         (__ASSUME_SENDTO_SYSCALL): Likewise.
5660         (__ASSUME_RECV_SYSCALL): Likewise.
5661         (__ASSUME_RECVFROM_SYSCALL): Likewise.
5662         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
5663         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
5664         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5665         (__ASSUME_SENDMSG_SYSCALL): Likewise.
5666         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5667         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5668         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
5669         Likewise.
5670         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
5671         Likewise.
5672         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
5673         Likewise.
5674         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
5675         Likewise.
5676         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
5677         Likewise.
5678         [__LINUX_KERNEL_VERSION >= 0x020625]
5679         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
5680         [__LINUX_KERNEL_VERSION >= 0x020625]
5681         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
5682         [__LINUX_KERNEL_VERSION >= 0x020625]
5683         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
5684         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
5685         Likewise.
5686         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
5687         Likewise.
5688         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
5689         Likewise.
5690         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
5691         Likewise.
5692         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
5693         Likewise.
5694         [__LINUX_KERNEL_VERSION >= 0x020625]
5695         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
5696         [__LINUX_KERNEL_VERSION >= 0x020625]
5697         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5698         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
5699         Likewise.
5700         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
5701         Likewise.
5703 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
5705         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
5706         record the current if the current ABI and CPU support the FP64
5707         extension.
5708         (has-modd-spreg): Define to record the current if the current ABI and
5709         CPU support 32-bit floating point values in odd FPU registers.
5710         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5711         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
5712         $(has-modd-spreg) equals yes.
5713         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
5714         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
5715         $(has-modd-spreg) equal yes.
5717 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
5719         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
5720         basename.
5722 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
5724         * benchtests/Makefile (bench-math): Move ffs and ffsll...
5725         (bench-string): ... here.
5726         (bench): Add bench-string.
5727         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
5728         to *-benchset to reflect what they are.
5729         (benchset): Adjust.
5731         * benchtests/sincos-inputs: Add inputs from sin-inputs and
5732         cos-inputs.
5734 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
5736         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
5737         __attribute__ ((__simd__)) for vector math function declarations.
5739 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
5741         Fix typo in strncat, wcsncat manual entries
5742         * manual/string.texi (Copying and Concatenation): Fix typos in
5743         sample implementations of strncat and wcsncat, by having them use
5744         the old value of the destination length, not the new one.
5746 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
5748         [BZ #16961]
5749         [BZ #16962]
5750         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
5751         string on the stack for strtod.
5752         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
5753         a string on the stack for strtof.
5754         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
5755         constructing a string on the stack for strtold.
5756         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
5757         __strtold_nan to GLIBC_PRIVATE.
5758         * math/test-nan-overflow.c: New file.
5759         * math/test-nan-payload.c: Likewise.
5760         * math/Makefile (tests): Add test-nan-overflow and
5761         test-nan-payload.
5763 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
5765         Consistency about byte vs character in string.texi
5766         * manual/string.texi (String and Array Utilities):
5767         Distinguish more carefully among bytes, multibyte characters,
5768         and wide characters.  Use "byte" when talking about C 'char',
5769         to distinguish it more clearly from multibyte characters.
5770         Say "wide character" or "multibyte character" instead of
5771         "character", when a wide or multibyte character is intended.
5772         Similarly for "multibyte string" versus "string".
5773         Define these terms more carefully.
5775 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
5777         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
5778         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
5779         Likewise.
5780         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
5781         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
5782         * sysdeps/sh/math_private.h: New file.
5783         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
5784         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
5785         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
5786         long double function name.
5787         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5788         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5789         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5790         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
5791         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5792         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
5793         Remove __finitel, __isinfl, and __isnanl.
5794         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5795         Likewise.
5796         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5797         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5798         Remove __finitel.
5799         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5800         Likewise.
5801         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5803 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
5805         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
5806         installed libmvec_nonshared.a.
5808 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5810         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
5811         (sysdep_routines): Likewise.
5812         (sysdep-rtld-routines): Likewise.
5813         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
5814         [$(subdir) = nptl](tests-static): test-get_hwcap-static
5815         * sysdeps/powerpc/Versions: Added new
5816         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
5817         * sysdeps/powerpc/hwcapinfo.c: New file.
5818         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
5819         and parse hwcap, hwcap2 and platform number information.
5820         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
5821         to store HWCAP+HWCAP2 and platform number.
5822         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
5823         for HWCAP+HWCAP2 and platform number in the TCB.
5824         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
5825         the HWCAP, HWCAP2 and platform number in the TCB.
5826         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
5827         (TLS_INIT_TP): Included calls to add the hwcap and
5828         at_platform values in the TCB in TP initialization.
5829         (TLS_DEFINE_INIT_TP): Likewise.
5830         (THREAD_GET_HWCAP): New macro.
5831         (THREAD_SET_HWCAP): Likewise.
5832         (THREAD_GET_AT_PLATFORM): Likewise.
5833         (THREAD_SET_AT_PLATFORM): Likewise.
5834         * sysdeps/powerpc/powerpc32/dl-machine.h:
5835         (dl_platform_init): New function that calls
5836         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
5837         powerpc32.
5838         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
5839         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
5840         this functionality, static linking case.
5841         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
5842         linking case.
5843         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
5844         __parse_hwcap_and_convert_at_platform for the static linking case.
5845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
5846         Included the new __parse_hwcap_and_convert_at_platform symbol in the
5847         ABI list for GLIBC 2.23.
5848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
5849         Likewise.
5850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
5851         Likewise.
5853 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
5855         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
5856         * configure: Regenerate.
5857         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
5858         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
5860 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
5862         * iconvdata/ibm930.c: Add comment explaining encoding uses.
5863         * iconvdata/ibm933.c: Likewise.
5864         * iconvdata/ibm935.c: Likewise.
5865         * iconvdata/ibm937.c: Likewise.
5866         * iconvdata/ibm939.c: Likewise.
5868 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5870         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
5871         pthread_join.
5872         * nptl/tst-cancel21.c (tf): Likewise.
5874 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
5876         [BZ #19313]
5877         * bits/typesizes.h (__CPU_MASK_TYPE): New.
5878         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
5879         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
5880         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
5881         Likewise.
5882         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
5883         Likewise.
5884         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
5885         Likewise.
5886         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
5887         Likewise.
5888         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
5889         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
5890         unsigned long int with __CPU_MASK_TYPE.
5892 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5894         * sysdeps/aarch64/libm-test-ulps: Regenerated.
5896 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
5898         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
5899         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
5900         t512.x.
5901         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
5903 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
5905         [BZ #19214]
5906         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
5907         argument to return extended model.  Update family and model
5908         with extended family and model when family == 0x0f.
5909         (init_cpu_features): Updated.
5911 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5913         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
5914         signed off_t, so 32bit bigger than 2GiB values are fine actually.
5916         * sysdeps/mach/hurd/mmap64.c: New file.
5918 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
5920         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
5921         rights for its main user thread in NEWTASK.
5923 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
5925         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
5926         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
5928 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
5930         [BZ #14259]
5931         * Makeconfig: Rename localedir to complocaledir.
5932         Rename inst_localedir to inst_complocaledir.
5933         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
5934         * config.make.in: Use complocaledir and libc_cv_complocaledir.
5935         * configure.ac: Use libc_cv_complocaledir.
5936         * configure: Regenerate.
5937         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
5938         -DCOMPLOCALEDIR.
5939         * locale/findlocale.c: Use COMPLOCALEDIR.
5940         * locale/loadarchive.c: Likewise.
5941         * locale/programs/locale.c: Likewise.
5942         * locale/programs/localedef.c: Likewise.
5943         * locale/programs/locarchive.c: Likewise.
5944         * localedata/Makefile: Use inst_complocaledir.
5945         * sysdeps/gnu/configure: Regenerate.
5946         * sysdeps/hppa/configure: Regenerate.
5947         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
5948         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5950         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
5951         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
5952         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
5953         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
5955 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
5957         [BZ #19058]
5958         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
5959         AS_NEEDED.
5960         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
5961         workaround.
5962         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
5963         libmvec-static-only-routines): Added new file.
5964         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
5966 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5968         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
5969         of interrupted RPC instead of restoring it.
5971         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
5972         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
5973         libc_hidden_def.
5974         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
5975         into initialized data instead of common. Define rtld_hidden_data_def.
5976         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
5977         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
5978         libc_hidden_def.
5979         (if_freenameindex): Add libc_hidden_weak.
5980         (if_nameindex): Add libc_hidden_weak.
5981         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
5982         __open64.
5983         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
5984         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
5985         * sysdeps/mach/nanosleep.c: Include <time.h>
5986         (__nanosleep): Rename to __libc_nanosleep.
5987         (__nanosleep): Add weak_alias.
5988         (nanosleep): Update alias.
5990 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
5992         * stdlib/strtod_nan.c: New file.
5993         * stdlib/strtod_nan_double.h: Likewise.
5994         * stdlib/strtod_nan_float.h: Likewise.
5995         * stdlib/strtod_nan_main.c: Likewise.
5996         * stdlib/strtod_nan_narrow.h: Likewise.
5997         * stdlib/strtod_nan_wide.h: Likewise.
5998         * stdlib/strtof_nan.c: Likewise.
5999         * stdlib/strtold_nan.c: Likewise.
6000         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
6001         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
6002         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
6003         * wcsmbs/wcstod_nan.c: Likewise.
6004         * wcsmbs/wcstof_nan.c: Likewise.
6005         * wcsmbs/wcstold_nan.c: Likewise.
6006         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
6007         strtold_nan.
6008         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
6009         wcstof_nan.
6010         * include/stdlib.h (__strtof_nan): Declare and use
6011         libc_hidden_proto.
6012         (__strtod_nan): Likewise.
6013         (__strtold_nan): Likewise.
6014         (__wcstof_nan): Likewise.
6015         (__wcstod_nan): Likewise.
6016         (__wcstold_nan): Likewise.
6017         * include/wchar.h (____wcstoull_l_internal): Declare.
6018         * stdlib/strtod_l.c: Do not include <ieee754.h>.
6019         (____strtoull_l_internal): Remove declaration.
6020         (STRTOF_NAN): Define macro.
6021         (SET_MANTISSA): Remove macro.
6022         (STRTOULL): Likewise.
6023         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
6024         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
6025         (STRTOF_NAN): Define macro.
6026         (SET_MANTISSA): Remove macro.
6027         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
6028         (SET_MANTISSA): Remove macro.
6029         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
6030         macro.
6031         (SET_MANTISSA): Remove macro.
6032         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
6033         macro.
6034         (SET_MANTISSA): Remove macro.
6035         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
6036         (SET_MANTISSA): Remove macro.
6037         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
6038         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
6039         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
6041         [BZ #19266]
6042         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
6043         upper case and lower case letters inside NAN(), not using TOLOWER.
6044         * stdlib/tst-strtod-nan-locale-main.c: New file.
6045         * stdlib/tst-strtod-nan-locale.c: Likewise.
6046         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
6047         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
6048         Depend on $(gen-locales).
6049         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
6050         * wcsmbs/tst-wcstod-nan-locale.c: New file.
6051         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
6052         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
6053         Depend on $(gen-locales).
6054         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
6056 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
6058         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
6060         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
6061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
6062         __finitel, __isinfl, and __isnanl.
6063         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
6064         Likewise.
6065         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6066         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
6067         __finitel.
6068         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6069         Likewise.
6070         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6072 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
6074         * malloc/memusage.c (me): Remove redundant getenv call.
6076 2015-10-24  Florian Weimer  <fweimer@redhat.com>
6078         [BZ #19143]
6079         [BZ #19164]
6080         * nptl/check-cpuset.h: Remove.
6081         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
6082         Remove CPU set size check.
6083         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
6084         Likewise.
6085         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
6086         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
6087         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
6088         (__pthread_setaffinity_new): Remove CPU set size check.
6089         * sysdeps/unix/sysv/linux/sched_setaffinity.c
6090         (__kernel_cpumask_size): Remove.
6091         (__sched_setaffinity_new): Remove CPU set size check.
6092         * manual/threads.texi (Default Thread Attributes): Remove stale
6093         reference to check_cpuset_attr, determine_cpumask_size in comment.
6094         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
6095         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
6096         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
6097         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
6098         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
6099         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
6100         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
6101         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
6102         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
6103         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
6104         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
6105         skeleton test file.
6106         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
6107         tst-affinity-pid.
6109 2015-11-24  Florian Weimer  <fweimer@redhat.com>
6111         * scripts/update-abilist.sh: New file.
6112         * Makefile (+subdir_targets): Add subdir_update-all-abi.
6113         * Makerules (update-all-abi-%, update-all-abi)
6114         (subdir_update-all-abi): New targets.
6115         * elf/Makefile (update-all-abi): New target.
6117 2015-11-24  Florian Weimer  <fweimer@redhat.com>
6119         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
6120         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
6121         (__libc_lock_define_initialized): Use it.
6122         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
6123         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
6124         * malloc/malloc.c (main_arena): Likewise.
6125         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
6126         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
6128 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
6130         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
6131         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
6132         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
6133         (PTRACE_O_MASK): Update value.
6134         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
6135         New value in enum __ptrace_setoptions.
6136         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
6137         (PTRACE_O_MASK): Update value.
6138         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
6139         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
6140         (PTRACE_O_MASK): Update value.
6141         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
6142         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
6143         (PTRACE_O_MASK): Update value.
6144         * sysdeps/unix/sysv/linux/sparc/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/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
6148         New value in enum __ptrace_setoptions.
6149         (PTRACE_O_MASK): Update value.
6150         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
6151         New value in enum __ptrace_setoptions.
6152         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
6153         (PTRACE_O_MASK): Update value.
6155         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
6156         New macro.
6157         (PACKET_AUXDATA): Likewise.
6158         (PACKET_ORIGDEV): Likewise.
6159         (PACKET_VERSION): Likewise.
6160         (PACKET_HDRLEN): Likewise.
6161         (PACKET_RESERVE): Likewise.
6162         (PACKET_TX_RING): Likewise.
6163         (PACKET_LOSS): Likewise.
6164         (PACKET_VNET_HDR): Likewise.
6165         (PACKET_TX_TIMESTAMP): Likewise.
6166         (PACKET_TIMESTAMP): Likewise.
6167         (PACKET_FANOUT): Likewise.
6168         (PACKET_TX_HAS_OFF): Likewise.
6169         (PACKET_QDISC_BYPASS): Likewise.
6170         (PACKET_ROLLOVER_STATS): Likewise.
6171         (PACKET_FANOUT_DATA): Likewise.
6172         (PACKET_MR_UNICAST): Likewise.
6174         [BZ #19242]
6175         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
6176         (TOUPPER): Likewise.
6177         * stdlib/tst-strtol-locale-main.c: New file.
6178         * stdlib/tst-strtol-locale.c: Likewise.
6179         * stdlib/Makefile (tests): Add tst-strtol-locale.
6180         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
6181         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
6182         Depend on $(gen-locales).
6183         * wcsmbs/tst-wcstol-locale.c: New file.
6184         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
6185         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
6186         tr_TR.ISO-8859-9.
6187         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
6188         Depend on $(gen-locales).
6190 2015-11-20  Roland McGrath  <roland@hack.frob.com>
6192         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
6193         __glibc_likely instead of __builtin_expect.  After falling back to
6194         dyncode_create in a non-ET_DYN case, use the allocate_code_data
6195         system interface to register the code pages as occupied.
6197 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
6199         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6200         [!ARM_MATH_PRIVATE_H].
6201         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
6202         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6203         [!HPPA_MATH_PRIVATE_H].
6204         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
6205         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
6206         to [!I386_MATH_PRIVATE_H].
6207         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
6208         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
6209         Change guard to [!M68K_MATH_PRIVATE_H].
6210         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
6211         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
6212         guard to [!MICROBLAZE_MATH_PRIVATE_H].
6213         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
6214         macro.
6215         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6216         [!MIPS_MATH_PRIVATE_H].
6217         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
6218         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6219         [!NIO2_MATH_PRIVATE_H].
6220         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
6221         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6222         [!TILE_MATH_PRIVATE_H].
6223         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
6225         [BZ #15421]
6226         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
6227         initialize with 0 and define as weak alias of __signgam.
6228         * include/math.h [!_ISOMAC] (__signgam): Declare.
6229         * math/Makefile (libm-calls): Add w_lgamma_compat.
6230         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
6231         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
6232         test-signgam-ullong-init.
6233         (tests-static): Add test-signgam-uchar-static,
6234         test-signgam-uchar-init-static, test-signgam-uint-static,
6235         test-signgam-uint-init-static, test-signgam-ullong-static and
6236         test-signgam-ullong-init-static.
6237         (CFLAGS-test-signgam-uchar.c): New variable.
6238         (CFLAGS-test-signgam-uchar-init.c): Likewise.
6239         (CFLAGS-test-signgam-uchar-static.c): Likewise.
6240         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
6241         (CFLAGS-test-signgam-uint.c): Likewise.
6242         (CFLAGS-test-signgam-uint-init.c): Likewise.
6243         (CFLAGS-test-signgam-uint-static.c): Likewise.
6244         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
6245         (CFLAGS-test-signgam-ullong.c): Likewise.
6246         (CFLAGS-test-signgam-ullong-init.c): Likewise.
6247         (CFLAGS-test-signgam-ullong-static.c): Likewise.
6248         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
6249         * math/Versions (libm): Add GLIBC_2.23.
6250         * math/lgamma-compat.h: New file.
6251         * math/test-signgam-main.c: Likewise.
6252         * math/test-signgam-uchar-init-static.c: Likewise.
6253         * math/test-signgam-uchar-init.c: Likewise.
6254         * math/test-signgam-uchar-static.c: Likewise.
6255         * math/test-signgam-uchar.c: Likewise.
6256         * math/test-signgam-uint-init-static.c: Likewise.
6257         * math/test-signgam-uint-init.c: Likewise.
6258         * math/test-signgam-uint-static.c: Likewise.
6259         * math/test-signgam-uint.c: Likewise.
6260         * math/test-signgam-ullong-init-static.c: Likewise.
6261         * math/test-signgam-ullong-init.c: Likewise.
6262         * math/test-signgam-ullong-static.c: Likewise.
6263         * math/test-signgam-ullong.c: Likewise.
6264         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
6265         wrapper of w_lgamma_main.c.
6266         * math/w_lgamma_compat.c: New file.
6267         * math/w_lgamma_compatf.c: Likewise.
6268         * math/w_lgamma_compatl.c: Likewise.
6269         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
6270         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
6271         defining compatibility symbols.
6272         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
6273         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
6274         wrapper of w_lgammaf_main.c.
6275         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
6276         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
6277         defining compatibility symbols.
6278         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
6279         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
6280         wrapper of w_lgammal_main.c.
6281         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
6282         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
6283         defining compatibility symbols.
6284         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
6285         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
6286         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
6287         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
6288         <lgamma-compat.h>.
6289         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
6290         (__ieee754_gamma): Define as alias.
6291         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
6292         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
6293         <lgamma-compat.h>.
6294         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
6295         (__ieee754_gammaf): Define as alias.
6296         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
6297         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
6298         <lgamma-compat.h>.
6299         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
6300         (__ieee754_gammal): Define as alias.
6301         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
6302         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
6303         <math/w_lgamma_compat.c>.
6304         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
6305         Define as alias of __lgamma_compat and use in defining lgammal.
6306         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
6307         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
6308         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
6309         (USE_AS_COMPAT): New macro.
6310         (LGAMMA_OLD_VER): Undefine and redefine.
6311         (lgammal): Do not define here.
6312         (gammal): Only define here if [GAMMA_ALIAS].
6313         * conform/linknamespace.pl (@whitelist): Remove signgam.
6314         * sysdeps/nacl/libm.abilist: Update.
6315         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6316         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6317         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6318         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6319         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6320         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6321         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6322         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6323         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6324         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6325         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6326         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6328         Likewise.
6329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6330         Likewise.
6331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6332         Likewise.
6333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6334         Likewise.
6335         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6336         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6337         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6338         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6339         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6340         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6341         Likewise.
6342         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6343         Likewise.
6344         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6345         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6346         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6348 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6350         [BZ #16364]
6351         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
6352         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
6354 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6356         * sysdeps/s390/fpu/bits/mathinline.h:
6357         Use __asm__ [__volatile__] instead of asm [volatile].
6358         * sysdeps/s390/abort-instr.h: Likewise.
6359         * sysdeps/s390/atomic-machine.h: Likewise.
6360         * sysdeps/s390/bits/string.h: Likewise.
6361         * sysdeps/s390/dl-tls.h: Likewise.
6362         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6363         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6364         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6365         * sysdeps/s390/fpu/fesetround.c: Likewise.
6366         * sysdeps/s390/fpu/fpu_control.h: Likewise.
6367         * sysdeps/s390/fpu/s_fma.c: Likewise.
6368         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
6369         * sysdeps/s390/memusage.h: Likewise.
6370         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
6371         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
6372         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
6373         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
6374         * sysdeps/s390/nptl/tls.h: Likewise.
6375         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
6376         * sysdeps/s390/s390-32/backtrace.c: Likewise.
6377         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6378         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
6379         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6380         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6381         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
6382         * sysdeps/s390/s390-64/backtrace.c: Likewise.
6383         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6384         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
6385         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
6386         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6387         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6388         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
6389         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
6390         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
6391         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
6392         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6393         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
6394         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6395         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
6396         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6397         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
6399 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6400             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6402         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
6403         Add lwarx hint, and use macro for acquire instruction.
6404         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
6405         Likewise.
6406         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
6407         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
6408         update to use new atomic macros.
6410 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6412         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
6413         (__lll_trylock_elision): Fix setting of adapt_count.
6414         * sysdeps/unix/sysv/linux/powerpc/htm.h
6415         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
6416         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
6417         (_ABORT_SYSCALL): Renumber, and clarify definition.
6418         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
6420 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6422         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
6423         after system headers to prevent MIN/MAX redefinition.  Define
6424         HAVE_ALLOCA to preserve builtin alloca usage.
6426 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
6428         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
6429         static and don't set or restore rounding.
6430         (__cos)[IN_SINCOS]: Likewise.
6431         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
6432         (__sincos): Set and restore rounding mode.  Remove check for infinite
6433         or NaN input.
6435         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
6437         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
6438         as used.
6440 2015-11-16  Florian Weimer  <fweimer@redhat.com>
6442         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
6444 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
6446         * config.make.in (have-glob-dat-reloc): New.
6447         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
6448         target supports GLOB_DAT relocaton. AC_SUBST.
6449         * configure: Regenerated.
6450         * elf/Makefile (tests): Add tst-prelink.
6451         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
6452         (tst-prelink-ENV): New.
6453         ($(objpfx)tst-prelink-conflict.out): Likewise.
6454         ($(objpfx)tst-prelink-cmp.out): Likewise.
6455         * sysdeps/x86/tst-prelink.c: Moved to ...
6456         * elf/tst-prelink.c: Here.
6457         * sysdeps/x86/tst-prelink.exp: Moved to ...
6458         * elf/tst-prelink.exp: Here.
6459         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
6460         (tst-prelink-ENV): Removed.
6461         ($(objpfx)tst-prelink-conflict.out): Likewise.
6462         ($(objpfx)tst-prelink-cmp.out): Likewise.
6463         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
6465 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
6467         [BZ #14551]
6468         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
6469         (__mpn_construct_long_double): If high part overflows to infinity,
6470         set errno and recompute overflowed result of the correct sign.
6471         * sysdeps/ieee754/ldbl-128ibm/Makefile
6472         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
6473         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
6474         $(libm).
6475         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
6477 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
6479         [BZ #15479]
6480         [BZ #19238]
6481         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
6482         floating-point state after first operation on input.  Restore full
6483         state rather than just rounding mode.
6484         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
6485         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
6486         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
6488         [BZ #19235]
6489         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
6490         add 0.5 to integer arguments.
6491         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
6492         Likewise.
6493         (.LC2): New object.
6495 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
6497         * scripts/pylintrc (reports): Set to no.
6499 2015-11-10  Roland McGrath  <roland@hack.frob.com>
6501         * elf/dl-load.c (open_verify): Take new argument FD.
6502         Skip __open call if passed FD is not -1.
6503         (_dl_map_object, open_path): Update callers.
6504         * elf/dl-sysdep-open.h: New file.
6505         * elf/dl-load.c: Include it.
6506         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
6507         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
6508         * sysdeps/nacl/dl-sysdep-open.h: New file.
6509         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
6510         from libc to rtld.
6512 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
6514         [BZ #19228]
6515         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
6516         and restore full floating-point state.
6517         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6518         Likewise.
6519         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
6520         Likewise.
6521         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
6522         Likewise.
6523         * math/test-nearbyint-except-2.c: New file.
6524         * math/Makefile (tests): Add test-nearbyint-except-2.
6526 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
6528         [BZ #19178]
6529         * sysdeps/x86/Makefile (tests): Add tst-prelink.
6530         (tst-prelink-ENV): New.
6531         ($(objpfx)tst-prelink-conflict.out): Likewise.
6532         ($(objpfx)tst-prelink-cmp.out): Likewise.
6533         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
6534         * sysdeps/x86/tst-prelink.c: New file.
6535         * sysdeps/x86/tst-prelink.exp: Likewise.
6537 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
6539         * math/auto-libm-test-in: Add another test of pow.
6540         * math/auto-libm-test-out: Regenerated.
6541         * math/libm-test.inc (pow_test_data): Add another test.
6543 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6545         [BZ #19219]
6546         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
6547         weak_alias to nearbyintl.
6549 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
6551         * sysdeps/aarch64/bits/string.h: New file.
6552         (_STRING_ARCH_unaligned): Define.
6554 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
6556         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
6557         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
6558         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
6559         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
6560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
6562 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
6564         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
6565         for original name of the DSO.  Add it to the name list of the DSO
6566         if it is actually given.
6567         (_dl_map_object): Keep track of whether an audit module rewrote
6568         the file name.  If yes, pass the original name to
6569         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
6570         debugging is enabled, log the change of the file name.
6571         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
6572         _dl_map_object_from_fd.
6573         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
6574         * elf/tst-audit11.c: New file
6575         * elf/tst-auditmod11.c: New file.
6576         * elf/tst-audit11mod1.c: New file.
6577         * elf/tst-audit11mod2.c: New file.
6578         * elf/tst-audit11mod2.map: New file.
6579         * elf/tst-audit12.c: New file
6580         * elf/tst-auditmod12.c: New file.
6581         * elf/tst-audit12mod1.c: New file.
6582         * elf/tst-audit12mod2.c: New file.
6583         * elf/tst-audit12mod2.map: New file.
6584         * elf/tst-audit12mod3.c: New file.
6586 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
6588         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
6589         Don't create weak aliases,
6590         because versioned symbols are created later.
6591         * sysdeps/s390/s390-32/setjmp.S
6592         (setjmp, _setjmp): Remove weak and rename to an unique name
6593         in SHARED case due to existing versioned symbols.
6594         * sysdeps/s390/s390-64/setjmp.S: Likewise.
6595         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
6596         (getcontext): Create weak alias only in non SHARED case.
6597         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6599 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
6601         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
6602         (__ASSUME_*_SYSCALL) Define new macros.
6603         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
6604         Remove socketcall syscalls.
6605         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
6606         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
6607         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
6608         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
6609         * sysdeps/unix/sysv/linux/send.c (__libc_send):
6610         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
6612 2015-11-09  Florian Weimer  <fweimer@redhat.com>
6614         [BZ #12926]
6615         Terminate process on invalid netlink response.
6616         * sysdeps/unix/sysv/linux/netlinkaccess.h
6617         (__netlink_assert_response): Declare.
6618         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
6619         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
6620         (sysdep_routines): Add netlink_assert_response.
6621         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
6622         __netlink_assert_response.
6623         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
6624         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
6625         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
6626         __netlink_assert_response.
6628 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
6630         [BZ #19178]
6631         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
6632         (RTYPE_CLASS_PLT): Likewise.
6633         (RTYPE_CLASS_COPY): Likewise.
6634         (RTYPE_CLASS_TLS): Likewise.
6635         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
6636         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
6637         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
6638         DL_DEBUG_PRELINK.
6640 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
6642         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
6643         calls with argument -0.5.
6644         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
6646         * configure.ac (libc_cv_z_nodelete): Remove configure test.
6647         (libc_cv_z_nodlopen): Likewise.
6648         (libc_cv_z_initfirst): Likewise.
6649         * configure: Regenerated.
6651 2015-11-06  Florian Weimer  <fweimer@redhat.com>
6653         Simplify abilist format to be line-based.
6654         * scripts/abilist.awk: Collect descriptors in the descs variable.
6655         (emit): Write descs variable and sort it
6656         externally, with sort.
6657         * sysdeps/**/*.abilist: Convert to new format.
6659 2015-11-06  Mark Wielaard  <mjw@redhat.com>
6661         [BZ #11460]
6662         * io/Makefile (routines): Add fts64.
6663         (tests): Add tst-fts and tst-fts-lfs.
6664         (CFLAGS-fts64.c): New.
6665         * io/Versions (GLIBC_2.23): New.
6666         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
6667         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
6668         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
6669         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
6670         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
6671         (FTSENT64): Likewise.
6672         (fts64_children): Likewise.
6673         (fts64_close): Likewise.
6674         (fts64_open): Likewise.
6675         (fts64_read): Likewise.
6676         (fts64_set): Likewise.
6677         * io/fts64.c: New file.
6678         * io/tst-fts.c: New test.
6679         * io/tst-fts-lfs.c: Likewise.
6680         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
6681         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
6682         fts64_set.
6683         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6684         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6685         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6686         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6687         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6688         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6689         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6690         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6691         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6692         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6693         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6694         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6695         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6697         Likewise.
6698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6699         Likewise.
6700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6702         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6703         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6704         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6705         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6706         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6707         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
6708         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
6709         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6710         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6711         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6712         * sysdeps/wordsize-64/fts.c: New file.
6713         * sysdeps/wordsize-64/fts64.c: Likewise.
6714         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
6715         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
6716         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
6717         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
6719 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
6721         * math/libm-test.inc (NON_FINITE): New macro.
6722         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
6723         * math/gen-libm-test.pl (show_exceptions): Add argument
6724         $non_finite.
6725         (parse_args): Update call to show_exceptions.
6726         * math/test-math-finite.h: New file.
6727         * math/test-math-no-finite.h: Likewise.
6728         * math/test-double-finite.c: Likewise.
6729         * math/test-float-finite.c: Likewise.
6730         * math/test-ldouble-finite.c: Likewise.
6731         * math/test-double.c: Include "test-math-no-finite.h".
6732         * math/test-float.c: Include "test-math-no-finite.h".
6733         * math/test-ldouble.c: Include "test-math-no-finite.h".
6734         * math/test-math-inline.h (TEST_FINITE): New macro.
6735         * math/test-math-vector.h (TEST_FINITE): Likewise.
6736         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
6737         (libm-tests): Add test-float-finite and test-double-finite.
6738         ($(objpfx)test-float-finite.o): New dependency on
6739         $(objpfx)libm-test.stmp.
6740         ($(objpfx)test-double-finite.o): Likewise.
6741         ($(objpfx)test-ldouble-finite.o): Likewise.
6742         (libm-test-no-inline-cflags): New variable.
6743         (libm-test-finite-cflags): Likewise.
6744         (CFLAGS-test-float-finite.c): Likewise.
6745         (CFLAGS-test-double-finite.c): Likewise.
6746         (CFLAGS-test-ldouble-finite.c): Likewise.
6747         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
6748         (CFLAGS-test-double.c): Likewise.
6749         (CFLAGS-test-ldouble.c): Likewise.
6751 2015-11-05  Roland McGrath  <roland@hack.frob.com>
6753         * io/fcntl.c (__fcntl): Add ... to prototype.
6754         * misc/ioctl.c (__ioctl): Likewise.
6755         * misc/syscall.c (syscall): Likewise.
6757 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
6759         * scripts/list-fixed-bugs.py: New file.
6761         [BZ #19213]
6762         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
6763         returned for argument 1.
6764         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
6765         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
6766         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
6767         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
6768         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
6769         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
6771         [BZ #19211]
6772         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
6773         __USE_XOPEN], not if [!__USE_ISOC99].
6774         (lgammaf): Likewise.
6775         (lgammal): Likewise.
6776         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
6777         (gammaf): Likewise.
6778         (gammal): Likewise.
6779         * math/test-signgam-finite-c11.c: New file.
6780         * math/test-signgam-finite-c99.c: Likewise.
6781         * math/test-signgam-finite.c: Likewise.
6782         * math/Makefile (tests): Add test-signgam-finite,
6783         test-signgam-finite-c99 and test-signgam-finite-c11.
6784         (CFLAGS-test-signgam-finite.c): New variable.
6785         (CFLAGS-test-signgam-finite-c99.c): Likewise.
6786         (CFLAGS-test-signgam-finite-c11.c): Likewise.
6788         [BZ #19212]
6789         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
6790         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
6791         500].
6792         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
6793         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
6794         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
6795         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
6796         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
6797         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
6798         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
6799         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
6800         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
6801         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
6803         [BZ #19209]
6804         * math/bits/math-finite.h (ldexp): Remove declaration.
6805         (ldexpf): Likewise.
6806         (ldexpl): Likewise.
6808         [BZ #19205]
6809         * math/bits/math-finite.h (acosf): Condition declaration on
6810         [__USE_ISOC99].
6811         (acosl): Likewise.
6812         (acoshf): Likewise.
6813         (acoshl): Likewise.
6814         (asinf): Likewise.
6815         (asinl): Likewise.
6816         (atan2f): Likewise.
6817         (atan2l): Likewise.
6818         (atanhf): Likewise.
6819         (atanhl): Likewise.
6820         (coshf): Likewise.
6821         (coshl): Likewise.
6822         (expf): Likewise.
6823         (expl): Likewise.
6824         (fmodf): Likewise.
6825         (fmodl): Likewise.
6826         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
6827         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
6828         (j0l): Likewise.
6829         (y0f): Likewise.
6830         (y0l): Likewise.
6831         (j1f): Likewise.
6832         (j1l): Likewise.
6833         (y1f): Likewise.
6834         (y1l): Likewise.
6835         (jnf): Likewise.
6836         (jnl): Likewise.
6837         (ynf): Likewise.
6838         (ynl): Likewise.
6839         (lgammaf_r): Condition declaration on [__USE_ISOC99].
6840         (lgammal_r): Likewise.
6841         (__lgamma_r_finite): New declaration.
6842         (__lgammaf_r_finite): Likewise.
6843         (__lgammal_r_finite): Likewise.
6844         (lgamma): Use __lgamma_r_finite.
6845         (lgammaf): Condition definition on [__USE_ISOC99].  Use
6846         __lgammaf_r_finite.
6847         (lgammal): Condition definition on [__USE_ISOC99].  Use
6848         __lgammal_r_finite.
6849         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
6850         __lgamma_r_finite.
6851         (gammaf): Condition definition on [__USE_ISOC99].  Use
6852         __lgammaf_r_finite.
6853         (gammal): Condition definition on [__USE_ISOC99].  Use
6854         __lgammal_r_finite.
6855         (logf): Condition declaration on [__USE_ISOC99].
6856         (logl): Likewise.
6857         (log10f): Likewise.
6858         (log10l): Likewise.
6859         (ldexpf): Likewise.
6860         (ldexpl): Likewise.
6861         (powf): Likewise.
6862         (powl): Likewise.
6863         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
6864         __USE_ISOC99].
6865         (remainderf): Condition declaration on [__USE_ISOC99].
6866         (remainderl): Likewise.
6867         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
6868         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
6869         (scalbl): Likewise.
6870         (sinhf): Condition declaration on [__USE_ISOC99].
6871         (sinhl): Likewise.
6872         (sqrtf): Likewise.
6873         (sqrtl): Likewise.
6875 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
6877         * sysdeps/arm/atomic-machine.h
6878         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
6879         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
6880         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
6881         Remove conditional code.
6882         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
6883         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
6884         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
6885         Change conditional to [__ASSEMBLER__].
6886         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
6887         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
6888         [!__ASSEMBLER__].
6889         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
6890         code.
6891         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
6892         conditional macro definitions.
6893         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
6894         (__arch_compare_and_exchange_val_16_acq): Likewise.
6895         (__arch_compare_and_exchange_val_32_acq): Likewise.
6896         (atomic_exchange_and_add): Likewise.
6897         (atomic_add): Likewise.
6898         (atomic_add_negative): Likewise.
6899         (atomic_add_zero): Likewise.
6900         (atomic_bit_set): Likewise.
6901         (atomic_bit_test_set): Likewise.
6902         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
6903         code unconditional.
6904         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6906         * math/test-math-errno.h: New file.
6907         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
6908         empty.
6909         (TEST_ERRNO): New macro.
6910         (TEST_EXCEPTIONS): Likewise.
6911         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
6912         (TEST_EXCEPTIONS): Likewise.
6913         * math/test-math-vector.h (TEST_ERRNO): Likewise.
6914         * math/test-double.c: Include "test-math-errno.h".
6915         * math/test-float.c: Likewise.
6916         * math/test-ldouble.c: Likewise.
6917         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
6918         code unconditional.
6919         (test_exceptions): Only run code if TEST_EXCEPTIONS.
6920         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
6921         unconditional.
6922         (test_errno): Only run code if TEST_ERRNO.
6923         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
6925 2015-11-04  Florian Weimer  <fweimer@redhat.com>
6927         * nptl/tst-once5.cc: Remove attribution.
6929 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
6931         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
6932         sqrt, tan, tanh, y0, y1 and yn.
6933         * math/auto-libm-test-out: Regenerated.
6934         * math/libm-test.inc (scalb_test_data): Add more tests.
6935         (scalbn_test_data): Likewise.
6936         (scalbln_test_data): Likewise.
6937         (signbit_test_data): Likewise.
6938         (sin_test_data): Likewise.
6939         (sincos_test_data): Likewise.
6940         (sinh_test_data): Likewise.
6941         (sqrt_test_data): Likewise.
6942         (tan_test_data): Likewise.
6943         (tanh_test_data): Likewise.
6944         (tgamma_test_data): Likewise.
6945         (y0_test_data): Likewise.
6946         (y1_test_data): Likewise.
6947         (yn_test_data): Likewise.
6948         (significand_test_data): Likewise.
6949         * sysdeps/i386/fpu/libm-test-ulps: Update.
6951 2015-11-03  David Kastrup  <dak@gnu.org>
6953         [BZ #18604]
6954         * assert/assert.h (assert): Don't macro-expand failed assertion
6955         expression in error message.
6956         * malloc/malloc.c (assert): Likewise.
6958 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
6960         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
6961         test.
6962         * configure: Regenerated.
6964 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
6966         * math/libm-test.inc (modf_test_data): Add more tests.
6967         (nearbyint_test_data): Likewise.
6968         (nextafter_test_data): Likewise.
6969         (nexttoward_test_data): Likewise.
6970         (pow_test_data): Likewise.
6971         (remainder_test_data): Likewise.
6972         (remquo_test_data): Likewise.
6973         (rint_test_data): Likewise.
6975         [BZ #19201]
6976         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6977         Check for zero remainder in case of large exponents and ensure
6978         correct sign of result in that case.
6979         * math/libm-test.inc (remainder_test_data): Add more tests.
6981         [BZ #6799]
6982         * math/s_nextafter.c: Include <errno.h>.
6983         (__nextafter): Set errno on overflow and underflow.
6984         * math/s_nexttowardf.c: Include <errno.h>.
6985         (__nexttowardf): Set errno on overflow and underflow.
6986         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
6987         (__nextafterl): Set errno on overflow and underflow.
6988         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
6989         (__nexttoward): Set errno on overflow and underflow.
6990         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
6991         (__nexttowardf): Set errno on overflow and underflow.
6992         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
6993         (__nextafterf): Set errno on overflow and underflow.
6994         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
6995         (__nextafterl): Set errno on overflow and underflow.
6996         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
6997         (__nexttoward): Set errno on overflow and underflow.
6998         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
6999         (__nexttowardf): Set errno on overflow and underflow.
7000         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
7001         (__nextafterl): Set errno on overflow and underflow.
7002         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
7003         (__nexttoward): Set errno on overflow and underflow.
7004         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
7005         (__nexttowardf): Set errno on overflow and underflow.
7006         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
7007         (__nexttoward): Set errno on overflow and underflow.
7008         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
7009         (__nexttowardf): Set errno on overflow and underflow.
7010         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
7011         (__nldbl_nexttowardf): Set errno on overflow and underflow.
7012         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
7013         (__nextafterl): Set errno on overflow and underflow.
7014         * math/libm-test.inc (nextafter_test_data): Do not allow errno
7015         setting to be missing on overflow.  Add more tests.
7016         (nexttoward_test_data): Likewise.
7018         * configure.ac (libc_cv_initfini_array): Remove configure test.
7019         * configure: Regenerated.
7021 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
7023         [BZ #19189]
7024         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
7025         non-finite argument handle arguments with negative sign.
7027         * math/libm-test.inc (j0_test_data): Do not test sign of zero
7028         result from infinite argument.
7029         (j1_test_data): Likewise.
7030         (jn_test_data): Likewise.
7031         (y0_test_data): Likewise.
7032         (y1_test_data): Likewise.
7033         (yn_test_data): Likewise.
7035         [BZ #16171]
7036         * math/w_remainder.c (drem): Define as weak alias of __remainder.
7037         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
7038         * math/w_remainderf.c (dremf): Define as weak alias of
7039         __remainderf.
7040         * math/w_remainderl.c (dreml): Define as weak alias of
7041         __remainderl.
7042         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
7043         __remainder.
7044         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
7045         __remainderf.
7046         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
7047         __remainderl.
7048         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
7049         weak alias of remainderl.
7050         * sysdeps/ieee754/ldbl-opt/w_remainder.c
7051         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
7052         alias of __remainder.
7053         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
7054         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
7055         strong alias of __remainderl.
7056         (dreml): Use long_double_symbol.
7057         * math/Makefile (libm-calls): Remove w_drem.
7058         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
7059         (CFLAGS-nldbl-drem.c): Remove variable.
7060         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
7061         * math/w_drem.c: Remove file.
7062         * math/w_dremf.c: Likewise.
7063         * math/w_dreml.c: Likewise.
7064         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
7065         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
7066         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
7068         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
7069         * sysdeps/i386/configure: Regenerated.
7070         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
7071         * sysdeps/x86_64/configure: Regenerated.
7073         * configure.ac (libc_cv_asm_protected_directive): Remove configure
7074         test.
7075         (libc_cv_visibility_attribute): Likewise.
7076         (libc_cv_protected_data): Test unconditionally.
7077         (libc_cv_broken_visibility_attribute): Remove configure test.
7078         (libc_cv_have_sdata_section): Test unconditionally.
7079         * configure: Regenerated.
7081         * include/libc-internal.h (libc_max_align_t): Remove typedef.
7082         * include/scratch_buffer.h: Include <stddef.h> instead of
7083         <libc-internal.h>.
7084         (struct scratch_buffer): Use max_align_t instead of
7085         libc_max_align_t.
7087 2015-10-29  Florian Weimer  <fweimer@redhat.com>
7089         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
7090         instead of extend_alloca.  Change control flow to avoid a goto.
7091         Remove assert which is trivially always true.
7093 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
7095         [BZ #16068]
7096         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
7097         (FE_ALL_EXCEPT_X86): New macro.
7098         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
7099         FE_ALL_EXCEPT.  Ensure precision control is included in
7100         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
7101         handle "denormal operand exception" and clear FZ and DAZ bits.
7102         * sysdeps/x86_64/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/fpu/test-fenv-sse-2.c: New file.
7109         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
7110         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7111         test-fenv-x87 and test-fenv-sse-2.
7112         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
7114         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
7115         * math/test-double.h (BUILD_COMPLEX): New macro.
7116         * math/test-float.h (BUILD_COMPLEX): Likewise.
7117         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
7119         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
7120         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
7121         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
7122         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
7123         instead of DBL_DENORM_MIN in comment.
7124         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
7125         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
7126         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
7127         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
7128         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
7129         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
7131 2015-10-28  Florian Weimer  <fweimer@redhat.com>
7133         [BZ# 19048]
7134         * malloc/malloc.c (struct malloc_state): Update comment.  Add
7135         attached_threads member.
7136         (main_arena): Initialize attached_threads.
7137         * malloc/arena.c (list_lock): Update comment.
7138         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
7139         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
7140         (deattach_arena): New function.
7141         (_int_new_arena): Initialize arena reference count and deattach
7142         replaced arena.
7143         (get_free_list, reused_arena): Update reference count and deattach
7144         replaced arena.
7145         (arena_thread_freeres): Update arena reference count and only put
7146         unreferenced arenas on the free list.
7148 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
7150         [BZ #19181]
7151         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
7152         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
7153         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
7154         * math/test-fenv-clear-main.c: New file.
7155         * math/test-fenv-clear.c: Likewise.
7156         * math/Makefile (tests): Add test-fenv-clear.
7157         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
7158         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7159         test-fenv-clear-sse.
7160         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
7162         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
7163         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
7164         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
7166 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7168         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
7169         static libc.
7171 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
7173         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
7174         test.
7175         * sysdeps/i386/configure: Regenerated.
7176         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
7177         test.
7178         * sysdeps/x86_64/configure: Regenerated.
7179         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
7180         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7181         memset-avx2 unconditionally instead of conditionally on
7182         [$(config-cflags-avx2) = yes].
7183         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7184         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
7185         unconditional.
7186         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
7187         * sysdeps/x86_64/multiarch/memset_chk.S
7188         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
7189         to [IS_IN (libc) && SHARED].
7191 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
7193         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
7194         configure test.
7195         * sysdeps/arm/configure: Regenerated.
7196         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
7197         Define variable if not already defined.
7199         [BZ #17404]
7200         * sysdeps/mips/atomic-machine.h
7201         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
7202         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
7203         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
7205         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
7206         unconditional.
7207         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
7208         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7209         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
7210         unconditional.
7211         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7212         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
7213         unconditional.
7214         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7215         * stdlib/setenv.c
7216         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
7217         code unconditional.
7218         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
7219         Remove conditional code.
7220         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
7221         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
7222         unconditional.
7223         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
7224         code.
7225         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
7226         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
7227         unconditional.
7228         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
7229         code.
7230         * sysdeps/ieee754/ldbl-128/k_tanl.c
7231         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
7232         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7233         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
7234         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
7235         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7236         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
7237         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
7238         unconditional.
7239         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
7240         code.
7241         * sysdeps/ieee754/ldbl-96/k_tanl.c
7242         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
7243         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7245         * nptl/tst-initializers1-c11.c: New file.
7246         * nptl/tst-initializers1-gnu11.c: Likewise.
7247         * nptl/Makefile (tests): Add these new tests.
7248         (CFLAGS-tst-initializers1-c11.c): New variable.
7249         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
7251         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
7252         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
7253         instead of -std=gnu99.
7254         * configure.ac (systemtap): Test with -std=gnu11 instead of
7255         -std=gnu99.
7256         * configure: Regenerated.
7257         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
7258         in compilation command in comment.
7260         * sysdeps/nptl/configure.ac: Remove file.
7261         * sysdeps/nptl/configure: Remove generated file.
7262         * configure.ac (libc_cv_forced_unwind): Do not substitute.
7263         * configure: Regenerated.
7264         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
7265         * config.make.in (have-forced-unwind): Remove variable.
7266         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
7267         unconditional.
7268         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
7269         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
7270         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
7271         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
7272         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
7273         unconditional.
7275 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7277         [BZ #19174]
7278         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
7279         .skip_lock_out_of_tbegin_retries.
7280         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
7281         (__lll_lock_elision): Likewise, and respect a value of
7282         try_tbegin <= 0.
7284 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7286         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
7287         statement.
7289 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
7291         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
7292         variable.
7293         (test-xfail-ISO11/stdalign.h/conform): Likewise.
7294         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7296         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
7297         of -std=c1x -D_ISOC11_SOURCE.
7299         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
7300         * configure: Regenerated.
7301         * manual/install.texi (Tools for Compilation): Document
7302         requirement for GCC 4.7 or later.
7303         * INSTALL: Regenerated.
7305 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
7307         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
7308         on CNT to a conditional jump to 'puntdata'.
7310 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
7312         * configure.ac (libc_cv_gcc___thread): Remove configure test.
7313         (libc_cv_gcc_tls_model_attr): Likewise.
7314         * configure: Regenerated.
7316         * configure.ac (libc_cv_need_minus_P): Remove configure test.
7317         * configure: Regenerated.
7318         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
7320 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
7322         * configure.ac (old_glibc_headers): Remove configure test.
7323         * configure: Regenerated.
7324         * config.make.in (old-glibc-headers): Remove variable.
7325         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
7326         (install): Remove dependency on remove-old-headers.
7327         (headers2_0): Remove variable.
7328         (remove-old-headers): Remove rule.
7330         * configure.ac (libc_cv_dot_text): Remove configure test.
7331         (libc_cv_asm_set_directive): Use .text instead of
7332         ${libc_cv_dot_text} in configure test.
7333         * configure: Regenerated.
7335 2015-10-26  Florian Weimer  <fweimer@redhat.com>
7337         [BZ #19168]
7338         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7340 2015-10-26  Florian Weimer  <fweimer@redhat.com>
7342         * configure.ac (CXX): Clear the variable if the C++ toolchain does
7343         not support static linking.
7344         * configure: Regenerate.
7346 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
7348         * math/libm-test.inc (check_float_internal): Do not special-case
7349         errors up to 0.5 ulp.
7351         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7352         log2.
7353         * math/auto-libm-test-out: Regenerated.
7354         * math/libm-test.inc (MAX_EXP): New macro.
7355         (ilogb_test_data): Add more tests.
7356         (isfinite_test_data): Likewise.
7357         (isgreater_test_data): Likewise.
7358         (isgreaterequal_test_data): Likewise.
7359         (isinf_test_data): Likewise.
7360         (isless_test_data): Likewise.
7361         (islessequal_test_data): Likewise.
7362         (islessgreater_test_data): Likewise.
7363         (isnan_test_data): Likewise.
7364         (isnormal_test_data): Likewise.
7365         (issignaling_test_data): Likewise.
7366         (isunordered_test_data): Likewise.
7367         (j0_test_data): Likewise.
7368         (j1_test_data): Likewise.
7369         (jn_test_data): Likewise.
7370         (lgamma_test_data): Likewise.
7371         (log_test_data): Likewise.
7372         (log10_test_data): Likewise.
7373         (log1p_test_data): Likewise.
7374         (log2_test_data): Likewise.
7375         (logb_test_data): Likewise.
7376         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7378         [BZ #18611]
7379         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
7380         avoid excess range and precision on underflow.
7381         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7382         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
7383         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7384         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
7385         underflow.
7386         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7387         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7388         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7389         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7390         * math/auto-libm-test-in: Do not allow missing errno setting for
7391         tests of j1 and jn.
7392         * math/auto-libm-test-out: Regenerated.
7394 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
7396         [BZ #15491]
7397         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
7398         floating-point environment instead of clearing all exceptions.
7399         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
7400         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
7401         merging in "invalid" exceptions from frndint.
7402         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
7403         * math/test-nearbyint-except.c: New file.
7404         * math/Makefile (tests): Add test-nearbyint-except.
7406 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
7408         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
7410         * sysdeps/tile/libm-test-ulps: Regenerated.
7412 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
7415         (__NR_sync_file_range2): Assume it is always defined.
7416         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
7417         (__NR_sync_file_range): Assume it is always defined.
7419 2015-10-22  Andreas Schwab  <schwab@suse.de>
7421         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
7422         INTERNAL_SYSCALL_ERRNO.
7423         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7424         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
7425         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7426         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
7427         Likewise.
7428         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7430 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
7432         * io/tst-fcntl.c (fd): New static variable.
7433         (do_prepare): Open temporary file here....
7434         (do_test): ...not here.
7436         * io/ftwtest-sh: Also trap on exit to remove temporary files.
7438 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
7440         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
7441         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
7442         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
7443         Moved before "#ifdef __ASSEMBLER__".
7445 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
7447         [BZ #19156]
7448         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
7449         arguments very close to 0.
7451 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
7453         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
7454         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
7456 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
7458         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
7459         New.  Defined for GCC 5 and above when not compiling for
7460         profiling.
7461         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
7463         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
7464         Renamed to ...
7465         (CFLAGS-epoll_pwait.o): This.
7466         (CFLAGS-mmap.c): Renamed to ...
7467         (CFLAGS-mmap.o): This.
7468         (CFLAGS-mmap64.c): Renamed to ...
7469         (CFLAGS-mmap64.o): This.
7470         (CFLAGS-epoll_pwait.os): New.
7471         (CFLAGS-mmap.os): Likewise.
7472         (CFLAGS-mmap64.os): Likewise.
7473         (CFLAGS-semtimedop.os): Likewise.
7474         (CFLAGS-semtimedop.c): Renamed to ...
7475         (CFLAGS-semtimedop.o): This.
7477 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7479         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
7480         warning message.
7482 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
7484         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
7485         * Makefile ($(objpfx)c++-types-check.out): Filter out
7486         $(+gccwarn-c) instead of -Wstrict-prototypes.
7488         * io/fts.c (fts_open): Convert to prototype-style function
7489         definition.
7490         * malloc/mcheck.c (mcheck): Likewise.
7491         (mcheck_pedantic): Likewise.
7492         * posix/regexec.c (re_search_2_stub): Likewise.  Use
7493         internal_function.
7494         (re_search_internal): Likewise.
7495         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
7496         prototype-style function definition.
7497         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7498         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
7499         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
7500         (xdr_utmpptr): Likewise.
7501         (xdr_utmparr): Likewise.
7502         (xdr_utmpidle): Likewise.
7503         (xdr_utmpidleptr): Likewise.
7504         (xdr_utmpidlearr): Likewise.
7506         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
7507         log, log10 and log2.
7508         * math/auto-libm-test-out: Regenerated.
7509         * math/libm-test.inc (fmod_test_data): Add more tests.
7510         (fpclassify_test_data): Likewise.
7511         (frexp_test_data): Likewise.
7512         (hypot_test_data): Likewise.
7513         (ilogb_test_data): Likewise.
7515 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
7517         * debug/fortify_fail.c (__fortify_fail): Convert to
7518         prototype-style function definition.  Use internal_function.
7519         * libio/genops.c (save_for_backup): Convert to prototype-style
7520         function definition.
7521         * libio/wgenops.c (save_for_wbackup): Likewise.
7522         * login/grantpt.c (grantpt): Likewise.
7523         * login/ptsname.c (ptsname): Likewise.
7524         (__ptsname_r): Likewise.
7525         * login/unlockpt.c (unlockpt): Likewise.
7526         * mach/msgserver.c (__mach_msg_server): Likewise.
7527         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
7528         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
7529         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
7530         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
7531         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
7532         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
7533         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
7534         Likewise.
7535         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
7536         internal_function.
7537         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
7538         prototype-style function definition.
7539         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
7540         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
7541         (__pthread_create_2_0): Likewise.
7542         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
7543         * nptl/register-atfork.c (__register_atfork): Likewise.
7544         * posix/glob.c (glob): Likewise.
7545         * posix/regcomp.c (re_comp): Likewise.
7546         * posix/regexec.c (re_exec): Likewise.
7547         * stdlib/add_n.c [__STDC__]: Make code unconditional.
7548         [!__STDC__]: Remove conditional code.
7549         * stdlib/cmp.c [__STDC__]: Make code unconditional.
7550         [!__STDC__]: Remove conditional code.
7551         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
7552         [!__STDC__]: Remove conditional code.
7553         * stdlib/divrem.c [__STDC__]: Make code unconditional.
7554         [!__STDC__]: Remove conditional code.
7555         * stdlib/lshift.c [__STDC__]: Make code unconditional.
7556         [!__STDC__]: Remove conditional code.
7557         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
7558         [!__STDC__]: Remove conditional code.
7559         * stdlib/mul.c [__STDC__]: Make code unconditional.
7560         [!__STDC__]: Remove conditional code.
7561         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
7562         [!__STDC__]: Remove conditional code.
7563         * stdlib/rshift.c [__STDC__]: Make code unconditional.
7564         [!__STDC__]: Remove conditional code.
7565         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
7566         function definition.
7567         (STRTOF): Likewise.
7568         * stdlib/strtod_l.c (__STRTOF): Likewise.
7569         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
7570         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
7571         (__strtol_l): Likewise.
7572         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
7573         [!__STDC__]: Remove conditional code.
7574         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
7575         definition.
7576         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
7577         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
7578         type.
7579         (__strcasecmp): Convert to prototype-style function definition.
7580         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
7581         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
7582         type.
7583         (__strncasecmp): Convert to prototype-style function definition.
7584         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
7585         * sunrpc/xdr.c (xdr_union): Likewise.
7586         * sunrpc/xdr_array.c (xdr_array): Likewise.
7587         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
7588         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
7589         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
7590         Likewise.
7591         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
7592         Likewise.
7593         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
7594         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7595         Likewise.
7596         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
7597         (LOCALE_PARAM_PROTO): Likewise.
7598         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
7599         argument type.
7600         (ut_argument_spec): Remove macro.
7601         (ut_argument_spec_iso): Rename to ut_argument_spec.
7602         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
7603         prototype-style function definition.
7604         (memcpy_uppcase): Likewise.
7605         (__strftime_internal): Likewise.
7606         (my_strftime): Likewise.
7607         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
7608         (LOCALE_PARAM_DECL): Likewise.
7609         [_LIBC] (LOCALE_PARAM): Include argument type.
7610         (__strptime_internal): Convert to prototype-style function
7611         definition.
7612         (strptime): Likewise.
7613         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
7614         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
7615         type.
7616         (__wcscasecmp): Convert to prototype-style function definition.
7617         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
7618         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
7619         type.
7620         (__wcsncasecmp): Convert to prototype-style function definition.
7622         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
7623         function definition.
7624         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7625         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7626         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
7627         * elf/dl-minimal.c (_itoa): Likewise.
7628         * hurd/hurdmalloc.c (malloc): Likewise.
7629         (free): Likewise.
7630         (realloc): Likewise.
7631         * inet/inet6_option.c (inet6_option_space): Likewise.
7632         (inet6_option_init): Likewise.
7633         (inet6_option_append): Likewise.
7634         (inet6_option_alloc): Likewise.
7635         (inet6_option_next): Likewise.
7636         (inet6_option_find): Likewise.
7637         * io/ftw.c (FTW_NAME): Likewise.
7638         (NFTW_NAME): Likewise.
7639         (NFTW_NEW_NAME): Likewise.
7640         (NFTW_OLD_NAME): Likewise.
7641         * libio/iofwide.c (_IO_fwide): Likewise.
7642         * libio/strops.c (_IO_str_init_static_internal): Likewise.
7643         (_IO_str_init_static): Likewise.
7644         (_IO_str_init_readonly): Likewise.
7645         (_IO_str_overflow): Likewise.
7646         (_IO_str_underflow): Likewise.
7647         (_IO_str_count): Likewise.
7648         (_IO_str_seekoff): Likewise.
7649         (_IO_str_pbackfail): Likewise.
7650         (_IO_str_finish): Likewise.
7651         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
7652         (_IO_wstr_overflow): Likewise.
7653         (_IO_wstr_underflow): Likewise.
7654         (_IO_wstr_count): Likewise.
7655         (_IO_wstr_seekoff): Likewise.
7656         (_IO_wstr_pbackfail): Likewise.
7657         (_IO_wstr_finish): Likewise.
7658         * locale/programs/localedef.c (normalize_codeset): Likewise.
7659         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
7660         (add_locales_to_archive): Likewise.
7661         (delete_locales_from_archive): Likewise.
7662         * malloc/malloc.c (__libc_mallinfo): Likewise.
7663         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
7664         * misc/tsearch.c (__tfind): Likewise.
7665         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
7666         * nptl/pthread_attr_getdetachstate.c
7667         (__pthread_attr_getdetachstate): Likewise.
7668         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
7669         Likewise.
7670         * nptl/pthread_attr_getinheritsched.c
7671         (__pthread_attr_getinheritsched): Likewise.
7672         * nptl/pthread_attr_getschedparam.c
7673         (__pthread_attr_getschedparam): Likewise.
7674         * nptl/pthread_attr_getschedpolicy.c
7675         (__pthread_attr_getschedpolicy): Likewise.
7676         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
7677         Likewise.
7678         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
7679         Likewise.
7680         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
7681         Likewise.
7682         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
7683         Likewise.
7684         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
7685         (__pthread_attr_init_2_0): Likewise.
7686         * nptl/pthread_attr_setdetachstate.c
7687         (__pthread_attr_setdetachstate): Likewise.
7688         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
7689         Likewise.
7690         * nptl/pthread_attr_setinheritsched.c
7691         (__pthread_attr_setinheritsched): Likewise.
7692         * nptl/pthread_attr_setschedparam.c
7693         (__pthread_attr_setschedparam): Likewise.
7694         * nptl/pthread_attr_setschedpolicy.c
7695         (__pthread_attr_setschedpolicy): Likewise.
7696         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
7697         Likewise.
7698         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
7699         Likewise.
7700         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
7701         Likewise.
7702         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
7703         Likewise.
7704         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
7705         Likewise.
7706         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
7707         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
7708         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
7709         use internal_function.
7710         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
7711         prototype-style function definition.
7712         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
7713         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
7714         internal_function.
7715         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
7716         Convert to prototype-style function definition.
7717         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7718         Likewise.
7719         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
7720         Likewise.
7721         (__pthread_mutex_unlock): Likewise.
7722         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
7723         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
7724         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
7725         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
7726         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
7727         * nss/makedb.c (process_input): Likewise.
7728         * posix/fnmatch.c (__strchrnul): Likewise.
7729         (__wcschrnul): Likewise.
7730         (fnmatch): Likewise.
7731         * posix/fnmatch_loop.c (FCT): Likewise.
7732         * posix/glob.c (globfree): Likewise.
7733         (__glob_pattern_type): Likewise.
7734         (__glob_pattern_p): Likewise.
7735         * posix/regcomp.c (re_compile_pattern): Likewise.
7736         (re_set_syntax): Likewise.
7737         (re_compile_fastmap): Likewise.
7738         (regcomp): Likewise.
7739         (regerror): Likewise.
7740         (regfree): Likewise.
7741         * posix/regexec.c (regexec): Likewise.
7742         (re_match): Likewise.
7743         (re_search): Likewise.
7744         (re_match_2): Likewise.
7745         (re_search_2): Likewise.
7746         (re_search_stub): Likewise.  Use internal_function
7747         (re_copy_regs): Likewise.
7748         (re_set_registers): Convert to prototype-style function
7749         definition.
7750         (prune_impossible_nodes): Likewise.  Use internal_function.
7751         * resolv/inet_net_pton.c (inet_net_pton): Convert to
7752         prototype-style function definition.
7753         (inet_net_pton_ipv4): Likewise.
7754         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7755         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
7756         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
7757         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
7758         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
7759         Make variadic.
7760         * time/strptime_l.c (localtime_r): Convert to prototype-style
7761         function definition.
7762         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
7763         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
7764         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
7765         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
7767         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
7768         definition.
7769         (_ufc_doit_r): Likewise.
7770         * crypt/crypt_util.c (_ufc_copymem): Likewise.
7771         (_ufc_output_conversion_r): Likewise.
7772         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
7773         * inet/rcmd.c (rcmd_af): Likewise.
7774         (rcmd): Likewise.
7775         (ruserok_af): Likewise.
7776         (ruserok): Likewise.
7777         (ruserok2_sa): Likewise.
7778         (ruserok_sa): Likewise.
7779         (iruserok_af): Likewise.
7780         (iruserok): Likewise.
7781         (__ivaliduser): Likewise.
7782         (__validuser2_sa): Likewise.
7783         * inet/rexec.c (rexec_af): Likewise.
7784         (rexec): Likewise.
7785         * inet/ruserpass.c (ruserpass): Likewise.
7786         * locale/programs/xmalloc.c (xcalloc): Likewise.
7787         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
7788         * math/w_drem.c (__drem): Likewise.
7789         * math/w_dremf.c (__dremf): Likewise.
7790         * math/w_dreml.c (__dreml): Likewise.
7791         * misc/daemon.c (daemon): Likewise.
7792         * resolv/res_debug.c (p_fqnname): Likewise.
7793         * stdlib/div.c (div): Likewise.
7794         * string/memcmp.c (memcmp_bytes): Likewise.
7795         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
7796         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
7798         * crypt/cert.c (main): Convert to prototype-style function
7799         definition.
7800         * io/pipe.c (__pipe): Likewise.
7801         * io/pipe2.c (__pipe2): Likewise.
7802         * misc/futimesat.c (futimesat): Likewise.
7803         * misc/utimes.c (__utimes): Likewise.
7804         * posix/execve.c (__execve): Likewise.
7805         * posix/execvp.c (execvp): Likewise.
7806         * posix/execvpe.c (__execvpe): Likewise.
7807         * posix/fexecve.c (fexecve): Likewise.
7808         * socket/socketpair.c (socketpair): Likewise.
7809         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7810         * stdlib/erand48.c (erand48): Likewise.
7811         * stdlib/erand48_r.c (__erand48_r): Likewise.
7812         * stdlib/jrand48.c (jrand48): Likewise.
7813         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
7814         * stdlib/lcong48.c (lcong48): Likewise.
7815         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
7816         * stdlib/nrand48.c (nrand48): Likewise.
7817         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
7818         * stdlib/seed48.c (seed48): Likewise.
7819         * stdlib/seed48_r.c (__seed48_r): Likewise.
7820         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
7821         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
7822         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
7824 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
7826         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
7827         * configure: Regenerated.
7828         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
7829         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
7830         unconditional.
7831         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7832         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7833         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7834         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
7835         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
7836         unconditional.
7837         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7839         * posix/Makefile (CFLAGS-regex.c): Remove variable.
7840         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
7842         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
7843         function definition.
7844         * crypt/crypt_util.c (__encrypt_r): Likewise.
7845         * libio/genops.c (_IO_no_init): Likewise.
7846         * libio/iofopncook.c (_IO_fopencookie): Likewise.
7847         (_IO_old_fopencookie): Likewise.
7848         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
7849         * libio/iogetline.c (_IO_getline): Likewise.
7850         (_IO_getline_info): Likewise.
7851         * libio/iogetwline.c (_IO_getwline): Likewise.
7852         (_IO_getwline_info): Likewise.
7853         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
7854         * libio/vswprintf.c (_IO_vswprintf): Likewise.
7855         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
7856         (find_entry): Likewise.
7857         (iterate_table): Likewise.
7858         (lookup): Likewise.
7859         * login/forkpty.c (forkpty): Likewise.
7860         * misc/hsearch_r.c (__hsearch_r): Likewise.
7861         * misc/select.c (__select): Likewise.
7862         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
7863         Likewise.
7864         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
7865         Likewise.
7866         * nptl/old_pthread_cond_timedwait.c
7867         (__pthread_cond_timedwait_2_0): Likewise.
7868         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
7869         * nptl/pthread_barrierattr_getpshared.c
7870         (pthread_barrierattr_getpshared): Likewise.
7871         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
7872         Likewise.
7873         * nptl/pthread_mutex_setprioceiling.c
7874         (pthread_mutex_setprioceiling): Likewise.
7875         * nptl/pthread_mutexattr_getprioceiling.c
7876         (pthread_mutexattr_getprioceiling): Likewise.
7877         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
7878         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
7879         Likewise.
7880         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
7881         Likewise.
7882         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
7883         Likewise.
7884         * socket/recvfrom.c (__recvfrom): Likewise.
7885         * socket/sendto.c (__sendto): Likewise.
7886         * socket/setsockopt.c (__setsockopt): Likewise.
7887         * stdio-common/_itoa.c (_itoa): Likewise.
7888         * stdio-common/_itowa.c (_itowa): Likewise.
7889         * stdio-common/reg-printf.c (__register_printf_specifier):
7890         Likewise.
7891         (__register_printf_function): Likewise.
7892         * stdio-common/tempname.c (__path_search): Likewise.
7893         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
7894         * stdlib/mul_1.c (mpn_mul_1): Likewise.
7895         * stdlib/random_r.c (__initstate_r): Likewise.
7896         * stdlib/setenv.c (__add_to_environ): Likewise.
7897         * stdlib/submul_1.c (mpn_submul_1): Likewise.
7898         * streams/getpmsg.c (getpmsg): Likewise.
7899         * streams/putmsg.c (putmsg): Likewise.
7900         * streams/putpmsg.c (putpmsg): Likewise.
7901         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
7902         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
7903         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
7904         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
7905         * sunrpc/pm_getport.c (pmap_getport): Likewise.
7906         * sunrpc/svc_udp.c (cache_get): Likewise.
7907         * sunrpc/xdr_array.c (xdr_vector): Likewise.
7908         * sysdeps/mach/hurd/getcwd.c
7909         (__canonicalize_directory_name_internal): Likewise.
7910         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
7911         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
7912         * sysdeps/mach/hurd/select.c (__select): Likewise.
7913         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
7914         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
7915         * sysdeps/sparc/nptl/pthread_barrier_init.c
7916         (__pthread_barrier_init): Likewise.
7917         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
7918         (__pthread_cond_timedwait): Likewise.
7919         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
7920         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
7921         Likewise.
7922         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
7923         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
7924         Likewise.
7925         * sysvipc/semtimedop.c (semtimedop): Likewise.
7926         * time/setitimer.c (__setitimer): Likewise.
7927         * time/strftime_l.c (emacs_strftime): Likewise.
7929 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
7931         * config.make.in (have-ssp): Delete.
7932         (stack-protector): New variable.
7933         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
7934         cache test for -fstack-protector-strong.  Export stack_protector to
7935         the best ssp flag.
7936         * configure: Regenerated.
7937         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
7938         * nscd/Makefile (CFLAGS-nscd): Likewise.
7939         * resolv/Makefile (CFLAGS-libresolv): Likewise.
7941 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
7943         [BZ #19122]
7944         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
7945         attribute_hidden.
7947 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7949         [BZ #18743]
7950         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
7951         code to...
7952         (ELIDE_LOCK): ...here.
7953         (__get_new_count): New function with part of the code from
7954         __elide_lock that updates the value of adapt_count after a
7955         transaction abort.
7956         (__elided_trylock): Moved this code to...
7957         (ELIDE_TRYLOCK): ...here.
7959 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
7961         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
7962         * configure: Regenerate.
7963         * INSTALL: Regenerate.
7964         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
7965         and tweak grammar.
7967 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
7969         * login/programs/pt_chown.c: Include signal.h
7970         (main): Clear any signal mask from the parent process.
7972 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
7974         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
7975         * configure: Regenerated.
7976         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
7977         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
7978         $(gnu89-inline-CFLAGS).
7980         * configure.ac (libc_cv_asm_weak_directive): Remove configure
7981         test.
7982         (libc_cv_asm_weakext_directive): Likewise.
7983         * configure: Regenerated.
7984         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
7985         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
7986         * include/libc-symbols.h
7987         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
7988         #error.
7989         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
7990         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
7992         * sysdeps/arm/backtrace.c (__backtrace): Convert to
7993         prototype-style function definition.
7994         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
7995         * sysdeps/i386/ffs.c (__ffs): Likewise.
7996         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
7997         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
7998         Likewise.
7999         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
8000         Likewise.
8001         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
8002         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
8003         Likewise.
8004         * sysdeps/m68k/ffs.c (__ffs): Likewise.
8005         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
8006         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
8007         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
8008         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
8009         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
8010         * sysdeps/mach/hurd/access.c (__access): Likewise.
8011         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
8012         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
8013         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
8014         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
8015         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
8016         (cthread_getspecific): Likewise.
8017         (cthread_setspecific): Likewise.
8018         (__libc_getspecific): Likewise.
8019         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
8020         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
8021         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
8022         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
8023         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
8024         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
8025         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
8026         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
8027         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
8028         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
8029         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
8030         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
8031         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
8032         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
8033         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
8034         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
8035         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
8036         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
8037         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
8038         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
8039         * sysdeps/mach/hurd/link.c (__link): Likewise.
8040         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
8041         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
8042         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
8043         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
8044         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
8045         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
8046         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
8047         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
8048         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
8049         * sysdeps/mach/hurd/rename.c (rename): Likewise.
8050         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
8051         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
8052         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
8053         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
8054         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
8055         * sysdeps/mach/hurd/send.c (__send): Likewise.
8056         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
8057         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
8058         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
8059         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
8060         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
8061         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
8062         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
8063         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
8064         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
8065         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
8066         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
8067         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
8068         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
8069         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
8070         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
8071         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
8072         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
8073         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
8074         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
8075         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
8076         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
8077         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
8078         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
8079         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
8080         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
8081         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
8082         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
8083         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
8084         * sysdeps/posix/alarm.c (alarm): Likewise.
8085         * sysdeps/posix/cuserid.c (cuserid): Likewise.
8086         * sysdeps/posix/dirfd.c (dirfd): Likewise.
8087         * sysdeps/posix/dup.c (__dup): Likewise.
8088         * sysdeps/posix/dup2.c (__dup2): Likewise.
8089         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
8090         (main): Likewise.
8091         * sysdeps/posix/flock.c (__flock): Likewise.
8092         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
8093         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
8094         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
8095         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
8096         * sysdeps/posix/isatty.c (__isatty): Likewise.
8097         * sysdeps/posix/killpg.c (killpg): Likewise.
8098         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
8099         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
8100         * sysdeps/posix/raise.c (raise): Likewise.
8101         * sysdeps/posix/remove.c (remove): Likewise.
8102         * sysdeps/posix/rename.c (rename): Likewise.
8103         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
8104         * sysdeps/posix/seekdir.c (seekdir): Likewise.
8105         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
8106         * sysdeps/posix/sigignore.c (sigignore): Likewise.
8107         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
8108         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
8109         * sysdeps/posix/sigset.c (sigset): Likewise.
8110         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
8111         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
8112         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
8113         * sysdeps/posix/time.c (time): Likewise.
8114         * sysdeps/posix/ttyname.c (getttyname): Likewise.
8115         (ttyname): Likewise.
8116         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
8117         * sysdeps/posix/utime.c (utime): Likewise.
8118         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
8119         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
8120         Likewise.
8121         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
8122         (pthread_spin_trylock): Likewise.
8123         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
8124         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
8125         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
8126         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
8127         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
8128         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
8129         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
8130         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
8131         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
8132         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
8133         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
8134         * sysdeps/s390/ffs.c (__ffs): Likewise.
8135         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
8136         Likewise.
8137         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
8138         Likewise.
8139         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
8140         Likewise.
8141         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
8142         (pthread_barrier_destroy): Likewise.
8143         * sysdeps/sparc/nptl/pthread_barrier_wait.c
8144         (__pthread_barrier_wait): Likewise.
8145         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
8146         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
8147         (__pthread_barrier_wait): Likewise.
8148         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
8149         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
8150         (memcmp_not_common_alignment): Likewise.
8151         (MEMCMP): Likewise.
8152         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
8153         (_wordcopy_fwd_dest_aligned): Likewise.
8154         (_wordcopy_bwd_aligned): Likewise.
8155         (_wordcopy_bwd_dest_aligned): Likewise.
8156         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
8157         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
8158         * sysdeps/unix/bsd/stty.c (stty): Likewise.
8159         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
8160         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
8161         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
8162         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
8163         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
8164         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
8165         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
8166         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
8167         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
8168         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
8169         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
8170         * sysdeps/unix/stime.c (stime): Likewise.
8171         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
8172         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
8173         Likewise.  Use internal_function.
8174         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
8175         Convert to prototype-style function definition.
8176         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8177         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8178         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
8179         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8180         Likewise.  Use internal_function.
8181         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
8182         prototype-style function definition
8183         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8184         Likewise.
8185         (__getlogin_r): Likewise.
8186         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
8187         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
8188         (__pthread_cond_broadcast): Likewise.
8189         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
8190         (__pthread_cond_destroy): Likewise.
8191         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
8192         (__pthread_cond_init): Likewise.
8193         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
8194         (__pthread_cond_signal): Likewise.
8195         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
8196         (__pthread_cond_wait): Likewise.
8197         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
8198         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
8199         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
8200         Likewise.
8201         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
8202         Likewise.
8203         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
8204         Likewise.
8205         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
8206         Likewise.
8207         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
8208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
8209         (__ftruncate64): Likewise.
8210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
8211         (truncate64): Likewise.
8212         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
8213         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
8214         (pthread_getcpuclockid): Likewise.
8215         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
8216         Likewise.
8217         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
8218         Likewise.
8219         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
8220         Likewise.
8221         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
8222         Likewise.
8223         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
8224         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
8225         (__libc_sigaction): Likewise.
8226         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
8227         Likewise.
8228         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
8229         (__sigprocmask): Likewise.
8230         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
8231         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
8232         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
8233         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
8234         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8235         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
8236         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8237         Likewise.
8238         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
8239         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
8240         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8241         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
8242         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
8243         Likewise.
8244         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
8245         (__sigprocmask): Likewise.
8246         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
8247         (cfgetispeed): Likewise.
8248         (cfsetospeed): Likewise.
8249         (cfsetispeed): Likewise.
8250         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
8251         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
8252         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8253         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
8254         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
8255         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
8256         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
8257         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
8258         Likewise.
8259         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
8260         Likewise.
8261         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
8262         Likewise.
8263         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
8264         Likewise.
8265         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
8267 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8269         sunrpc: Rewrite with explicit TLS access using __thread.
8270         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
8271         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
8272         directly.
8273         (__rpc_thread_variables): Access thread_rpc_vars directly.
8274         Eliminate redundant assignment of the tvp variable.
8276 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8278         malloc: Rewrite with explicit TLS access using __thread.
8279         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
8280         (tsd_setspecific, tsd_getspecific): Remove.
8281         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
8282         (tsd_setspecific, tsd_getspecific): Likewise.
8283         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
8284         (tsd_setspecific, tsd_getspecific): Likewise.
8285         * malloc/arena.c (thread_arena): New TLS variable.
8286         (arena_key): Remove variable.
8287         (arena_get): Use thread_arena.
8288         (arena_lookup): Remove macro.
8289         (malloc_atfork, free_atfork, ptmalloc_lock_all)
8290         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
8291         (_int_new_arena, get_free_list, reused_arena)
8292         (arena_thread_freeres): Use thread_arena.
8293         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
8294         tsd_getspecific, tsd_setspecific from safety annotations.
8295         (Allocating Cleared Space): Remove arena_lookup from safety
8296         annotations.
8298 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8300         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
8301         struct scratch_buffer instead of extend_alloca.
8303 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8305         * sysdeps/unix/sysv/linux/kernel-features.h
8306         (__ASSUME_SOCK_CLOEXEC): Remove.
8307         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
8308         (__have_paccept): Remove unused macro.
8309         * include/unistd.h (__have_sock_cloexec): Remove declaration.
8310         * misc/syslog.c (openlog_internal): Remove fallback code for
8311         !__ASSUME_SOCK_CLOEXEC.
8312         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
8313         missing SOCK_CLOEXEC.
8314         * nscd/connections.c (have_sock_cloexec): Remove definition.
8315         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
8316         * nscd/nscd_helper.c (open_socket): Remove fallback code for
8317         !__ASSUME_SOCK_CLOEXEC.
8318         * resolv/res_send.c (__have_o_nonblock): Remove definition.
8319         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
8320         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
8321         definition.
8322         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
8323         code for !__ASSUME_SOCK_CLOEXEC.
8325 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8327         [BZ #18982]
8328         * manual/stdio.texi (Variable Arguments Output): Add portability
8329         note, explaining that vfprintf clobbers the va_list pointer.
8331 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
8333         * math/libm-test.inc (fabs_test_data): Add more tests.
8334         (fdim_test_data): Likewise.
8335         (fma_test_data): Likewise.
8336         (fmax_test_data): Likewise.
8337         (fmin_test_data): Likewise.
8338         (fmod_test_data): Likewise.
8340 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
8342         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
8343         data.
8345 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
8347         * math/libm-test.inc (ceil_test_data): Add more tests and more
8348         expectations for "inexact".
8349         (floor_test_data): Add more tests.
8350         (round_test_data): Likewise.
8351         (trunc_test_data): Likewise.
8353         * crypt/cert.c (good_bye): Convert to prototype-style function
8354         definition.
8355         (get8): Likewise.
8356         (put8): Likewise.
8357         * crypt/crypt-entry.c (crypt): Likewise.
8358         (__fcrypt): Likewise.
8359         * crypt/crypt_util.c (_ufc_prbits): Likewise.
8360         (_ufc_set_bits): Likewise.
8361         (_ufc_clearmem): Likewise.
8362         (__init_des_r): Likewise.
8363         (shuffle_sb): Likewise.
8364         (shuffle_sb): Likewise.
8365         (_ufc_setup_salt_r): Likewise.
8366         (_ufc_mk_keytab_r): Likewise.
8367         (_ufc_dofinalperm_r): Likewise.
8368         (encrypt): Likewise.
8369         (__setkey_r): Likewise.
8370         (setkey): Likewise.
8371         * crypt/md5.c (md5_init_ctx): Likewise.
8372         (md5_read_ctx): Likewise.
8373         (md5_finish_ctx): Likewise.
8374         (md5_stream): Likewise.
8375         (md5_buffer): Likewise.
8376         (md5_process_bytes): Likewise.
8377         * crypt/sha256.c (__sha256_init_ctx): Likewise.
8378         (__sha256_finish_ctx): Likewise.
8379         (__sha256_process_bytes): Likewise.
8380         * crypt/sha512.c (__sha512_init_ctx): Likewise.
8381         (__sha512_finish_ctx): Likewise.
8382         (__sha512_process_bytes): Likewise.
8383         * ctype/isctype.c (__isctype): Likewise.
8384         * debug/backtrace.c (__backtrace): Likewise.
8385         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
8386         * debug/fgets_chk.c (__fgets_chk): Likewise.
8387         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
8388         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
8389         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
8390         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
8391         * debug/memset_chk.c (__memset_chk): Likewise.
8392         * debug/strcat_chk.c (__strcat_chk): Likewise.
8393         * debug/strncat_chk.c (__strncat_chk): Likewise.
8394         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
8395         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
8396         * dirent/dirfd.c (dirfd): Likewise.
8397         * dirent/getdents.c (__getdirentries): Likewise.
8398         * dirent/getdents64.c (getdirentries64): Likewise.
8399         * dirent/rewinddir.c (__rewinddir): Likewise.
8400         * dirent/seekdir.c (seekdir): Likewise.
8401         * dirent/telldir.c (telldir): Likewise.
8402         * elf/sln.c (makesymlinks): Likewise.
8403         (makesymlink): Likewise.
8404         * gmon/gmon.c (__moncontrol): Likewise.
8405         (__monstartup): Likewise.
8406         (write_hist): Likewise.
8407         (write_call_graph): Likewise.
8408         (write_bb_counts): Likewise.
8409         * grp/setgroups.c (setgroups): Likewise.
8410         * inet/inet_lnaof.c (inet_lnaof): Likewise.
8411         * inet/inet_net.c (inet_network): Likewise.
8412         * inet/inet_netof.c (inet_netof): Likewise.
8413         * inet/rcmd.c (rresvport_af): Likewise.
8414         (rresvport): Likewise.
8415         * io/access.c (__access): Likewise.
8416         * io/chdir.c (__chdir): Likewise.
8417         * io/chmod.c (__chmod): Likewise.
8418         * io/chown.c (__chown): Likewise.
8419         * io/close.c (__close): Likewise.
8420         * io/creat.c (creat): Likewise.
8421         * io/creat64.c (creat64): Likewise.
8422         * io/dup.c (__dup): Likewise.
8423         * io/dup2.c (__dup2): Likewise.
8424         * io/dup3.c (__dup3): Likewise.
8425         * io/euidaccess.c (__euidaccess): Likewise.
8426         * io/faccessat.c (faccessat): Likewise.
8427         * io/fchmod.c (__fchmod): Likewise.
8428         * io/fchmodat.c (fchmodat): Likewise.
8429         * io/fchown.c (__fchown): Likewise.
8430         * io/fchownat.c (fchownat): Likewise.
8431         * io/fcntl.c (__fcntl): Likewise.
8432         * io/flock.c (__flock): Likewise.
8433         * io/fts.c (fts_load): Likewise.
8434         (fts_close): Likewise.
8435         (fts_read): Likewise.
8436         (fts_set): Likewise.
8437         (fts_children): Likewise.
8438         (fts_build): Likewise.
8439         (fts_stat): Likewise.
8440         (fts_sort): Likewise.
8441         (fts_alloc): Likewise.
8442         (fts_lfree): Likewise.
8443         (fts_palloc): Likewise.
8444         (fts_padjust): Likewise.
8445         (fts_maxarglen): Likewise.
8446         (fts_safe_changedir): Likewise.
8447         * io/getwd.c (getwd): Likewise.
8448         * io/isatty.c (__isatty): Likewise.
8449         * io/lchown.c (__lchown): Likewise.
8450         * io/link.c (__link): Likewise.
8451         * io/linkat.c (linkat): Likewise.
8452         * io/lseek.c (__libc_lseek): Likewise.
8453         * io/mkdir.c (__mkdir): Likewise.
8454         * io/mkdirat.c (mkdirat): Likewise.
8455         * io/mkfifo.c (mkfifo): Likewise.
8456         * io/mkfifoat.c (mkfifoat): Likewise.
8457         * io/open.c (__libc_open): Likewise.
8458         * io/open64.c (__libc_open64): Likewise.
8459         * io/readlink.c (__readlink): Likewise.
8460         * io/readlinkat.c (readlinkat): Likewise.
8461         * io/rmdir.c (__rmdir): Likewise.
8462         * io/symlink.c (__symlink): Likewise.
8463         * io/symlinkat.c (symlinkat): Likewise.
8464         * io/ttyname.c (ttyname): Likewise.
8465         * io/ttyname_r.c (__ttyname_r): Likewise.
8466         * io/umask.c (__umask): Likewise.
8467         * io/unlink.c (__unlink): Likewise.
8468         * io/unlinkat.c (unlinkat): Likewise.
8469         * io/utime.c (utime): Likewise.
8470         * libio/clearerr.c (clearerr): Likewise.
8471         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
8472         * libio/feof.c (_IO_feof): Likewise.
8473         * libio/feof_u.c (feof_unlocked): Likewise.
8474         * libio/ferror.c (_IO_ferror): Likewise.
8475         * libio/ferror_u.c (ferror_unlocked): Likewise.
8476         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8477         * libio/fileno.c (__fileno): Likewise.
8478         * libio/fputc.c (fputc): Likewise.
8479         * libio/fputc_u.c (fputc_unlocked): Likewise.
8480         * libio/fputwc.c (fputwc): Likewise.
8481         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
8482         * libio/freopen.c (freopen): Likewise.
8483         * libio/freopen64.c (freopen64): Likewise.
8484         * libio/fseek.c (fseek): Likewise.
8485         * libio/fseeko.c (fseeko): Likewise.
8486         * libio/fseeko64.c (fseeko64): Likewise.
8487         * libio/ftello.c (__ftello): Likewise.
8488         * libio/ftello64.c (ftello64): Likewise.
8489         * libio/fwide.c (fwide): Likewise.
8490         * libio/genops.c (_IO_un_link): Likewise.
8491         (_IO_link_in): Likewise.
8492         (_IO_least_marker): Likewise.
8493         (_IO_switch_to_main_get_area): Likewise.
8494         (_IO_switch_to_backup_area): Likewise.
8495         (_IO_switch_to_get_mode): Likewise.
8496         (_IO_free_backup_area): Likewise.
8497         (_IO_switch_to_put_mode): Likewise.
8498         (__overflow): Likewise.
8499         (__underflow): Likewise.
8500         (__uflow): Likewise.
8501         (_IO_setb): Likewise.
8502         (_IO_doallocbuf): Likewise.
8503         (_IO_default_underflow): Likewise.
8504         (_IO_default_uflow): Likewise.
8505         (_IO_default_xsputn): Likewise.
8506         (_IO_sgetn): Likewise.
8507         (_IO_default_xsgetn): Likewise.
8508         (_IO_sync): Likewise.
8509         (_IO_default_setbuf): Likewise.
8510         (_IO_default_seekpos): Likewise.
8511         (_IO_default_doallocate): Likewise.
8512         (_IO_init): Likewise.
8513         (_IO_old_init): Likewise.
8514         (_IO_default_sync): Likewise.
8515         (_IO_default_finish): Likewise.
8516         (_IO_default_seekoff): Likewise.
8517         (_IO_sputbackc): Likewise.
8518         (_IO_sungetc): Likewise.
8519         (_IO_set_column): Likewise.
8520         (_IO_set_column): Likewise.
8521         (_IO_adjust_column): Likewise.
8522         (_IO_get_column): Likewise.
8523         (_IO_init_marker): Likewise.
8524         (_IO_remove_marker): Likewise.
8525         (_IO_marker_difference): Likewise.
8526         (_IO_marker_delta): Likewise.
8527         (_IO_seekmark): Likewise.
8528         (_IO_unsave_markers): Likewise.
8529         (_IO_nobackup_pbackfail): Likewise.
8530         (_IO_default_pbackfail): Likewise.
8531         (_IO_default_seek): Likewise.
8532         (_IO_default_stat): Likewise.
8533         (_IO_default_read): Likewise.
8534         (_IO_default_write): Likewise.
8535         (_IO_default_showmanyc): Likewise.
8536         (_IO_default_imbue): Likewise.
8537         (_IO_iter_next): Likewise.
8538         (_IO_iter_file): Likewise.
8539         * libio/getc.c (_IO_getc): Likewise.
8540         * libio/getwc.c (_IO_getwc): Likewise.
8541         * libio/iofclose.c (_IO_new_fclose): Likewise.
8542         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
8543         * libio/iofflush.c (_IO_fflush): Likewise.
8544         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
8545         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
8546         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
8547         * libio/iofgets.c (_IO_fgets): Likewise.
8548         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
8549         * libio/iofgetws.c (fgetws): Likewise.
8550         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8551         * libio/iofopen64.c (_IO_fopen64): Likewise.
8552         * libio/iofopncook.c (_IO_cookie_read): Likewise.
8553         (_IO_cookie_write): Likewise.
8554         (_IO_cookie_seek): Likewise.
8555         (_IO_cookie_close): Likewise.
8556         (_IO_cookie_seekoff): Likewise.
8557         (_IO_old_cookie_seek): Likewise.
8558         * libio/iofputs.c (_IO_fputs): Likewise.
8559         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
8560         * libio/iofputws.c (fputws): Likewise.
8561         * libio/iofputws_u.c (fputws_unlocked): Likewise.
8562         * libio/iofread.c (_IO_fread): Likewise.
8563         * libio/iofread_u.c (__fread_unlocked): Likewise.
8564         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
8565         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
8566         * libio/ioftell.c (_IO_ftell): Likewise.
8567         * libio/iofwrite.c (_IO_fwrite): Likewise.
8568         * libio/iogetdelim.c (_IO_getdelim): Likewise.
8569         * libio/iogets.c (_IO_gets): Likewise.
8570         * libio/iopadn.c (_IO_padn): Likewise.
8571         * libio/iopopen.c (_IO_new_proc_open): Likewise.
8572         (_IO_new_popen): Likewise.
8573         (_IO_new_proc_close): Likewise.
8574         * libio/ioputs.c (_IO_puts): Likewise.
8575         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
8576         (_IO_seekoff): Likewise.
8577         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
8578         (_IO_seekpos): Likewise.
8579         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
8580         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
8581         * libio/ioungetc.c (_IO_ungetc): Likewise.
8582         * libio/ioungetwc.c (ungetwc): Likewise.
8583         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
8584         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
8585         * libio/iowpadn.c (_IO_wpadn): Likewise.
8586         * libio/libc_fatal.c (__libc_fatal): Likewise.
8587         * libio/memstream.c (__open_memstream): Likewise.
8588         (_IO_mem_sync): Likewise.
8589         (_IO_mem_finish): Likewise.
8590         * libio/oldfileops.c (_IO_old_file_init): Likewise.
8591         (_IO_old_file_close_it): Likewise.
8592         (_IO_old_file_finish): Likewise.
8593         (_IO_old_file_fopen): Likewise.
8594         (_IO_old_file_attach): Likewise.
8595         (_IO_old_file_setbuf): Likewise.
8596         (_IO_old_do_write): Likewise.
8597         (old_do_write): Likewise.
8598         (_IO_old_file_underflow): Likewise.
8599         (_IO_old_file_overflow): Likewise.
8600         (_IO_old_file_sync): Likewise.
8601         (_IO_old_file_seekoff): Likewise.
8602         (_IO_old_file_write): Likewise.
8603         (_IO_old_file_xsputn): Likewise.
8604         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
8605         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
8606         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
8607         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
8608         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
8609         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
8610         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
8611         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
8612         (_IO_old_popen): Likewise.
8613         (_IO_old_proc_close): Likewise.
8614         * libio/oldpclose.c (__old_pclose): Likewise.
8615         * libio/pclose.c (__new_pclose): Likewise.
8616         * libio/peekc.c (_IO_peekc_locked): Likewise.
8617         * libio/putc.c (_IO_putc): Likewise.
8618         * libio/putc_u.c (putc_unlocked): Likewise.
8619         * libio/putchar.c (putchar): Likewise.
8620         * libio/putchar_u.c (putchar_unlocked): Likewise.
8621         * libio/putwc.c (putwc): Likewise.
8622         * libio/putwc_u.c (putwc_unlocked): Likewise.
8623         * libio/putwchar.c (putwchar): Likewise.
8624         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
8625         * libio/rewind.c (rewind): Likewise.
8626         * libio/setbuf.c (setbuf): Likewise.
8627         * libio/setlinebuf.c (setlinebuf): Likewise.
8628         * libio/vasprintf.c (_IO_vasprintf): Likewise.
8629         * libio/vscanf.c (_IO_vscanf): Likewise.
8630         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
8631         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
8632         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
8633         * libio/wgenops.c (_IO_least_wmarker): Likewise.
8634         (_IO_switch_to_main_wget_area): Likewise.
8635         (_IO_switch_to_wbackup_area): Likewise.
8636         (_IO_wsetb): Likewise.
8637         (_IO_wdefault_pbackfail): Likewise.
8638         (_IO_wdefault_finish): Likewise.
8639         (_IO_wdefault_uflow): Likewise.
8640         (__woverflow): Likewise.
8641         (__wuflow): Likewise.
8642         (__wunderflow): Likewise.
8643         (_IO_wdefault_xsputn): Likewise.
8644         (_IO_wdefault_xsgetn): Likewise.
8645         (_IO_wdoallocbuf): Likewise.
8646         (_IO_wdefault_doallocate): Likewise.
8647         (_IO_switch_to_wget_mode): Likewise.
8648         (_IO_free_wbackup_area): Likewise.
8649         (_IO_switch_to_wput_mode): Likewise.
8650         (_IO_sputbackwc): Likewise.
8651         (_IO_sungetwc): Likewise.
8652         (_IO_adjust_wcolumn): Likewise.
8653         (_IO_init_wmarker): Likewise.
8654         (_IO_wmarker_delta): Likewise.
8655         (_IO_seekwmark): Likewise.
8656         (_IO_unsave_wmarkers): Likewise.
8657         * libio/wmemstream.c (open_wmemstream): Likewise.
8658         (_IO_wmem_sync): Likewise.
8659         (_IO_wmem_finish): Likewise.
8660         * locale/nl_langinfo.c (nl_langinfo): Likewise.
8661         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
8662         * locale/programs/simple-hash.c (init_hash): Likewise.
8663         (delete_hash): Likewise.
8664         (insert_entry): Likewise.
8665         (set_entry): Likewise.
8666         (next_prime): Likewise.
8667         (is_prime): Likewise.
8668         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
8669         (xmalloc): Likewise.
8670         (xrealloc): Likewise.
8671         * locale/programs/xstrdup.c (xstrdup): Likewise.
8672         * localedata/collate-test.c (xstrcoll): Likewise.
8673         * localedata/xfrm-test.c (xstrcmp): Likewise.
8674         * login/getlogin_r.c (__getlogin_r): Likewise.
8675         * login/getpt.c (__posix_openpt): Likewise.
8676         * login/login_tty.c (login_tty): Likewise.
8677         * login/setlogin.c (setlogin): Likewise.
8678         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
8679         (mach_msg_destroy_port): Likewise.
8680         (mach_msg_destroy_memory): Likewise.
8681         * malloc/mcheck.c (flood): Likewise.
8682         * misc/acct.c (acct): Likewise.
8683         * misc/brk.c (__brk): Likewise.
8684         * misc/chflags.c (chflags): Likewise.
8685         * misc/chroot.c (chroot): Likewise.
8686         * misc/fchflags.c (fchflags): Likewise.
8687         * misc/fstab.c (getfsspec): Likewise.
8688         (getfsfile): Likewise.
8689         * misc/fsync.c (fsync): Likewise.
8690         * misc/ftruncate.c (__ftruncate): Likewise.
8691         * misc/ftruncate64.c (__ftruncate64): Likewise.
8692         * misc/getdomain.c (getdomainname): Likewise.
8693         (getdomainname): Likewise.
8694         * misc/gethostname.c (__gethostname): Likewise.
8695         * misc/getpass.c (getpass): Likewise.
8696         * misc/getttyent.c (skip): Likewise.
8697         (value): Likewise.
8698         * misc/gtty.c (gtty): Likewise.
8699         * misc/hsearch.c (hsearch): Likewise.
8700         (hcreate): Likewise.
8701         * misc/hsearch_r.c (__hcreate_r): Likewise.
8702         (__hdestroy_r): Likewise.
8703         * misc/ioctl.c (__ioctl): Likewise.
8704         * misc/mkdtemp.c (mkdtemp): Likewise.
8705         * misc/mkostemp.c (mkostemp): Likewise.
8706         * misc/mkostemp64.c (mkostemp64): Likewise.
8707         * misc/mkostemps.c (mkostemps): Likewise.
8708         * misc/mkostemps64.c (mkostemps64): Likewise.
8709         * misc/mkstemp.c (mkstemp): Likewise.
8710         * misc/mkstemp64.c (mkstemp64): Likewise.
8711         * misc/mkstemps.c (mkstemps): Likewise.
8712         * misc/mkstemps64.c (mkstemps64): Likewise.
8713         * misc/mktemp.c (__mktemp): Likewise.
8714         * misc/preadv.c (preadv): Likewise.
8715         * misc/preadv64.c (preadv64): Likewise.
8716         * misc/pwritev.c (pwritev): Likewise.
8717         * misc/pwritev64.c (pwritev64): Likewise.
8718         * misc/readv.c (__readv): Likewise.
8719         * misc/revoke.c (revoke): Likewise.
8720         * misc/setdomain.c (setdomainname): Likewise.
8721         * misc/setegid.c (setegid): Likewise.
8722         * misc/seteuid.c (seteuid): Likewise.
8723         * misc/sethostid.c (sethostid): Likewise.
8724         * misc/sethostname.c (sethostname): Likewise.
8725         * misc/setregid.c (__setregid): Likewise.
8726         * misc/setreuid.c (__setreuid): Likewise.
8727         * misc/sstk.c (sstk): Likewise.
8728         * misc/stty.c (stty): Likewise.
8729         * misc/syscall.c (syscall): Likewise.
8730         * misc/syslog.c (setlogmask): Likewise.
8731         * misc/truncate.c (__truncate): Likewise.
8732         * misc/truncate64.c (truncate64): Likewise.
8733         * misc/ualarm.c (ualarm): Likewise.
8734         * misc/usleep.c (usleep): Likewise.
8735         * misc/ustat.c (ustat): Likewise.
8736         * misc/writev.c (__writev): Likewise.
8737         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
8738         * nptl/old_pthread_cond_broadcast.c
8739         (__pthread_cond_broadcast_2_0): Likewise.
8740         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
8741         Likewise.
8742         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
8743         Likewise.
8744         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
8745         Likewise.
8746         * nptl/pt-raise.c (raise): Likewise.
8747         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
8748         Likewise.
8749         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
8750         * nptl/pthread_barrierattr_destroy.c
8751         (pthread_barrierattr_destroy): Likewise.
8752         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
8753         Likewise.
8754         * nptl/pthread_barrierattr_setpshared.c
8755         (pthread_barrierattr_setpshared): Likewise.
8756         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
8757         Likewise.
8758         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
8759         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
8760         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
8761         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
8762         Likewise.
8763         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
8764         Likewise.
8765         * nptl/pthread_condattr_getpshared.c
8766         (pthread_condattr_getpshared): Likewise.
8767         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
8768         Likewise.
8769         * nptl/pthread_condattr_setpshared.c
8770         (pthread_condattr_setpshared): Likewise.
8771         * nptl/pthread_detach.c (pthread_detach): Likewise.
8772         * nptl/pthread_equal.c (__pthread_equal): Likewise.
8773         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
8774         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
8775         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
8776         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
8777         Likewise.
8778         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
8779         Likewise.
8780         * nptl/pthread_mutex_getprioceiling.c
8781         (pthread_mutex_getprioceiling): Likewise.
8782         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
8783         Likewise.
8784         * nptl/pthread_mutexattr_getprotocol.c
8785         (pthread_mutexattr_getprotocol): Likewise.
8786         * nptl/pthread_mutexattr_getpshared.c
8787         (pthread_mutexattr_getpshared): Likewise.
8788         * nptl/pthread_mutexattr_getrobust.c
8789         (pthread_mutexattr_getrobust): Likewise.
8790         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
8791         Likewise.
8792         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
8793         Likewise.
8794         * nptl/pthread_mutexattr_setprioceiling.c
8795         (pthread_mutexattr_setprioceiling): Likewise.
8796         * nptl/pthread_mutexattr_setprotocol.c
8797         (pthread_mutexattr_setprotocol): Likewise.
8798         * nptl/pthread_mutexattr_setpshared.c
8799         (pthread_mutexattr_setpshared): Likewise.
8800         * nptl/pthread_mutexattr_setrobust.c
8801         (pthread_mutexattr_setrobust): Likewise.
8802         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
8803         Likewise.
8804         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
8805         Likewise.
8806         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
8807         Likewise.
8808         * nptl/pthread_rwlockattr_getkind_np.c
8809         (pthread_rwlockattr_getkind_np): Likewise.
8810         * nptl/pthread_rwlockattr_getpshared.c
8811         (pthread_rwlockattr_getpshared): Likewise.
8812         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
8813         Likewise.
8814         * nptl/pthread_rwlockattr_setkind_np.c
8815         (pthread_rwlockattr_setkind_np): Likewise.
8816         * nptl/pthread_rwlockattr_setpshared.c
8817         (pthread_rwlockattr_setpshared): Likewise.
8818         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
8819         Likewise.
8820         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
8821         Likewise.
8822         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
8823         Likewise.
8824         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
8825         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
8826         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
8827         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
8828         * nptl/sem_close.c (sem_close): Likewise.
8829         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
8830         * nptl/sem_init.c (__old_sem_init): Likewise.
8831         * nptl/sigaction.c (__sigaction): Likewise.
8832         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
8833         * posix/_exit.c (_exit): Likewise.
8834         * posix/alarm.c (alarm): Likewise.
8835         * posix/confstr.c (confstr): Likewise.
8836         * posix/fpathconf.c (__fpathconf): Likewise.
8837         * posix/getgroups.c (__getgroups): Likewise.
8838         * posix/getpgid.c (__getpgid): Likewise.
8839         * posix/group_member.c (__group_member): Likewise.
8840         * posix/pathconf.c (__pathconf): Likewise.
8841         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
8842         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
8843         * posix/setgid.c (__setgid): Likewise.
8844         * posix/setpgid.c (__setpgid): Likewise.
8845         * posix/setuid.c (__setuid): Likewise.
8846         * posix/sleep.c (__sleep): Likewise.
8847         * posix/sysconf.c (__sysconf): Likewise.
8848         * posix/times.c (__times): Likewise.
8849         * posix/uname.c (__uname): Likewise.
8850         * posix/waitid.c (__waitid): Likewise.
8851         * pwd/getpw.c (__getpw): Likewise.
8852         * resolv/base64.c (b64_pton): Likewise.
8853         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
8854         * resolv/gethnamaddr.c (Dprintf): Likewise.
8855         (gethostbyname): Likewise.
8856         (gethostbyname2): Likewise.
8857         (gethostbyaddr): Likewise.
8858         (_sethtent): Likewise.
8859         (_gethtbyname): Likewise.
8860         (_gethtbyname2): Likewise.
8861         (_gethtbyaddr): Likewise.
8862         (map_v4v6_address): Likewise.
8863         (map_v4v6_hostent): Likewise.
8864         (addrsort): Likewise.
8865         (ht_sethostent): Likewise.
8866         (ht_gethostbyname): Likewise.
8867         (ht_gethostbyaddr): Likewise.
8868         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
8869         (inet_net_ntop_ipv4): Likewise.
8870         * resolv/inet_neta.c (inet_neta): Likewise.
8871         * resolv/inet_ntop.c (inet_ntop): Likewise.
8872         (inet_ntop4): Likewise.
8873         (inet_ntop6): Likewise.
8874         * resolv/inet_pton.c (__inet_pton): Likewise.
8875         (inet_pton4): Likewise.
8876         (inet_pton6): Likewise.
8877         * resolv/res_debug.c (loc_aton): Likewise.
8878         (loc_ntoa): Likewise.
8879         * resource/getpriority.c (__getpriority): Likewise.
8880         * resource/getrusage.c (__getrusage): Likewise.
8881         * resource/nice.c (nice): Likewise.
8882         * resource/setpriority.c (__setpriority): Likewise.
8883         * resource/setrlimit64.c (setrlimit64): Likewise.
8884         * resource/vlimit.c (vlimit): Likewise.
8885         * resource/vtimes.c (vtimes): Likewise.
8886         * rt/aio_error.c (aio_error): Likewise.
8887         * rt/aio_return.c (aio_return): Likewise.
8888         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
8889         * signal/kill.c (__kill): Likewise.
8890         * signal/killpg.c (killpg): Likewise.
8891         * signal/raise.c (raise): Likewise.
8892         * signal/sigaction.c (__sigaction): Likewise.
8893         * signal/sigaddset.c (sigaddset): Likewise.
8894         * signal/sigaltstack.c (sigaltstack): Likewise.
8895         * signal/sigandset.c (sigandset): Likewise.
8896         * signal/sigblock.c (__sigblock): Likewise.
8897         * signal/sigdelset.c (sigdelset): Likewise.
8898         * signal/sigempty.c (sigemptyset): Likewise.
8899         * signal/sigfillset.c (sigfillset): Likewise.
8900         * signal/sighold.c (sighold): Likewise.
8901         * signal/sigignore.c (sigignore): Likewise.
8902         * signal/sigintr.c (siginterrupt): Likewise.
8903         * signal/sigisempty.c (sigisemptyset): Likewise.
8904         * signal/sigismem.c (sigismember): Likewise.
8905         * signal/signal.c (signal): Likewise.
8906         * signal/sigorset.c (sigorset): Likewise.
8907         * signal/sigpause.c (__sigpause): Likewise.
8908         * signal/sigpending.c (sigpending): Likewise.
8909         * signal/sigprocmask.c (__sigprocmask): Likewise.
8910         * signal/sigrelse.c (sigrelse): Likewise.
8911         * signal/sigreturn.c (__sigreturn): Likewise.
8912         * signal/sigset.c (sigset): Likewise.
8913         * signal/sigsetmask.c (__sigsetmask): Likewise.
8914         * signal/sigstack.c (sigstack): Likewise.
8915         * signal/sigsuspend.c (__sigsuspend): Likewise.
8916         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
8917         * signal/sysv_signal.c (__sysv_signal): Likewise.
8918         * socket/accept.c (accept): Likewise.
8919         * socket/accept4.c (__libc_accept4): Likewise.
8920         * socket/bind.c (__bind): Likewise.
8921         * socket/connect.c (__connect): Likewise.
8922         * socket/getpeername.c (getpeername): Likewise.
8923         * socket/getsockname.c (__getsockname): Likewise.
8924         * socket/getsockopt.c (getsockopt): Likewise.
8925         * socket/listen.c (__listen): Likewise.
8926         * socket/recv.c (__recv): Likewise.
8927         * socket/recvmsg.c (__recvmsg): Likewise.
8928         * socket/send.c (__send): Likewise.
8929         * socket/sendmsg.c (__sendmsg): Likewise.
8930         * socket/shutdown.c (shutdown): Likewise.
8931         * socket/sockatmark.c (sockatmark): Likewise.
8932         * socket/socket.c (__socket): Likewise.
8933         * stdio-common/ctermid.c (ctermid): Likewise.
8934         * stdio-common/cuserid.c (cuserid): Likewise.
8935         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
8936         * stdio-common/remove.c (remove): Likewise.
8937         * stdio-common/rename.c (rename): Likewise.
8938         * stdio-common/renameat.c (renameat): Likewise.
8939         * stdio-common/tempname.c (__gen_tempname): Likewise.
8940         * stdio-common/xbug.c (InitBuffer): Likewise.
8941         (AppendToBuffer): Likewise.
8942         (ReadFile): Likewise.
8943         * stdlib/a64l.c (a64l): Likewise.
8944         * stdlib/drand48_r.c (drand48_r): Likewise.
8945         * stdlib/getcontext.c (getcontext): Likewise.
8946         * stdlib/getenv.c (getenv): Likewise.
8947         * stdlib/l64a.c (l64a): Likewise.
8948         * stdlib/llabs.c (llabs): Likewise.
8949         * stdlib/lldiv.c (lldiv): Likewise.
8950         * stdlib/lrand48_r.c (lrand48_r): Likewise.
8951         * stdlib/mrand48_r.c (mrand48_r): Likewise.
8952         * stdlib/putenv.c (putenv): Likewise.
8953         * stdlib/random.c (__srandom): Likewise.
8954         (__initstate): Likewise.
8955         (__setstate): Likewise.
8956         * stdlib/random_r.c (__srandom_r): Likewise.
8957         (__setstate_r): Likewise.
8958         (__random_r): Likewise.
8959         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
8960         * stdlib/setcontext.c (setcontext): Likewise.
8961         * stdlib/setenv.c (setenv): Likewise.
8962         (unsetenv): Likewise.
8963         * stdlib/srand48.c (srand48): Likewise.
8964         * stdlib/srand48_r.c (__srand48_r): Likewise.
8965         * stdlib/swapcontext.c (swapcontext): Likewise.
8966         * stdlib/system.c (__libc_system): Likewise.
8967         * stdlib/tst-strtod.c (expand): Likewise.
8968         * stdlib/tst-strtol.c (expand): Likewise.
8969         * stdlib/tst-strtoll.c (expand): Likewise.
8970         * streams/fattach.c (fattach): Likewise.
8971         * streams/fdetach.c (fdetach): Likewise.
8972         * streams/getmsg.c (getmsg): Likewise.
8973         * streams/isastream.c (isastream): Likewise.
8974         * string/ffs.c (__ffs): Likewise.
8975         * string/ffsll.c (ffsll): Likewise.
8976         * string/memcmp.c (memcmp_common_alignment): Likewise.
8977         (memcmp_not_common_alignment): Likewise.
8978         (MEMCMP): Likewise.
8979         * string/memcpy.c (memcpy): Likewise.
8980         * string/memmove.c (MEMMOVE): Likewise.
8981         * string/memset.c (memset): Likewise.
8982         * string/rawmemchr.c (RAWMEMCHR): Likewise.
8983         * string/strchrnul.c (STRCHRNUL): Likewise.
8984         * string/strerror.c (strerror): Likewise.
8985         * string/strndup.c (__strndup): Likewise.
8986         * string/strverscmp.c (__strverscmp): Likewise.
8987         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
8988         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
8989         (clnttcp_freeres): Likewise.
8990         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
8991         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
8992         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
8993         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
8994         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
8995         (xdr_callhdr): Likewise.
8996         * sunrpc/rpcinfo.c (udpping): Likewise.
8997         (tcpping): Likewise.
8998         (pstatus): Likewise.
8999         (pmapdump): Likewise.
9000         (brdcst): Likewise.
9001         (deletereg): Likewise.
9002         (getprognum): Likewise.
9003         (getvers): Likewise.
9004         (get_inet_address): Likewise.
9005         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
9006         * sunrpc/svc_udp.c (svcudp_create): Likewise.
9007         (svcudp_stat): Likewise.
9008         (svcudp_recv): Likewise.
9009         (svcudp_reply): Likewise.
9010         (svcudp_getargs): Likewise.
9011         (svcudp_freeargs): Likewise.
9012         (svcudp_destroy): Likewise.
9013         * sunrpc/xdr.c (xdr_bytes): Likewise.
9014         (xdr_netobj): Likewise.
9015         (xdr_string): Likewise.
9016         (xdr_wrapstring): Likewise.
9017         * sunrpc/xdr_float.c (xdr_float): Likewise.
9018         (xdr_double): Likewise.
9019         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
9020         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
9021         * sysvipc/ftok.c (ftok): Likewise.
9022         * sysvipc/msgctl.c (msgctl): Likewise.
9023         * sysvipc/msgget.c (msgget): Likewise.
9024         * sysvipc/msgrcv.c (msgrcv): Likewise.
9025         * sysvipc/msgsnd.c (msgsnd): Likewise.
9026         * sysvipc/semget.c (semget): Likewise.
9027         * sysvipc/semop.c (semop): Likewise.
9028         * sysvipc/shmat.c (shmat): Likewise.
9029         * sysvipc/shmctl.c (shmctl): Likewise.
9030         * sysvipc/shmdt.c (shmdt): Likewise.
9031         * sysvipc/shmget.c (shmget): Likewise.
9032         * termios/cfmakeraw.c (cfmakeraw): Likewise.
9033         * termios/speed.c (cfgetospeed): Likewise.
9034         (cfgetispeed): Likewise.
9035         (cfsetospeed): Likewise.
9036         (cfsetispeed): Likewise.
9037         * termios/tcflow.c (tcflow): Likewise.
9038         * termios/tcflush.c (tcflush): Likewise.
9039         * termios/tcgetattr.c (__tcgetattr): Likewise.
9040         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
9041         * termios/tcgetsid.c (tcgetsid): Likewise.
9042         * termios/tcsendbrk.c (tcsendbreak): Likewise.
9043         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
9044         * time/adjtime.c (__adjtime): Likewise.
9045         * time/dysize.c (dysize): Likewise.
9046         * time/ftime.c (ftime): Likewise.
9047         * time/getitimer.c (__getitimer): Likewise.
9048         * time/gettimeofday.c (__gettimeofday): Likewise.
9049         * time/gmtime.c (__gmtime_r): Likewise.
9050         (gmtime): Likewise.
9051         * time/localtime.c (__localtime_r): Likewise.
9052         (localtime): Likewise.
9053         * time/offtime.c (__offtime): Likewise.
9054         * time/settimeofday.c (__settimeofday): Likewise.
9055         * time/stime.c (stime): Likewise.
9056         * time/strftime_l.c (tm_diff): Likewise.
9057         (iso_week_days): Likewise.
9058         * time/strptime.c (strptime): Likewise.
9059         * time/time.c (time): Likewise.
9060         * time/timespec_get.c (timespec_get): Likewise.
9061         * time/tzset.c (tzset_internal): Likewise.
9062         (compute_change): Likewise.
9063         (__tz_compute): Likewise.
9064         * wcsmbs/btowc.c (__btowc): Likewise.
9065         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
9066         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
9067         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
9068         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
9069         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
9070         * wcsmbs/wcscat.c (__wcscat): Likewise.
9071         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
9072         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
9073         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
9074         * wcsmbs/wcscspn.c (wcscspn): Likewise.
9075         * wcsmbs/wcsdup.c (wcsdup): Likewise.
9076         * wcsmbs/wcslen.c (__wcslen): Likewise.
9077         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
9078         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
9079         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
9080         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
9081         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
9082         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
9083         * wcsmbs/wcsspn.c (wcsspn): Likewise.
9084         * wcsmbs/wcsstr.c (wcsstr): Likewise.
9085         * wcsmbs/wcstok.c (wcstok): Likewise.
9086         * wcsmbs/wctob.c (wctob): Likewise.
9087         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
9088         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9089         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
9090         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
9091         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
9092         * wcsmbs/wmemset.c (__wmemset): Likewise.
9093         * wctype/wcfuncs.c (__towlower): Likewise.
9094         (__towupper): Likewise.
9096         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
9097         (lll_unlock_elision): Add adapt_count parameter.
9099 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
9101         * sysdeps/nptl/configure.ac: Do not give errors based on the
9102         results of top-level configure tests.
9103         * sysdeps/nptl/configure: Regenerated.
9105         * configure.ac (libc_cv_Bgroup): Remove configure test.
9106         * configure: Regenerated.
9107         * config.make.in (have-Bgroup): Remove variable.
9109         * configure.ac (sizeof_long_double): Remove configure test.
9110         * configure: Regenerated.
9111         * config.make.in (sizeof-long-double): Remove variable.
9113         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
9114         * configure: Regenerated.
9115         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
9116         variable.
9117         (exceptions): Likewise.
9118         * sysdeps/arm/configure: Regenerated.
9119         * config.make.in (exceptions): Remove variable.
9120         * Makeconfig (uses-callbacks): Use -fexceptions instead of
9121         $(exceptions).
9122         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
9123         (CFLAGS-vdprintf_chk.c): Likewise.
9124         (CFLAGS-printf_chk.c): Likewise.
9125         (CFLAGS-fprintf_chk.c): Likewise.
9126         (CFLAGS-vprintf_chk.c): Likewise.
9127         (CFLAGS-vfprintf_chk.c): Likewise.
9128         (CFLAGS-gets_chk.c): Likewise.
9129         (CFLAGS-fgets_chk.c): Likewise.
9130         (CFLAGS-fgets_u_chk.c): Likewise.
9131         (CFLAGS-fread_chk.c): Likewise.
9132         (CFLAGS-fread_u_chk.c): Likewise.
9133         (CFLAGS-wprintf_chk.c): Likewise.
9134         (CFLAGS-fwprintf_chk.c): Likewise.
9135         (CFLAGS-vwprintf_chk.c): Likewise.
9136         (CFLAGS-vfwprintf_chk.c): Likewise.
9137         (CFLAGS-fgetws_chk.c): Likewise.
9138         (CFLAGS-fgetws_u_chk.c): Likewise.
9139         * libio/Makefile (CFLAGS-fileops.c): Likewise.
9140         (CFLAGS-fputc.c): Likewise.
9141         (CFLAGS-fputwc.c): Likewise.
9142         (CFLAGS-freopen64.c): Likewise.
9143         (CFLAGS-freopen.c): Likewise.
9144         (CFLAGS-fseek.c): Likewise.
9145         (CFLAGS-fseeko64.c): Likewise.
9146         (CFLAGS-fseeko.c): Likewise.
9147         (CFLAGS-ftello64.c): Likewise.
9148         (CFLAGS-ftello.c): Likewise.
9149         (CFLAGS-fwide.c): Likewise.
9150         (CFLAGS-genops.c): Likewise.
9151         (CFLAGS-getc.c): Likewise.
9152         (CFLAGS-getchar.c): Likewise.
9153         (CFLAGS-getwc.c): Likewise.
9154         (CFLAGS-getwchar.c): Likewise.
9155         (CFLAGS-iofclose.c): Likewise.
9156         (CFLAGS-iofflush.c): Likewise.
9157         (CFLAGS-iofgetpos64.c): Likewise.
9158         (CFLAGS-iofgetpos.c): Likewise.
9159         (CFLAGS-iofgets.c): Likewise.
9160         (CFLAGS-iofgetws.c): Likewise.
9161         (CFLAGS-iofputs.c): Likewise.
9162         (CFLAGS-iofputws.c): Likewise.
9163         (CFLAGS-iofread.c): Likewise.
9164         (CFLAGS-iofsetpos64.c): Likewise.
9165         (CFLAGS-iofsetpos.c): Likewise.
9166         (CFLAGS-ioftell.c): Likewise.
9167         (CFLAGS-iofwrite.c): Likewise.
9168         (CFLAGS-iogetdelim.c): Likewise.
9169         (CFLAGS-iogetline.c): Likewise.
9170         (CFLAGS-iogets.c): Likewise.
9171         (CFLAGS-iogetwline.c): Likewise.
9172         (CFLAGS-ioputs.c): Likewise.
9173         (CFLAGS-ioseekoff.c): Likewise.
9174         (CFLAGS-ioseekpos.c): Likewise.
9175         (CFLAGS-iosetbuffer.c): Likewise.
9176         (CFLAGS-iosetvbuf.c): Likewise.
9177         (CFLAGS-ioungetc.c): Likewise.
9178         (CFLAGS-ioungetwc.c): Likewise.
9179         (CFLAGS-oldfileops.c): Likewise.
9180         (CFLAGS-oldiofclose.c): Likewise.
9181         (CFLAGS-oldiofgetpos64.c): Likewise.
9182         (CFLAGS-oldiofgetpos.c): Likewise.
9183         (CFLAGS-oldiofsetpos64.c): Likewise.
9184         (CFLAGS-oldiofsetpos.c): Likewise.
9185         (CFLAGS-peekc.c): Likewise.
9186         (CFLAGS-putc.c): Likewise.
9187         (CFLAGS-putchar.c): Likewise.
9188         (CFLAGS-putwc.c): Likewise.
9189         (CFLAGS-putwchar.c): Likewise.
9190         (CFLAGS-rewind.c): Likewise.
9191         (CFLAGS-wfileops.c): Likewise.
9192         (CFLAGS-wgenops.c): Likewise.
9193         (CFLAGS-oldiofopen.c): Likewise.
9194         (CFLAGS-iofopen.c): Likewise.
9195         (CFLAGS-iofopen64.c): Likewise.
9196         (CFLAGS-oldtmpfile.c): Likewise.
9197         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
9198         (CFLAGS-fprintf.c): Likewise.
9199         (CFLAGS-printf.c): Likewise.
9200         (CFLAGS-vfwprintf.c): Likewise.
9201         (CFLAGS-vfscanf.c): Likewise.
9202         (CFLAGS-vfwscanf.c): Likewise.
9203         (CFLAGS-fscanf.c): Likewise.
9204         (CFLAGS-scanf.c): Likewise.
9205         (CFLAGS-isoc99_vfscanf.c): Likewise.
9206         (CFLAGS-isoc99_vscanf.c): Likewise.
9207         (CFLAGS-isoc99_fscanf.c): Likewise.
9208         (CFLAGS-isoc99_scanf.c): Likewise.
9209         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
9210         (CFLAGS-isoc99_fwscanf.c): Likewise.
9211         (CFLAGS-isoc99_vwscanf.c): Likewise.
9212         (CFLAGS-isoc99_vfwscanf.c): Likewise.
9214         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
9215         after mkstemp64.
9216         * login/tst-utmp.c (do_prepare): Likewise.
9217         * rt/tst-aio.c (do_prepare): Likewise.
9218         * rt/tst-aio64.c (do_prepare): Likewise.
9220 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9222         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
9223         (__lll_lock_elision): Remove adapt_count decrement...
9224         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
9225         (__lll_trylock_elision): Likewise.
9226         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
9227         (__lll_unlock_elision): ... to here. And utilize
9228         new adapt_count parameter.
9229         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
9230         (__lll_unlock_elision): Update to include adapt_count
9231         parameter.
9232         (lll_unlock_elision): Pass pointer to adapt_count
9233         variable.
9235 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9237         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
9238         Add elision adapt_count parameter to list of arguments.
9239         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
9240         (lll_unlock_elision): Update with new parameter list
9241         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
9242         (lll_unlock_elision): Likewise.
9243         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
9244         (lll_unlock_elision): Likewise.
9246 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9248         [BZ #19122]
9249         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
9250         attribute_hidden.
9252         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
9253         attribute_hidden.
9254         [IS_IN (rtld)] (__strdup): Likewise.
9255         [IS_IN (rtld)] (__strerror_r): Likewise.
9256         [IS_IN (rtld)] (__strsep_g): Likewise.
9257         [IS_IN (rtld)] (memchr): Likewise.
9258         [IS_IN (rtld)] (memcmp): Likewise.
9259         [IS_IN (rtld)] (memcpy): Likewise.
9260         [IS_IN (rtld)] (memmove): Likewise.
9261         [IS_IN (rtld)] (memset): Likewise.
9262         [IS_IN (rtld)] (rawmemchr): Likewise.
9263         [IS_IN (rtld)] (stpcpy): Likewise.
9264         [IS_IN (rtld)] (strchr): Likewise.
9265         [IS_IN (rtld)] (strcmp): Likewise.
9266         [IS_IN (rtld)] (strlen): Likewise.
9267         [IS_IN (rtld)] (strnlen): Likewise.
9268         [IS_IN (rtld)] (strsep): Likewise.
9270         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
9271         attribute_hidden.
9272         [IS_IN (rtld)] (__strtoul_internal): Likewise.
9274         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
9275         attribute_hidden.
9276         [IS_IN (rtld)] (__libc_sigaction): Likewise.
9278         * include/setjmp.h (__longjmp): Add attribute_hidden.
9279         [IS_IN (rtld)] (__sigsetjmp): Likewise.
9281         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
9282         Add attribute_hidden.
9284         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
9285         [IS_IN (rtld)] (__open): Likewise.
9286         [IS_IN (rtld)] (__fcntl): Likewise.
9288         * include/dirent.h (__opendirat): Add attribute_hidden.
9289         (__getdents): Likewise.
9290         (__getdents64): Likewise.
9291         (__alloc_dir): Likewise.
9292         [IS_IN (rtld)] (__closedir): Likewise.
9293         [IS_IN (rtld)] (__fdopendir): Likewise.
9294         [IS_IN (rtld)] (__readdir): Likewise.
9295         [IS_IN (rtld)] (__readdir64): Likewise.
9296         [IS_IN (rtld)] (__rewinddir): Likewise.
9298         * include/dlfcn.h (_dl_catch_error): Moved to ...
9299         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
9300         attribute_hidden.
9302         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
9303         (_itoa_word): Likewise.
9305         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
9306         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
9307         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
9308         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
9309         (_dl_higher_prime_number): Likewise.
9310         (_dl_debug_printf_c): Likewise.
9311         (_dl_signal_cerror): Likewise.
9312         (_dl_receive_error): Likewise.
9313         (_dl_reloc_bad_type): Likewise.
9314         (_dl_resolve_conflicts): Likewise.
9315         (_dl_check_all_versions): Likewise.
9316         (_dl_check_map_versions): Likewise.
9317         (_dl_sort_fini): Likewise.
9318         (_dl_debug_initialize): Likewise.
9319         (_dl_init_paths): Likewise.
9320         (_dl_show_auxv): Likewise.
9321         (_dl_next_ld_env_entry): Likewise.
9322         (_dl_important_hwcaps): Likewise.
9323         (_dl_load_cache_lookup): Likewise.
9324         (_dl_update_slotinfo): Likewise.
9325         (_dl_show_scope): Likewise.
9327         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
9328         attribute_hidden.
9329         (_wordcopy_fwd_dest_aligned): Likewise.
9330         (_wordcopy_bwd_aligned): Likewise.
9331         (_wordcopy_bwd_dest_aligned): Likewise.
9333         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
9334         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
9335         Likewise.
9336         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
9337         Likewise.
9338         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
9340 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9342         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
9343         GCC 5 requirement.
9345 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
9347         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
9348         test.
9349         * sysdeps/i386/configure: Regenerated.
9350         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
9351         code unconditional.
9353         * configure.ac (libc_cv_asm_previous_directive): Remove configure
9354         test.
9355         (libc_cv_asm_popsection_directive): Likewise.
9356         * configure: Regenerated.
9357         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
9358         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
9359         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
9360         (__make_section_unallocated): Make definition unconditional.
9361         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
9362         Remove conditional definition.
9363         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
9364         (__make_section_unallocated): Likewise.
9366         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
9367         * configure: Regenerated.
9368         * config.make.in (static-libgcc): Remove variable.
9369         * Makerules (build-shlib-helper): Use -static-libgcc instead of
9370         $(static-libgcc).
9371         (build-module-helper): Likewise.
9373         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
9374         * configure: Regenerated.
9376 2015-10-15  Florian Weimer  <fweimer@redhat.com>
9378         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
9379         (struct char_buffer): New type.
9380         (char_buffer_start, char_buffer_size, char_buffer_error)
9381         (char_buffer_rewind, char_buffer_add): New functions.
9382         (ADDW): Remove macro, replaced by the char_buffer_add function.
9383         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
9384         of extend_alloca.  Make control flow more explicit.
9386 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9388         [BZ #19137]
9389         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
9390         Add -fomit-frame-pointer.
9391         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
9393 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9395         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
9396         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
9397         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
9398         only if !__GNUC_PREREQ (5,0).
9399         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
9400         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
9401         (INTERNAL_SYSCALL_NCS): Likewise.
9402         (LOADREGS_0): New macro for GCC 5.
9403         (ASMARGS_0): Likewise.
9404         (LOADREGS_1): Likewise.
9405         (ASMARGS_1): Likewise.
9406         (LOADREGS_2): Likewise.
9407         (ASMARGS_2): Likewise.
9408         (LOADREGS_3): Likewise.
9409         (ASMARGS_3): Likewise.
9410         (LOADREGS_4): Likewise.
9411         (ASMARGS_4): Likewise.
9412         (LOADREGS_5): Likewise.
9413         (ASMARGS_5): Likewise.
9414         (LOADREGS_6): Likewise.
9415         (ASMARGS_6): Likewise.
9417 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9419         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
9420         -fomit-frame-pointer.
9421         (CFLAGS-mmap64.c): Likewise.
9422         (CFLAGS-semtimedop.c): Likewise.
9423         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
9424         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
9425         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9426         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
9428 2015-10-15  Florian Weimer  <fweimer@redhat.com>
9430         [BZ #18928]
9431         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
9432         _dl_pointer_guard member.
9433         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
9434         initializer.
9435         (security_init): Always set up pointer guard.
9436         (process_envvars): Do not process LD_POINTER_GUARD.
9438 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
9440         [BZ #19134]
9441         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
9442         (.LC2): Likewise.
9443         (.LC3): Likewise.
9444         (__lround): Do not add 0.5 to integer or out-of-range arguments.
9446 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9448         [BZ #19129]
9449         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
9450         r0 and r1.
9452 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
9454         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
9456 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
9458         * include/stap-probe.h: Fix macro definition formatting.
9460 2015-10-14  Florian Weimer  <fweimer@redhat.com>
9462         [BZ #19074]
9463         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
9464         load and store num_ifs.
9466 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
9468         [BZ #18822]
9469         * sysdeps/unix/sysv/linux/sched_getaffinity.c
9470         (__sched_getaffinity_new): Add libc_hidden_proto and
9471         libc_hidden_def.
9473 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
9475         [BZ #19007]
9476         * scripts/localplt.awk: Also allow GOT references.
9477         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
9478         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
9479         with "+ REL R_386_GLOB_DAT".
9480         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
9481         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
9483 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
9485         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
9486         INLINE_SYSCALL_ERROR_RETURN_VALUE.
9487         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
9488         Likewise.
9489         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
9490         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
9491         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
9492         INTERNAL_SYSCALLINTERNAL_SYSCALL and
9493         INLINE_SYSCALL_ERROR_RETURN_VALUE.
9494         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
9495         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9496         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
9497         Likewise.
9498         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9500 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
9502         [BZ #19125]
9503         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
9504         <math_private.h> and <stdint.h>.
9505         (__llround): Avoid conversions to and from long long int, and
9506         subtractions, where those might raise spurious exceptions.
9507         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
9508         <math_private.h> and <stdint.h>.
9509         (__llroundf): Avoid conversions to and from long long int, and
9510         subtractions, where those might raise spurious exceptions.
9512 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
9514         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
9515         INLINE_SYSCALL_ERROR_RETURN_VALUE.
9516         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
9517         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
9518         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9519         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9520         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
9521         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
9522         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
9523         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9524         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9525         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9526         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
9527         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9528         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9529         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
9530         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
9531         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9532         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
9533         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
9534         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
9535         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
9536         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
9537         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
9538         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
9539         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
9540         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
9541         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9542         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9543         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
9544         (__xstat64_conv): Likewise.
9545         (__xstat32_conv): Likewise.
9547 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
9549         * sysdeps/unix/sysv/linux/sysdep.h: New file.
9550         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
9551         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
9552         <sysdeps/unix/sysv/linux/sysdep.h>.
9553         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
9554         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
9555         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
9556         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9557         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
9558         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
9559         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
9560         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
9561         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
9562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9564         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9565         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9566         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9567         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9568         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9569         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
9570         (sysdep-dl-routines): Add sysdep.
9571         [$(subdir) == nptl] (libpthread-routines): Likewise.
9572         [$(subdir) == rt] (librt-routines): Likewise.
9573         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
9574         PIC when branching to SYSCALL_ERROR_LABEL.
9575         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
9576         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
9577         <sysdeps/unix/sysv/linux/sysdep.h>.
9578         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
9579         (SYSCALL_ERROR_ERRNO): Removed.
9580         (SYSCALL_ERROR_HANDLER): Changed to empty.
9581         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
9582         (__syscall_error): New prototype.
9583         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
9584         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
9586 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
9588         [BZ #19124]
9589         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
9590         (_dl_runtime_resolve_avx512): Make it a hidden alias of
9591         _dl_runtime_resolve_avx.
9592         (_dl_runtime_profile_avx512): Make it a hidden alias of
9593         _dl_runtime_profile_avx.
9595 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
9597         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
9598         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
9599         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
9600         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
9602         [BZ #16422]
9603         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
9604         New configure test.
9605         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
9606         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
9607         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
9608         <math_private.h> and <stdint.h>.
9609         (__llrint): Avoid conversions to long long int where those might
9610         raise spurious exceptions.
9611         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
9612         <math_private.h> and <stdint.h>.
9613         (__llrintf): Avoid conversions to long long int where those might
9614         raise spurious exceptions.
9616 2015-10-12  Andreas Schwab  <schwab@suse.de>
9618         [BZ #18969]
9619         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
9620         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
9621         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
9622         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
9623         $(gen-locales).
9624         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
9625         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
9626         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
9627         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
9628         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
9629         $(gen-locales).
9630         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
9631         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
9632         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
9633         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
9634         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
9635         ($(objpfx)tst-ftell-active-handler.out)
9636         ($(objpfx)tst-ftell-append.out)
9637         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
9638         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
9639         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
9640         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
9641         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
9642         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
9643         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
9644         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
9645         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
9646         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
9647         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
9648         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
9649         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
9650         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
9651         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
9652         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
9653         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
9654         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
9655         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
9656         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
9657         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
9658         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
9659         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
9660         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
9661         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
9662         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
9663         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
9664         $(gen-locales).
9665         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
9666         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
9667         $(gen-locales).
9668         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
9669         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
9670         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
9671         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
9672         $(gen-locales).
9673         * libio/tst_wprintf2.c (main): Use explicit locale.
9674         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
9676 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9678         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
9679         __msg_sig_post.
9680         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
9682 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
9684         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9685         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9687         * sysdeps/arm/libm-test-ulps: Regenerated.
9689         [BZ #15470]
9690         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
9692         [BZ #16399]
9693         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
9694         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
9695         and <fix-fp-int-convert-overflow.h>.
9696         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
9697         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9698         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
9699         and <fix-fp-int-convert-overflow.h>.
9700         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
9701         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9702         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
9703         <fix-fp-int-convert-overflow.h>.
9704         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
9705         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9706         * sysdeps/ieee754/dbl-64/s_lround.c: Include
9707         <fix-fp-int-convert-overflow.h>.
9708         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
9709         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9710         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
9711         and <fix-fp-int-convert-overflow.h>.
9712         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
9713         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9714         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
9715         <limits.h> and <fix-fp-int-convert-overflow.h>.
9716         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
9717         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9718         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
9719         and <fix-fp-int-convert-overflow.h>.
9720         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
9721         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9722         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
9723         and <fix-fp-int-convert-overflow.h>.
9724         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
9725         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9726         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
9728 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
9730         [BZ #18589]
9731         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
9732         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
9733         $(gen-locales).
9735 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9736             Phil Blundell <pb@pbcl.net>
9738         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
9739         * nptl/tst-cancel26.c: New file.
9740         * nptl/tst-cancel27.c: Likewise.
9742 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
9744         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
9745         __ILP32__ isn't defined.
9746         (lrint): Likewise.
9747         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
9748         (lrintf): Likewise.
9749         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
9750         (lrintl): Likewise.
9751         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
9752         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
9753         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
9755 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9757         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
9758         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
9760         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
9761         file.
9762         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
9763         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
9765 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
9767         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
9768         configure test.
9769         * sysdeps/i386/configure: Regenerated.
9770         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
9771         configure test.
9772         * sysdeps/x86_64/configure: Regenerated.
9773         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
9774         Make code unconditional.
9776         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
9777         test.
9778         * sysdeps/i386/configure: Regenerated.
9779         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
9780         test.
9781         * sysdeps/x86_64/configure: Regenerated.
9782         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
9783         Make code unconditional.
9784         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
9785         Likewise.
9786         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
9787         Likewise.
9788         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9789         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
9790         code unconditional.
9791         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9792         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
9793         code unconditional.
9794         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9795         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
9796         code unconditional.
9797         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
9798         code unconditional.
9799         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9800         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
9801         code unconditional.
9802         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9803         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
9804         code unconditional.
9805         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9806         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
9807         code unconditional.
9808         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9809         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
9810         code unconditional.
9811         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9812         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
9814         [BZ #19095]
9815         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
9816         mantissa to long int before shifting left.
9818 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
9820         [BZ #19094]
9821         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
9822         <limits.h>.
9823         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9824         when result overflows but exception would not result from cast.
9825         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
9826         <limits.h>.
9827         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9828         when result overflows but exception would not result from cast.
9829         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
9830         <limits.h>.
9831         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9832         when result overflows but exception would not result from cast.
9833         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
9834         <limits.h>.
9835         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9836         when result overflows but exception would not result from cast.
9837         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
9838         <limits.h>.
9839         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9840         when result overflows but exception would not result from cast.
9841         * math/libm-test.inc (lrint_test_data): Add more tests.
9842         (llrint_test_data): Likewise.
9844 2015-10-08  Roland McGrath  <roland@hack.frob.com>
9846         [BZ #18872]
9847         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
9848         Move out from under [$(run-built-tests) = yes] conditional.
9849         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
9850         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
9852 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
9854         [BZ #18589]
9855         * string/Makefile (tests): Add bug-strcoll2.
9856         (LOCALES): Add cs_CZ.UTF-8.
9857         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
9859         [BZ #18589]
9860         * string/bug-strcoll2.c: New file.
9861         * locale/categories.def: Revert commit
9862         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
9863         * locale/langinfo.h: Likewise.
9864         * locale/localeinfo.h: Likewise.
9865         * locale/C-collate.c: Likewise.
9866         * locale/programs/ld-collate.c (collate_output): Likewise.
9867         * string/strcoll_l.c (STRDIFF): Likewise.
9868         (STRCOLL): Likewise.
9869         * wcsmbs/wcscoll_l.c: Likewise.
9871 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
9873         * math/libm-test.inc (lround_test_data): Do not expect the absence
9874         of "inexact" for some tests with non-integer arguments.
9875         (llround_test_data): Likewise.
9877         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
9878         test.
9879         (libc_cv_cc_sse2avx): Likewise.
9880         * sysdeps/i386/configure: Regenerated.
9881         * sysdeps/i386/i686/multiarch/Makefile
9882         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
9883         [$(subdir) = math].
9884         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
9885         code unconditional.
9886         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
9887         Likewise.
9888         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
9889         Likewise.
9890         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
9891         Likewise.
9892         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
9893         test.
9894         (libc_cv_cc_sse2avx): Likewise.
9895         * sysdeps/x86_64/configure: Regenerated.
9896         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
9897         unconditional.
9898         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
9899         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
9900         unconditional.
9901         (_dl_runtime_profile)
9902         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
9903         conditional code.
9904         * sysdeps/x86_64/fpu/multiarch/Makefile
9905         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
9906         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
9907         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9908         * sysdeps/x86_64/fpu/multiarch/e_exp.c
9909         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9910         * sysdeps/x86_64/fpu/multiarch/e_log.c
9911         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9912         * sysdeps/x86_64/fpu/multiarch/s_atan.c
9913         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9914         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
9915         Likewise.
9916         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
9917         Likewise.
9918         * sysdeps/x86_64/fpu/multiarch/s_sin.c
9919         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9920         * sysdeps/x86_64/fpu/multiarch/s_tan.c
9921         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9922         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
9923         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
9924         (HAVE_SSE2AVX_SUPPORT): Likewise.
9926 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
9928         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
9929         instead of #pragma optimize.
9931 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
9933         [BZ #17195]
9934         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
9935         as is similarly done in systrim and _int_free already.
9937 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9939         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
9941 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
9943         [BZ #19088]
9944         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
9945         <limits.h>.
9946         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
9947         overflows but exception would not result from cast.
9948         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
9949         and <limits.h>.
9950         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
9951         overflows but exception would not result from cast.
9952         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
9953         <limits.h>.
9954         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
9955         overflows but exception would not result from cast.
9956         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
9957         <limits.h>.
9958         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
9959         overflows but exception would not result from cast.
9960         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
9961         <limits.h>.
9962         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
9963         overflows but exception would not result from cast.
9964         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
9965         <limits.h>.
9966         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
9967         overflows but exception would not result from cast.
9968         * math/libm-test.inc (lround_test_data): Add more tests.
9969         (llround_test_data): Likewise.
9971 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
9973         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
9974         (CFLAGS-ialloc.c): Ditto.
9975         (CFLAGS-scheck.c): Ditto.
9977 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
9979         [BZ #19086]
9980         * manual/filesys.texi (Storage Allocation): Fix argument order for
9981         posix_fallocate64.
9983 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
9985         [BZ #19085]
9986         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
9987         exponent below 48 inside case for non-overflowing exponent.
9988         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
9990 2015-10-07  Florian Weimer  <fweimer@redhat.com>
9992         * iconvdata/cp737.h (from_idx): Add const.
9993         * iconvdata/cp775.h (from_idx): Likewise.
9995 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
9997         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
9998         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
9999         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
10001         [BZ #19079]
10002         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
10003         file, conditioned on [!_LP64].
10004         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
10005         [!_LP64] (__lround): Do not define as function or alias.
10006         [!_LP64] (lround): Likewise.
10007         [!_LP64] (__lroundl): Likewise.
10008         [!_LP64] (lroundl): Likewise.
10009         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
10010         macro.
10011         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
10012         Likewise.
10014 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
10016         * math/libm-test.inc (lrint_test_data): Add more tests.
10017         (llrint_test_data): Likewise.
10018         (lround_test_data): Likewise.
10019         (llround_test_data): Likewise.
10021         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
10022         (llrint_test_data): Add tests used for lrint.
10024         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
10025         test.
10026         * sysdeps/i386/configure: Regenerated.
10027         * sysdeps/i386/i686/multiarch/Makefile
10028         [$(config-cflags-sse4) = yes]: Make code unconditional.
10029         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
10030         Likewise.
10031         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
10032         Likewise.
10033         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
10034         test.
10035         * sysdeps/x86_64/configure: Regenerated.
10036         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
10037         Make code unconditional.
10038         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
10039         Likewise.
10040         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
10041         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
10043         * scripts/rpm2dynsym.sh: Remove file.
10045 2015-10-06  Florian Weimer  <fweimer@redhat.com>
10047         * configure.ac (libc_cv_cxx_thread_local): Define.
10048         * configure: Regenerate.
10049         * config.make.in (have-cxx-thread_local): Define.
10050         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
10051         (LDLIBS-tst-thread_local1): Define.
10052         (tests): Add tst-thread_local1.
10053         [have-cxx-thread_local != yes] (tests-unsupported): Add
10054         tst-thread_local1.
10055         * nptl/tst-thread_local1.cc: New file.
10057 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
10059         [BZ #19078]
10060         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
10061         (u_thres): Likewise.
10062         (__expl): Determine whether to call __kernel_standard_l based on
10063         value of result, not argument.
10065         * math/libm-test.inc (scalb_test_data): Add more expectations for
10066         the "inexact" exception.
10068         [BZ #19077]
10069         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
10070         0.0L for argument 1.0L.
10072         [BZ #19076]
10073         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
10074         constant 0.0L when computing infinite result.
10076 2015-10-06  Florian Weimer  <fweimer@redhat.com>
10078         [BZ #10432]
10079         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
10080         malloc_usable_size.
10082 2015-10-06  Florian Weimer  <fweimer@redhat.com>
10084         [BZ #19018]
10085         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10086         Mangle function pointer before storing it.
10087         (__call_tls_dtors): Demangle function pointer before calling it.
10089 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
10091         [BZ #19012]
10092         * iconv/gconv_db.c (gen_steps): Check for additional errors.
10093         Clean up on failure.
10095 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
10097         [BZ #19071]
10098         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
10099         long int variable to store possibly incremented high part of
10100         mantissa.
10101         * math/libm-test.inc (lround_test_data): Add tests used for
10102         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
10103         for tests requiring 64-bit long.  Do not condition tests on
10104         [TEST_FLOAT] unnecessarily.
10105         (llround_test_data): Add tests used for lround.  Add another
10106         expectation for the "inexact" exception.  Do not condition tests
10107         on [TEST_FLOAT] unnecessarily.
10109         [BZ #887]
10110         [BZ #19049]
10111         [BZ #19050]
10112         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
10113         * sysdeps/ieee754/dbl-64/e_log10.c: Include
10114         <fix-int-fp-convert-zero.h>.
10115         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10116         * sysdeps/ieee754/dbl-64/e_log2.c: Include
10117         <fix-int-fp-convert-zero.h>.
10118         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10119         * sysdeps/ieee754/dbl-64/s_erf.c: Include
10120         <fix-int-fp-convert-zero.h>.
10121         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10122         * sysdeps/ieee754/dbl-64/s_logb.c: Include
10123         <fix-int-fp-convert-zero.h>.
10124         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10125         * sysdeps/ieee754/flt-32/e_log10f.c: Include
10126         <fix-int-fp-convert-zero.h>.
10127         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10128         * sysdeps/ieee754/flt-32/e_log2f.c: Include
10129         <fix-int-fp-convert-zero.h>.
10130         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10131         * sysdeps/ieee754/flt-32/s_erff.c: Include
10132         <fix-int-fp-convert-zero.h>.
10133         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10134         * sysdeps/ieee754/flt-32/s_logbf.c: Include
10135         <fix-int-fp-convert-zero.h>.
10136         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10137         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
10138         <fix-int-fp-convert-zero.h>.
10139         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10140         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
10141         <fix-int-fp-convert-zero.h>.
10142         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10143         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
10144         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
10145         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
10146         file.
10147         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
10149 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
10151         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10153 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
10155         [BZ #19059]
10156         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
10157         overflowing computation.
10158         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10159         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
10160         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10161         Likewise.
10162         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10163         Likewise.
10164         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
10165         Likewise.
10166         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10167         Likewise.
10168         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10169         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10170         Likewise.
10171         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10172         Likewise.
10173         * math/libm-test.inc (nexttoward_test_data): Add more tests.
10175         * nss/rewrite_field.c (__nss_rewrite_field): Use
10176         internal_function.
10177         * nss/valid_field.c (__nss_valid_field): Likewise.
10178         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
10180 2015-10-02  Florian Weimer  <fweimer@redhat.com>
10182         [BZ #18724]
10183         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
10184         (__nss_invalid_field_characters, __nss_valid_field)
10185         (__nss_valid_list_field, __nss_rewrite_field): Declare.
10186         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
10187         tst-field.c: New file.
10188         * nss/Makefile (routines): Add valid_field, rewrite_field.
10189         (tests-static): Define unconditionally.
10190         (tests): Include tests-static.
10191         [build-static-nss] (tests-static): Use append.
10192         [build-static-nss] (tests): Remove modification.
10193         * nss/getent.c (print_group): Call putgrent.  Report error.
10194         (print_gshadow): Call putsgent.  Report error.
10195         (print_passwd): Call putpwent.  Report error.
10196         (print_shadow): Call putspent.  Report error.
10197         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
10198         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
10199         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
10200         name, password, directory, shell fields for valid syntax.  Rewrite
10201         GECOS field to match syntax.
10202         * pwd/Makefile (tests): Add tst-putpwent.
10203         * pwd/tst-putpwent.c: New file.
10204         * grp/putgrent.c (putgrent): Convert to ISO function definition.
10205         Check grName, grpasswd, gr_mem fields for valid syntax.
10206         Change loop variable i to size_t.
10207         * grp/Makefile (tests): Add tst-putgrent.
10208         * grp/tst-putgrent.c: New file.
10209         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
10210         valid syntax.
10211         * shadow/Makefile (tests): Add tst-putspent.
10212         * shadow/tst-putspent.c: New file.
10213         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
10214         sg_mem fields for valid syntax.
10215         * gshadow/Makefile (tests): Add tst-putsgent.
10216         * gshadow/tst-putsgent.c: New file.
10218 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10220         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
10221         assembly instructions.
10223 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10225         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
10226         prefix from operands.
10228 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
10230         [BZ #16347]
10231         [BZ #19046]
10232         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
10233         <libc-internal.h>.
10234         (MAXLGM): Do not use diagnostic control macros.
10235         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
10236         threshold for ldbl-128ibm.
10237         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
10238         instead of multiplying by log then subtracting.
10239         * math/auto-libm-test-in: Add more tests of lgamma.
10240         * math/auto-libm-test-out: Regenerated.
10242         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
10243         (TYPE_HEX_DIG): Likewise.
10244         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
10245         precisions when printing floating-point numbers.
10246         (check_float_internal): Likewise.
10248 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
10250         [BZ #16620]
10251         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
10252         of log (10) rounded downward to 48 bits.
10253         (log10_low): Use corresponding low part of log (10).
10255         [BZ #19032]
10256         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
10257         compute result as (x - x) / (x - x) not as 0 / 0.
10258         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
10259         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
10261         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10262         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
10263         and expm1.
10264         * math/auto-libm-test-out: Regenerated.
10265         * math/libm-test.inc (acos_test_data): Add more tests.
10266         (asin_test_data): Likewise.
10267         (asinh_test_data): Likewise.
10268         (atan_test_data): Likewise.
10269         (atanh_test_data): Likewise.
10270         (atan2_test_data): Likewise.
10271         (cbrt_test_data): Likewise.
10272         (ceil_test_data): Likewise.
10273         (copysign_test_data): Likewise.
10274         (cos_test_data): Likewise.
10275         (cosh_test_data): Likewise.
10276         (erf_test_data): Likewise.
10277         (erfc_test_data): Likewise.
10278         (exp_test_data): Likewise.
10279         (exp10_test_data): Likewise.
10280         (exp2_test_data): Likewise.
10281         (expm1_test_data): Likewise.
10282         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10284 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
10286         [BZ #19006]
10287         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
10288         to ...
10289         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
10290         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
10291         to ...
10292         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
10293         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
10294         to ...
10295         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
10296         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
10297         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
10298         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
10299         to ...
10300         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
10301         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
10302         Moved to ...
10303         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
10304         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
10305         Moved to ...
10306         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
10307         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
10308         to ...
10309         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
10310         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
10311         Moved to ...
10312         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
10313         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
10314         to ...
10315         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
10316         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
10317         Removed.
10318         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
10319         Likewise.
10320         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
10321         Likewise.
10322         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
10323         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
10324         Likewise.
10325         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
10326         Likewise.
10327         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
10328         Likewise.
10329         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
10330         Likewise.
10331         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
10332         Likewise.
10333         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
10334         Likewise.
10335         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
10336         Likewise.
10337         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
10338         Likewise.
10339         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
10340         Likewise.
10341         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
10342         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
10343         Likewise.
10344         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
10345         Likewise.
10346         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
10347         Likewise.
10348         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
10349         Likewise.
10350         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
10351         Likewise.
10352         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
10353         Replace ../i486/pthread_cond_timedwait.S with
10354         ../pthread_cond_timedwait.S.
10356 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
10358         * math/libm-test.inc (acos_test_data): Refine expectations for
10359         errno and "inexact" exceptions.
10360         (acosh_test_data): Likewise.
10361         (asin_test_data): Likewise.
10362         (asinh_test_data): Likewise.
10363         (atan_test_data): Likewise.
10364         (atanh_test_data): Likewise.
10365         (atan2_test_data): Likewise.
10366         (cbrt_test_data): Likewise.
10367         (ceil_test_data): Likewise.
10368         (copysign_test_data): Likewise.
10369         (cosh_test_data): Likewise.
10370         (erf_test_data): Likewise.
10371         (erfc_test_data): Likewise.
10372         (exp_test_data): Likewise.
10373         (exp10_test_data): Likewise.
10374         (exp2_test_data): Likewise.
10375         (expm1_test_data): Likewise.
10376         (fabs_test_data): Likewise.
10377         (floor_test_data): Likewise.
10378         (fma_test_data): Likewise.
10379         (fmax_test_data): Likewise.
10380         (fmin_test_data): Likewise.
10381         (fmod_test_data): Likewise.
10382         (fpclassify_test_data): Likewise.
10383         (frexp_test_data): Likewise.
10384         (hypot_test_data): Likewise.
10385         (ilogb_test_data): Likewise.
10386         (isgreater_test_data): Likewise.
10387         (isgreaterequal_test_data): Likewise.
10388         (isinf_test_data): Likewise.
10389         (isless_test_data): Likewise.
10390         (islessequal_test_data): Likewise.
10391         (islessgreater_test_data): Likewise.
10392         (isnan_test_data): Likewise.
10393         (isnormal_test_data): Likewise.
10394         (issignaling_test_data): Likewise.
10395         (isunordered_test_data): Likewise.
10396         (j0_test_data): Likewise.
10397         (j1_test_data): Likewise.
10398         (jn_test_data): Likewise.
10399         (lgamma_test_data): Likewise.
10400         (lrint_test_data): Likewise.
10401         (llrint_test_data): Likewise.
10402         (log_test_data): Likewise.
10403         (log10_test_data): Likewise.
10404         (log1p_test_data): Likewise.
10405         (log2_test_data): Likewise.
10406         (logb_test_data): Likewise.
10407         (lround_test_data): Likewise.
10408         (llround_test_data): Likewise.
10409         (modf_test_data): Likewise.
10410         (nearbyint_test_data): Likewise.
10411         (nextafter_test_data): Likewise.
10412         (nexttoward_test_data): Likewise.
10413         (pow_test_data): Likewise.
10414         (remainder_test_data): Likewise.
10415         (remquo_test_data): Likewise.
10416         (rint_test_data): Likewise.
10417         (round_test_data): Likewise.
10418         (signbit_test_data): Likewise.
10419         (sinh_test_data): Likewise.
10420         (sqrt_test_data): Likewise.
10421         (tanh_test_data): Likewise.
10422         (tgamma_test_data): Likewise.
10423         (trunc_test_data): Likewise.
10424         (y0_test_data): Likewise.
10425         (y1_test_data): Likewise.
10426         (yn_test_data): Likewise.
10427         (significand_test_data): Likewise.
10429 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
10431         * manual/filesys.texi (Storage Allocation): Document that
10432         posix_fallocate emulation fails when fd is open with O_WRONLY.
10434 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
10436         [BZ #19016]
10437         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
10438         allow more cases with X^2 + Y^2 >= 0.5.
10439         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
10440         normal element in sum instead of special-casing based on values of
10441         arguments.
10442         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
10443         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
10444         -1 as normal element in sum instead of special-casing based on
10445         values of arguments.
10446         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
10447         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
10448         (__x2y2m1): Update comment.
10449         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
10450         as normal element in sum instead of special-casing based on values
10451         of arguments.
10452         * math/s_clog.c (__clog): Handle more cases using log1p without
10453         hypot.
10454         * math/s_clog10.c (__clog10): Likewise.
10455         * math/s_clog10f.c (__clog10f): Likewise.
10456         * math/s_clog10l.c (__clog10l): Likewise.
10457         * math/s_clogf.c (__clogf): Likewise.
10458         * math/s_clogl.c (__clogl): Likewise.
10459         * math/auto-libm-test-in: Add more tests of clog and clog10.
10460         * math/auto-libm-test-out: Regenerated.
10461         * sysdeps/i386/fpu/libm-test-ulps: Update.
10462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10464 2015-09-28  Martin Sebor  <msebor@redhat.com>
10466         [BZ #18969]
10467         * string/Makefile (LOCALES): Define.
10468         (gen-locales.mk): Include.
10469         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
10470         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
10471         * string/tst-strxfrm2.c (do_test): Print the name of the locale
10472         on setlocale failure.
10474 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
10476         [BZ #18985]
10477         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
10478         (__strftime_internal): Likewise.
10479         * time/tst-strftime.c (do_bz18985): New test.
10480         (do_test): Call it.
10482 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
10484         [BZ #18956]
10485         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
10486         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
10487         extracting high part.
10488         * math/auto-libm-test-in: Add another test of pow.
10489         * math/auto-libm-test-out: Regenerated.
10490         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10492 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
10494         [BZ #18825]
10495         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
10496         New macro.
10497         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
10498         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
10499         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
10500         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
10501         DBL_NARROW_EVAL, reloading the PIC register as needed.
10502         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
10503         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
10504         FLT_NARROW_EVAL.  Use separate return path for case when first
10505         argument is NaN.
10506         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
10507         DEFINE_LDBL_MIN.
10508         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
10509         PIC register.
10510         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
10511         math_check_force_underflow_nonneg.
10512         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
10513         underflow for subnormal result.
10514         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
10515         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
10516         math_check_force_underflow_nonneg.
10517         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
10518         math_check_force_underflow.
10519         * sysdeps/x86_64/fpu/x86_64-math-asm.h
10520         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
10521         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
10522         DEFINE_LDBL_MIN.
10523         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
10524         * math/auto-libm-test-in: Add more tests of pow.
10525         * math/auto-libm-test-out: Regenerated.
10527 2015-09-25  Florian Weimer  <fweimer@redhat.com>
10529         * nss/bug17079.c (init_test_items): Add diagnostic for
10530         inconsistent entries.
10531         (test_buffer_size): Skip inconsistent entries.
10533 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
10535         [BZ #13304]
10536         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
10537         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
10538         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
10540         [BZ #13304]
10541         * sysdeps/microblaze/s_fma.c: New file.
10542         * sysdeps/microblaze/s_fmaf.c: Likewise.
10543         * sysdeps/microblaze/sfp-machine.h: Likewise.
10545 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
10547         [BZ #17250]
10548         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
10549         member.
10551 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
10553         [BZ #18803]
10554         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
10555         (MO): New macro.
10556         (__ieee754_hypot) [PIC]: Load PIC register.
10557         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
10558         DBL_NARROW_EVAL.
10559         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
10560         math_check_force_underflow_nonneg in case where result might be
10561         tiny.
10562         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10563         Likewise.
10564         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10565         Likewise.
10566         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
10567         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
10568         * math/auto-libm-test-in: Add more tests of hypot.
10569         * math/auto-libm-test-out: Regenerated.
10571 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
10573         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
10575 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
10577         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
10578         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
10579         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
10580         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
10581         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
10582         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
10583         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
10585         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
10586         LOAD_PIC_REG.
10588         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
10589         (FLT_CHECK_FORCE_UFLOW): Likewise.
10590         (DBL_CHECK_FORCE_UFLOW): Likewise.
10591         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
10592         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
10593         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
10594         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
10595         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
10596         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
10597         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
10598         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
10599         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
10600         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10601         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
10602         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
10603         (flt_min): Replace with use of DEFINE_FLT_MIN.
10604         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
10605         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
10606         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10607         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
10608         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
10609         (flt_min): Replace with use of DEFINE_FLT_MIN.
10610         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
10611         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
10612         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10613         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
10614         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
10615         (flt_min): Replace with use of DEFINE_FLT_MIN.
10616         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
10617         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
10618         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
10619         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
10620         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
10621         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
10622         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
10623         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
10624         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10625         (__atan): Use DBL_CHECK_FORCE_UFLOW.
10626         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
10627         (flt_min): Replace with use of DEFINE_FLT_MIN.
10628         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
10629         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
10630         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10631         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
10632         main computation.
10633         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
10634         (flt_min): Replace with use of DEFINE_FLT_MIN.
10635         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
10636         main computation.
10637         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
10638         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10639         (MO): New macro.
10640         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
10641         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
10642         (flt_min): Replace with use of DEFINE_FLT_MIN.
10643         (MO): New macro.
10644         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
10645         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
10646         (__log1pl): Use MO.
10648         [BZ #19003]
10649         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
10650         $(config-cflags-nofma).
10652 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10654         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10656 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
10658         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
10659         (TWO127): Likewise.
10661         * sysdeps/generic/math_private.h (fabs_tg): New macro.
10662         (min_of_type): Likewise.
10663         (math_check_force_underflow): Likewise.
10664         (math_check_force_underflow_nonneg): Likewise.
10665         (math_check_force_underflow_complex): Likewise.
10666         * math/e_exp2l.c (__ieee754_exp2l): Use
10667         math_check_force_underflow_nonneg.
10668         * math/k_casinh.c (__kernel_casinh): Likewise.
10669         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10670         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10671         * math/s_catan.c (__catan): Use
10672         math_check_force_underflow_complex.
10673         * math/s_catanf.c (__catanf): Likewise.
10674         * math/s_catanh.c (__catanh): Likewise.
10675         * math/s_catanhf.c (__catanhf): Likewise.
10676         * math/s_catanhl.c (__catanhl): Likewise.
10677         * math/s_catanl.c (__catanl): Likewise.
10678         * math/s_ccosh.c (__ccosh): Likewise.
10679         * math/s_ccoshf.c (__ccoshf): Likewise.
10680         * math/s_ccoshl.c (__ccoshl): Likewise.
10681         * math/s_cexp.c (__cexp): Likewise.
10682         * math/s_cexpf.c (__cexpf): Likewise.
10683         * math/s_cexpl.c (__cexpl): Likewise.
10684         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
10685         * math/s_clog10.c (__clog10): Likewise.
10686         * math/s_clog10f.c (__clog10f): Likewise.
10687         * math/s_clog10l.c (__clog10l): Likewise.
10688         * math/s_clogf.c (__clogf): Likewise.
10689         * math/s_clogl.c (__clogl): Likewise.
10690         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
10691         * math/s_csinf.c (__csinf): Likewise.
10692         * math/s_csinh.c (__csinh): Likewise.
10693         * math/s_csinhf.c (__csinhf): Likewise.
10694         * math/s_csinhl.c (__csinhl): Likewise.
10695         * math/s_csinl.c (__csinl): Likewise.
10696         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
10697         * math/s_csqrtf.c (__csqrtf): Likewise.
10698         * math/s_csqrtl.c (__csqrtl): Likewise.
10699         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
10700         * math/s_ctanf.c (__ctanf): Likewise.
10701         * math/s_ctanh.c (__ctanh): Likewise.
10702         * math/s_ctanhf.c (__ctanhf): Likewise.
10703         * math/s_ctanhl.c (__ctanhl): Likewise.
10704         * math/s_ctanl.c (__ctanl): Likewise.
10705         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
10706         instead of volatile.
10707         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
10708         math_check_force_underflow.
10709         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10710         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
10711         volatile when forcing underflow.
10712         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10713         math_check_force_underflow_nonneg.
10714         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
10715         Likewise.
10716         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
10717         math_check_force_underflow.
10718         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10719         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10720         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10721         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
10722         math_check_force_underflow_nonneg.
10723         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
10724         math_check_force_underflow.
10725         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
10726         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
10727         instead of volatile.
10728         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
10729         math_check_force_underflow.
10730         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10731         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
10732         math_check_force_underflow_nonneg.
10733         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
10734         math_check_force_underflow.
10735         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
10736         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10737         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
10738         math_check_force_underflow_nonneg.
10739         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10740         Likewise.
10741         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
10742         math_check_force_underflow.
10743         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10744         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
10745         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
10746         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
10747         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
10748         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
10749         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
10750         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
10751         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
10752         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
10753         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
10754         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
10755         Likewise.
10756         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
10757         math_check_force_underflow_nonneg.
10758         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10759         Likewise.
10760         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
10761         math_check_force_underflow.
10762         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10763         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
10764         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
10765         Likewise.
10766         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
10767         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
10768         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
10769         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
10770         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
10771         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
10772         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
10773         instead of volatile.
10774         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
10775         math_check_force_underflow.
10776         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
10777         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
10778         math_check_force_underflow.
10779         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
10780         Likewise.
10781         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10782         Use math_check_force_underflow_nonneg.
10783         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
10784         math_check_force_underflow.
10785         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
10786         Likewise.
10787         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
10788         Likewise.
10789         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10790         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
10791         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
10792         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
10793         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
10794         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
10795         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
10796         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
10797         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
10798         math_check_force_underflow_nonneg.
10799         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
10800         math_check_force_underflow.
10801         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10802         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
10803         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
10804         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
10805         math_check_force_underflow_nonneg.
10806         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
10807         math_check_force_underflow.
10808         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
10809         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
10810         instead of volatile.
10811         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
10812         math_check_force_underflow.
10814         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
10815         * stdlib/strtod_l.c: Include <math_private.h>.
10816         (overflow_value): Use math_narrow_eval.
10817         (underflow_value): Likewise.
10818         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10819         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
10820         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
10821         (__ieee754_gamma_r): Likewise.
10822         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
10823         Likewise.
10824         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
10825         Likewise.
10826         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
10827         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
10828         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
10829         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
10830         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
10831         (__ieee754_gammaf_r): Likewise.
10832         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10833         Likewise.
10834         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
10835         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
10836         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
10837         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
10838         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
10839         volatile.
10840         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
10841         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
10842         math_narrow_eval.
10843         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
10844         Likewise.
10845         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10846         Likewise.
10847         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
10848         Likewise.
10849         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
10850         volatile.
10851         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
10852         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
10853         math_narrow_eval.
10854         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10855         Likewise.
10856         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10857         Likewise.
10859 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
10861         * nptl/Versions: Remove ignored symbols.
10863 2015-09-22  Florian Weimer  <fweimer@redhat.com>
10865         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
10866         * nss/Makefile (tests): Update.
10868 2015-09-22  Florian Weimer  <fweimer@redhat.com>
10870         * nss/bug18287.c: New file.
10871         * nss/Makefile (tests): Add bug18287.
10873 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10875         * mach/Versions (__mach_host_self_): Add symbol.
10877 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10879         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
10880         vm_page_size.
10882 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10884         Really fix sysdeps/i386/fpu/s_scalbn.S build
10886         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
10887         (libc: GLIBC_2_22): Remove unused version set.
10889 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
10891         * config.make.in (enable-timezone-tools): New variable.
10892         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
10893         (enable_timezone_tools): Export to generated files.
10894         * configure: Regenerate.
10895         * INSTALL: Regenerate.
10896         * manual/install.texi (--disable-timezone-tools): Document new flag.
10897         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
10898         ifeq ($(enable-timezone-tools),yes) check.
10900 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
10902         * timezone/Makefile: Revert previous change.
10904         [BZ #18980]
10905         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
10906         (DEFINE_DBL_MIN): Likewise.
10907         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
10908         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
10909         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
10910         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
10911         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
10912         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10913         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10914         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
10915         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
10916         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10917         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10918         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
10919         (flt_min): Replace with use of DEFINE_FLT_MIN.
10920         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10921         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
10922         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10923         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10924         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
10925         (flt_min): Replace with use of DEFINE_FLT_MIN.
10926         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10927         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
10928         (flt_min): Replace with use of DEFINE_FLT_MIN.
10929         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10930         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
10931         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
10932         (__ieee754_hypot): Use DBL_NARROW_EVAL.
10933         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
10934         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
10935         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
10936         (__ieee754_pow): Use DBL_NARROW_EVAL.
10937         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
10938         (__ieee754_powf): Use FLT_NARROW_EVAL.
10939         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
10940         (__ieee754_expf_sse2): Convert double-precision result to single
10941         precision.
10942         * sysdeps/i386/fpu/libm-test-ulps: Update.
10944 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10946         * timezone/Makefile: Ignore unused variable errors due to private.h
10947         (time_t_min) and (time_t_max).
10948         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
10949         Likewise.
10951 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
10953         [BZ #18981]
10954         * sysdeps/i386/fpu/i386-math-asm.h: New file.
10955         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
10956         (__ieee754_scalb): Use DBL_NARROW_EVAL.
10957         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
10958         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
10959         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
10960         (__scalbn): Use DBL_NARROW_EVAL.
10961         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
10962         (__scalbnf): Use FLT_NARROW_EVAL.
10964 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10966         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
10967         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
10968         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
10969         * stdio-common/printf_fp.c (___printf_fp):
10970         Use signbit to get the sign. Use isinf macro to allow inlining.
10971         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
10972         * stdio-common/printf_size.c (__printf_size): Likewise.
10974 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
10976         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
10978 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
10980         [BZ #18980]
10981         * sysdeps/generic/math_private.h: Include <float.h>.
10982         (math_narrow_eval): New macro.
10983         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
10984         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
10985         math_narrow_eval on overflowing return value.
10986         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
10987         Likewise.
10988         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10989         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
10990         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
10991         Likewise.
10992         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
10994 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10996         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
10997         * math/Makefile: Remove isinf_ns.c.
10998         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
10999         * math/multc3.c (__multc3): Likewise.
11000         * math/s_casin.c (__casin): Likewise.
11001         * math/s_casinf.c (__casinf): Likewise.
11002         * math/s_casinl.c (__casinl): Likewise.
11003         * math/s_cproj.c (__cproj): Likewise.
11004         * math/s_cprojf.c (__cprojf): Likewise.
11005         * math/s_cprojl.c (__cprofl): Likewise.
11006         * math/s_ctan.c (__ctan): Likewise.
11007         * math/s_ctanf.c (__ctanf): Likewise.
11008         * math/s_ctanh.c (__ctanh): Likewise.
11009         * math/s_ctanhf.c (__ctanhf): Likewise.
11010         * math/s_ctanhl.c (__ctanhl): Likewise.
11011         * math/s_ctanl.c (__ctanl): Likewise.
11012         * math/w_fmod.c (__fmod): Likewise.
11013         * math/w_fmodf.c (__fmodf): Likewise.
11014         * math/w_fmodl.c (_fmodl): Likewise.
11015         * math/w_remainder.c (__remainder): Likewise.
11016         * math/w_remainderf.c (__remainderf): Likewise.
11017         * math/w_remainderl.c (__remainderl): Likewise.
11018         * math/w_scalb.c (__scalb): Likewise.
11019         * math/w_scalbf.c (__scalbf): Likewise.
11020         * math/w_scalbl.c (__scalbl): Likewise.
11021         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
11022         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
11023         with isinf.
11024         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
11025         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
11026         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
11027         __isinf_nsf with isinf.
11028         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
11029         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
11030         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
11031         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
11032         with isinf.
11033         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
11034         __isinf_nsl with isinf.
11035         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
11036         with isinf.
11037         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
11038         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
11039         __isinf_nsl with isinf.
11040         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
11041         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
11042         with isinf.
11044 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11046         * resolv/base64.c (rcsid): Remove unused static.
11047         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
11048         static.  (tqpi1): Likewise.
11049         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
11050         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
11051         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
11052         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
11053         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
11054         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
11055         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
11056         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
11057         Likewise.
11059 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
11061         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
11062         <nptl/pthreadP.h>.
11063         (_longjmp_unwind): Use __libc_ptf_call.
11064         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
11066 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
11068         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
11069         * sysdeps/arm/__longjmp.S: Likewise.
11071 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11073         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
11074         Use __builtin_signbit.
11075         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
11076         Use __builtin_signbitf.
11077         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
11078         Use __builtin_signbitl.
11079         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11080         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
11082 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11084         [BZ #15367]
11085         [BZ #17441]
11087         * math/Makefile: Build test-snan.c with -fsignaling-nans.
11088         * math/math.h (fpclassify): Use __builtin_fpclassify when
11089         available.  (signbit): Use __builtin_signbit(f/l).
11090         (isfinite): Use__builtin_isfinite.  (isnormal): Use
11091         __builtin_isnormal.  (isnan): Use __builtin_isnan.
11092         (isinf): Use __builtin_isinf_sign.
11094 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11096         * benchtests/Makefile: Add bench-math-inlines, link with libm.
11097         * benchtests/bench-math-inlines.c: New benchmark.
11098         * benchtests/bench-util.h: New file.
11099         * benchtests/bench-util.c: New file.
11100         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
11102 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
11104         * elf/tst-dlmopen1.c: Define TEST_SO.
11105         (do_test): Use TEST_SO.
11107         * elf/dl-load.c: Include libc-internal.h.
11108         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
11110 2015-09-18  Vincent Bernat  <vincent@bernat.im>
11112         [BZ #17887]
11113         * time/strptime_l.c (__strptime_internal): Make %z accept
11114         [+-]HH:MM time zones.
11116 2015-09-18  Vincent Bernat  <vincent@bernat.im>
11118         [BZ #17886]
11119         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
11120         valid time zone.
11122 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
11124         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
11125         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
11126         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11127         (__ASSUME_FDATASYNC): Delete.
11129 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
11131         * conform/linknamespace.pl: Require weak undefined symbols to be
11132         in the standard namespace.
11133         (%strong_syms): Rename to %seen_syms.
11134         (%strong_seen): Rename to %seen_where.
11136 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
11138         [BZ #18970]
11139         * misc/error.c (error): Replace pthread_setcancelstate with
11140         __pthread_setcancelstate.
11141         (error_at_line): Likewise.
11142         * posix/wordexp.c (parse_comm): Likewise.
11143         * stdlib/fmtmsg.c (fmtmsg): Likewise.
11144         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
11145         (__pthread_setcancelstate): This.
11146         (pthread_setcancelstate): Add an alias.
11147         * nptl/nptl-init.c (pthread_functions): Replace
11148         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
11149         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
11150         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
11151         hidden_proto.
11152         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
11153         it with hidden_def.
11154         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
11155         (pthread_setcancelstate): Renamed to ...
11156         (__pthread_setcancelstate): This.
11157         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
11158         __libc_ptf_call with __pthread_setcancelstate.
11160 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
11161             Andreas Schwab  <schwab@suse.de>
11163         [BZ #17118]
11164         * math/s_ctan.c (__ctan): Determine sign of zero real part of
11165         result when imaginary part of argument is infinite using sine and
11166         cosine.
11167         * math/s_ctanf.c (__ctanf): Likewise.
11168         * math/s_ctanl.c (__ctanl): Likewise.
11169         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
11170         of result when real part of argument is infinite using sine and
11171         cosine.
11172         * math/s_ctanhf.c (__ctanhf): Likewise.
11173         * math/s_ctanhl.c (__ctanhl): Likewise.
11174         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
11175         (ctanh_test_data): Add more tests of ctanh.
11177 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
11179         [BZ #15384]
11180         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
11181         bit-mask as in subtraction.
11182         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
11183         Likewise.
11184         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
11185         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
11186         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
11188         [BZ #18951]
11189         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
11190         underflow exception for small results.
11191         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11192         Likewise.
11193         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11194         Likewise.
11195         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11196         Likewise.
11197         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11198         Likewise.
11199         * math/auto-libm-test-in: Add more tests of tgamma.
11200         * math/auto-libm-test-out: Regenerated.
11202 2015-09-17  Andreas Schwab  <schwab@suse.de>
11204         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
11206 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
11208         [BZ #18977]
11209         * math/bits/mathcalls.h
11210         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
11211         not declare.
11212         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
11213         Likewise.
11214         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
11215         Likewise.
11216         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
11217         Likewise.
11218         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
11219         Likewise.
11220         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
11221         Likewise.
11222         * conform/data/math.h-data
11223         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
11224         function.
11225         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
11226         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
11227         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
11228         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
11229         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
11230         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
11231         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
11232         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
11233         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
11234         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
11235         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
11237         [BZ #6803]
11238         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
11239         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
11240         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
11241         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
11242         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
11243         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
11244         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
11245         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
11246         [NO_LONG_DOUBLE] (scalbnl): Likewise.
11247         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
11248         Likewise.
11249         [NO_LONG_DOUBLE] (scalbnl): Likewise.
11250         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
11251         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
11252         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
11253         long_double_symbol calls.
11254         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
11255         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
11256         strong alias of __ldexpl.
11257         (scalbnl): Define using long_double_symbol.
11258         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
11259         Remove alias.
11260         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
11261         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
11262         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
11263         (scalbln_test_data): Add more errno expectations.
11265 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
11267         Cache the host port like we cache the task port.  This way we do not
11268         need to call the kernel just to get the port.  Furthermore, we no
11269         longer increase the reference count on every invocation of
11270         `mach_host_self'.
11272         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
11273         Protect declarations against the macro expansion.
11274         * mach/mach_init.c (__mach_host_self_): New variable.
11275         (mach_init): Initialize `__mach_host_self_'.
11276         * mach/mach_init.h (__mach_host_self_): New declaration.
11277         (__mach_host_self, mach_host_self): New macros.
11278         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
11279         Release reference.
11281 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
11283         [BZ #4404]
11284         * po/de.po: Update from Translation Project.
11286         [BZ #16415]
11287         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
11288         (__expm1l): Remove code to handle positive infinity and overflow.
11289         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
11290         variable.
11291         (__expm1l): Remove code to handle positive infinity and overflow.
11293 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
11294             Paul Pluzhnikov  <ppluzhnikov@google.com>
11296         [BZ #18872]
11297         * stdio-common/Makefile (tst-printf-bz18872): New test.
11298         (tst-printf-bz18872-mem.out): Likewise.
11299         * stdio-common/tst-printf-bz18872.sh: Generate new test.
11300         * stdio-common/vfprintf.c: Fix memory leaks.
11302 2015-09-16  Andreas Schwab  <schwab@suse.de>
11304         [BZ #17244]
11305         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
11306         Remove extra va_start/va_end calls.
11308         [BZ #17243]
11309         * posix/execl.c (execl): Add missing va_end.
11310         * posix/execle.c (execle): Likewise.
11311         * posix/execlp.c (execlp): Likewise.
11313 2015-09-15  Roland McGrath  <roland@hack.frob.com>
11315         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
11316         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
11318 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
11320         [BZ #18967]
11321         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
11322         undefine around includes of <bits/mathcalls.h>.
11323         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
11324         not declare function.
11325         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
11326         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
11327         (scalb): Likewise.
11328         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
11329         not define macro.
11330         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
11331         variable.
11332         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
11333         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11334         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11336         [BZ #18857]
11337         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
11338         return non-finite argument without doing ordered comparisons on
11339         it.
11341         [BZ #16296]
11342         * math/fenv.h (fegetround): Use __attribute_pure__.
11343         * include/fenv.h (__fegetround): Likewise.
11345         [BZ #18595]
11346         * math/s_ctan.c (__ctan): Force underflow exception for results
11347         whose real or imaginary part has small absolute value.
11348         * math/s_ctanf.c (__ctanf): Likewise.
11349         * math/s_ctanh.c (__ctanh): Likewise.
11350         * math/s_ctanhf.c (__ctanhf): Likewise.
11351         * math/s_ctanhl.c (__ctanhl): Likewise.
11352         * math/s_ctanl.c (__ctanl): Likewise.
11353         * math/auto-libm-test-in: Do not allow missing underflow for ctan
11354         and ctanh.  Add more tests of ctan and ctanh.
11356         [BZ #15918]
11357         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
11358         handling of cases where one argument is an infinity.
11360         [BZ #18875]
11361         [BZ #18966]
11362         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
11363         (MO): New macro.
11364         (__ieee754_exp10): For small results, force underflow exception
11365         and remove excess range and precision from return value.
11366         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
11367         (MO): New macro.
11368         (__ieee754_exp10f): For small results, force underflow exception
11369         and remove excess range and precision from return value.
11370         * math/auto-libm-test-in: Add more tests of exp10.
11371         * math/auto-libm-test-out: Regenerated.
11373 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
11375         [BZ #18875]
11376         [BZ #18961]
11377         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
11378         (MO): New macro.
11379         (__ieee754_exp): For small results, force underflow exception and
11380         remove excess range and precision from return value.
11381         (__exp_finite): Likewise.
11382         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
11383         (MO): New macro.
11384         (__ieee754_expf): For small results, force underflow exception and
11385         remove excess range and precision from return value.
11386         (__expf_finite): Likewise.
11387         * math/auto-libm-test-in: Add more tests of exp.
11388         * math/auto-libm-test-out: Regenerated.
11390         [BZ #16521]
11391         [BZ #18875]
11392         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
11393         small results.
11394         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
11395         (MO): New macro.
11396         (__ieee754_exp2): For small results, force underflow exception and
11397         remove excess range and precision from return value.
11398         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
11399         (MO): New macro.
11400         (__ieee754_exp2f): For small results, force underflow exception
11401         and remove excess range and precision from return value.
11402         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
11403         (MO): New macro.
11404         (__ieee754_exp2l): Force underflow exception for small results.
11405         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11406         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
11407         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
11408         (MO): New macro.
11409         (__ieee754_exp2l): Force underflow exception for small results.
11410         * math/auto-libm-test-in: Add more tests or exp2.
11411         * math/auto-libm-test-out: Regenerated.
11413 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
11415         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
11417         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
11418         /dev/null.
11420 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11422         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
11423         io fs process)): Drop spurious backslash.
11425 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
11427         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
11428         Use sysinfo system call instead of parsing /proc/meminfo.
11429         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
11430         Likewise.
11432 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
11434         [BZ #16985]
11435         * programs/localedef.c (main): Display argv[remaining] when
11436         output_path is NULL.
11438 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
11440         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11441         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
11442         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
11443         tanh.
11444         * math/auto-libm-test-out: Regenerated.
11445         * sysdeps/i386/fpu/libm-test-ulps: Update.
11446         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11447         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11450 2015-09-11  Roland McGrath  <roland@hack.frob.com>
11452         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
11453         Use 'override' keyword to freeze the value here, preventing
11454         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
11456 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
11458         [BZ #14912]
11459         * sysdeps/aarch64/bits/atomic.h: Move to ...
11460         * sysdeps/aarch64/atomic-machine.h: ...here.
11461         (_AARCH64_BITS_ATOMIC_H): Rename macro to
11462         _AARCH64_ATOMIC_MACHINE_H.
11463         * sysdeps/alpha/bits/atomic.h: Move to ...
11464         * sysdeps/alpha/atomic-machine.h: ...here.
11465         * sysdeps/arm/bits/atomic.h: Move to ...
11466         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
11467         * bits/atomic.h: Move to ...
11468         * sysdeps/generic/atomic-machine.h: ...here.
11469         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11470         * sysdeps/i386/bits/atomic.h: Move to ...
11471         * sysdeps/i386/atomic-machine.h: ...here.
11472         * sysdeps/ia64/bits/atomic.h: Move to ...
11473         * sysdeps/ia64/atomic-machine.h: ...here.
11474         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
11475         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
11476         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11477         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
11478         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
11479         * sysdeps/microblaze/bits/atomic.h: Move to ...
11480         * sysdeps/microblaze/atomic-machine.h: ...here.
11481         * sysdeps/mips/bits/atomic.h: Move to ...
11482         * sysdeps/mips/atomic-machine.h: ...here.
11483         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
11484         * sysdeps/powerpc/bits/atomic.h: Move to ...
11485         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
11486         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
11487         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
11488         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
11489         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
11490         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
11491         <atomic-machine.h> instead of <bits/atomic.h>.
11492         * sysdeps/s390/bits/atomic.h: Move to ...
11493         * sysdeps/s390/atomic-machine.h: ...here.
11494         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
11495         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
11496         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11497         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
11498         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
11499         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
11500         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
11501         * sysdeps/tile/bits/atomic.h: Move to ...
11502         * sysdeps/tile/atomic-machine.h: ...here.
11503         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
11504         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
11505         <sysdeps/tile/atomic-machine.h> instead of
11506         <sysdeps/tile/bits/atomic.h>.
11507         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11508         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
11509         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
11510         <sysdeps/tile/atomic-machine.h> instead of
11511         <sysdeps/tile/bits/atomic.h>.
11512         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11513         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
11514         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
11515         <sysdeps/arm/atomic-machine.h> instead of
11516         <sysdeps/arm/bits/atomic.h>.
11517         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
11518         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
11519         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11520         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
11521         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
11522         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11523         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
11524         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
11525         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
11526         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
11527         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
11528         * sysdeps/x86_64/bits/atomic.h: Move to ...
11529         * sysdeps/x86_64/atomic-machine.h: ...here.
11530         * include/atomic.h: Include <atomic-machine.h> instead of
11531         <bits/atomic.h>.
11533         * sysdeps/mips/mips32/libm-test-ulps: Update.
11534         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11536         [BZ #18952]
11537         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
11538         not convert non-integer negative arguments to int to determine the
11539         value of signgam.
11540         * math/auto-libm-test-in: Add more tests of lgamma.
11541         * math/auto-libm-test-out: Regenerated.
11543         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
11544         cosh, csqrt, erfc, expm1 and lgamma.
11545         * math/auto-libm-test-out: Regenerated.
11546         * sysdeps/i386/fpu/libm-test-ulps: Update.
11547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11549 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
11551         [BZ #2542]
11552         [BZ #2543]
11553         [BZ #2558]
11554         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
11555         __lgamma_neg for arguments from -28.0 to -2.0.
11556         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
11557         __lgamma_negf for arguments from -15.0 to -2.0.
11558         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11559         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
11560         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
11561         Call __lgamma_negl for arguments from -33.0 to -2.0.
11562         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
11563         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
11564         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
11565         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
11566         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
11567         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
11568         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
11569         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
11570         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
11571         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
11572         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
11573         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
11574         (__lgamma_neg): Likewise.
11575         (__lgamma_negl): Likewise.
11576         (__lgamma_product): Likewise.
11577         (__lgamma_productl): Likewise.
11578         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
11579         * math/auto-libm-test-in: Add more tests of lgamma.
11580         * math/auto-libm-test-out: Regenerated.
11581         * sysdeps/i386/fpu/libm-test-ulps: Update.
11582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11584 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
11586         [BZ #18675]
11587         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
11589 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
11591         [BZ #14912]
11592         * bits/libc-lock.h: Move to ...
11593         * sysdeps/generic/libc-lock.h: ...here.
11594         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
11595         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
11596         * sysdeps/mach/hurd/libc-lock.h: ...here.
11597         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
11598         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
11599         * sysdeps/mach/bits/libc-lock.h: Move to ...
11600         * sysdeps/mach/libc-lock.h: ...here.
11601         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
11602         * sysdeps/nptl/bits/libc-lock.h: Move to ...
11603         * sysdeps/nptl/libc-lock.h: ...here.
11604         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
11605         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
11606         * sysdeps/nptl/libc-lockP.h: ...here.
11607         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
11608         * crypt/crypt_util.c: Include <libc-lock.h> instead of
11609         <bits/libc-lock.h>.
11610         * dirent/scandir-tail.c: Likewise.
11611         * dlfcn/dlerror.c: Likewise.
11612         * elf/dl-close.c: Likewise.
11613         * elf/dl-iteratephdr.c: Likewise.
11614         * elf/dl-lookup.c: Likewise.
11615         * elf/dl-open.c: Likewise.
11616         * elf/dl-support.c: Likewise.
11617         * elf/dl-writev.h: Likewise.
11618         * elf/rtld.c: Likewise.
11619         * grp/fgetgrent.c: Likewise.
11620         * gshadow/fgetsgent.c: Likewise.
11621         * gshadow/sgetsgent.c: Likewise.
11622         * iconv/gconv_conf.c: Likewise.
11623         * iconv/gconv_db.c: Likewise.
11624         * iconv/gconv_dl.c: Likewise.
11625         * iconv/gconv_int.h: Likewise.
11626         * iconv/gconv_trans.c: Likewise.
11627         * include/link.h: Likewise.
11628         * inet/getnameinfo.c: Likewise.
11629         * inet/getnetgrent.c: Likewise.
11630         * inet/getnetgrent_r.c: Likewise.
11631         * intl/bindtextdom.c: Likewise.
11632         * intl/dcigettext.c: Likewise.
11633         * intl/finddomain.c: Likewise.
11634         * intl/gettextP.h: Likewise.
11635         * intl/loadmsgcat.c: Likewise.
11636         * intl/localealias.c: Likewise.
11637         * intl/textdomain.c: Likewise.
11638         * libidn/idn-stub.c: Likewise.
11639         * libio/libioP.h: Likewise.
11640         * locale/duplocale.c: Likewise.
11641         * locale/freelocale.c: Likewise.
11642         * locale/newlocale.c: Likewise.
11643         * locale/setlocale.c: Likewise.
11644         * login/getutent_r.c: Likewise.
11645         * login/getutid_r.c: Likewise.
11646         * login/getutline_r.c: Likewise.
11647         * login/utmp-private.h: Likewise.
11648         * login/utmpname.c: Likewise.
11649         * malloc/mtrace.c: Likewise.
11650         * misc/efgcvt.c: Likewise.
11651         * misc/error.c: Likewise.
11652         * misc/fstab.c: Likewise.
11653         * misc/getpass.c: Likewise.
11654         * misc/mntent.c: Likewise.
11655         * misc/syslog.c: Likewise.
11656         * nis/nis_call.c: Likewise.
11657         * nis/nis_callback.c: Likewise.
11658         * nis/nss-default.c: Likewise.
11659         * nis/nss_compat/compat-grp.c: Likewise.
11660         * nis/nss_compat/compat-initgroups.c: Likewise.
11661         * nis/nss_compat/compat-pwd.c: Likewise.
11662         * nis/nss_compat/compat-spwd.c: Likewise.
11663         * nis/nss_nis/nis-alias.c: Likewise.
11664         * nis/nss_nis/nis-ethers.c: Likewise.
11665         * nis/nss_nis/nis-grp.c: Likewise.
11666         * nis/nss_nis/nis-hosts.c: Likewise.
11667         * nis/nss_nis/nis-network.c: Likewise.
11668         * nis/nss_nis/nis-proto.c: Likewise.
11669         * nis/nss_nis/nis-pwd.c: Likewise.
11670         * nis/nss_nis/nis-rpc.c: Likewise.
11671         * nis/nss_nis/nis-service.c: Likewise.
11672         * nis/nss_nis/nis-spwd.c: Likewise.
11673         * nis/nss_nisplus/nisplus-alias.c: Likewise.
11674         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
11675         * nis/nss_nisplus/nisplus-grp.c: Likewise.
11676         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
11677         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
11678         * nis/nss_nisplus/nisplus-network.c: Likewise.
11679         * nis/nss_nisplus/nisplus-proto.c: Likewise.
11680         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
11681         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
11682         * nis/nss_nisplus/nisplus-service.c: Likewise.
11683         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
11684         * nis/ypclnt.c: Likewise.
11685         * nptl/libc_pthread_init.c: Likewise.
11686         * nss/getXXbyYY.c: Likewise.
11687         * nss/getXXent.c: Likewise.
11688         * nss/getXXent_r.c: Likewise.
11689         * nss/nss_db/db-XXX.c: Likewise.
11690         * nss/nss_db/db-netgrp.c: Likewise.
11691         * nss/nss_db/nss_db.h: Likewise.
11692         * nss/nss_files/files-XXX.c: Likewise.
11693         * nss/nss_files/files-alias.c: Likewise.
11694         * nss/nsswitch.c: Likewise.
11695         * posix/regex_internal.h: Likewise.
11696         * posix/wordexp.c: Likewise.
11697         * pwd/fgetpwent.c: Likewise.
11698         * resolv/res_hconf.c: Likewise.
11699         * resolv/res_libc.c: Likewise.
11700         * shadow/fgetspent.c: Likewise.
11701         * shadow/lckpwdf.c: Likewise.
11702         * shadow/sgetspent.c: Likewise.
11703         * socket/opensock.c: Likewise.
11704         * stdio-common/reg-modifier.c: Likewise.
11705         * stdio-common/reg-printf.c: Likewise.
11706         * stdio-common/reg-type.c: Likewise.
11707         * stdio-common/vfprintf.c: Likewise.
11708         * stdio-common/vfscanf.c: Likewise.
11709         * stdlib/abort.c: Likewise.
11710         * stdlib/cxa_atexit.c: Likewise.
11711         * stdlib/fmtmsg.c: Likewise.
11712         * stdlib/random.c: Likewise.
11713         * stdlib/setenv.c: Likewise.
11714         * string/strsignal.c: Likewise.
11715         * sunrpc/auth_none.c: Likewise.
11716         * sunrpc/bindrsvprt.c: Likewise.
11717         * sunrpc/create_xid.c: Likewise.
11718         * sunrpc/key_call.c: Likewise.
11719         * sunrpc/rpc_thread.c: Likewise.
11720         * sysdeps/arm/backtrace.c: Likewise.
11721         * sysdeps/generic/ldsodefs.h: Likewise.
11722         * sysdeps/generic/stdio-lock.h: Likewise.
11723         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
11724         * sysdeps/i386/backtrace.c: Likewise.
11725         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
11726         * sysdeps/m68k/backtrace.c: Likewise.
11727         * sysdeps/mach/hurd/cthreads.c: Likewise.
11728         * sysdeps/mach/hurd/dirstream.h: Likewise.
11729         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
11730         * sysdeps/nptl/malloc-machine.h: Likewise.
11731         * sysdeps/nptl/stdio-lock.h: Likewise.
11732         * sysdeps/posix/dirstream.h: Likewise.
11733         * sysdeps/posix/getaddrinfo.c: Likewise.
11734         * sysdeps/posix/system.c: Likewise.
11735         * sysdeps/pthread/aio_suspend.c: Likewise.
11736         * sysdeps/s390/s390-32/backtrace.c: Likewise.
11737         * sysdeps/s390/s390-64/backtrace.c: Likewise.
11738         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11739         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
11740         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
11741         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
11742         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
11743         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
11744         * sysdeps/unix/sysv/linux/system.c: Likewise.
11745         * sysdeps/x86_64/backtrace.c: Likewise.
11746         * time/alt_digit.c: Likewise.
11747         * time/era.c: Likewise.
11748         * time/tzset.c: Likewise.
11749         * wcsmbs/wcsmbsload.c: Likewise.
11750         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
11751         instead of <bits/libc-lock.h> in comment.
11753 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
11755         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
11756         Only use .set mips2 if the current ISA is below mips2.
11757         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
11758         Likewise.
11759         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
11760         mips32r2 if the current ISA is below mips32r2.
11761         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
11762         (TLS_IE): Updated to use the TLD_RDHWR macro.
11763         (TLS_LE): Likewise.
11764         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
11765         __ASSEMBLER__ condition.
11767 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11769         Fix parallel build of before-compile targets.
11771         * sysdeps/mach/Makefile ($(patsubst
11772         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
11773         mach-before-compile target.
11774         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
11775         io fs process)): Move rule to dedicated hurd-before-compile target.
11777 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11779         Fix rules generating headers in hurd/ and mach/ when initial make call
11780         has subdir= explicitly set.
11782         * sysdeps/mach/Makefile ($(patsubst
11783         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
11784         calling $(MAKE).
11785         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
11786         io fs process)): Force subdir to hurd when calling $(MAKE).
11787         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
11788         subdir to mach when calling $(MAKE).
11790 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
11792         Check sysheaders when looking for Mach and Hurd headers
11794         * sysdeps/mach/configure.ac: Add sysheaders check.
11795         * sysdeps/mach/configure: Regenerate.
11796         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
11797         * sysdeps/mach/hurd/configure: Regenerate.
11799 2015-09-04  Roland McGrath  <roland@hack.frob.com>
11801         [BZ #18921]
11802         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
11803         Fix inverted sense of test of 'o_directory_works' value.
11804         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
11805         Bernhard Voelker <mail@bernhard-voelker.de>.
11807 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
11809         [BZ #14912]
11810         * bits/linkmap.h: Move to ...
11811         * sysdeps/generic/linkmap.h: ...here.
11812         * sysdeps/aarch64/bits/linkmap.h: Move to ...
11813         * sysdeps/aarch64/linkmap.h: ...here.
11814         * sysdeps/arm/bits/linkmap.h: Move to ...
11815         * sysdeps/arm/linkmap.h: ...here.
11816         * sysdeps/hppa/bits/linkmap.h: Move to ...
11817         * sysdeps/hppa/linkmap.h: ...here.
11818         * sysdeps/ia64/bits/linkmap.h: Move to ...
11819         * sysdeps/ia64/linkmap.h: ...here.
11820         * sysdeps/mips/bits/linkmap.h: Move to ...
11821         * sysdeps/mips/linkmap.h: ...here.
11822         * sysdeps/s390/bits/linkmap.h: Move to ...
11823         * sysdeps/s390/linkmap.h: ...here.
11824         * sysdeps/sh/bits/linkmap.h: Move to ...
11825         * sysdeps/sh/linkmap.h: ...here.
11826         * sysdeps/x86/bits/linkmap.h: Move to ...
11827         * sysdeps/x86/linkmap.h: ...here.
11828         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
11830 2015-09-04  Andreas Schwab  <schwab@suse.de>
11832         [BZ #18635]
11833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
11834         (__makecontext): Terminate FDE before return label.
11835         (__novec_makecontext): Likewise.
11837 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11839         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
11840         first member of struct sv in syscall macro.
11842 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
11844         [BZ #14912]
11845         * bits/stdio-lock.h: Move to ...
11846         * sysdeps/generic/stdio-lock.h: ...here.
11847         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
11848         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
11849         * sysdeps/nptl/stdio-lock.h: ...here.
11850         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
11851         * include/libio.h: Include <stdio-lock.h> instead of
11852         <bits/stdio-lock.h>.
11853         * sysdeps/nptl/fork.c: Likewise.
11854         * sysdeps/pthread/flockfile.c: Likewise.
11855         * sysdeps/pthread/ftrylockfile.c: Likewise.
11856         * sysdeps/pthread/funlockfile.c: Likewise.
11858         [BZ #14912]
11859         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
11860         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
11861         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
11862         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
11863         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
11864         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
11865         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
11867 2015-09-03  Roland McGrath  <roland@hack.frob.com>
11869         * elf/Makefile (test-xfail-tst-protected1a): New variable.
11870         (test-xfail-tst-protected1b): New variable.
11872 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
11874         [BZ #14912]
11875         * bits/libc-tsd.h: Move to ...
11876         * sysdeps/generic/libc-tsd.h: ...here.
11877         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
11878         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
11879         * sysdeps/mach/hurd/libc-tsd.h: ...here.
11880         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
11881         * include/ctype.h: Include <libc-tsd.h> instead of
11882         <bits/libc-tsd.h>.
11883         * include/rpc/rpc.h: Likewise.
11884         * locale/localeinfo.h: Likewise.
11885         * sunrpc/rpc_thread.c: Likewise.
11886         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
11887         * sysdeps/nptl/malloc-machine.h: Likewise.
11889         * Makefile (headers): Remove bits/libc-lock.h.
11890         * libio/Makefile (headers): Remove bits/stdio-lock.h.
11892         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
11893         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
11894         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
11895         <bits/stdio-lock.h>.
11896         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
11897         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
11899 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
11901         [BZ #18757]
11902         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
11903         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
11904         BZ #18757.
11906 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
11908         * malloc/mtrace.pl: Filter out NULL entries.
11910 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
11912         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
11913         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
11914         macro.
11916         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
11917         (TCP_CC_INFO): Likewise.
11918         (TCP_SAVE_SYN): Likewise.
11919         (TCP_SAVED_SYN): Likewise.
11921 2015-08-31  Brett Neumeier <brett@neumeier.us>
11923         [BZ #18870]
11924         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
11926 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
11928         [BZ #18873]
11929         Fix broken overflow check in posix_fallocate
11930         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
11931         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
11932         Fix parenthesization typo.
11934 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
11936         [BZ #18887]
11937         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
11938         tst-mntent-blank-passno.
11939         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
11940         * misc/tst-mntent-blank-corrupt.c: New test.
11941         * misc/tst-mntent-blank-passno.c: New test ripped from ...
11942         * misc/tst-mntent.c (do_test): ... here.
11944 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
11946         [BZ #4404]
11947         * po/de.po: Fix SIGALRM typo.
11949 2015-08-28  James Perkins  <james@loowit.net>
11951         * time/tst-strptime2.c (tests): Replace short list of test
11952         strings for strptime %z specifier with code which exhaustively
11953         tests every combination of sign and 0 to 5 digits. Tests for
11954         rejection of invalid strings.
11956 2015-08-28  James Perkins  <james@loowit.net>
11958         [BZ #16141]
11959         * time/strptime_l.c (__strptime_internal): Fix %z minutes
11960         calculation, removing incorrect decimal time rounding, so that
11961         all minute values result in a valid seconds value.
11962         * time/strptime_l.c (__strptime_internal): Extend %z time zone
11963         offset range limits to UTC-99:59 through UTC+99:59 to parse
11964         current and historical use cases.
11965         * time/tst-strptime2.c (tests): Modify and add tests for the
11966         strptime %z input field descriptor, specifically conversion of
11967         minutes to seconds and validating an offset range of -9959 to
11968         +9959.
11970 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11971             Dmitry V. Levin  <ldv@altlinux.org>
11973         [BZ #18877]
11974         * posix/Makefile (tests): Add tst-mmap-offset.
11975         * posix/tst-mmap.c: New file.
11976         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
11977         offset calculation for negative values.
11979 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11981         * sysdeps/i386/init-arch.h: New file.
11982         * sysdeps/i386/i586/init-arch.h: Likewise.
11983         * sysdeps/i386/i686/init-arch.h: Likewise.
11984         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
11985         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
11986         * sysdeps/x86/cpu-features.h (bit_I586): New.
11987         (bit_I686): Likewise.
11988         (bit_CX8): Likewise.
11989         (bit_CMOV): Likewise.
11990         (index_CX8): Likewise.
11991         (index_CMOV): Likewise.
11992         (index_I586): Likewise.
11993         (index_I686): Likewise.
11994         (reg_CX8): Likewise.
11995         (reg_CMOV): Likewise.
11996         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
11997         available at compile-time.
11998         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
11999         available at compile-time.
12000         * sysdeps/x86/init-arch.h (USE_I586): New macro.
12001         (USE_I686): Likewise.
12003 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12005         * sysdeps/i386/bcopy.S: New file.
12006         * sysdeps/i386/bzero.S: Likewise.
12007         * sysdeps/i386/memcpy.S: Likewise.
12008         * sysdeps/i386/memmove.S: Likewise.
12009         * sysdeps/i386/mempcpy.S: Likewise.
12010         * sysdeps/i386/memset.S: Likewise.
12011         * sysdeps/i386/bzero.c: Removed.
12012         * sysdeps/i386/memset.c: Likewise.
12013         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
12014         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
12015         * sysdeps/i386/i586/memset_chk.S: Likewise.
12016         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
12017         * sysdeps/i386/memcpy_chk.S: Here.
12018         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
12019         * sysdeps/i386/memmove_chk.S: Here.
12020         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
12021         * sysdeps/i386/mempcpy_chk.S: Likewise.
12022         * sysdeps/i386/i686/memset_chk.S: Moved to ...
12023         * sysdeps/i386/memset_chk.S: Likewise.
12025 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
12027         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
12028         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
12029         file, move DIAG_POP_NEEDS_COMMENT to end of file.
12030         * soft-fp/fmadf4.c: Ditto.
12031         * soft-fp/fmatf4.c: Ditto.
12033 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12035         * sysdeps/i386/i586/Implies: Removed.
12036         * sysdeps/i386/i686/Implies: Likewise.
12038 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12040         * sysdeps/i386/i486/strlen.S: Moved to ...
12041         * sysdeps/i386/strlen.S: Here.
12043 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12045         * sysdeps/i386/i486/strcat.S: Moved to ...
12046         * sysdeps/i386/strcat.S: Here.
12048 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12050         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
12051         * sysdeps/i386/pthread_spin_trylock.S: Here.
12052         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
12053         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
12055 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12057         * sysdeps/i386/i486/string-inlines.c: Moved to ...
12058         * sysdeps/i386/string-inlines.c: Here.
12060 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12062         * sysdeps/i386/i486/htonl.S: Moved ...
12063         * sysdeps/i386/htonl.S: here.
12065 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12067         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
12068         * sysdeps/i386/bits/atomic.h: Here.
12070 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12072         * sysdeps/i386/i486/Versions: Removed.
12074 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
12076         [BZ #2898]
12077         * misc/mktemp.c: Add mkdtemp to the link_warning message.
12078         Based on patch by Aurelien Jarno.
12080 2015-08-26  Stan Shebs  <stanshebs@google.com>
12082         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
12083         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
12085 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12087         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
12088         * sysdeps/powerpc/dl-procinfo.c:
12089         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
12090         feature so it shows when LD_SHOW_AUXV=1.
12092 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12094         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
12095         (__arch_compare_and_exchange_val_32_acq): Remove and use common
12096         definition.  ISA 2.07B no longer requires full sync.
12098 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
12100         [BZ #18863]
12101         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
12102         (si_call_addr): Define.
12103         (si_syscall): Define.
12104         (si_arch): Define.
12106 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
12108         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
12109         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
12110         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
12111         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
12112         (__memset_zero_constant_len_parameter): New.
12113         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
12114         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
12115         (__memset_zero_constant_len_parameter): Don't define if
12116         __memset_chk or USE_AS_BZERO are defined.
12118         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
12119         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
12120         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
12122         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
12123         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
12124         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
12125         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
12126         comments.
12127         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
12128         -mno-mmx for $(all-rtld-routines).
12129         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
12130         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
12131         i386.
12133 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
12135         * sysdeps/generic/unwind.h
12136         (_Unwind_Word): Use __mode__(__unwind_word__)
12137         instead of __mode__(__word__).
12138         (_Unwind_Sword): Likewise.
12140         * sysdeps/s390/s390-64/utf8-utf16-z9.c
12141         (MAX_NEEDED_INPUT): New define.
12142         (MAX_NEEDED_OUTPUT): New define.
12144         * NEWS: New item for IBM z13 string optimizations.
12146         * sysdeps/s390/multiarch/memrchr-c.c: New File.
12147         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
12148         * sysdeps/s390/multiarch/memrchr.c: Likewise.
12149         * sysdeps/s390/multiarch/Makefile
12150         (sysdep_routines): Add memrchr functions.
12151         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12152         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
12154         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
12155         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
12156         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
12157         * sysdeps/s390/multiarch/Makefile
12158         (sysdep_routines): Add wmemcmp functions.
12159         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12160         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
12161         * benchtests/bench-wmemcmp.c: New File.
12162         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
12164         * sysdeps/s390/multiarch/wmemset-c.c: New File.
12165         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
12166         * sysdeps/s390/multiarch/wmemset.c: Likewise.
12167         * sysdeps/s390/multiarch/Makefile
12168         (sysdep_routines): Add wmemset functions.
12169         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12170         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
12171         * wcsmbs/wmemset.c: Use WMEMSET if defined.
12172         * string/test-memset.c: Add wmemset support.
12173         * wcsmbs/test-wmemset.c: New File.
12174         * wcsmbs/Makefile (strop-tests): Add wmemset.
12175         * benchtests/bench-memset.c: Add wmemset support.
12176         * benchtests/bench-wmemset.c: New File.
12177         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
12179         * sysdeps/s390/multiarch/memccpy-c.c: New File.
12180         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
12181         * sysdeps/s390/multiarch/memccpy.c: Likewise.
12182         * sysdeps/s390/multiarch/Makefile
12183         (sysdep_routines): Add memccpy functions.
12184         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12185         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
12186         * string/memccpy.c: Use MEMCCPY if defined.
12188         * sysdeps/s390/multiarch/memchr-vx.S: New File.
12189         * sysdeps/s390/multiarch/memchr.c: Likewise.
12190         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
12191         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
12192         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
12193         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
12194         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
12195         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
12196         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
12197         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
12198         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
12199         and rawmemchr functions.
12200         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12201         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
12202         and wmemchr.
12203         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
12204         * string/test-memchr.c: Add wmemchr support.
12205         * wcsmbs/test-wmemchr.c: New File.
12206         * wcsmbs/Makefile (strop-tests): Add wmemchr.
12207         * benchtests/bench-memchr.c: Add wmemchr support.
12208         * benchtests/bench-wmemchr.c: New File.
12209         * benchtests/Makefile (wcsmbs-bench): wmemchr.
12211         * sysdeps/s390/multiarch/strcspn-c.c: New File.
12212         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
12213         * sysdeps/s390/multiarch/strcspn.c: Likewise.
12214         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
12215         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
12216         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
12217         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
12218         wcscspn functions.
12219         * sysdeps/s390/multiarch/ifunc-impl-list.c
12220         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
12221         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
12222         * string/test-strcspn.c: Add wcscspn support.
12223         * wcsmbs/test-wcscspn.c: New File.
12224         * wcsmbs/Makefile (strop-tests): Add wcscspn.
12225         * benchtests/bench-strcspn.c: Add wcscspn support.
12226         * benchtests/bench-wcscspn.c: New File.
12227         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
12229         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
12230         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
12231         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
12232         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
12233         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
12234         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
12235         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
12236         wcspbrk functions.
12237         * sysdeps/s390/multiarch/ifunc-impl-list.c
12238         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
12239         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
12240         * string/test-strpbrk.c: Add wcspbrk support.
12241         * wcsmbs/test-wcspbrk.c: New File.
12242         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
12243         * benchtests/bench-strpbrk.c: Add wcspbrk support.
12244         * benchtests/bench-wcspbrk.c: New File.
12245         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
12247         * sysdeps/s390/multiarch/strspn-c.c: New File.
12248         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
12249         * sysdeps/s390/multiarch/strspn.c: Likewise.
12250         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
12251         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
12252         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
12253         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
12254         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
12255         wcsspn functions.
12256         * sysdeps/s390/multiarch/ifunc-impl-list.c
12257         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
12258         * string/test-strspn.c: Add wcsspn support.
12259         * wcsmbs/test-wcsspn.c: New File.
12260         * wcsmbs/Makefile (strop-tests): Add wcsspn.
12261         * benchtests/bench-strspn.c: Add wcsspn support.
12262         * benchtests/bench-wcsspn.c: New File.
12263         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
12265         * sysdeps/s390/multiarch/strrchr-c.c: New File.
12266         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
12267         * sysdeps/s390/multiarch/strrchr.c: Likewise.
12268         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
12269         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
12270         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
12271         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
12272         wcsrchr functions.
12273         * sysdeps/s390/multiarch/ifunc-impl-list.c
12274         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
12275         * benchtests/bench-wcsrchr.c: New File.
12276         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
12278         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
12279         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
12280         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
12281         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
12282         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
12283         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
12284         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
12285         wcschrnul functions.
12286         * sysdeps/s390/multiarch/ifunc-impl-list.c
12287         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
12288         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
12289         * string/test-strchr.c: Add wcschrnul support.
12290         * wcsmbs/test-wcschrnul.c: New File.
12291         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
12292         * benchtests/bench-strchr.c: Add wcschrnul support.
12293         * benchtests/bench-wcschrnul.c: New File.
12294         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
12296         * sysdeps/s390/multiarch/strchr-c.c: New File.
12297         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
12298         * sysdeps/s390/multiarch/strchr.c: Likewise.
12299         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
12300         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
12301         * sysdeps/s390/multiarch/wcschr.c: Likewise.
12302         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
12303         wcschr functions.
12304         * sysdeps/s390/multiarch/ifunc-impl-list.c
12305         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
12306         * string/strchr.c (STRCHR): Define and use macro.
12307         * benchtests/bench-wcschr.c: New File.
12308         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
12310         * sysdeps/s390/multiarch/strncmp-c.c: New File.
12311         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
12312         * sysdeps/s390/multiarch/strncmp.c: Likewise.
12313         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
12314         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
12315         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
12316         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
12317         wcsncmp functions.
12318         * sysdeps/s390/multiarch/ifunc-impl-list.c
12319         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
12320         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
12321         * benchtests/bench-strncmp.c: Add wcsncmp support.
12322         * benchtests/bench-wcsncmp.c: New File.
12323         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
12325         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
12326         * sysdeps/s390/multiarch/strcmp.c: Likewise.
12327         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
12328         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
12329         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
12330         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
12331         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
12332         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
12333         wcscmp functions.
12334         * sysdeps/s390/multiarch/ifunc-impl-list.c
12335         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
12336         * string/strcmp.c (STRCMP): Define and use macro.
12337         * benchtests/bench-wcscmp.c: New File.
12338         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
12339         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
12340         instead of _HAVE_STRING_ARCH_memchr.
12342         * sysdeps/s390/multiarch/strncat-c.c: New File.
12343         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
12344         * sysdeps/s390/multiarch/strncat.c: Likewise.
12345         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
12346         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
12347         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
12348         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
12349         wcsncat functions.
12350         * sysdeps/s390/multiarch/ifunc-impl-list.c
12351         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
12352         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
12353         * string/test-strncat.c: Add wcsncat support.
12354         * wcsmbs/test-wcsncat.c: New File.
12355         * wcsmbs/Makefile (strop-tests): Add wcsncat.
12356         * benchtests/bench-strncat.c: Add wcsncat support.
12357         * benchtests/bench-wcsncat.c: New File.
12358         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
12360         * sysdeps/s390/multiarch/strcat-c.c: New File.
12361         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
12362         * sysdeps/s390/multiarch/strcat.c: Likewise.
12363         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
12364         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
12365         * sysdeps/s390/multiarch/wcscat.c: Likewise.
12366         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
12367         wcscat functions.
12368         * sysdeps/s390/multiarch/ifunc-impl-list.c
12369         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
12370         * string/strcat.c (STRCAT): Define and use macro.
12371         * wcsmbs/wcscat.c: Use WCSCAT if defined.
12372         * string/test-strcat.c: Add wcscat support.
12373         * wcsmbs/test-wcscat.c: New File.
12374         * wcsmbs/Makefile (strop-tests): Add wcscat.
12375         * benchtests/bench-strcat.c: Add wcscat support.
12376         * benchtests/bench-wcscat.c: New File.
12377         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
12379         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
12380         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
12381         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
12382         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
12383         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
12384         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
12385         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
12386         wcpncpy functions.
12387         * sysdeps/s390/multiarch/ifunc-impl-list.c
12388         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
12389         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
12390         * string/test-stpncpy.c: Add wcpncpy support.
12391         * wcsmbs/test-wcpncpy.c: New File.
12392         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
12393         * benchtests/bench-stpncpy.c: Add wcpncpy support.
12394         * benchtests/bench-wcpncpy.c: New File.
12395         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
12397         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
12398         * sysdeps/s390/multiarch/strncpy.c: Likewise.
12399         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
12400         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
12401         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
12402         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
12403         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
12404         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
12405         wcsncpy functions.
12406         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
12407         * sysdeps/s390/multiarch/ifunc-impl-list.c
12408         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
12409         * string/test-strncpy.c: Add wcsncpy support.
12410         * wcsmbs/test-wcsncpy.c: New File.
12411         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
12412         * benchtests/bench-strncpy.c: Add wcsncpy support.
12413         * benchtests/bench-wcsncpy.c: New File.
12414         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
12416         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
12417         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
12418         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
12419         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
12420         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
12421         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
12422         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
12423         wcpcpy functions.
12424         * string/stpcpy.c: Use STPCPY if defined.
12425         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
12426         * sysdeps/s390/multiarch/ifunc-impl-list.c
12427         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
12428         * string/test-stpcpy.c: Add wcpcpy support.
12429         * wcsmbs/test-wcpcpy.c: New File.
12430         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
12431         * benchtests/bench-stpcpy.c: Add wcpcpy support.
12432         * benchtests/bench-wcpcpy.c: New File.
12433         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
12435         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
12436         * sysdeps/s390/multiarch/strcpy.c: Likewise.
12437         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
12438         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
12439         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
12440         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
12441         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
12442         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
12443         wcscpy functions.
12444         * sysdeps/s390/multiarch/ifunc-impl-list.c
12445         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
12446         * benchtests/bench-wcscpy.c: New File.
12447         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
12449         * sysdeps/s390/multiarch/strnlen-c.c: New File.
12450         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
12451         * sysdeps/s390/multiarch/strnlen.c: Likewise.
12452         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
12453         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
12454         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
12455         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
12456         wcsnlen functions.
12457         * sysdeps/s390/multiarch/ifunc-impl-list.c
12458         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
12459         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
12460         * string/test-strnlen.c: Add wcsnlen support.
12461         * wcsmbs/test-wcsnlen.c: New File.
12462         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
12463         * benchtests/bench-strnlen.c: Add wcsnlen support.
12464         * benchtests/bench-wcsnlen.c: New File.
12465         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
12467         * sysdeps/s390/multiarch/Makefile: New File.
12468         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
12469         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
12470         * sysdeps/s390/multiarch/strlen.c: Likewise.
12471         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
12472         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
12473         * sysdeps/s390/multiarch/wcslen.c: Likewise.
12474         * string/strlen.c (STRLEN): Define and use macro.
12475         * sysdeps/s390/multiarch/ifunc-impl-list.c
12476         (IFUNC_VX_IMPL): New macro function.
12477         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
12478         * benchtests/Makefile (wcsmbs-bench): New variable.
12479         (string-bench-all): Added wcsmbs-bench.
12480         * benchtests/bench-wcslen.c: New File.
12482         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
12483         s390_vx_libc_ifunc2): New macro function.
12485         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
12486         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
12487         assembler support.
12488         * sysdeps/s390/configure: Regenerated.
12490         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
12491         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
12493         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
12494         * sysdeps/s390/dl-procinfo.h: Add vector capability.
12495         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
12497         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
12498         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
12499         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
12500         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
12501         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
12502         (memcmp, bcmp): Use __memcmp_default as alias source.
12503         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
12504         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
12505         Rename to __memcmp_default.
12506         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
12507         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
12508         (memcpy): Use __memcpy_default as alias source.
12509         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
12510         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
12511         Rename to __memcpy_default.
12512         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
12513         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
12514         (memset): Use __memset_default as alias source.
12515         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
12516         * sysdeps/s390/s390-32/memset.S (__memset_g5):
12517         Rename to __memset_default.
12518         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
12519         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
12520         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
12521         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
12522         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
12523         (memcmp, bcmp): Use __memcmp_default as alias source.
12524         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
12525         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
12526         Rename to __memcmp_default.
12527         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
12528         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
12529         (memcpy): Use __memcpy_default as alias source.
12530         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
12531         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
12532         Rename to __memcpy_default.
12533         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
12534         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
12535         (memset): Use __memset_default as alias source.
12536         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
12537         * sysdeps/s390/s390-64/memset.S (__memset_z900):
12538         Rename to __memset_default.
12539         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
12540         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
12542         [BZ #18610]
12543         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
12544         __ieee_instruction_pointer to __unused.
12545         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
12546         __ieee_instruction_pointer.
12547         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
12548         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
12549         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12550         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12551         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
12552         Mark dxc-field as reserved.
12554 2015-08-25  Roland McGrath  <roland@hack.frob.com>
12556         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
12557         if the weak reference is not null.
12559 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
12561         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
12563         [BZ #11214]
12564         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
12566 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12568         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
12569         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
12570         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
12571         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
12572         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
12573         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
12574         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
12575         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
12576         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
12577         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
12578         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
12579         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
12580         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
12581         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
12582         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
12583         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
12584         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
12585         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
12587 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12589         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
12590         register other than r0 for tabort, it has special meaning.
12591         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
12592         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
12593         transaction before starting syscall.
12595 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12597         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
12599 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
12601         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
12603         * sysdeps/x86_64/rtld-memcmp.c: Removed.
12604         * sysdeps/x86_64/rtld-memset.S: Likewise.
12605         * sysdeps/x86_64/rtld-strchr.S: Likewise.
12606         * sysdeps/x86_64/rtld-strlen.S: Likewise.
12607         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
12608         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
12610         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
12612 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
12614         * debug/strcpy_chk.c: Improve performance.
12615         * debug/stpcpy_chk.c: Likewise.
12616         * sysdeps/x86_64/strcpy_chk.S: Remove.
12617         * sysdeps/x86_64/stpcpy_chk.S: Remove.
12619         [BZ #18240]
12620         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
12622 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
12624         [BZ #15128]
12625         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
12626         ifuncmain8.
12627         (modules-names): Add ifuncmod8.
12628         ($(objpfx)ifuncmain8): New rule.
12629         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
12630         <cpuid.h>.
12631         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
12632         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
12633         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
12634         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
12635         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
12636         * sysdeps/x86_64/dl-trampoline.h: Likewise.
12637         * sysdeps/x86_64/ifuncmain8.c: New file.
12638         * sysdeps/x86_64/ifuncmod8.c: Likewise.
12639         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
12640         Removed.
12641         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
12642         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
12643         Change rtld_savespace_sse to __glibc_unused2.
12644         (RTLD_CHECK_FOREIGN_CALL): Removed.
12645         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
12646         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
12647         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
12649 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
12651         * sysdeps/aarch64/bzero.S (__bzero): Remove.
12653 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
12655         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
12656         Unconditionally set __fpcr to avoid uninialized warning.
12657         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
12659 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12661         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
12662         is corrupt.
12664         * malloc/arena.c (arena_get2): Drop unused argument.
12665         (arena_lock): Adjust.
12666         (arena_get_retry): Likewise.
12668 2015-08-24  Andreas Schwab  <schwab@suse.de>
12670         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
12671         Don't define.
12672         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12673         (__ASSUME_IPC64): Don't undef.
12674         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
12675         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
12676         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
12677         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
12678         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
12679         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
12680         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
12681         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
12682         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
12683         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
12684         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
12685         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
12686         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
12687         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
12688         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
12689         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
12690         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
12691         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
12692         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
12693         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
12694         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
12696 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
12698         * manual/Makefile (install): Only build manual when perl is available.
12700 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12702         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
12703         '#undef memcpy' by '#undef memchr'.
12705 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12707         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
12708         memchr not point to the internal __GI_memchr implementation.
12710 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
12712         * timezone/Makefile (CFLAGS-zdump.c): Remove
12713         -Wno-strict-prototypes.
12714         (CFLAGS-zic.c): Likewise.
12715         (CFLAGS-ialloc.c): Likewise.
12716         (CFLAGS-scheck.c): Likewise.
12718         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
12719         -Wno-error=undef.
12721 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
12723         * i386/i686/multiarch/strcasestr-c.c: Removed.
12724         * x86_64/multiarch/strcasestr.c: Likewise.
12725         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12726         Remove strcasestr.
12728 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
12730         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
12732         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
12733         variables for high and low parts before possibly modifying them.
12735 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
12737         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
12738         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
12739         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
12740         of "multiarch/init-arch.h".
12741         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
12742         * sysdeps/x86/init-arch.h: This.
12744 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
12746         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
12747         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
12749 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
12751         [BZ #17787]
12752         * manual/macros.texi: Add twoexp macro.
12753         * manual/filesys.texi: Fix exponents.
12754         * manual/llio.texi: Likewise.
12755         * manual/stdio.texi: Likewise.
12757 2015-08-20  Florian Weimer  <fweimer@redhat.com>
12759         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
12760         incorrect use.
12762 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
12764         [BZ #18370]
12765         * math/s_csqrt.c (__csqrt): Force underflow exception for results
12766         whose real or imaginary part has small absolute value.
12767         * math/s_csqrtf.c (__csqrtf): Likewise.
12768         * math/s_csqrtl.c (__csqrtl): Likewise.
12769         * math/auto-libm-test-in: Add more tests of csqrt.
12770         * math/auto-libm-test-out: Regenerated.
12771         * sysdeps/i386/fpu/libm-test-ulps: Update.
12773 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12775         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
12776         __ppc_set_ppr_very_low): New functions.
12777         * manual/platform.texi: Add documentation about
12778         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
12780 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
12782         * string/stpncpy.c (stpncpy): Improve performance using
12783         __strnlen/memcpy/memset.
12785 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
12787         [BZ #18796]
12788         * scripts/test-installation.pl: Don't add -lmvec to build options if
12789         libmvec wasn't built.
12791 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
12793         [BZ #14341]
12794         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
12795         case when there is a gap between DT_REL and DT_JMPREL sections.
12796         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
12797         (LDFLAGS-tst-split-dynreloc): New.
12798         (tst-split-dynreloc-ENV): Likewise.
12799         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
12800         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
12802 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12804         [BZ #18822]
12805         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
12806         attribute_hidden.
12807         (__xstat64_conv): Likewise.
12808         (__xstat32_conv): Likewise.
12810 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12812         [BZ #18822]
12813         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
12814         Don't load %ebx when calling __setcontext.  Call __setcontext
12815         with HIDDEN_JUMPTARGET.
12816         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
12817         libc_hidden_def.
12819 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12821         * sysdeps/i386/i686/Makefile
12822         [$(subdir) == string] (sysdep_routines): Moved to ...
12823         * sysdeps/i386/Makefile: Here.
12824         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
12825         * sysdeps/i386/cacheinfo.c: Here.
12826         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
12827         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
12828         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
12829         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
12831 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12833         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
12834         __i586__ is defined.
12835         (HAS_I686): Defined to 1 if __i686__ is defined.
12837 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
12839         * elf/Makefile [$(have-z-execstack) = yes]
12840         (CPPFLAGS-tst-execstack.c): New variable.
12842         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
12843         conditional to [defined UTMPX || _HAVE_UT_TYPE].
12844         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
12845         UTMPX || _HAVE_UT_TV].
12846         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
12847         UTMPX || _HAVE_UT_TV - 0].
12849 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
12851         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
12852         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
12853         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
12855 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12857         * sysdeps/powerpc/dl-procinfo.c:
12858         (_dl_powerpc_cap_flags): Added missing strings for some
12859         hwcap features.
12860         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
12862 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
12864         Port the 0x7efe...feff pattern to GCC 6.
12865         See Steve Ellcey's bug report in:
12866         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
12867         * string/memrchr.c (MEMRCHR):
12868         * string/rawmemchr.c (RAWMEMCHR):
12869         * string/strchr.c (strchr):
12870         * string/strchrnul.c (STRCHRNUL):
12871         Rewrite code to avoid issues with signed shift overflow.
12873 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
12875         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
12876         whether cpuid is available only if HAS_CPUID is 0.
12877         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
12878         (HAS_I586): Likewise.
12879         (HAS_I686): Likewise.
12881 2015-08-18  Zack Weinberg  <zackw@panix.com>
12883         * misc/Versions (libc): Add GLIBC_2.23.
12885 2015-08-18  Alan Modra  <amodra@gmail.com>
12887         [BZ #18421]
12888         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
12889         .Lp__global.
12890         (_start): Load %dp via .Lp__global.
12891         [!SHARED]: Use .section .rodata.
12893 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12895         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
12896         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
12898 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12900         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
12901         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
12903 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12905         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
12906         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
12908 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12910         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
12911         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
12913 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12915         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
12916         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
12918 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12920         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
12921         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
12923 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12925         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
12927 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12929         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
12930         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
12931         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12932         (__ASSUME_LWS_CAS): Delete.
12934 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12936         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
12937         * sysdeps/hppa/configure: Regenerated.
12938         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
12939         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
12940         * sysdeps/hppa/nptl/tls.h: Likewise.
12942 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
12944         [BZ #18823]
12945         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
12946         for scaling up small arguments.
12947         * math/s_csqrtf.c (__csqrtf): Likewise.
12948         * math/s_csqrtl.c (__csqrtl): Likewise.
12949         * math/auto-libm-test-in: Add more tests of csqrt.
12950         * math/auto-libm-test-out: Regenerated.
12952 2015-08-17  Andreas Schwab  <schwab@suse.de>
12954         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
12955         version set GLIBC_2.19.
12957 2015-08-16  Zack Weinberg  <zackw@panix.com>
12959         [BZ #18681]
12960         * misc/regexp.h: This interface is no longer supported.
12961         Remove all contents, leaving only an #error directive.
12962         * misc/regexp.c (loc1, loc2, locs, step, advance):
12963         Demote to compatibility symbols.
12965 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
12967         [BZ #18084]
12968         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
12969         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
12970         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
12971         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
12972         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
12973         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
12974         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
12975         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
12976         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
12978 2015-08-15  Zack Weinberg  <zackw@panix.com>
12980         [BZ #18795]
12981         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
12982         buffer length is known to be too large, not if it's known to be
12983         small enough.
12984         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
12985         overflow at runtime, involving a length parameter, twice: once
12986         with a compile-time constant length parameter, once without.
12988 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
12990         [BZ #18824]
12991         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
12992         scaling x * y up instead of down.
12993         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12994         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12995         * math/auto-libm-test-in: Add more tests of fma.
12996         * math/auto-libm-test-out: Regenerated.
12998 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
13000         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13002 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13004         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
13005         unnecessary movq.
13006         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
13007         Likewise.
13009 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
13011         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13012         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
13013         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
13014         and tgamma.
13015         * math/auto-libm-test-out: Regenerated.
13016         * sysdeps/i386/fpu/libm-test-ulps: Update.
13017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13019         [BZ #16520]
13020         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
13021         (__tanh): Force underflow exception for arguments with small
13022         absolute value.
13023         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
13024         (__tanhf): Force underflow exception for arguments with small
13025         absolute value.
13026         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
13027         (__tanhl): Force underflow exception for arguments with small
13028         absolute value.
13029         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
13030         (__tanhl): Force underflow exception for arguments with small
13031         absolute value.
13032         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
13033         (__tanhl): Force underflow exception for arguments with small
13034         absolute value.
13035         * math/auto-libm-test-in: Add more tests of tanh.
13036         * math/auto-libm-test-out: Regenerated.
13037         * sysdeps/i386/fpu/libm-test-ulps: Update.
13039 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13041         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
13042         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
13044 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13046         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
13047         <cpuid.h>.
13049 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13051         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
13052         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
13054 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13056         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
13057         Remove $(objpfx)init-arch.o.
13058         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
13059         init-arch.
13060         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
13061         (INIT_ARCH_EXT): Defined as empty.
13062         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
13063         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
13064         __init_cpu_features call.  Replace HAS_XXX with
13065         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13066         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
13067         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
13068         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
13069         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
13070         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
13071         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
13072         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
13073         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
13074         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
13075         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
13076         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
13077         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
13078         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
13079         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
13080         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
13081         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
13082         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
13083         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
13084         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
13085         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
13086         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
13087         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
13088         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
13089         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
13090         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
13091         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
13092         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
13093         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
13094         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
13095         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
13096         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
13097         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
13098         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
13099         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
13100         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
13102 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13104         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
13105         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13106         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
13107         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
13108         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
13109         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
13110         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
13111         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
13112         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
13113         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
13114         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
13115         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
13116         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13117         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13118         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13119         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13120         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13121         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13122         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13123         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13124         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13125         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13126         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13127         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13128         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13129         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13130         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13131         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13132         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13133         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13134         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13135         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13136         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13137         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13138         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13139         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13140         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13141         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13142         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13143         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13144         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13145         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13146         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13148 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13150         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
13151         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13152         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13153         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13154         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13155         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
13156         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13157         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
13158         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13159         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13160         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13161         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
13162         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
13163         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
13164         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
13165         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
13166         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
13167         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
13168         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
13169         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
13170         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
13171         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
13172         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
13173         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13174         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13175         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
13176         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
13177         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
13178         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13179         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13180         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13181         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13182         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13183         * sysdeps/x86_64/multiarch/memset.S: Likewise.
13184         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13185         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13186         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13187         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13188         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13189         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13190         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13191         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13192         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13194 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13196         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
13197         (dl_platform_init): Call init_cpu_features.
13198         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
13199         * sysdeps/i386/i686/cacheinfo.c
13200         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
13201         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
13202         * sysdeps/i386/i686/multiarch/Versions: Removed.
13203         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
13204         Removed.
13205         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
13206         * sysdeps/unix/sysv/linux/x86/Makefile
13207         (libpthread-sysdep_routines): Remove init-arch.
13208         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
13209         <sysdeps/x86_64/dl-procinfo.c> instead of
13210         sysdeps/generic/dl-procinfo.c>.
13211         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
13212         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
13213         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
13214         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
13215         [$(subdir) == elf] (tests-static): Add
13216         tst-get-cpu-features-static.
13217         * sysdeps/x86/Versions: New file.
13218         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
13219         * sysdeps/x86/cpu-features.c: Likewise.
13220         * sysdeps/x86/cpu-features.h: Likewise.
13221         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
13222         * sysdeps/x86/libc-start.c: Likewise.
13223         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
13224         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
13225         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
13226         * sysdeps/x86_64/dl-procinfo.c: Likewise.
13227         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
13228         Assume USE_MULTIARCH is defined and don't check it.
13229         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
13230         (is_amd): Likewise.
13231         (max_cpuid): Likewise.
13232         (intel_check_word): Likewise.
13233         (__cache_sysconf): Don't call __init_cpu_features.
13234         (__x86_preferred_memory_instruction): Removed.
13235         (init_cacheinfo): Don't call __init_cpu_features. Replace
13236         __cpu_features with GLRO(dl_x86_cpu_features).
13237         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
13238         (dl_platform_init): Call init_cpu_features.
13239         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
13240         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
13241         * sysdeps/x86_64/multiarch/Versions: Removed.
13242         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
13243         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
13244         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
13245         Removed.
13246         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
13248 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
13250         [BZ #18820]
13251         * libio/Makefile (test-fmemopen-mem): New test.
13252         * libio/test-fmemopen.c (do_bz18820): New test.
13253         * libio/fmemopen.c (__fmemopen): Fix memory leak.
13254         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
13256 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
13258         [BZ #16734]
13259         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
13260         (FREE_BUF): Delete.
13261         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
13262         * libio/genops.c (_IO_setb): Use malloc and free directly.
13263         (_IO_default_doallocate, _IO_default_finish): Likewise.
13264         ( _IO_unbuffer_all): Likewise.
13265         ( libc_freeres_fn): Likewise.
13266         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
13267         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
13268         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
13269         (_IO_wdefault_doallocate): Likewise.
13271 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
13273         [BZ #18086]
13274         * sysdeps/posix/nice.c (nice): Restore old errno.
13275         * posix/tst-nice.c (do_test): Add test for BZ #18086.
13277 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
13279         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
13281 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13283         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
13284         __bcopy and add a weak_alias to bcopy.
13285         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
13286         for static build.
13288         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
13289         cleanup macro usage.
13290         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
13291         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
13292         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
13293         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
13294         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
13295         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
13296         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
13297         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
13298         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13299         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
13300         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
13301         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
13302         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
13303         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
13304         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13305         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
13306         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
13307         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
13308         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
13310         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
13311         libc_hidden_def.
13312         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
13314         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
13315         (sysdep_routines): Add strstr-ppc64.
13316         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
13318 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
13320         [BZ #18778]
13321         * elf/Makefile (tests): Add Add tst-nodelete2.
13322         (modules-names): Add tst-nodelete2mod.
13323         (tst-nodelete2mod.so-no-z-defs): New.
13324         ($(objpfx)tst-nodelete2): Likewise.
13325         ($(objpfx)tst-nodelete2.out): Likewise.
13326         (LDFLAGS-tst-nodelete2): Likewise.
13327         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
13328         out of loop through all loaded libraries.
13329         * elf/tst-nodelete2.c: New file.
13330         * elf/tst-nodelete2mod.c: Likewise.
13331         * elf/tst-znodelete-zlib.cc: Delete.
13333 2015-08-11  Andreas Schwab  <schwab@suse.de>
13335         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
13336         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
13337         (__openat64_nocancel): Likewise.
13339 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
13341         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
13342         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
13343         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
13344         * math/auto-libm-test-out: Regenerated.
13345         * sysdeps/i386/fpu/libm-test-ulps: Update.
13346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13348 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
13350         [BZ #18790]
13351         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
13352         threshold for returning +/- 1.
13353         * math/auto-libm-test-in: Add more tests of tanh.
13354         * math/auto-libm-test-out: Regenerated.
13355         * sysdeps/i386/fpu/libm-test-ulps: Update.
13357 2015-08-10  Andreas Schwab  <schwab@suse.de>
13359         [BZ #18781]
13360         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
13361         MORE_OFLAGS to oflag.
13362         * io/test-lfs.c (do_test): Test openat64.
13364 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
13366         [BZ #18789]
13367         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
13368         smaller threshold for returning the argument.
13369         * math/auto-libm-test-in: Add more tests of sinh.
13370         * math/auto-libm-test-out: Regenerated.
13371         * sysdeps/i386/fpu/libm-test-ulps: Update.
13373 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
13375         [BZ #18674]
13376         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
13377         break.
13379 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
13381         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
13382         (generated): Don't add $(addprefix z.,$(tzfiles)).
13384 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
13386         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
13387         * scripts/sysd-rules.awk: Likewise.
13389 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
13391         * iconvdata/tst-tables.sh: Change echo -n to printf.
13392         * nss/db-Makefile: Likewise.
13393         * posix/tst-getconf.sh: Likewise.
13394         * stdio-common/tst-unbputc.sh: Likewise.
13396 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
13398         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
13399         MADV_*_PAGES defines behind this feature check.
13401 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
13403         [BZ #18480]
13404         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
13405         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
13406         Define.
13407         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
13408         LOAD_REGS_5, LOAD_REGS_6): Update.
13409         (INTERNAL_SYSCALL): Update using new LOAD defines.
13410         (INTERNAL_SYSCALL_NCS): Likewise.
13411         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
13413 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
13415         [BZ #16734]
13416         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
13418 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
13420         [BZ #17905]
13421         * catgets/Makefile (tst-catgets-mem): New test.
13422         * catgets/catgets.c (catopen): Don't use unbounded alloca.
13423         * catgets/open_catalog.c (__open_catalog): Likewise.
13424         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
13426 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
13428         [BZ #18787]
13429         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
13430         clobber registers.
13431         (atomic_compare_and_exchange_val_acq): Use register asms to assign
13432         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
13433         Cast return to __typeof (oldval).
13435 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
13437         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
13438         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
13439         and delete sys/syscall.h include.
13441 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
13443         [BZ #16517]
13444         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
13445         (tan): Force underflow exception for arguments with small absolute
13446         value.
13447         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
13448         (__kernel_tanf): Force underflow exception for arguments with
13449         small absolute value.
13450         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
13451         (__kernel_tanl): Force underflow exception for arguments with
13452         small absolute value.
13453         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
13454         (__kernel_tanl): Force underflow exception for arguments with
13455         small absolute value.
13456         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
13457         (__kernel_tanl): Force underflow exception for arguments with
13458         small absolute value.
13459         * math/auto-libm-test-in: Add more tests of tan.
13460         * math/auto-libm-test-out: Regenerated.
13462 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13464         Fix sysdeps/i386/fpu/s_scalbn.S build
13466         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
13468 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
13470         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
13472 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13474         Fix gcrt0.o compilation
13476         When static-start-installed-name is different from
13477         start-installed-name, we must not use the shared objects.
13479         * csu/Makefile
13480         (extra-objs): Add gmon-start.o when building shared library and
13481         $(static-start-installed-name) is different from
13482         $(start-installed-name).
13483         $(objpfx)g$(static-start-installed-name): When building shared
13484         library and $(static-start-installed-name) is different from
13485         $(static-start-installed-name), revert to non-shared rule,
13486         i.e. using $(objpfx)% and gmon-start.o.
13488 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
13490         [BZ #16519]
13491         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
13492         (__ieee754_sinh): Force underflow exception for arguments with
13493         small absolute value.
13494         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
13495         (__ieee754_sinhf): Force underflow exception for arguments with
13496         small absolute value.
13497         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
13498         (__ieee754_sinhl): Force underflow exception for arguments with
13499         small absolute value.
13500         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
13501         (__ieee754_sinhl): Force underflow exception for arguments with
13502         small absolute value.
13503         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
13504         (__ieee754_sinhl): Force underflow exception for arguments with
13505         small absolute value.
13506         * math/auto-libm-test-in: Add more tests of sinh.
13507         * math/auto-libm-test-out: Regenerated.
13508         * sysdeps/i386/fpu/libm-test-ulps: Update.
13510 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
13512         * libio/oldfileops.c: Include unistd.h.
13514 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
13516         * stdlib/isomac.c: Include ctype.h.
13518 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
13520         * dirent/tst-seekdir.c (main): Converted to ...
13521         (do_test): ... this.
13522         (TEST_FUNCTION): New macro.
13523         Include test-skeleton.c.
13524         * elf/tst-dlmodcount.c (main): Converted to ...
13525         (do_test): ... this.
13526         (TEST_FUNCTION): New macro.
13527         Include test-skeleton.c.
13528         * elf/tst-order-main.c (main): Converted to ...
13529         (do_test): ... this.
13530         (TEST_FUNCTION): New macro.
13531         Include test-skeleton.c.
13532         * elf/tst-pie2.c (main): Converted to ...
13533         (do_test): ... this.
13534         (TEST_FUNCTION): New macro.
13535         Include test-skeleton.c.
13536         * inet/tst-ether_aton.c (main): Converted to ...
13537         (do_test): ... this.
13538         (TEST_FUNCTION): New macro.
13539         Include test-skeleton.c.
13540         * misc/tst-mntent.c (main): Converted to ...
13541         (do_test): ... this.
13542         (TEST_FUNCTION): New macro.
13543         Include test-skeleton.c.
13544         * misc/tst-tsearch.c (main): Converted to ...
13545         (do_test): ... this.
13546         (TEST_FUNCTION): New macro.
13547         Include test-skeleton.c.
13548         * posix/tst-regexloc.c (main): Converted to ...
13549         (do_test): ... this.
13550         (TEST_FUNCTION): New macro.
13551         Include test-skeleton.c.
13552         * resolv/tst-aton.c (main): Converted to ...
13553         (do_test): ... this.
13554         (TEST_FUNCTION): New macro.
13555         Include test-skeleton.c.
13556         * stdio-common/test-fwrite.c (main): Converted to ...
13557         (do_test): ... this.
13558         (TEST_FUNCTION): New macro.
13559         Include test-skeleton.c.
13560         * stdio-common/tst-ferror.c (main): Converted to ...
13561         (do_test): ... this.
13562         (TEST_FUNCTION): New macro.
13563         Include test-skeleton.c.
13564         * stdio-common/tst-printf.c (main): Converted to ...
13565         (do_test): ... this.
13566         (TEST_FUNCTION): New macro.
13567         Include test-skeleton.c.
13568         * stdio-common/tst-printfsz.c (main): Converted to ...
13569         (do_test): ... this.
13570         (TEST_FUNCTION): New macro.
13571         Include test-skeleton.c.
13572         * stdlib/tst-strtod.c (main): Converted to ...
13573         (do_test): ... this.
13574         (TEST_FUNCTION): New macro.
13575         Include test-skeleton.c.
13576         * string/tst-strlen.c (main): Converted to ...
13577         (do_test): ... this.
13578         (TEST_FUNCTION): New macro.
13579         Include test-skeleton.c.
13580         * string/tst-svc.c (main): Converted to ...
13581         (do_test): ... this.
13582         (TEST_FUNCTION): New macro.
13583         Include test-skeleton.c.
13584         * time/tst-strptime.c (main): Converted to ...
13585         (do_test): ... this.
13586         (TEST_FUNCTION): New macro.
13587         Include test-skeleton.c.
13588         * timezone/tst-timezone.c (main): Converted to ...
13589         (do_test): ... this.
13590         (TEST_FUNCTION): New macro.
13591         Include test-skeleton.c.
13593 2015-08-05  Zack Weinberg  <zackw@panix.com>
13595         * misc/regexp.h: Update comments.
13597 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
13599         [BZ #18635]
13600         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
13601         before return label.
13603 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13605         [BZ #18661]
13606         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
13607         when calling __errno_location.
13608         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
13609         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
13611 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13613         [BZ #18661]
13614         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
13615         (__lll_timedwait_tid): Align stack to 16 bytes when calling
13616         __gettimeofday.
13618 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13620         [BZ #18661]
13621         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
13622         (__start_context): Don't use pop to restore %rdi so that stack
13623         is aligned to 16 bytes when calling __setcontext.
13625 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13627         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
13628         only for libc.
13629         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13631 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13633         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
13634         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
13635         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
13637 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13639         * string/memccpy.c (memccpy):
13640         Improve performance by using memchr/memcpy/__mempcpy.
13642 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13644         * string/strncpy.c (strncpy):
13645         Improve performance by using __strnlen/memcpy.
13647 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13649         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
13650         Optimize to avoid an unnecessary FPCR read.
13652 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13654         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
13655         Optimize to reduce FPCR/FPSR accesses.
13657 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13659         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
13660         dead->data[category] != NULL.
13662 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
13664         [BZ #18647]
13665         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
13666         and |x| close to 1, use absolute value of x when computing log.
13667         * math/auto-libm-test-in: Add more tests of pow.
13668         * math/auto-libm-test-out: Regenerated.
13670 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13672         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
13673         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
13674         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
13676 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
13678         [BZ #18525]
13679         * locales/km_KH: Remove timezone definition.
13680         * locales/lo_LA: Likewise.
13681         * locales/my_MM: Likewise.
13682         * locales/nan_TW@latin: Likewise.
13683         * locales/th_TH: Likewise.
13684         * locales/uk_UA: Likewise.
13686 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
13688         [BZ #18265]
13689         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
13690         (wcsncat): Likewise.
13691         (wcscmp): Likewise.
13692         (wcsncmp): Likewise.
13694 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
13696         * test-skeleton.c (usage): New function.
13697         (main): Call usage when opt is '?'.
13699 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
13701         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
13702         before first use.
13704 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
13706         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
13707         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
13708         in there too.
13710 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
13712         * version.h (RELEASE): Set to "development".
13713         (VERSION): Set to "2.22.90"
13715         * version.h (RELEASE): Set to "stable".
13716         (VERSION): Set to "2.22"
13717         * include/features.h (__GLIBC_MINOR__): Set to 22.
13719 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
13721         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
13722         Restructure macro to avoid "value computed is not used" warning.
13723         (atomic_compare_and_exchange_val_acq): Likewise.
13725 2015-08-04  Andreas Schwab  <schwab@suse.de>
13727         [BZ #18635]
13728         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
13729         ret.
13730         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
13732 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
13734         * po/pl.po: Updated translation.
13735         * po/uk.po: Likewise.
13736         * po/fi.po: Likewise.
13737         * po/ko.po: Likewise.
13738         * po/ru.po: Likewise.
13739         * po/vi.po: Likewise.
13741 2015-07-31  Zack Weinberg  <zackw@panix.com>
13743         [BZ #18681]
13744         * regexp.h: Add unconditional #warning stating that this header
13745         will be removed soon.  Revise banner comment to match.
13746         (compile): Consistently use ERROR instead of RETURN to report
13747         errors (partial fix for bz#18681).
13748         * regexp.c: Don't include regexp.h. Remove some unnecessary
13749         declarations.
13751 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
13753         * po/libc.pot: Regenerated.
13755 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
13757         [BZ #18740]
13758         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
13759         float-vlen4-arch-ext-cflags): Removed.
13760         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
13761         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
13763 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
13765         [BZ #14113]
13766         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
13767         aligned to __aligned__.
13768         (pthread_cond_t, pthread_rwlock_t): Likewise.
13770 2015-07-30  Torvald Riegel  <triegel@redhat.com>
13772         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
13774 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
13776         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
13777         (struct sigaction): Change sa_flags from a long to an int, and add
13778         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
13780 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
13782         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
13783         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
13784         sysdeps/generic/sysdep.h include.
13785         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
13786         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
13787         sysdeps/hppa/sysdep.h.
13788         (ENTRY, PSEUDO): Undefine before defining.
13790 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
13792         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
13793         from scratch to use INTERNAL_SYSCALL.
13795 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
13797         [BZ #18078]
13798         * scripts/check-localplt.awk: Support alternate relocations.
13799         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
13800         sections.
13801         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
13802         malloc entries with + REL R_386_GLOB_DAT.
13803         * sysdeps/x86_64/localplt.data: New file.
13805 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
13807         [BZ #18731]
13808         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
13809         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13810         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13812 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13814         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
13816 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13818         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
13819         directly in terms of __sync_fetch_and_add and delete (int) cast.
13821 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13823         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
13824         the -D_ASM_IA64_CURRENT_H flag.
13826 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13828         [BZ #18641]
13829         * pwd/pwd.h (putpwent): Delete __nonnull markings.
13831 2015-07-27  Andreas Schwab  <schwab@suse.de>
13833         * conform/conformtest.pl (checknamespace): Filter out string
13834         literals while tokenizing.
13836 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
13838         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
13839         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
13840         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
13842 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
13844         * nptl/tst-join7mod.c: Add #include <string.h>.
13846 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
13848         * sysdeps/nios2/libm-test-ulps: Update.
13850 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
13852         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
13853         Fix order of arguments to the rt_sigprocmask syscall.
13854         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
13855         Likewise.
13857 2015-07-24  Roland McGrath  <roland@hack.frob.com>
13859         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
13861 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13863         [BZ #18457]
13864         * nptl/Makefile (tests): New test case tst-join7.
13865         (modules-names): New test case module tst-join7mod.
13866         * nptl/tst-join7.c: New file.
13867         * nptl/tst-join7mod.c: New file.
13868         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
13869         all translation units in libc.so, libpthread.so and rtld.
13871 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13873         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13875 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
13877         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
13878         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
13879         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
13880         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
13881         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
13882         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
13883         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
13884         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
13885         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
13886         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
13887         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
13888         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
13889         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
13890         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
13891         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
13892         implementation.
13894 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13896         [BZ #17711]
13897         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
13898         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
13899         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
13900         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
13901         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
13902         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
13904 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13906         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
13907         instead of just saying load lock in the comments.
13909 2015-07-23  Roland McGrath  <roland@hack.frob.com>
13911         * sysdeps/unix/Subdirs: Moved ...
13912         * sysdeps/posix/Subdirs: ... here.
13913         * login/pty.h (struct termios, struct winsize): Add forward decls.
13914         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
13915         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
13916         * sysdeps/arm/nacl/libc.abilist: Updated.
13917         * sysdeps/nacl/libutil.abilist: New file.
13919         * bits/signum.h: Update comments to mention 1003.1-2013 too.
13920         (SIGWINCH): New macro.
13922         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
13923         * sysdeps/arm/nacl/libc.abilist: Add it.
13925 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
13927         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
13929 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
13931         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
13932         Swap __glibc_reserved0 and sa_flags order.
13934 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
13936         [BZ #18657]
13937         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
13938         are pending TLS destructor calls.
13939         * include/link.h (struct link_map): Add concurrency note for
13940         L_TLS_DTOR_COUNT.
13941         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13942         Don't touch the link map flag.  Atomically increment
13943         l_tls_dtor_count.
13944         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
13945         Avoid taking the load lock and don't touch the link map flag.
13946         * stdlib/tst-tls-atexit-nodelete.c: New test case.
13947         * stdlib/Makefile (tests): Use it.
13948         * stdlib/tst-tls-atexit.c (do_test): dlopen
13949         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
13950         to allow tst-tls-atexit-nodelete test case to use it.
13952 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13954         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
13955         to bits/types.h.
13956         (msgqnum_t): New typedef.
13957         (msglen_t): Likewise.
13958         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
13959         and msg_qbytes type to msglen_t.
13961 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13963         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
13964         pad0 to __glibc_reserved0.
13965         (struct stat64): Likewise.
13967 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13969         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
13970         Change sa_flags from a long to an int and add __glibc_reserved0 before
13971         it for padding.
13973 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13975         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
13976         anonymous by deleting "siginfo" name.
13978 2015-07-21  Roland McGrath  <roland@hack.frob.com>
13980         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
13981         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
13982         rather than __nacl_irt_filename.
13983         * sysdeps/nacl/xstat.c (__xstat): Likewise.
13985         * NEWS: New item for arm-nacl port.
13986         * sysdeps/arm/nacl/libc.abilist: New file.
13987         * sysdeps/nacl/ld.abilist: New file.
13988         * sysdeps/nacl/libBrokenLocale.abilist: New file.
13989         * sysdeps/nacl/libanl.abilist: New file.
13990         * sysdeps/nacl/libcrypt.abilist: New file.
13991         * sysdeps/nacl/libdl.abilist: New file.
13992         * sysdeps/nacl/libm.abilist: New file.
13993         * sysdeps/nacl/libpthread.abilist: New file.
13994         * sysdeps/nacl/libresolv.abilist: New file.
13995         * sysdeps/nacl/librt.abilist: New file.
13997 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
13999         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
14000         __startcontext to initialize the new context.
14001         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
14002         up CFI directive to forbid further backtracing.
14004 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
14006         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
14007         reference.
14008         * charmaps/ANSI_X3.4-1968: Likewise.
14009         * charmaps/BS_4730: Likewise.
14010         * charmaps/BS_VIEWDATA: Likewise.
14011         * charmaps/CP1250: Likewise.
14012         * charmaps/CP1251: Likewise.
14013         * charmaps/CP1252: Likewise.
14014         * charmaps/CP1253: Likewise.
14015         * charmaps/CP1254: Likewise.
14016         * charmaps/CP1255: Likewise.
14017         * charmaps/CP1256: Likewise.
14018         * charmaps/CSN_369103: Likewise.
14019         * charmaps/EBCDIC-DK-NO: Likewise.
14020         * charmaps/GB_1988-80: Likewise.
14021         * charmaps/GREEK-CCITT: Likewise.
14022         * charmaps/GREEK7: Likewise.
14023         * charmaps/INIS-8: Likewise.
14024         * charmaps/ISIRI-3342: Likewise.
14025         * charmaps/ISO_2033-1983: Likewise.
14026         * charmaps/ISO_5427-EXT: Likewise.
14027         * locales/POSIX: Likewise.
14028         * locales/ar_SA: Likewise.
14029         * locales/be_BY: Likewise.
14030         * locales/be_BY@latin: Likewise.
14031         * locales/ca_ES: Likewise.
14032         * locales/cs_CZ: Likewise.
14033         * locales/da_DK: Likewise.
14034         * locales/de_BE: Likewise.
14035         * locales/de_CH: Likewise.
14036         * locales/de_LU: Likewise.
14037         * locales/en_AU: Likewise.
14038         * locales/en_BW: Likewise.
14039         * locales/en_CA: Likewise.
14040         * locales/en_DK: Likewise.
14041         * locales/en_GB: Likewise.
14042         * locales/en_IE: Likewise.
14043         * locales/en_NZ: Likewise.
14044         * locales/en_ZA: Likewise.
14045         * locales/en_ZW: Likewise.
14046         * locales/es_AR: Likewise.
14047         * locales/es_BO: Likewise.
14048         * locales/es_CL: Likewise.
14049         * locales/es_CO: Likewise.
14050         * locales/es_DO: Likewise.
14051         * locales/es_EC: Likewise.
14052         * locales/es_ES: Likewise.
14053         * locales/es_HN: Likewise.
14054         * locales/es_MX: Likewise.
14055         * locales/es_PA: Likewise.
14056         * locales/es_PE: Likewise.
14057         * locales/es_PY: Likewise.
14058         * locales/es_SV: Likewise.
14059         * locales/es_US: Likewise.
14060         * locales/es_UY: Likewise.
14061         * locales/es_VE: Likewise.
14062         * locales/et_EE: Likewise.
14063         * locales/fa_IR: Likewise.
14064         * locales/fo_FO: Likewise.
14065         * locales/fr_CA: Likewise.
14066         * locales/fr_CH: Likewise.
14067         * locales/gv_GB: Likewise.
14068         * locales/he_IL: Likewise.
14069         * locales/hr_HR: Likewise.
14070         * locales/id_ID: Likewise.
14071         * locales/is_IS: Likewise.
14072         * locales/it_CH: Likewise.
14073         * locales/iw_IL: Likewise.
14074         * locales/kl_GL: Likewise.
14075         * locales/ko_KR: Likewise.
14076         * locales/kw_GB: Likewise.
14077         * locales/lg_UG: Likewise.
14078         * locales/lt_LT: Likewise.
14079         * locales/lv_LV: Likewise.
14080         * locales/mi_NZ: Likewise.
14081         * locales/nhn_MX: Likewise.
14082         * locales/nl_BE: Likewise.
14083         * locales/pl_PL: Likewise.
14084         * locales/sk_SK: Likewise.
14085         * locales/sl_SI: Likewise.
14086         * locales/sv_FI: Likewise.
14087         * locales/tl_PH: Likewise.
14088         * locales/tr_TR: Likewise.
14089         * locales/vi_VN: Likewise.
14091 2015-07-21  Khem Raj  <raj.khem@gmail.com>
14093         [BZ #17475]
14094         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
14095         of tu_IN and bh_IN.
14097 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
14099         [BZ #18694]
14100         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
14101         bits/wordsize.h.
14102         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
14104 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14106         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
14107         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
14108         (spawn_thread): New function.
14109         (load): Rename to reg_dtor_and_close.  Move dlopen to...
14110         (do_test): ... here.  Use IS_LOADED to test for its
14111         availability.
14113 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
14115         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14117 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
14119         [BZ #18696]
14120         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
14121         si_addr_bnd.
14122         (si_lower): New.
14123         (si_upper): Likewise.
14125 2015-07-16  David S. Miller  <davem@davemloft.net>
14127         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
14129 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14131         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
14132         buffer.
14133         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
14134         fail output information.
14136 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14138         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
14139         and strstr-ppc64..
14140         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
14141         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
14142         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
14143         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
14144         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
14146 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
14148         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
14149         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
14150         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
14151         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
14153 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
14155         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
14156         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
14157         rtld_hidden_proto.
14158         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
14160 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14162         * tst-nodelete-opened.c (do_test): Add comment to clarify how
14163         the test can fail.
14165         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
14167         [BZ #18676]
14168         * elf/tst-nodelete-opened.c: New test case.
14169         * elf/tst-nodelete-opened-lib.c: New test case module.
14170         * elf/Makefile (tests, modules-names): Use them.
14171         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
14172         early.
14174 2015-07-15  David S. Miller  <davem@davemloft.net>
14176         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
14177         futex-intenal.h
14178         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
14179         * sysdeps/sparc/sparc64/Makefile: Likewise.
14180         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
14181         Remove space from macro define.
14182         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
14184 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
14186         [BZ #17475]
14187         * locale/iso-639.def: Update Bhili and Tulu language codes as
14188         per iso639-3.
14190 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
14192         * elf/tst-leaks1.c (main): Converted to ...
14193         (do_test): ... this.
14194         (TEST_FUNCTION): New macro.
14195         Include test-skeleton.c.
14196         * localedata/tst-langinfo.c (main): Converted to ...
14197         (do_test): ... this.
14198         (TEST_FUNCTION): New macro.
14199         Include test-skeleton.c.
14200         * math/test-fpucw.c (main): Converted to ...
14201         (do_test): ... this.
14202         (TEST_FUNCTION): New macro.
14203         Include test-skeleton.c.
14204         * math/test-tgmath.c (main): Converted to ...
14205         (do_test): ... this.
14206         (TEST_FUNCTION): New macro.
14207         Include test-skeleton.c.
14208         * math/test-tgmath2.c (main): Converted to ...
14209         (do_test): ... this.
14210         (TEST_FUNCTION): New macro.
14211         Include test-skeleton.c.
14212         * setjmp/tst-setjmp.c (main): Converted to ...
14213         (do_test): ... this.
14214         (TEST_FUNCTION): New macro.
14215         Include test-skeleton.c.
14216         * stdio-common/tst-sscanf.c (main): Converted to ...
14217         (do_test): ... this.
14218         (TEST_FUNCTION): New macro.
14219         Include test-skeleton.c.
14220         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
14221         (do_test): ... this.
14222         (TEST_FUNCTION): New macro.
14223         Include test-skeleton.c.
14225         * elf/tst-audit9.c (main): Converted to ...
14226         (do_test): ... this.
14227         (TEST_FUNCTION): New macro.
14228         Include test-skeleton.c.
14230 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
14232         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
14234 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
14236         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
14237         New variable.
14239 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
14241         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14243 2015-07-14  Roland McGrath  <roland@hack.frob.com>
14245         * sysdeps/generic/dl-fileid.h: New file.
14246         * sysdeps/posix/dl-fileid.h: New file.
14247         * sysdeps/nacl/dl-fileid.h: New file.
14248         * include/link.h: Include <dl-fileid.h>.
14249         (struct link_map): Replace l_dev and l_ino with l_file_id.
14250         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
14251         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
14252         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
14254 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14256         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
14258 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14260         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
14261         Add iff $CXX is set.
14262         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
14263         Likewise.
14264         (tst-nodelete-zmodiff): Likewise.
14265         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
14267 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14269         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
14271 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
14273         * sysdeps/aarch64/fpu/math_private.h
14274         (define math_opt_barrier): Add AArch64 version.
14275         (math_force_eval): Likewise.
14277 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
14279         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
14281 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
14283         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
14284         %ld with %jd and cast to intmax_t.
14285         (do_test_length_zero): Likewise.
14287 2015-07-10  Roland McGrath  <roland@hack.frob.com>
14289         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
14291 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
14293         * sysdeps/tile/libm-test-ulps: Regenerated.
14295         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
14296         Comment out the whole function, not just its body.
14298 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14300         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
14301         locks.
14303         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
14305 2015-07-10  Torvald Riegel  <triegel@redhat.com>
14307         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
14308         (sem_assume_only_signals_cause_futex_EINTR): Remove.
14310 2015-07-10  Torvald Riegel  <triegel@redhat.com>
14312         * sysdeps/nptl/futex-internal.h: New file.
14313         * sysdeps/nacl/futex-internal.h: New file.
14314         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
14315         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
14316         error checking.
14317         (setxid_unmark_thread): Likewise.
14318         (__nptl_setxid): Likewise.
14319         (__wait_lookup_done): Likewise.
14320         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
14321         * nptl/nptl-init.c (sighandler_setxid): Likewise.
14322         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
14323         * nptl/pthread_once.c (clear_once_control): Likewise.
14324         (__pthread_once_slow): Likewise.
14325         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
14326         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
14327         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
14328         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
14329         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
14330         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
14331         Likewise.
14332         (__pthread_rwlock_rdlock): Likewise.
14333         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
14334         Likewise.
14335         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
14336         Likewise.
14337         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
14338         Likewise.
14339         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
14340         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
14341         Likewise.
14342         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
14343         __ASSUME_PRIVATE_FUTEX check.
14344         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
14345         Check that shared futexes are supported.
14346         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
14347         wrappers with error checking.
14348         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
14349         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
14350         * nptl/pthread_barrierattr_setpshared.c
14351         (pthread_barrierattr_setpshared): Check that shared futexes are
14352         supported.
14353         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
14354         Likewise.
14355         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
14356         Likewise.
14357         * nptl/sem_init.c (futex_private_if_supported): Remove.
14358         (__new_sem_init): Adapt and check that shared futexes are supported.
14359         * nptl/sem_open.c (sem_open): Likewise.
14360         * nptl/sem_post.c (futex_wake): Remove.
14361         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
14362         (do_futex_wait): Use futex wrappers with error checking.
14363         * nptl/sem_wait.c: Include lowlevellock.h.
14364         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
14365         Use futex_supports_pshared.
14366         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
14367         Use futex wrappers with error checking.
14368         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
14369         Likewise.
14370         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
14371         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
14372         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
14373         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
14374         (futex_wake): Likewise.
14375         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
14376         (do_futex_wait): Use futex wrappers with error checking.
14377         (__new_sem_wait_slow): Update EINTR handling.
14378         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
14380 2015-07-09  Martin Sebor  <msebor@redhat.com>
14382         [BZ #18435]
14383         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
14384         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
14385         * nptl/Makefile (test-xfail-tst-once5): Define.
14387 2015-07-09  Roland McGrath  <roland@hack.frob.com>
14389         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
14390         * elf/dl-minimal.c: For readability, reorder some definitions and
14391         introduce more page breaks.  Include <stdio.h>.
14392         (__libc_fatal): New function.
14394         * include/unistd.h: Add rtld_hidden_proto for _exit.
14395         * posix/_exit.c: Add rtld_hidden_def.
14396         * sysdeps/mach/hurd/_exit.c: Likewise.
14397         * sysdeps/nacl/_exit.c: Likewise.
14398         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
14399         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
14401 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
14403         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
14404         bndmov encoding with zero displacement.
14406 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
14407             H.J. Lu  <hongjiu.lu@intel.com>
14409         [BZ #18134]
14410         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
14411         * sysdeps/i386/configure: Regenerated.
14412         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
14413         (_dl_runtime_profile): Save and restore Intel MPX return bound
14414         registers when calling _dl_call_pltexit.  Add
14415         PRESERVE_BND_REGS_PREFIX before return.
14416         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
14417         (LRV_BND1_OFFSET): Likewise.
14418         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
14419         lrv_bnd1.
14420         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
14421         typo in bndmov encoding.
14422         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
14423         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
14424         branch instructions to preserve bounds.
14426 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
14429         [GLIBC_2.22]: Add fmemopen.
14431 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14433         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
14434         returns an error, also try to use host port from __mach_host_self for
14435         the __vm_wire call.
14436         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
14438 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14440         [BZ #18400]
14441         [BZ #18648]
14442         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
14443         Fix pr_uid and pr_gid members.
14444         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
14445         definition to elf_greg_t.
14447 2015-07-08  Roland McGrath  <roland@hack.frob.com>
14449         [BZ #18383]
14450         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
14451         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
14452         * sysdeps/arm/configure: Regenerated.
14453         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
14454         (test-xfail-tst-tlsalign-static): Variable removed.
14456         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
14457         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
14458         rather than explicit 'ln -s'.
14460         * resolv/rpc/netdb.h: New file.
14461         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
14463 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14465         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
14466         length buffers.
14467         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
14468         test-skeleton.c.
14470         [BZ #6544]
14471         [BZ #11216]
14472         [BZ #12836]
14473         [BZ #13151]
14474         [BZ #13152]
14475         [BZ #14292]
14476         * include/stdio.h (fmemopen): Remove hidden prototype.
14477         (__fmemopen): Add new hidden prototype.
14478         * libio/Makefile: Add oldfmemopen object.
14479         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
14480         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
14481         compliance.
14482         * libio/oldfmemopen.c: New file: old fmemopen implementation for
14483         symbol compatibility.
14484         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
14485         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
14486         fmemopen.
14487         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
14488         on append and read mode.
14489         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
14490         fmemopen.
14491         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
14492         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
14493         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
14494         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
14495         Likewise.
14496         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
14497         [GLIBC_2.22]: Likewise.
14498         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
14499         Likewise.
14500         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
14501         Likewise.
14502         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
14503         [GLIBC_2.22]: Likewise.
14504         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
14505         [GLIBC_2.22]: Likewise.
14506         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
14507         [GLIBC_2.22]: Likewise.
14508         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
14509         [GLIBC_2.22]: Likewise.
14510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
14511         [GLIBC_2.22]: Likewise.
14512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
14513         [GLIBC_2.22]: Likewise.
14514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
14515         [GLIBC_2.22]: Likewise.
14516         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
14517         Likewise.
14518         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
14519         Likewise.
14520         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
14521         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
14522         [GLIBC_2.22]: Likewise.
14523         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
14524         [GLIBC_2.22]: Likewise.
14525         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
14526         [GLIBC_2.22]: Likewise.
14527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
14528         [GLIBC_2.22]: Likewise.
14529         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
14530         Likewise.
14531         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
14532         Likewise.
14533         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
14534         Likewise.
14535         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
14536         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
14538 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
14540         [BZ #18643]
14541         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
14542         IPV6_PATHMTU, and IPV6_DONTFRAG.
14544 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
14546         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
14547         and _IO_UNBUFFERED.
14548         * libio/oldfileops.c: Likewise.
14549         * libio/wfileops.c: Likewise.
14551 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
14553         * nscd/selinux.c: Delete selinux/flask.h include.
14555 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
14557         [BZ #18641]
14558         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
14559         (putpwent): Likewise.
14560         (getpwnam): Likewise.
14561         (getpwent_r): Likewise.
14562         (getpwuid_r): Likewise.
14563         (getpwnam_r): Likewise.
14564         (fgetpwent_r): Likewise.
14566 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
14568         [BZ #18557]
14569         * inet/rcmd.c (__validuser2_sa): Check user first to
14570         short-circuit host check.
14572 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
14573             Mikhail Ilin  <m.ilin@samsung.com>
14575         [BZ #17833]
14576         * elf/Makefile (tests): Add tst-nodelete.
14577         (modules-names): Add tst-nodelete-uniquemod.
14578         (tst-nodelete-uniquemod.so-no-z-defs): New.
14579         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
14580         (tst-nodelete-zmod.so-no-z-defs): Likewise.
14581         ($(objpfx)tst-nodelete): Likewise.
14582         ($(objpfx)tst-nodelete.out): Likewise.
14583         (LDFLAGS-tst-nodelete): Likewise.
14584         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
14585         * elf/dl-close.c (_dl_close_worker): Add a parameter to
14586         implement forced object deletion.
14587         (_dl_close): Pass false to _dl_close_worker.
14588         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
14589         * elf/tst-nodelete.cc: New file.
14590         * elf/tst-nodeletelib.cc: Likewise.
14591         * elf/tst-znodeletelib.cc: Likewise.
14592         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
14594 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14596         [BZ #18508]
14597         * stdlib/Makefile ($(objpfx)tst-makecontext3):
14598         Depend on $(libdl).
14599         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
14600         is not called infinitely times.
14601         (backtrace_helper): New function.
14602         (trace_arg): New struct.
14603         (st1): Enlarge stack size.
14604         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14605         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
14606         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14607         Likewise.
14609 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14611         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14613 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14615         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
14616         Include sys/types.h instead of bits/types.h.
14617         Remove inclusion of bits/wordsize.h.
14619 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
14621         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
14622         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
14623         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
14624         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
14625         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
14626         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
14628 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
14630         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
14631         link-defines.sym.
14632         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
14633         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
14634         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
14635         and LR_SIZE.
14636         * sysdeps/i386/link-defines.sym: New file.
14638 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
14640         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
14641         (modules-names): Add tst-auditmod3a tst-auditmod3b.
14642         ($(objpfx)tst-audit3): New rule.
14643         ($(objpfx)tst-audit3.out): Likewise.
14644         * sysdeps/i386/tst-audit3.c: New file.
14645         * sysdeps/i386/tst-audit3.h: Likewise.
14646         * sysdeps/i386/tst-auditmod3a.c: Likewise.
14647         * sysdeps/i386/tst-auditmod3b.c: Likewise.
14649 2015-07-07  Torvald Riegel  <triegel@redhat.com>
14651         [BZ #18633]
14652         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
14653         pointer in C code.
14654         (__strcat_c): Likewise.
14655         (__strcat_g): Likewise.
14657 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
14659         [BZ #18592]
14660         * misc/sbrk.c: Set errno to ENOMEM on overflow.
14662 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
14664         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
14665         New function.  (__ieee754_sqrtf): New function.
14666         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
14667         New function.
14668         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
14669         New function.
14671 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
14673         * sysdeps/ieee754/support.c: Remove unused file.
14675 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14677         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
14678         registers instead of d ones so the layout is kernel abi compatible.
14679         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
14680         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
14681         Likewise.
14683 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14685         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14687 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
14689         [BZ #18619]
14690         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
14691         and return argument in case of subnormal argument.
14693 2015-07-01  Martin Sebor  <msebor@redhat.com>
14695         [BZ #18435]
14696         * nptl/Makefile: Add tst-once5.cc.
14697         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
14698         Remove macro redefinitions.
14699         * nptl/tst-once5.cc: New test.
14701 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
14703         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14705         * sysdeps/arm/libm-test-ulps: Regenerated.
14707         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14708         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14710 2015-06-30  Torvald Riegel  <triegel@redhat.com>
14712         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
14713         lll_lock_wait_private and lll_futex_wake probes.
14715         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
14716         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
14717         Likewise.
14718         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
14719         atomic_spin_nop.
14720         * sysdeps/x86_64/bits/atomic.h: Likewise.
14721         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
14722         to atomic_spin_nop and move ...
14723         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
14724         ... here and ...
14725         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
14726         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
14727         atomic_spin_nop instead of BUSY_WAIT_NOP.
14728         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
14729         Likewise.
14730         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
14731         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
14732         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
14733         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
14734         instead of atomic_delay.
14736 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
14738         [BZ #18613]
14739         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
14740         X_ADJ not X when adjusting exponent.
14741         (__ieee754_gamma_r): Do intermediate computations in
14742         round-to-nearest then adjust overflowing and underflowing results
14743         as needed.
14744         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
14745         of X_ADJ not X when adjusting exponent.
14746         (__ieee754_gammaf_r): Do intermediate computations in
14747         round-to-nearest then adjust overflowing and underflowing results
14748         as needed.
14749         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
14750         log of X_ADJ not X when adjusting exponent.
14751         (__ieee754_gammal_r): Do intermediate computations in
14752         round-to-nearest then adjust overflowing and underflowing results
14753         as needed.  Use 1.0L not 1.0f as numerator of division.
14754         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
14755         log of X_ADJ not X when adjusting exponent.
14756         (__ieee754_gammal_r): Do intermediate computations in
14757         round-to-nearest then adjust overflowing and underflowing results
14758         as needed.  Use 1.0L not 1.0f as numerator of division.
14759         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
14760         of X_ADJ not X when adjusting exponent.
14761         (__ieee754_gammal_r): Do intermediate computations in
14762         round-to-nearest then adjust overflowing and underflowing results
14763         as needed.  Use 1.0L not 1.0f as numerator of division.
14764         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
14765         to auto-libm-test-in.
14766         (tgamma_test): Use ALL_RM_TEST.
14767         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
14768         tests of tgamma with spurious-overflow.
14769         * math/auto-libm-test-out: Regenerated.
14770         * math/gen-libm-have-vector-test.sh: Do not check for START.
14771         * sysdeps/i386/fpu/libm-test-ulps: Update.
14772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14774         [BZ #18612]
14775         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
14776         arguments, just return 0.5 times the argument, with underflow
14777         forced as needed.
14778         * math/auto-libm-test-in: Add more tests of j1.
14779         * math/auto-libm-test-out: Regenerated.
14781         [BZ #16559]
14782         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
14783         (__ieee754_j1): Force underflow exception for small results.
14784         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14785         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
14786         (__ieee754_j1f): Force underflow exception for small results.
14787         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14788         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14789         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14790         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
14791         (__ieee754_j1l): Force underflow exception for small results.
14792         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14793         * math/auto-libm-test-in: Add more tests of j1 and jn.
14794         * math/auto-libm-test-out: Regenerated.
14796         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
14797         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
14798         (PF_MPLS): Likewise.
14799         (AF_IB): Likewise.
14800         (AF_MPLS): Likewise.
14801         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
14802         value and macro.
14803         (MS_RMT_MASK): Include MS_LAZYTIME.
14805 2015-06-26  Mel Gorman  <mgorman@suse.de>
14807         [BZ #18502]
14808         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
14809         already minimal.
14811 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
14813         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
14814         (DT_MIPS_NUM): Update.
14815         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
14816         DT_MIPS_RLD_MAP_REL.
14818 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
14820         [BZ #16559]
14821         [BZ #18602]
14822         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
14823         round-to-nearest internally then recompute results that
14824         underflowed to zero in the original rounding mode.
14825         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14826         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14827         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14828         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14829         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
14830         * sysdeps/i386/fpu/libm-test-ulps: Update.
14831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14833 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
14835         * NEWS: Fixed description of link with vector math library.
14837 2015-06-25  Andreas Schwab  <schwab@suse.de>
14839         [BZ #18549]
14840         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
14841         * libio/test-fmemopen.c (do_test): Add test for it.
14843 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
14845         [BZ #17841]
14846         * Makeconfig (no-pie-ldflag): New.
14847         (+link): Set to $(+link-pie) if default to PIE.
14848         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
14849         * config.make.in (build-pie-default): New.
14850         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
14851         is default.  AC_SUBST.
14852         * configure: Regenerated.
14853         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
14855 2015-06-24  Roland McGrath  <roland@hack.frob.com>
14857         * nptl/descr.h (struct pthread): Change type of field setxid_futex
14858         to 'unsigned int'.
14860         * resolv/gai_misc.h (struct waitlist): Change type of field
14861         counterp to 'volatile unsigned int *'.
14862         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
14863         FUTEXADDR and OLDVAL.
14864         * resolv/getaddrinfo_a.c (getaddrinfo_a):
14865         Give local variable TOTAL type 'volatile unsigned int'.
14866         (struct async_waitlist): Change type of field counter to 'unsigned int'.
14867         * resolv/gai_suspend.c (gai_suspend):
14868         Give local variable CNTR type 'unsigned int'.
14870         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
14871         counterp to 'volatile unsigned int *'.
14872         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
14873         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
14874         (aio_suspend): Give local variable CNTR type 'unsigned int'.
14875         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
14876         Give local variable TOTAL type 'volatile unsigned int'.
14877         (struct async_waitlist): Change type of field counter to 'unsigned int'.
14879 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
14881         [BZ #18383]
14882         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
14883         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
14884         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
14885         comment for i386/x86-64.
14886         (test-xfail-tst-tlsalign-extern-static): Removed.
14888 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
14890         * math/test-double.h: New file.
14891         * math/test-float.h: Likewise.
14892         * math/test-ldouble.h: Likewise.
14893         * math/test-math-inline.h: Likewise.
14894         * math/test-math-no-inline.h: Likewise.
14895         * math/test-math-scalar.h: Likewise.
14896         * math/test-math-vector.h: Likewise.
14897         * math/test-vec-loop.h: Remove file.  Contents moved into
14898         test-math-vector.h.
14899         * math/libm-test.inc (MATHCONST): Do not document macro.
14900         * math/test-double.c: Include test-double.h, test-math-no-inline.h
14901         and test-math-scalar.h.
14902         (FUNC): Remove macro.
14903         (FUNC_TEST): Likewise.
14904         (FLOAT): Likewise.
14905         (MATHCONST): Likewise.
14906         (PRINTF_EXPR): Likewise.
14907         (PRINTF_XEXPR): Likewise.
14908         (PRINTF_NEXPR): Likewise.
14909         (TEST_DOUBLE): Likewise.
14910         (TEST_MATHVEC): Likewise.
14911         (__NO_MATH_INLINES): Likewise.
14912         * math/test-float.c: Include test-float.h, test-math-no-inline.h
14913         and test-math-scalar.h.
14914         (FUNC): Remove macro.
14915         (FUNC_TEST): Likewise.
14916         (FLOAT): Likewise.
14917         (MATHCONST): Likewise.
14918         (PRINTF_EXPR): Likewise.
14919         (PRINTF_XEXPR): Likewise.
14920         (PRINTF_NEXPR): Likewise.
14921         (TEST_FLOAT): Likewise.
14922         (TEST_MATHVEC): Likewise.
14923         (__NO_MATH_INLINES): Likewise.
14924         * math/test-idouble.c: Include test-double.h, test-math-inline.h
14925         and test-math-scalar.h.
14926         (FUNC): Remove macro.
14927         (FUNC_TEST): Likewise.
14928         (FLOAT): Likewise.
14929         (MATHCONST): Likewise.
14930         (PRINTF_EXPR): Likewise.
14931         (PRINTF_XEXPR): Likewise.
14932         (PRINTF_NEXPR): Likewise.
14933         (TEST_DOUBLE): Likewise.
14934         (TEST_MATHVEC): Likewise.
14935         (TEST_INLINE): Likewise.
14936         (__NO_MATH_INLINES): Likewise.
14937         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
14938         test-math-scalar.h.
14939         (FUNC): Remove macro.
14940         (FUNC_TEST): Likewise.
14941         (FLOAT): Likewise.
14942         (MATHCONST): Likewise.
14943         (PRINTF_EXPR): Likewise.
14944         (PRINTF_XEXPR): Likewise.
14945         (PRINTF_NEXPR): Likewise.
14946         (TEST_FLOAT): Likewise.
14947         (TEST_MATHVEC): Likewise.
14948         (TEST_INLINE): Likewise.
14949         (__NO_MATH_INLINES): Likewise.
14950         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
14951         and test-math-scalar.h.
14952         (FUNC): Remove macro.
14953         (FUNC_TEST): Likewise.
14954         (FLOAT): Likewise.
14955         (MATHCONST): Likewise.
14956         (PRINTF_EXPR): Likewise.
14957         (PRINTF_XEXPR): Likewise.
14958         (PRINTF_NEXPR): Likewise.
14959         (TEST_LDOUBLE): Likewise.
14960         (TEST_MATHVEC): Likewise.
14961         (TEST_INLINE): Likewise.
14962         (__NO_MATH_INLINES): Likewise.
14963         * math/test-ldouble.c: Include test-ldouble.h,
14964         test-math-no-inline.h and test-math-scalar.h.
14965         (FUNC): Remove macro.
14966         (FUNC_TEST): Likewise.
14967         (FLOAT): Likewise.
14968         (MATHCONST): Likewise.
14969         (PRINTF_EXPR): Likewise.
14970         (PRINTF_XEXPR): Likewise.
14971         (PRINTF_NEXPR): Likewise.
14972         (TEST_LDOUBLE): Likewise.
14973         (TEST_MATHVEC): Likewise.
14974         (__NO_MATH_INLINES): Likewise.
14975         * math/test-double-vlen2.h: Include test-double.h,
14976         test-math-no-inline.h and test-math-vector.h.
14977         (FLOAT): Remove macro.
14978         (FUNC): Likewise.
14979         (MATHCONST): Likewise.
14980         (PRINTF_EXPR): Likewise.
14981         (PRINTF_XEXPR): Likewise.
14982         (PRINTF_NEXPR): Likewise.
14983         (TEST_DOUBLE): Likewise.
14984         (TEST_MATHVEC): Likewise.
14985         (__NO_MATH_INLINES): Likewise.
14986         (CNCT): Likewise.
14987         (CONCAT): Likewise.
14988         (WRAPPER_NAME): Likewise.
14989         (WRAPPER_DECL): Likewise.
14990         (WRAPPER_DECL_ff): Likewise.
14991         (WRAPPER_DECL_fFF): Likewise.
14992         (VECTOR_WRAPPER): Likewise.
14993         (VECTOR_WRAPPER_ff): Likewise.
14994         (VECTOR_WRAPPER_fFF): Likewise.
14995         (VEC_LEN): New macro.
14996         * math/test-double-vlen4.h: Include test-double.h,
14997         test-math-no-inline.h and test-math-vector.h.
14998         (FLOAT): Remove macro.
14999         (FUNC): Likewise.
15000         (MATHCONST): Likewise.
15001         (PRINTF_EXPR): Likewise.
15002         (PRINTF_XEXPR): Likewise.
15003         (PRINTF_NEXPR): Likewise.
15004         (TEST_DOUBLE): Likewise.
15005         (TEST_MATHVEC): Likewise.
15006         (__NO_MATH_INLINES): Likewise.
15007         (CNCT): Likewise.
15008         (CONCAT): Likewise.
15009         (WRAPPER_NAME): Likewise.
15010         (WRAPPER_DECL): Likewise.
15011         (WRAPPER_DECL_ff): Likewise.
15012         (WRAPPER_DECL_fFF): Likewise.
15013         (VECTOR_WRAPPER): Likewise.
15014         (VECTOR_WRAPPER_ff): Likewise.
15015         (VECTOR_WRAPPER_fFF): Likewise.
15016         (VEC_LEN): New macro.
15017         * math/test-double-vlen8.h: Include test-double.h,
15018         test-math-no-inline.h and test-math-vector.h.
15019         (FLOAT): Remove macro.
15020         (FUNC): Likewise.
15021         (MATHCONST): Likewise.
15022         (PRINTF_EXPR): Likewise.
15023         (PRINTF_XEXPR): Likewise.
15024         (PRINTF_NEXPR): Likewise.
15025         (TEST_DOUBLE): Likewise.
15026         (TEST_MATHVEC): Likewise.
15027         (__NO_MATH_INLINES): Likewise.
15028         (CNCT): Likewise.
15029         (CONCAT): Likewise.
15030         (WRAPPER_NAME): Likewise.
15031         (WRAPPER_DECL): Likewise.
15032         (WRAPPER_DECL_ff): Likewise.
15033         (WRAPPER_DECL_fFF): Likewise.
15034         (VECTOR_WRAPPER): Likewise.
15035         (VECTOR_WRAPPER_ff): Likewise.
15036         (VECTOR_WRAPPER_fFF): Likewise.
15037         (VEC_LEN): New macro.
15038         * math/test-float-vlen4.h: Include test-float.h,
15039         test-math-no-inline.h and test-math-vector.h.
15040         (FLOAT): Remove macro.
15041         (FUNC): Likewise.
15042         (MATHCONST): Likewise.
15043         (PRINTF_EXPR): Likewise.
15044         (PRINTF_XEXPR): Likewise.
15045         (PRINTF_NEXPR): Likewise.
15046         (TEST_FLOAT): Likewise.
15047         (TEST_MATHVEC): Likewise.
15048         (__NO_MATH_INLINES): Likewise.
15049         (CNCT): Likewise.
15050         (CONCAT): Likewise.
15051         (WRAPPER_NAME): Likewise.
15052         (WRAPPER_DECL): Likewise.
15053         (WRAPPER_DECL_ff): Likewise.
15054         (WRAPPER_DECL_fFF): Likewise.
15055         (VECTOR_WRAPPER): Likewise.
15056         (VECTOR_WRAPPER_ff): Likewise.
15057         (VECTOR_WRAPPER_fFF): Likewise.
15058         (VEC_LEN): New macro.
15059         * math/test-float-vlen8.h: Include test-float.h,
15060         test-math-no-inline.h and test-math-vector.h.
15061         (FLOAT): Remove macro.
15062         (FUNC): Likewise.
15063         (MATHCONST): Likewise.
15064         (PRINTF_EXPR): Likewise.
15065         (PRINTF_XEXPR): Likewise.
15066         (PRINTF_NEXPR): Likewise.
15067         (TEST_FLOAT): Likewise.
15068         (TEST_MATHVEC): Likewise.
15069         (__NO_MATH_INLINES): Likewise.
15070         (CNCT): Likewise.
15071         (CONCAT): Likewise.
15072         (WRAPPER_NAME): Likewise.
15073         (WRAPPER_DECL): Likewise.
15074         (WRAPPER_DECL_ff): Likewise.
15075         (WRAPPER_DECL_fFF): Likewise.
15076         (VECTOR_WRAPPER): Likewise.
15077         (VECTOR_WRAPPER_ff): Likewise.
15078         (VECTOR_WRAPPER_fFF): Likewise.
15079         (VEC_LEN): New macro.
15080         * math/test-float-vlen16.h: Include test-float.h,
15081         test-math-no-inline.h and test-math-vector.h.
15082         (FLOAT): Remove macro.
15083         (FUNC): Likewise.
15084         (MATHCONST): Likewise.
15085         (PRINTF_EXPR): Likewise.
15086         (PRINTF_XEXPR): Likewise.
15087         (PRINTF_NEXPR): Likewise.
15088         (TEST_FLOAT): Likewise.
15089         (TEST_MATHVEC): Likewise.
15090         (__NO_MATH_INLINES): Likewise.
15091         (CNCT): Likewise.
15092         (CONCAT): Likewise.
15093         (WRAPPER_NAME): Likewise.
15094         (WRAPPER_DECL): Likewise.
15095         (WRAPPER_DECL_ff): Likewise.
15096         (WRAPPER_DECL_fFF): Likewise.
15097         (VECTOR_WRAPPER): Likewise.
15098         (VECTOR_WRAPPER_ff): Likewise.
15099         (VECTOR_WRAPPER_fFF): Likewise.
15100         (VEC_LEN): New macro.
15101         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
15102         test-vec-loop.h.
15103         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15104         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15105         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15106         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15107         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15108         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15109         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
15111 2015-06-24  Roland McGrath  <roland@hack.frob.com>
15113         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
15114         (__getlogin_r): ... this.
15116 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
15118         [BZ #18594]
15119         * math/s_ccosh.c (__ccosh): Compare with least normal value
15120         instead of comparing class with FP_SUBNORMAL.
15121         * math/s_ccoshf.c (__ccoshf): Likewise.
15122         * math/s_ccoshl.c (__ccoshl): Likewise.
15123         * math/s_cexp.c (__cexp): Likewise.
15124         * math/s_cexpf.c (__cexpf): Likewise.
15125         * math/s_cexpl.c (__cexpl): Likewise.
15126         * math/s_csin.c (__csin): Likewise.
15127         * math/s_csinf.c (__csinf): Likewise.
15128         * math/s_csinh.c (__csinh): Likewise.
15129         * math/s_csinhf.c (__csinhf): Likewise.
15130         * math/s_csinhl.c (__csinhl): Likewise.
15131         * math/s_csinl.c (__csinl): Likewise.
15132         * math/s_ctan.c (__ctan): Likewise.
15133         * math/s_ctanf.c (__ctanf): Likewise.
15134         * math/s_ctanh.c (__ctanh): Likewise.
15135         * math/s_ctanhf.c (__ctanhf): Likewise.
15136         * math/s_ctanhl.c (__ctanhl): Likewise.
15137         * math/s_ctanl.c (__ctanl): Likewise.
15138         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
15139         csin, csinh, ctan and ctanh.
15140         * math/auto-libm-test-out: Regenerated.
15141         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
15142         * sysdeps/i386/fpu/libm-test-ulps: Update.
15143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15145 2015-06-24  Roland McGrath  <roland@hack.frob.com>
15147         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
15148         return value is wrong, print the expected value too.
15150 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
15152         [BZ #18585]
15153         * elf/readlib.c (is_gdb_python_file): New.
15154         (process_file): Don't issue errors on filenames with -gdb.py
15155         suffix.
15157 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
15159         * math/auto-libm-test-in: Add more tests of csin and csinh.
15160         * math/auto-libm-test-out: Regenerated.
15161         * math/libm-test.inc (csin_test_data): Remove tests moved to
15162         auto-libm-test-in.
15163         (csinh_test_data): Likewise.
15165         [BZ #18593]
15166         * math/s_csin.c (__csin): Negate before rather than after possibly
15167         overflowing multiplication.
15168         * math/s_csinf.c (__csinf): Likewise.
15169         * math/s_csinh.c (__csinh): Likewise.
15170         * math/s_csinhf.c (__csinhf): Likewise.
15171         * math/s_csinhl.c (__csinhl): Likewise.
15172         * math/s_csinl.c (__csinl): Likewise.
15173         * math/auto-libm-test-in: Add some tests of csin and csinh.
15174         * math/auto-libm-test-out: Regenerated.
15175         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
15176         (csinh_test_data): Likewise.
15177         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15179         [BZ #18586]
15180         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
15181         underflow exception for small results.
15183 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
15185         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
15186         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
15187         variable and included header.
15188         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
15189         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
15190         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
15191         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
15192         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
15193         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
15194         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
15195         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
15196         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
15197         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
15198         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
15199         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
15200         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
15201         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
15202         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
15203         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
15205 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
15207         [BZ #16526]
15208         [BZ #16538]
15209         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
15210         (__sin): Force underflow exception for arguments with small
15211         absolute value.
15212         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
15213         (__kernel_sinf): Force underflow exception for arguments with
15214         small absolute value.
15215         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
15216         (__kernel_sincosl): Force underflow exception for arguments with
15217         small absolute value.
15218         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
15219         (__kernel_sinl): Force underflow exception for arguments with
15220         small absolute value.
15221         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
15222         (__kernel_sincosl): Force underflow exception for arguments with
15223         small absolute value.
15224         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
15225         (__kernel_sinl): Force underflow exception for arguments with
15226         small absolute value.
15227         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
15228         (__kernel_sinl): Force underflow exception for arguments with
15229         small absolute value.
15230         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
15231         (__kernel_sinf): Force underflow exception for arguments with
15232         small absolute value.
15233         * math/auto-libm-test-in: Add more tests of sin and sincos.
15234         * math/auto-libm-test-out: Regenerated.
15236         [BZ #18245]
15237         [BZ #18583]
15238         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
15239         (__kernel_standard_l): Use feholdexcept and fesetenv around
15240         conversion to double instead of special-casing overflow and
15241         underflow.
15242         * math/libm-test.inc (fmod_test_data): Add more tests.
15243         (remainder_test_data): Likewise.
15244         (sqrt_test_data): Likewise.
15246 2015-06-23  Torvald Riegel  <triegel@redhat.com>
15248         [BZ #17403]
15249         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
15250         atomic_read_barrier, atomic_write_barrier): Define.
15251         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
15252         atomic_read_barrier, atomic_write_barrier): Define.
15254 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
15256         * math/Makefile [$(PERL) != no]
15257         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
15258         dependency on libm-test.stmp below the inclusion of Rules.
15260 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
15262         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
15263         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
15264         and included header.
15265         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
15266         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
15267         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
15268         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
15269         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
15270         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
15271         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
15272         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
15273         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
15274         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
15275         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
15276         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
15277         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
15278         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
15279         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
15280         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
15281         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
15282         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
15283         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
15285 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
15287         [BZ #18371]
15288         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
15289         intermediate but not final result might underflow.
15290         * math/s_csqrtf.c (__csqrtf): Likewise.
15291         * math/s_csqrtl.c (__csqrtl): Likewise.
15292         * math/auto-libm-test-in: Add more tests of csqrt.
15293         * math/auto-libm-test-out: Regenerated.
15294         * sysdeps/i386/fpu/libm-test-ulps: Update.
15296         [BZ #18219]
15297         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
15298         threshold on absolute value of exponent for which scaling is used.
15299         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
15300         * math/auto-libm-test-in: Add more tests of exp2.
15301         * math/auto-libm-test-out: Regenerated.
15303 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
15305         [BZ #17977]
15306         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
15307         when initializing interface list, based on the bug analysis
15308         and the patch proposed by Eric Newton.
15309         * resolv/tst-res_hconf_reorder.c: New test.
15310         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
15311         tst-res_hconf_reorder.
15312         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
15313         and $(shared-thread-library).
15314         (tst-res_hconf_reorder-ENV): New variable.
15316         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
15317         in comment.
15319 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
15321         [BZ #16353]
15322         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
15323         (__expm1): Force underflow exception for arguments with small
15324         absolute value.
15325         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
15326         (__expm1f): Force underflow exception for arguments with small
15327         absolute value.
15328         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
15329         (__expm1): Force underflow exception for arguments with small
15330         absolute value.
15331         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
15332         (__expm1f): Force underflow exception for arguments with small
15333         absolute value.
15334         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15335         Check for small arguments before calling __expm1.
15336         * math/auto-libm-test-in: Do not mark underflow exceptions as
15337         possibly missing for bug 16353.
15338         * math/auto-libm-test-out: Regenerated.
15340 2015-06-22  Andreas Schwab  <schwab@suse.de>
15342         [BZ #18513]
15343         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
15344         PTR queries.
15346 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
15348         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
15350         * string/strcoll_l.c: Remove unused struct element idxnow.
15352 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
15354         [BZ #18569]
15355         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
15356         underflow and return argument in case of subnormal argument.
15357         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15358         Likewise.
15359         * math/auto-libm-test-in: Add more tests of expm1.
15360         * math/auto-libm-test-out: Regenerated.
15362         [BZ #16361]
15363         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
15364         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
15365         tiny results.
15366         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
15367         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
15368         tiny results.
15369         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
15370         mark underflow exceptions as possibly missing for bug 16361.
15371         * math/auto-libm-test-out: Regenerated.
15373 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
15375         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
15376         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
15377         Remove variable.
15378         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15379         (test-xfail-XOPEN2K8/utmpx.h/conform).
15381         * conform/conformtest.pl ($xerrors): New variable.
15382         (note_error): New function.
15383         (compiletest): New argument $xfail.  Use not_error.
15384         (runtest): Likewise.
15385         (top level): Handle xfail- lines.  Update calls to compiletest and
15386         runtest.  Handle xfail- and optional- in headers listed with
15387         allow-header.
15388         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
15389         (O_EXEC): Likewise.
15390         (O_SEARCH): Likewise.
15391         * conform/data/stropts.h-data (ioctl): Likewise.
15392         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
15393         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
15394         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
15395         (msghdr.msg_controllen): Likewise.
15396         (cmsghdr.cmsg_len): Likewise.
15397         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
15398         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
15399         variable.
15400         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15401         (test-xfail-XPG4/stropts.h/conform): Likewise.
15402         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15403         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15404         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15405         (test-xfail-UNIX98/stropts.h/conform): Likewise.
15406         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15407         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15408         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15409         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15410         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15411         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15412         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15413         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15414         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15415         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15416         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15417         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15418         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15419         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15420         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15422 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
15424         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
15425         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
15426         definitions for proper unfolding of __MATHDECL_VEC.
15428 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
15430         * benchtests/bench-strcoll.c:
15431         Include string.h.
15432         (main): Remove unused variable res.
15434 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
15436         * timezone/Makefile (%/UTC %/Universal):
15437         Generate test-result files for UTC and Universal.
15439 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
15441         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15443 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
15445         [BZ #16350]
15446         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
15447         for arguments with small absolute value.
15448         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
15449         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
15450         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
15451         (__asinh): Force underflow exception for arguments with small
15452         absolute value.
15453         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
15454         (__asinhf): Force underflow exception for arguments with small
15455         absolute value.
15456         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
15457         (__asinhl): Force underflow exception for arguments with small
15458         absolute value.
15459         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
15460         (__asinhl): Force underflow exception for arguments with small
15461         absolute value.
15462         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
15463         (__asinhl): Force underflow exception for arguments with small
15464         absolute value.
15465         * math/auto-libm-test-in: Do not mark underflow exceptions as
15466         possibly missing for bug 16350.
15467         * math/auto-libm-test-out: Regenerated.
15469         * include/bits/ipc.h: Remove file.
15470         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
15471         variable.
15472         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15473         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15474         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15475         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15476         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15477         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15478         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15479         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15480         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15482         * math/auto-libm-test-in: Remove spurious underflow allowance for
15483         tests of cexp.
15484         * math/auto-libm-test-out: Regenerated.
15486         [BZ #18558]
15487         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
15488         unconditional definition.
15489         (MCAST_BLOCK_SOURCE): Likewise.
15490         (MCAST_UNBLOCK_SOURCE): Likewise.
15491         (MCAST_LEAVE_GROUP): Likewise.
15492         (MCAST_JOIN_SOURCE_GROUP): Likewise.
15493         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
15494         (MCAST_MSFILTER): Likewise.
15495         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
15496         Remove variable.
15497         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15498         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15499         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15500         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15501         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15503 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
15505         * NEWS: Mention addition of x86_64 vector sincosf.
15506         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
15507         * math/test-float-vlen4.h: Likewise.
15508         * math/test-float-vlen8.h: Likewise.
15509         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15510         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
15511         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15512         * sysdeps/x86_64/fpu/Versions: New versions added.
15513         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15514         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15515         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15516         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
15517         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
15518         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
15519         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
15520         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
15521         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
15522         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
15523         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
15524         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
15525         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
15526         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
15527         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
15528         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
15529         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
15530         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
15531         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15532         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15533         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15534         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15535         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15536         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15538         * NEWS: Mention addition of x86_64 vector sincos.
15539         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
15540         * math/math.h (__MATHDECL_VEC): New macro.
15541         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
15542         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
15543         declaration under condition.
15544         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
15545         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
15546         TEST_VEC_LOOP change.
15547         * math/test-double-vlen4.h: Likewise.
15548         * math/test-double-vlen8.h: Likewise.
15549         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
15550         * math/test-float-vlen4.h: Likewise.
15551         * math/test-float-vlen8.h: Likewise.
15552         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15553         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
15554         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15555         * sysdeps/x86_64/fpu/Versions: New versions added.
15556         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15557         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15558         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15559         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
15560         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
15561         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
15562         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
15563         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
15564         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
15565         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
15566         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
15567         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
15568         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
15569         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
15570         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
15571         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
15572         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
15573         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15574         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15575         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15576         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15577         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15578         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15579         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15581         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15582         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15583         redirections for powf.
15584         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15585         * sysdeps/x86_64/fpu/Versions: New versions added.
15586         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15587         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15588         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15589         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
15590         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
15591         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
15592         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
15593         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
15594         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
15595         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
15596         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
15597         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
15598         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
15599         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
15600         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
15601         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
15602         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
15603         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15604         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15605         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15606         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15607         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15608         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15609         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15610         * math/test-float-vlen16.h: Fixed 2 argument macro.
15611         * math/test-float-vlen4.h: Likewise.
15612         * math/test-float-vlen8.h: Likewise.
15613         * NEWS: Mention addition of x86_64 vector powf.
15615 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
15617         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15618         and redefine.
15619         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15620         and redefine.
15621         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
15622         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
15623         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15625         [BZ #18553]
15626         * resource/getpriority.c (getpriority): Rename to __getpriority
15627         and define as weak alias of __getpriority.
15628         * resource/setpriority.c (setpriority): Rename to __setpriority
15629         and define as weak alias of __setpriority.
15630         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
15631         __getpriority and define as weak alias of __getpriority.
15632         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
15633         __setpriority and define as weak alias of __setpriority.
15634         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
15635         strong name.
15636         (setpriority): Use __setpriority as strong name.
15637         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
15638         __getpriority and define as weak alias of __getpriority.
15639         * include/sys/resource.h (__getpriority): Declare.  Use
15640         libc_hidden_proto.
15641         (__setpriority): Likewise.
15642         (getpriority): Don't use libc_hidden_proto.
15643         (setpriority): Likewise.
15644         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
15645         getpriority.  Call __setpriority instead of setpriority.
15646         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
15647         Remove variable.
15649         [BZ #18547]
15650         * misc/getttyent.c (getttynam): Rename to __getttynam and define
15651         as weak alias of __getttynam.  Use prototype function definition.
15652         Call __setttyent, __getttyent and __endttyent instead of
15653         setttyent, getttyent and endttyent.
15654         (getttyent): Rename to __getttyent and define as weak alias of
15655         __getttyent.  Call __setttyent instead of setttyent.  Call
15656         __fgets_unlocked instead of fgets_unlocked.
15657         (setttyent): Rename to __setttyent and define as weak alias of
15658         __setttyent.
15659         (endttyent): Rename to __endttyent and define as weak alias of
15660         __endttyent.
15661         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
15662         (__setttyent): Likewise.
15663         (__endttyent): Likewise.
15664         (getttyent): Don't use libc_hidden_proto.
15665         (setttyent): Likewise.
15666         (endttyent): Likewise.
15667         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
15668         __endttyent instead of setttyent, getttyent and endttyent.
15669         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
15670         Remove variable.
15672         [BZ #18546]
15673         * socket/recv.c (__recv): Use libc_hidden_def.
15674         * socket/socket.c (__socket): Likewise.
15675         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
15676         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
15677         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
15678         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
15679         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
15680         libc_hidden_def.
15681         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
15682         libc_hidden_weak.
15683         * include/sys/socket.h (__socket): Do not use attribute_hidden.
15684         Use libc_hidden_proto.
15685         (__recv): Likewise.
15686         * socket/Versions (libc): Export __recv and __socket at version
15687         GLIBC_PRIVATE.
15688         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
15689         instead of recv.
15690         (init_mq_netlink): Call __socket instead of socket.
15691         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
15692         Remove variable.
15694         [BZ #18545]
15695         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
15696         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
15697         hidden_weak.
15698         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
15699         define as alias of __mq_timedsend.  Use hidden_weak.
15700         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
15701         __mq_timedsend as strong name.
15702         (mq_timedreceive): Use __mq_timedreceive as strong name.
15703         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
15704         (__mq_timedreceive): Likewise.
15705         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
15706         __mq_timedreceive instead of mq_timedreceive.
15707         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
15708         instead of mq_timedsend.
15709         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
15710         Remove variable.
15712         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
15713         hidden_def and hidden_weak instead of libc_hidden_def and
15714         libc_hidden_weak.
15715         (top level): Refer to hidden_def in comment.
15716         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
15717         macro.  Use it instead of libc_hidden_def.
15718         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
15719         specify __GI_* name explicitly.
15720         (mq_timedreceive): Likewise.
15721         (mq_setattr): Likewise.
15723         [BZ #18544]
15724         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
15725         __pthread_barrier_init and define as weak alias of
15726         __pthread_barrier_init.
15727         * sysdeps/sparc/nptl/pthread_barrier_init.c
15728         (pthread_barrier_init): Likewise.
15729         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
15730         __pthread_barrier_wait and define as weak alias of
15731         __pthread_barrier_wait.
15732         * sysdeps/sparc/nptl/pthread_barrier_wait.c
15733         (pthread_barrier_wait): Likewise.
15734         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
15735         (pthread_barrier_wait): Likewise.
15736         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
15737         (pthread_barrier_wait): Likewise.
15738         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
15739         (pthread_barrier_wait): Likewise.
15740         * nptl/Versions (libpthread): Export __pthread_barrier_init and
15741         __pthread_barrier_wait at version GLIBC_PRIVATE.
15742         * include/pthread.h (__pthread_barrier_init): Declare.
15743         (__pthread_barrier_wait): Likewise.
15744         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
15745         Call __pthread_barrier_wait instead of pthread_barrier_wait.
15746         (helper_thread): Likewise.
15747         (init_mq_netlink): Call __pthread_barrier_init instead of
15748         pthread_barrier_init.
15750         [BZ #18542]
15751         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
15752         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
15753         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
15754         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
15755         vswscanf.
15756         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
15757         Remove variable.
15759         [BZ #18540]
15760         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
15761         strong alias of _IO_fflush.  Use libc_hidden_def.
15762         * libio/iofflush_u.c (fflush_unlocked): Rename to
15763         __fflush_unlocked and define as weak alias of __fflush_unlocked.
15764         Use libc_hidden_weak.
15765         * include/stdio.h (__fflush_unlocked): Declare.  Use
15766         libc_hidden_proto.
15767         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
15768         fflush_unlocked.
15769         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
15770         Remove variable.
15772         [BZ #18539]
15773         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
15774         define as weak alias of __addseverity.
15775         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
15776         Remove variable.
15777         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
15778         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
15779         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
15781         [BZ #18536]
15782         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
15783         (__tfind): Likewise.
15784         (__tdelete): Likewise.
15785         (__twalk): Likewise.
15786         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
15787         __twalk to GLIBC_PRIVATE.
15788         * include/search.h (__tsearch): Use libc_hidden_proto.
15789         (__tfind): Likewise.
15790         (__tdelete): Likewise.
15791         (__twalk): Likewise.
15792         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
15793         Call __tdelete instead of tdelete.
15794         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
15795         tfind.  Call __tsearch instead of tsearch.
15796         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
15797         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
15798         Remove variable.
15799         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
15801         [BZ #18534]
15802         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
15803         (dprintf): Define as a weak alias of __dprintf, not a strong
15804         alias.
15805         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
15806         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
15807         dprintf.
15808         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
15809         Remove variable.
15810         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
15811         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
15813         [BZ #18533]
15814         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
15815         not a strong alias.
15816         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
15817         Remove variable.
15819         [BZ #18532]
15820         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
15821         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
15822         (in6addr_loopback): Rename to __in6addr_loopback and define as
15823         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
15824         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
15825         libc_hidden_proto.
15826         (__in6addr_any): Likewise.
15827         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
15828         in6addr_any.
15829         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
15830         variable.
15831         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
15833 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
15835         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
15836         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
15837         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15838         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15839         redirections for pow.
15840         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15841         * sysdeps/x86_64/fpu/Versions: New versions added.
15842         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15843         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15844         build of SSE, AVX2 and AVX512 IFUNC versions.
15845         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
15846         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
15847         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
15848         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
15849         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
15850         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
15851         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
15852         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
15853         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
15854         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
15855         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
15856         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
15857         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
15858         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
15859         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15860         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15861         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15862         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15863         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15864         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15865         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15866         * NEWS: Mention addition of x86_64 vector pow.
15868         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15869         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15870         redirections for expf.
15871         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15872         * sysdeps/x86_64/fpu/Versions: New versions added.
15873         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15874         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15875         build of SSE, AVX2 and AVX512 IFUNC versions.
15876         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
15877         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
15878         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
15879         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
15880         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
15881         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
15882         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
15883         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
15884         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
15885         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
15886         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
15887         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
15888         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
15889         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15890         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15891         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15892         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15893         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15894         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15895         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15896         * NEWS: Mention addition of x86_64 vector expf.
15898         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
15899         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
15900         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15901         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15902         redirections for exp.
15903         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15904         * sysdeps/x86_64/fpu/Versions: New versions added.
15905         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15906         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15907         build of SSE, AVX2 and AVX512 IFUNC versions.
15908         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
15909         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
15910         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
15911         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
15912         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
15913         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
15914         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
15915         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
15916         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
15917         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
15918         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
15919         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
15920         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
15921         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15922         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15923         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15924         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15925         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15926         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15927         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15928         * NEWS: Mention addition of x86_64 vector exp.
15930         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15931         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15932         redirections for logf.
15933         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15934         * sysdeps/x86_64/fpu/Versions: New versions added.
15935         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15936         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15937         build of SSE, AVX2 and AVX512 IFUNC versions.
15938         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
15939         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
15940         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
15941         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
15942         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
15943         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
15944         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
15945         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
15946         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
15947         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
15948         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
15949         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
15950         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
15951         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15952         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15953         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15954         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15955         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15956         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15957         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15958         * NEWS: Mention addition of x86_64 vector logf.
15960         * bits/libm-simd-decl-stubs.h: Added stubs for log.
15961         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
15962         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15963         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15964         redirections for log.
15965         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15966         * sysdeps/x86_64/fpu/Versions: New versions added.
15967         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15968         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15969         build of SSE, AVX2 and AVX512 IFUNC versions.
15970         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
15971         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
15972         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
15973         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
15974         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
15975         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
15976         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
15977         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
15978         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
15979         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
15980         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
15981         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
15982         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
15983         test.
15984         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15985         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15986         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15987         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15988         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15989         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15990         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15991         * NEWS: Mention addition of x86_64 vector log.
15993 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15995         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
15996         cfi_adjust_cfa_offset argument.
15997         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
15998         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
16000         [BZ #18034]
16001         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
16002         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
16003         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
16004         ordering using ldar.
16005         (_dl_tlsdesc_dynamic): Likewise.
16006         (_dl_tlsdesc_return_lazy): Likewise.
16007         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
16008         relaxed atomics instead of volatile and synchronize with release store.
16009         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
16010         volatile.
16011         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
16013 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
16015         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16016         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
16017         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16018         * sysdeps/x86_64/fpu/Versions: New versions added.
16019         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16020         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16021         build of SSE, AVX2 and AVX512 IFUNC versions.
16022         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
16023         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
16024         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
16025         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
16026         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
16027         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
16028         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
16029         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
16030         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
16031         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
16032         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
16033         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
16034         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
16035         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16036         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16037         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16038         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16039         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16040         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16041         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16042         * NEWS: Mention addition of x86_64 vector sinf.
16044 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
16046         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
16047         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
16048         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
16049         Remove variable.
16050         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
16051         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
16053 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
16055         [BZ #18530]
16056         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
16057         strong alias of _IO_fputs.  Use libc_hidden_def.
16058         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
16059         and define as weak alias of __fputs_unlocked.  Use
16060         libc_hidden_weak.
16061         * include/stdio.h (__fputs_unlocked): Declare.  Use
16062         libc_hidden_proto.
16063         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
16064         fputs_unlocked.
16066         [BZ #18529]
16067         * resolv/netdb.h [__USE_POSIX]: Change condition to
16068         [__USE_XOPEN2K].
16069         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
16070         not expect.
16071         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
16072         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
16073         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
16074         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
16075         [XPG4 || UNIX98] (AI_ALL): Likewise.
16076         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
16077         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
16078         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
16079         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
16080         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
16081         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
16082         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
16083         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
16084         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
16085         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
16086         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
16087         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
16088         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
16089         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
16090         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
16091         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
16092         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
16093         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
16094         [XPG4 || UNIX98] (gai_strerror): Likewise.
16095         [XPG4 || UNIX98] (getaddrinfo): Likewise.
16096         [XPG4 || UNIX98] (getnameinfo): Likewise.
16098         [BZ #18528]
16099         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
16100         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
16101         __USE_XOPEN2K8].
16102         (getgrent): Likewise.
16103         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
16104         expect.
16105         [XPG3 || POSIX2008] (endgrent): Likewise.
16106         [XPG3] (setgrent): Likewise.
16107         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
16108         variable.
16109         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
16111         [BZ #18527]
16112         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
16113         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
16114         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
16115         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
16116         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
16117         * include/unistd.h (__getlogin_r): Declare.  Use
16118         libc_hidden_proto.
16119         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
16120         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
16121         variable.
16122         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
16123         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
16124         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
16126 2015-06-12  Martin Sebor  <msebor@redhat.com>
16128         [BZ #18512]
16129         * Makerules (check-install-supported): New target.
16130         (install): Add check-install-supported as a dependency.
16131         * manual/install.texi (Installing the C Library): Document
16132         that overriding prefix and exec_prefix is not supported.
16133         Mention DESTDIR.
16134         * INSTALL: Regenerate from the above.
16136 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
16138         [BZ #18519]
16139         * posix/Versions (libc): Export __libc_pread at version
16140         GLIBC_PRIVATE.
16141         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
16142         instead of pread.
16143         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
16144         variable.
16146         [BZ #18522]
16147         * misc/efgcvt_r.c
16148         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
16149         (cvt_symbol): Use weak_alias instead of strong_alias.
16150         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
16151         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
16152         Remove variable.
16153         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
16154         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
16156         [BZ #18520]
16157         * inet/herrno.c (h_errno): Rename to __h_errno.
16158         (__libc_h_errno): Define as alias of __h_errno not h_errno.
16159         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
16160         to __h_errno instead of h_errno.
16161         * nptl/herrno.c (h_errno): Rename to __h_errno.
16162         (__h_errno_location): Refer to __h_errno not h_errno.
16163         * resolv/Versions (h_errno): Rename to __h_errno.
16164         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
16165         Remove variable.
16166         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
16168 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
16170         * configure.ac: More strict check for AVX512 assembler support.
16171         * configure: Regenerated.
16173         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
16174         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
16175         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16176         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
16177         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16178         * sysdeps/x86_64/fpu/Versions: New versions added.
16179         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16180         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16181         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16182         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
16183         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
16184         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
16185         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
16186         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
16187         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
16188         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
16189         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
16190         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
16191         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
16192         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
16193         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
16194         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
16195         test.
16196         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16197         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16198         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16199         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16200         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16201         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16202         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16203         * NEWS: Mention addition of x86_64 vector sin.
16205 2015-06-11  Florian Weimer  <fweimer@redhat.com>
16207         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
16208         comment.
16210 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
16212         [BZ #18479]
16213         * nptl/pt-interp.c: New file.
16214         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
16215         Add pt-interp.
16216         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
16217         $(common-objpfx)runtime-linker.h.
16219 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
16221         * Makeconfig (+interp): Remove unused variable.
16222         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
16223         only.  Depend on $(common-objpfx)runtime-linker.h instead of
16224         $(elf-objpfx)runtime-linker.h.
16225         ($(elf-objpfx)runtime-linker.h): Rename to
16226         $(common-objpfx)runtime-linker.h and move ...
16227         * Makerules [$(build-shared) = yes]: ... here.
16228         * elf/interp.c: Include <runtime-linker.h> instead of
16229         <elf/runtime-linker.h>.
16231 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16233         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
16234         (__gettimeofday_syscall): Remove vsyscall fallback.
16235         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
16236         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
16237         Add syscall fallback function.
16238         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
16239         if vDSO is not present.
16240         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
16241         fallback function.
16242         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
16243         present.
16244         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
16245         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16247 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
16249         [BZ #18497]
16250         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
16251         of wcscmp.
16252         (wcscmp): Define as weak alias of WCSCMP.
16253         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
16254         wcscoll.
16255         (USE_HIDDEN_DEF): Define.
16256         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
16257         __wcscoll.  Don't use libc_hidden_weak.
16258         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
16259         wcscmp.
16260         * sysdeps/i386/i686/multiarch/wcscmp-c.c
16261         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
16262         __GI_wcscmp.
16263         (weak_alias): Undefine and redefine.
16264         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
16265         __wcscmp and define as weak alias of __wcscmp.
16266         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
16267         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
16268         (__wcscoll): Likewise.
16269         (wcscmp): Don't use libc_hidden_proto.
16270         (wcscoll): Likewise.
16271         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
16272         wcscoll.
16273         * posix/regexec.c (check_node_accept_bytes): Likewise.
16274         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
16275         variable.
16276         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
16277         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
16279         [BZ #18507]
16280         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
16281         __fstatvfs and define as weak alias of __fstatvfs.  Use
16282         libc_hidden_weak.
16283         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
16284         and define as weak alias of __statvfs.  Use libc_hidden_weak.
16285         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
16286         Define as alias of __fstatvfs, not fstatvfs.
16287         (fstatvfs64): Likewise.
16288         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
16289         Define as alias of __statvfs, not statvfs.
16290         (statvfs64): Likewise.
16291         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
16292         Remove variable.
16294 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16297         (HAVE_GETCPU_VSYSCALL): Define.
16298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16299         (HAVE_GETCPU_VSYSCALL): Likewise.
16300         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
16301         * sysdeps/unix/sysv/linux/sched_getcpu.c
16302         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
16303         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
16304         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
16305         prototype.
16306         * sysdeps/unix/sysv/linux/x86_64/init-first.c
16307         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
16308         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
16309         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
16310         Define.
16311         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
16312         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16313         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
16314         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16316 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
16318         * sysdeps/x86_64/fpu/Makefile: New file.
16319         * sysdeps/x86_64/fpu/Versions: New file.
16320         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
16321         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
16322         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
16323         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
16324         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
16325         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
16326         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
16327         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
16328         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
16329         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
16330         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
16331         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
16332         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
16333         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16334         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16335         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
16336         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
16337         * sysdeps/x86_64/configure.ac: Options for libmvec build.
16338         * sysdeps/x86_64/configure: Regenerated.
16339         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
16340         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
16341         * manual/install.texi (Configuring and compiling): Document
16342         --disable-mathvec.
16343         * INSTALL: Regenerated.
16344         * NEWS: Mention addition of libmvec and x86_64 vector cos.
16346         * math/Makefile: Added rules for vector tests.
16347         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
16348         declaration under condition.
16349         * math/test-double-vlen2.h: New file.
16350         * math/test-double-vlen4.h: New file.
16351         * math/test-double-vlen8.h: New file.
16352         * math/test-vec-loop.h: Added initialization macro.
16353         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
16354         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
16355         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
16356         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
16357         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
16358         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
16359         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
16360         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
16361         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
16362         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
16363         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
16365         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16366         * sysdeps/x86_64/fpu/Versions: New versions added.
16367         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
16368         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
16369         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
16370         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
16371         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
16372         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
16373         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
16374         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
16375         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
16376         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
16377         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
16378         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
16379         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
16380         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16381         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16382         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16383         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
16384         * NEWS: Mention addition of x86_64 vector cosf.
16386         * math/Makefile: Added CFLAGS for new tests.
16387         * math/test-float-vlen16.h: New file.
16388         * math/test-float-vlen4.h: New file.
16389         * math/test-float-vlen8.h: New file.
16390         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
16391         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
16392         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16393         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
16394         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
16395         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
16396         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
16397         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
16398         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
16399         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
16400         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
16402 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
16404         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
16405         * locale/programs/ld-ctype.c: Likewise.
16407 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
16409         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
16410         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
16411         bit_ZMM16_31_state): New macro.
16412         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16413         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
16415 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
16417         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
16419 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
16421         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
16423 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
16425         [BZ #18498]
16426         * libio/memstream.c (open_memstream): Rename to __open_memstream
16427         and define as weak alias of __open_memstream.
16428         * include/stdio.h (__open_memstream): Declare.  Use
16429         libc_hidden_proto.
16430         (open_memstream): Don't use libc_hidden_proto.
16431         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
16432         open_memstream.
16433         * posix/getopt.c (_getopt_internal_r): Likewise.
16434         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
16435         variable.
16436         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
16437         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
16438         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
16440         [BZ #18496]
16441         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
16442         instead of wcrtomb.
16444         [BZ #18483]
16445         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
16446         [__USE_XOPEN2K8].  Remove redundant #endif.
16447         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
16448         Remove redundant #if.
16449         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
16450         Remove variable.
16451         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
16452         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
16454         [BZ #18495]
16455         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
16456         (__iswlower): Likewise.
16457         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
16458         (__iswlower): Likewise.
16459         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
16460         instead of towlower.
16461         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
16462         instead of iswlower.  Call __towupper instead of towupper.
16463         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
16464         instead of iswalnum.
16466 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16468         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
16469         errors to stderr.
16471 2015-06-05  Florian Weimer  <fweimer@redhat.com>
16473         [BZ #15661]
16474         [BZ #17322]
16475         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
16476         Check for overflow properly.  Check for O_APPEND.  Ignore large
16477         file system block sizes.  Add comments about problems.
16478         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
16479         * manual/filesys.texi (Storage Allocation): New node.
16481 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16483         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
16484         cancellable syscalls.
16485         (SYS_ify): Add guard to no redefine it.
16486         (INLINE_SYSCALL): Likewise.
16487         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
16488         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
16489         SYSCALL_CANCEL instead.
16490         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
16491         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
16492         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
16493         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
16494         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
16495         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
16496         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
16497         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
16498         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
16499         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
16500         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
16501         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
16502         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
16503         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
16504         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
16505         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
16506         Likewise.
16507         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
16508         (__libc_pread64): Likewise.
16509         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
16510         (__libc_preadv): Likewise.
16511         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
16512         (__libc_readv64): Likewise.
16513         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
16514         (__libc_pwrite): Likewise.
16515         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
16516         (__libc_pwrite64): Likewise.
16517         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
16518         (__libc_pwritev): Likewise.
16519         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
16520         (__libc_pwritev64): Likewise.
16521         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
16522         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
16523         (sync_file_range): Likewise.
16524         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
16525         Likewise.
16526         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
16527         Likewise.
16528         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
16529         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
16530         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
16531         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
16532         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
16533         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
16534         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
16535         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
16536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
16537         Likewise.
16538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
16539         (__libc_read64): Likewise.
16540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
16541         Likewise.
16542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
16543         Likewise.
16544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
16545         Likewise.
16546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
16547         Likewise.
16548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
16549         (__libc_pread64): Likewise.
16550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
16551         Likewise.
16552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
16553         (__libc_pwrite64): Likewise.
16554         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
16555         (sync_file_range): Likewise.
16556         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
16557         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
16558         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
16559         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
16560         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
16561         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
16562         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
16563         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
16564         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
16565         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
16566         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
16567         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
16568         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
16569         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
16570         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
16571         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
16572         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
16573         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
16574         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
16575         Likewise.
16576         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
16577         Likewise.
16578         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
16579         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
16580         Likewise.
16581         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
16582         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
16583         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
16584         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
16585         Likewise.
16586         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
16587         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
16588         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
16589         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
16590         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
16592 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
16594         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
16595         Include dl-vdso.
16596         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
16597         Use VDSO routines for gettimeofday, clock_gettime if
16598         available.
16599         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
16600         Declare VDSO symbols.
16601         * sysdeps/unix/sysv/linux/arm/sysdep.h:
16602         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
16603         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
16604         * sysdeps/unix/sysv/linux/arm/Versions: Add
16605         __vdso_clock_gettime.
16607 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16609         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
16610         be an inline implementation regardless of library is built within.
16611         (open_not_cancel_2): Likewise.
16612         (__read_nocancel): Likewise.
16613         (__write_nocancel): Likewise.
16614         (openat_not_cancel): Likewise.
16615         (openat_not_cancel_3): Likewise.
16616         (openat64_not_cancel): Likewise.
16617         (openat64_not_cancel_3): Likewise.
16618         (__close_nocancel): Likewise.
16619         (pause_not_cancel): Likewise.
16620         (nanosleep_not_cancel): Likewise.
16621         (sigsuspend_not_cancel): Likewise.
16623 2015-06-04  Torvald Riegel  <triegel@redhat.com>
16625         [BZ #14958]
16626         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
16627         wake-up.
16628         (__pthread_rwlock_rdlock_slow): Likewise.
16629         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
16630         Likewise.
16631         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
16632         Likewise.
16633         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
16634         * nptl/tst-rwlock16.c: New file.
16635         * nptl/Makefile (tests): Add new test.
16637 2015-06-04  Torvald Riegel  <triegel@redhat.com>
16639         [BZ #18324]
16640         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
16641         missing wake-up of readers.
16642         * nptl/tst-rwlock15.c: New file.
16643         * nptl/Makefile (tests): Add new test.
16645 2015-06-03  Roland McGrath  <roland@hack.frob.com>
16647         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
16648         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
16649         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
16650         and __nacl_supply_interface_rtld.
16651         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
16652         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
16653         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
16654         Add __nacl_supply_interface_rtld.
16655         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
16657 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
16659         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
16660         isfinite.
16661         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16662         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
16664 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
16666         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
16667         __signbit* with standard C99 macros.
16668         * math/e_exp10l.c: Likewise.
16669         * math/e_exp2l.c: Likewise.
16670         * math/e_scalb.c: Likewise.
16671         * math/e_scalbf.c: Likewise.
16672         * math/e_scalbl.c: Likewise.
16673         * math/s_ldexp.c: Likewise.
16674         * math/s_ldexpf.c: Likewise.
16675         * math/s_ldexpl.c: Likewise.
16676         * math/w_atan2.c: Likewise.
16677         * math/w_atan2f.c: Likewise.
16678         * math/w_atan2l.c: Likewise.
16679         * math/w_cosh.c: Likewise.
16680         * math/w_coshf.c: Likewise.
16681         * math/w_coshl.c: Likewise.
16682         * math/w_exp10.c: Likewise.
16683         * math/w_exp10f.c: Likewise.
16684         * math/w_exp10l.c: Likewise.
16685         * math/w_exp2.c: Likewise.
16686         * math/w_exp2f.c: Likewise.
16687         * math/w_exp2l.c: Likewise.
16688         * math/w_fmod.c: Likewise.
16689         * math/w_fmodf.c: Likewise.
16690         * math/w_fmodl.c: Likewise.
16691         * math/w_hypot.c: Likewise.
16692         * math/w_hypotf.c: Likewise.
16693         * math/w_hypotl.c: Likewise.
16694         * math/w_jnl.c: Likewise.
16695         * math/w_lgamma.c: Likewise.
16696         * math/w_lgamma_r.c: Likewise.
16697         * math/w_lgammaf.c: Likewise.
16698         * math/w_lgammaf_r.c: Likewise.
16699         * math/w_lgammal.c: Likewise.
16700         * math/w_lgammal_r.c: Likewise.
16701         * math/w_pow.c: Likewise.
16702         * math/w_powf.c: Likewise.
16703         * math/w_powl.c: Likewise.
16704         * math/w_remainder.c: Likewise.
16705         * math/w_remainderf.c: Likewise.
16706         * math/w_remainderl.c: Likewise.
16707         * math/w_scalb.c: Likewise.
16708         * math/w_scalbf.c: Likewise.
16709         * math/w_scalbl.c: Likewise.
16710         * math/w_scalbln.c: Likewise.
16711         * math/w_scalblnf.c: Likewise.
16712         * math/w_scalblnl.c: Likewise.
16713         * math/w_sinh.c: Likewise.
16714         * math/w_sinhf.c: Likewise.
16715         * math/w_sinhl.c: Likewise.
16716         * math/w_tgamma.c: Likewise.
16717         * math/w_tgammaf.c: Likewise.
16718         * math/w_tgammal.c: Likewise.
16719         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16720         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
16721         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16722         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16723         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16724         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16725         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
16726         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16727         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16728         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16729         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16730         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
16731         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16732         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16733         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16734         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16735         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16736         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16737         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16738         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16739         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16740         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16741         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16742         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16743         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16744         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16745         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
16746         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16747         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16748         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16749         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
16750         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
16751         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
16752         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
16753         * stdio-common/printf_fp.c: Likewise.
16754         * stdio-common/printf_fphex.c: Likewise.
16755         * stdio-common/printf_size.c: Likewise.
16757 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
16759         [BZ #18470]
16760         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
16761         strnlen.
16762         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
16763         Remove variable.
16764         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
16765         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
16766         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
16767         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
16768         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
16769         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
16770         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
16771         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
16772         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
16773         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
16775         [BZ #18468]
16776         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
16777         weak alias of __wmemchr.  Use libc_hidden_weak.
16778         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
16779         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
16780         instead of wmemchr.
16782 2015-06-02  Roland McGrath  <roland@hack.frob.com>
16784         [BZ #18383]
16785         * elf/tst-tlsalign-extern.c: New file.
16786         * elf/tst-tlsalign-extern-static.c: New file.
16787         * elf/tst-tlsalign-vars.c: New file.
16788         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
16789         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
16790         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
16791         ($(objpfx)tst-tlsalign-extern-static): Likewise.
16792         (test-xfail-tst-tlsalign-extern-static): New variable.
16794 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
16796         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
16797         Use variable name _sc_err instead of err.
16798         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
16799         instead of ret.
16800         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
16801         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
16802         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
16803         (INLINE_SYSCALL): Likewise.
16805         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
16806         * include/string.h (__strnlen): Use libc_hidden_proto.
16807         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
16808         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
16809         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
16810         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
16811         (libc_hidden_def): Undefine and redefine.
16812         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
16813         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
16814         __GI_strnlen.
16815         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
16816         libc_hidden_def.
16817         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
16819         [BZ #18469]
16820         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
16821         weak alias of __towlower.  Use libc_hidden_weak.
16822         (towupper): Rename to __towupper and define as weak alias of
16823         __towupper.  Use libc_hidden_weak.
16824         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
16825         (__towupper): Likewise.
16826         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
16827         __towlower instead of towlower.
16829 2015-06-02  Roland McGrath  <roland@hack.frob.com>
16831         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
16832         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
16834 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16836         * sysdeps/aarch64/libm-test-ulps: Update.
16838 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16840         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
16841         Define.
16842         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16843         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
16844         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
16845         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16846         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
16847         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
16848         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
16850 2015-06-01  Martin Sebor  <msebor@redhat.com>
16852         [BZ #18116]
16853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16854         (__setcontext): Use extended four-operand version of mtsf whenever
16855         possible.
16856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16857         (__novec_swapcontext): Likewise.
16859 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
16861         * benchtests/scripts/compare_bench.py: New file.
16862         * benchtests/scripts/import_bench.py (mean): New function.
16863         (split_list): Likewise.
16864         (do_for_all_timings): Likewise.
16865         (compress_timings): Likewise.
16867         * benchtests/scripts/import_bench.py: New file.
16868         * benchtests/scripts/validate_benchout.py: Import import_bench
16869         instead of jsonschema.
16870         (validate_bench): Remove function.
16871         (main): Use import_bench.
16873 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
16875         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
16876         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
16878 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16880         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16882 2015-05-28  Roland McGrath  <roland@hack.frob.com>
16884         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
16885         set THREAD_SELF->tid to a magic value and futex-wake it.
16886         Pass its address to the thread_exit system call.
16887         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
16888         bit is clear.
16889         * sysdeps/nacl/lowlevellock.h: New file.
16890         * sysdeps/nacl/lll_timedwait_tid.c: New file.
16892         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
16893         Add TIMEOUT to current time, don't subtract it.
16895 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
16897         [BZ #2981]
16898         [BZ #18422]
16899         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
16900         ($(objpfx)tst-audit2.out): Also depend on
16901         $(objpfx)tst-auditmod9b.so.
16902         * elf/tst-audit2.c: Include <dlfcn.h>.
16903         (calloc_called): New.
16904         (calloc): Allow to be called more than once.
16905         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
16907 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
16909         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
16910         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
16912 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
16914         * stdlib/monetary.h: Fix comment.
16916 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
16918         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
16919         Avoid using variables in #defines that might cause shadowing.
16920         (INTERNAL_VSYSCALL_CALL): Likewise.
16922 2015-05-26  Roland McGrath  <roland@hack.frob.com>
16924         * sysdeps/nacl/lll_timedlock_wait.c: New file.
16926         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
16927         * nptl/lll_timedlock_wait.c: ... to this new file.
16928         * nptl/Makefile (libpthread-routines): Add it.
16929         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
16930         * nptl/lll_timedwait_tid.c: ... to this new file.
16931         * nptl/Makefile (libpthread-routines): Add it.
16932         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
16933         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
16934         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
16935         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
16936         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
16937         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
16938         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
16939         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
16940         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
16941         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
16943 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16945         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
16946         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16947         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
16948         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
16949         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
16950         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16951         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16952         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16953         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16954         * sysdeps/unix/sysv/linux/tile/sysdep.h
16955         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16956         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
16957         using vDSO syscall macro.
16959 2015-05-26  Andriy Rysin  <arysin@gmail.com>
16961         [BZ #17293]
16962         * uk_UA: Fix sorting order for Ukrainian locale
16964 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
16966         * stdlib/monetary.h: Fix comment.
16968 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16970         [BZ #18234]
16971         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
16972         st_mtim and st_ctim members.
16973         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
16974         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
16975         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
16976         (struct stat64): Likewise.
16977         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
16978         (struct stat64): Likewise.
16979         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
16980         (struct stat64): Likewise.
16982 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16984         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
16985         Define and include sysdep-vdso.h.
16986         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
16987         Likewise.
16988         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
16989         Likewise.
16990         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
16991         Define with VDSO_SYMBOL and use PTR_MANGLE.
16992         (__vdso_clock_gettime): Likewise.
16993         (__vdso_clock_getres): Likewise.
16994         (_libc_vdso_platform_setup): Likewise.
16995         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
16996         Likewise.
16997         (_libc_vdso_platform_setup): Likewise.
16998         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
16999         Likewise.
17000         (__vdso_clock_gettime): Likewise.
17001         (__vdso_clock_getres): Likewise.
17002         (__vdso_get_tbfreq): Likewise.
17003         (__vdso_getcpu): Likewise.
17004         (__vdso_time): Likewise.
17005         (__vdso_sigtramp_rt64): Likewise.
17006         (__vdso_signtramp32): Likewise.
17007         (__vdso_sigtramp_rt32): Likewise.
17008         (_libc_vdso_platform_setup): Likewise.
17009         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
17010         Likewise.
17011         (__vdso_clock_gettime): Likewise.
17012         (__vdso_clock_getres): Likewise.
17013         (_libc_vdso_platform_setup): Likewise.
17014         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
17015         Likewise.
17016         (__vdso_clock_gettime): Likewise.
17017         (_libc_vdso_platform_setup): Likewise.
17018         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
17019         Likewise.
17020         (__vdso_getcpu): Likewise.
17021         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
17022         Use VDSO_SYMBOL macro to define.
17023         (__vdso_clock_gettime): Likewise.
17024         (__vdso_clock_getres): Likewise.
17025         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
17026         Likewise.
17027         (__vdso_clock_gettime): Likewise.
17028         (__vdso_clock_getres): Likewise.
17029         (__vdso_get_tbfreq): Likewise.
17030         (__vdso_getcpu): Likewise.
17031         (__vdso_time): Likewise.
17032         (__vdso_sigtramp_rt64): Likewise.
17033         (__vdso_signtramp32): Likewise.
17034         (__vdso_sigtramp_rt32): Likewise.
17035         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
17036         Likewise.
17037         (__vdso_clock_gettime): Likewise.
17038         (__vdso_clock_getres): Likewise.
17039         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
17040         Likewise.
17041         (__vdso_clock_gettime): Likewise.
17042         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
17043         Likewise.
17044         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
17045         macro.
17046         (INTERNAL_VSYSCALL): Likewise.
17047         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
17048         Remove macro.
17049         (INTERNAL_VSYSCALL): Likewise.
17050         (INTERNAL_VSYSCALL_NCS): Likewise.
17051         (INTERNAL_VSYSCALL_CALL): New macro.
17052         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
17053         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
17054         Likewise.
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/powerpc/powerpc32/sysdep.h
17060         (INLINE_VSYSCALL): Remove macro.
17061         (INTERNAL_VSYSCALL): Remove macro.
17062         (INTERNAL_VSYSCALL_NCS): Remove macro.
17063         (INTERNAL_VSYSCALL_CALL): New macro.
17064         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
17065         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
17066         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
17067         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
17068         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
17069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17070         (INLINE_VSYSCALL): Remove macro.
17071         (INTERNAL_VSYSCALL): Likewise.
17072         (INTERNAL_VSYSCALL_NCS): Likewise.
17073         (INTERNAL_VSYSCALL_CALL): New macro.
17074         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
17075         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
17076         PTR_DEMANGLE on vDSO pointer.
17077         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
17078         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
17079         macro.
17080         (INTERNAL_SYSCALL): Likewise.
17081         (INTERNAL_VSYSCALL_NCS): Remove macro.
17082         (INTERNAL_VSYSCALL_CALL): New macro.
17083         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
17084         Remove macro.
17085         (INTERNAL_VSYSCALL): Likewise.
17086         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
17087         sysdep-vdso.h instead of libc-vdso.h.
17088         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
17089         definition.
17090         (INLINE_VSYSCALL): Likewise.
17091         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
17092         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
17093         definition.
17094         (INLINE_VSYSCALL): Likewise.
17095         (INTERNAL_VSYSCALL): Likewise.
17096         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
17097         * sysdeps/unix/sysv/linux/timespec_get.c
17098         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
17099         (timespec_get): Use ANSI prototype.
17100         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
17101         and definition for Linux.
17103 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
17105         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
17106         * include/libc-symbols.h: libmvec_hidden_* macro series added.
17108 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
17110         [BZ #2981]
17111         [BZ #18410]
17112         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
17113         for missing DT_PLTRELSZ.
17115 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
17117         Remove obsolete aliases that broke 'locale -a'
17118         [BZ #18412]
17119         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
17120         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
17121         breaking some applications that use 'locale -a' output.
17122         Change the encoding of this file from Latin-1 to ASCII to avoid
17123         other potential problems with people grepping this file.
17125 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17127         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
17128         -fasynchronous-unwind-tables.
17129         (CFLAGS-sendto.c): Likewise.
17130         (CFLAGS-sendmsg.c): Likewise.
17131         (CFLAGS-connect.c): Likewise.
17132         (CFLAGS-recvmsg.c): Likewise.
17133         (CFLAGS-recvfrom.c): Likewise.
17134         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
17135         (SOCKETCALL): New macro: non-cancellable socketcall.
17136         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
17137         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
17138         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
17139         * sysdeps/unix/sysv/linux/accept.c: New file.
17140         * sysdeps/unix/sysv/linux/bind.c: Likewise.
17141         * sysdeps/unix/sysv/linux/connect.c: Likewise.
17142         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
17143         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
17144         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
17145         * sysdeps/unix/sysv/linux/listen.c: Likewise.
17146         * sysdeps/unix/sysv/linux/recv.c: Likewise.
17147         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
17148         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
17149         * sysdeps/unix/sysv/linux/send.c: Likewise.
17150         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
17151         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
17152         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
17153         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
17154         * sysdeps/unix/sysv/linux/socket.c: Likewise.
17155         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
17156         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
17157         prototype.
17158         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
17159         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
17160         instead of __internal_xxx function.
17161         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
17162         prototype.
17163         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
17164         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
17165         instead of __internal_xxx function.
17166         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
17167         prototype.
17168         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
17169         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
17170         instead of __internal_xxx function.
17171         * sysdeps/unix/sysv/linux/accept.S: Remove file.
17172         * sysdeps/unix/sysv/linux/bind.S: Likewise.
17173         * sysdeps/unix/sysv/linux/connect.S: Likewise.
17174         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
17175         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
17176         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
17177         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
17178         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
17179         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
17180         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
17181         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
17182         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17183         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
17184         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
17185         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
17186         * sysdeps/unix/sysv/linux/listen.S: Likewise.
17187         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
17188         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
17189         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
17190         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
17191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
17192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
17193         * sysdeps/unix/sysv/linux/recv.S: Likewise.
17194         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
17195         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
17196         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
17197         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17198         * sysdeps/unix/sysv/linux/send.S: Likewise.
17199         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
17200         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
17201         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
17202         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
17203         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
17204         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
17205         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
17206         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
17207         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
17208         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
17209         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
17210         socketcall is implemented in GLIBC.
17212 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
17214         * soft-fp/fmadf4.c: Include <libc-internal.h>.
17215         (__fma): Ignore uninitialized warnings around packing.
17216         * soft-fp/fmasf4.c: Include <libc-internal.h>.
17217         (__fmaf): Ignore uninitialized warnings around packing.
17218         * soft-fp/fmatf4.c: Include <libc-internal.h>.
17219         (__fmal): Ignore uninitialized warnings around packing.
17221         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
17222         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
17223         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
17224         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
17226         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
17227         switch statement into default case.
17228         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
17230         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
17231         a conditional in forcing "inexact".
17232         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
17233         Likewise.
17235 2015-05-22  Roland McGrath  <roland@hack.frob.com>
17237         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
17238         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
17239         for each INTERNAL_SYSCALL use.
17241 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
17243         [BZ #438]
17244         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
17245         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
17246         variable.
17248         [BZ #18444]
17249         * string/basename.c (basename): Rename to __basename and define as
17250         weak alias of __basename.  Use libc_hidden_weak.
17251         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
17252         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
17253         __basename instead of basename.
17254         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
17255         Remove variable.
17256         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
17258 2015-05-18  Florian Weimer  <fweimer@redhat.com>
17260         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
17261         (_IO_JUMPS_FILE_plus): New.
17262         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
17263         _IO_CAST_FIELD_ACCESS.
17264         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
17265         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
17266         * libio/freopen.c (freopen): Likewise.
17267         * libio/freopen64.c (freopen64): Likewise.
17268         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
17269         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
17270         * libio/iofwide.c (_IO_fwide): Likewise.
17271         * libio/memstream.c (open_memstream): Likewise.
17272         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17273         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
17274         * libio/oldiopopen.c (_IO_old_popen): Likewise.
17276 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
17278         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
17279         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
17280         NADJ.
17281         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
17282         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
17283         NADJ.
17284         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
17285         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
17286         NADJ.
17288         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
17289         (p == 4) case.
17291         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
17292         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
17293         Remove variable.
17294         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
17295         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
17296         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
17298 2015-05-21  Florian Weimer  <fweimer@redhat.com>
17300         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
17301         Adjust jump table label generation macros.
17303 2015-05-21  Florian Weimer  <fweimer@redhat.com>
17305         * stdio-common/vfprintf.c (vfprintf): Move local variables
17306         args_malloced, specs, specs_malloced, and the code after
17307         do_positional to the printf_positional function.
17308         (printf_positional): New function.
17310 2015-05-21  Florian Weimer  <fweimer@redhat.com>
17312         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
17313         function.
17314         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
17315         STEP4_TABLE, process_arg): Move macro definitions
17316         out of the vfprintf function.  (Cosmetic change only.)
17318 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
17320         * benchtests/Makefile (stdio-common-bench): Define.
17321         (benchset): Add stdio-common-bench.
17322         * sprintf-inputs: New file.
17323         * sprintf-source.c: New file.
17325 2015-05-21  Andreas Schwab  <schwab@suse.de>
17327         [BZ #13028]
17328         [BZ #17053]
17329         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
17330         of struct __res_state.
17331         * resolv/res_send.c (__libc_res_nsend): Likewise.
17332         (get_nsaddr): New function.
17333         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
17334         statp directly.
17336 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
17338         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
17339         -D_POSIX_C_SOURCE=199506L.
17341         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
17343         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
17344         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
17345         Do not mention otherwise.
17346         [POSIX] (_XOPEN_VERSION): Do not expect.
17347         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
17348         [POSIX] (_POSIX2_C_BIND): Likewise.
17349         [POSIX] (_POSIX2_VERSION): Likewise.
17350         [POSIX] (_XOPEN_XPG2): Likewise.
17351         [POSIX] (_XOPEN_XPG3): Likewise.
17352         [POSIX] (_XOPEN_XPG4): Likewise.
17353         [POSIX] (_XOPEN_UNIX): Likewise.
17354         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
17355         [POSIX] (_POSIX_BARRIERS): Likewise.
17356         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
17357         [POSIX] (_POSIX_CPUTIME): Likewise.
17358         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
17359         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
17360         [POSIX] (_POSIX_SHELL): Likewise.
17361         [POSIX] (_POSIX_SPAWN): Likewise.
17362         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
17363         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
17364         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
17365         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
17366         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
17367         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
17368         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
17369         [POSIX] (_XBS5_LP64_OFF64): Likewise.
17370         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
17371         [POSIX] (_POSIX_TIMEOUTS): Likewise.
17372         [POSIX] (_POSIX2_PBS): Likewise.
17373         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
17374         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
17375         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
17376         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
17377         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
17378         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
17379         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
17380         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
17381         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
17382         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
17383         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
17384         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
17385         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
17386         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
17387         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
17388         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
17389         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
17390         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
17391         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
17392         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
17393         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
17394         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
17395         [POSIX] (_SC_2_C_BIND): Likewise.
17396         [POSIX] (_SC_2_C_VERSION): Likewise.
17397         [POSIX] (_SC_2_PBS): Likewise.
17398         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
17399         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
17400         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
17401         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
17402         [POSIX] (_SC_2_PBS_TRACK): Likewise.
17403         [POSIX] (_SC_ATEXIT_MAX): Likewise.
17404         [POSIX] (_SC_BARRIERS): Likewise.
17405         [POSIX] (_SC_BASE): Likewise.
17406         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
17407         [POSIX] (_SC_DEVICE_IO): Likewise.
17408         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
17409         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
17410         [POSIX] (_SC_FD_MGMT): Likewise.
17411         [POSIX] (_SC_FIFO): Likewise.
17412         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
17413         [POSIX] (_SC_FILE_LOCKING): Likewise.
17414         [POSIX] (_SC_FILE_SYSTEM): Likewise.
17415         [POSIX] (_SC_IOV_MAX): Likewise.
17416         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
17417         [POSIX] (_SC_NETWORKING): Likewise.
17418         [POSIX] (_SC_PAGE_SIZE): Likewise.
17419         [POSIX] (_SC_PASS_MAX): Likewise.
17420         [POSIX] (_SC_PIPE): Likewise.
17421         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
17422         [POSIX] (_SC_REGEXP): Likewise.
17423         [POSIX] (_SC_SHELL): Likewise.
17424         [POSIX] (_SC_SIGNALS): Likewise.
17425         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
17426         [POSIX] (_SC_SPIN_LOCKS): Likewise.
17427         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
17428         [POSIX] (_SC_USER_GROUPS): Likewise.
17429         [POSIX] (_SC_USER_GROUPS_R): Likewise.
17430         [POSIX] (_SC_STREAMS): Likewise.
17431         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
17432         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
17433         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
17434         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
17435         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
17436         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
17437         [POSIX] (_PC_FILESIZEBITS): Likewise.
17438         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
17439         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
17440         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
17441         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
17442         [POSIX] (uid_t): Likewise.
17443         [POSIX] (gid_t): Likewise.
17444         [POSIX] (off_t): Likewise.
17445         [POSIX] (pid_t): Likewise.
17446         [POSIX] (cuserid): Allow.
17447         (_SC_2_CHAR_TERM): Require constant.
17448         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
17449         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
17450         variable.
17452 2015-05-20  Roland McGrath  <roland@hack.frob.com>
17454         * sysdeps/nacl/pthread-pids.h: New file.
17455         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
17456         (create_thread): Use __nacl_get_tid to initialize PD->tid.
17458         * nptl/pthread-pids.h: New file.
17459         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
17460         * nptl/nptl-init.c: Include <pthread-pids.h>.
17461         (__pthread_initialize_minimal_internal):
17462         Call __pthread_initialize_pids instead of set_tid_address syscall.
17464         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
17465         * sysdeps/posix/usleep.c: ... here.
17467 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17469         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
17470         call_pselect6 object.
17471         [$(subdir) = io]: Remove call_sync_file_range object.
17472         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
17473         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
17474         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
17475         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
17477 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
17479         * math/s_cproj.c: Add include "math_private.h".
17480         * math/s_cprojf.c: Likewise.
17481         * math/s_cprojl.c: Likewise.
17483 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
17485         [BZ #18244]
17486         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
17487         high mantissa bit when testing whether P is a NaN.
17488         * math/libm-test.inc (remainder_test_data): Add more tests.
17489         (remquo_test_data): Likewise.
17491         [BZ #18049]
17492         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
17493         below -32, return the argument, with underflow if subnormal.
17494         * math/auto-libm-test-in: Add more tests of atanh.
17495         * math/auto-libm-test-out: Regenerated.
17497 2015-05-19  Roland McGrath  <roland@hack.frob.com>
17499         [BZ #18434]
17500         * nptl/tst-sem15.c: New file.
17501         * nptl/Makefile (tests): Add it.
17502         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
17503         s/<</>>/ to fix typo in EOVERFLOW check.
17504         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
17506 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17508         * manual/strings.texi (envz_remove): Fix typo in safety
17509         annotations.
17511 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
17512             Steve Ellcey  <sellcey@imgtec.com>
17514         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
17515         in order to avoid strict alias warnings.
17516         (iruserok_af): Ditto for ra.
17518 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
17520         [BZ #17581]
17521         * malloc/hooks.c
17522         (magicbyte): Convert to a function and avoid returning 0x01.
17523         (mem2mem_check): Avoid using a length byte equal to the magic byte.
17524         (mem2chunk_check): Fix unsigned comparisons to zero.
17525         Hoist defs of sz and magic.
17527 2015-05-19  Richard Henderson  <rth@redhat.com>
17529         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
17531         * sysdeps/alpha/fpu/libm-test-ulps: Update.
17533 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17535         [BZ #16159]
17536         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
17537         * malloc/arena.c (arena_lock): Check if arena is corrupt.
17538         (reused_arena): Find a non-corrupt arena.
17539         (heap_trim): Pass arena to unlink.
17540         * malloc/hooks.c (malloc_check_get_size): Pass arena to
17541         malloc_printerr.
17542         (top_check): Likewise.
17543         (free_check): Likewise.
17544         (realloc_check): Likewise.
17545         * malloc/malloc.c (malloc_printerr): Add arena argument.
17546         (unlink): Likewise.
17547         (munmap_chunk): Adjust.
17548         (ARENA_CORRUPTION_BIT): New macro.
17549         (arena_is_corrupt): Likewise.
17550         (set_arena_corrupt): Likewise.
17551         (sysmalloc): Use mmap if there are no usable arenas.
17552         (_int_malloc): Likewise.
17553         (__libc_malloc): Don't fail if arena_get returns NULL.
17554         (_mid_memalign): Likewise.
17555         (__libc_calloc): Likewise.
17556         (__libc_realloc): Adjust for additional argument to
17557         malloc_printerr.
17558         (_int_free): Likewise.
17559         (malloc_consolidate): Likewise.
17560         (_int_realloc): Likewise.
17561         (_int_memalign): Don't touch corrupt arenas.
17562         * malloc/tst-malloc-backtrace.c: New test case.
17564         * Makefile (summarize-tests): Fix return value on success.
17566         * manual/string.texi (Envz Functions): Add envz_remove.
17568 2015-05-18  Roland McGrath  <roland@hack.frob.com>
17570         * sysdeps/posix/opendir.c: Include <stdbool.h>.
17571         (invalid_name): New function, broken out of ...
17572         (__opendirat): ... here.  Call it.
17573         (need_isdir_precheck): New function, broken out of ...
17574         (__opendirat): ... here.  Call it.
17575         Use __fxstatat64, not __xstatat64.
17576         (opendir_oflags): New function, broken out of ...
17577         (__opendirat): ... here.  Call it.
17578         (opendir_tail): New function, broken out of ...
17579         (__opendirat): ... here.  Call it.
17580         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
17581         opendir_tail, rather than punting to __opendirat.
17582         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
17584 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17586         * .gitignore: Ignore generated *.pyc.
17588 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
17590         * include/stdio.h: Define __need_wint_t.
17591         * test-skeleton.c: Avoid `for' loop initial declaration.
17592         * nptl/tst-initializers1.c: Use test-skeleton.c.
17594 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17596         [BZ #18418]
17597         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
17599 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
17601         [BZ #16352]
17602         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
17603         (__ieee754_atanh): Force underflow exception for results with
17604         small absolute value.
17605         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
17606         (__ieee754_atanhf): Force underflow exception for results with
17607         small absolute value.
17608         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
17609         (__ieee754_atanh): Force underflow exception for results with
17610         small absolute value.
17611         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
17612         (__ieee754_atanhf): Force underflow exception for results with
17613         small absolute value.
17614         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
17615         (__ieee754_atanhl): Force underflow exception for results with
17616         small absolute value.
17617         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
17618         (__ieee754_atanhl): Force underflow exception for results with
17619         small absolute value.
17620         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
17621         (__ieee754_atanhl): Force underflow exception for results with
17622         small absolute value.
17623         * math/auto-libm-test-in: Do not allow missing underflow
17624         exceptions from atanh.
17625         * math/auto-libm-test-out: Regenerated.
17627         [BZ #18221]
17628         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
17629         2**-28 as threshold for returning x or +/- 1/x.
17630         * math/auto-libm-test-in: Add more tests of tan.
17631         * math/auto-libm-test-out: Regenerated.
17633         [BZ #18220]
17634         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17635         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
17636         * math/auto-libm-test-in: Add another test of lgamma.
17637         * math/auto-libm-test-out: Regenerated.
17639 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
17641         * stdio-common/printf_fp.c (___printf_fp): Use abs.
17642         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
17643         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
17644         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
17645         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
17646         (ADD2A): Use fabs.  (SUB2A): Use fabs.
17647         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
17648         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
17649         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
17650         (log1): Use fabs.  (my_log2): Use fabs.
17651         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
17652         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
17653         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
17654         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
17655         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
17656         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
17657         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
17658         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
17659         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
17660         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
17661         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
17663 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
17665         [BZ #18217]
17666         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
17667         as threshold for returning 1 - x.
17668         * math/auto-libm-test-in: Add more tests of erfc.
17669         * math/auto-libm-test-out: Regenerated.
17671 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
17673         [BZ #18196]
17674         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
17675         threshold for large arguments.
17676         * math/auto-libm-test-in: Add another test of atan.
17677         * math/auto-libm-test-out: Regenerated.
17679         [BZ #16339]
17680         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
17681         (__log1p): Force underflow exception for results with small
17682         absolute value.
17683         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
17684         (__log1pf): Force underflow exception for results with small
17685         absolute value.
17686         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
17687         (__log1p): Force underflow exception for results with small
17688         absolute value.
17689         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
17690         (__log1pf): Force underflow exception for results with small
17691         absolute value.
17692         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
17693         (__log1pl): Force underflow exception for results with small
17694         absolute value.
17695         * math/auto-libm-test-in: Do not allow missing underflow
17696         exceptions from log1p.
17697         * math/auto-libm-test-out: Regenerated.
17699 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
17700             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17702         [BZ #16704]
17703         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
17705 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
17707         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
17708         (libmvec): New variable.
17709         * configure.ac: Added option for mathvec build.
17710         * configure: Regenerated.
17711         * mathvec/Depend: New file.
17712         * mathvec/Makefile: New file.
17713         * shlib-versions: Added libmvec.
17714         * math/Makefile: Added rule for libm.so installation.
17716         * bits/math-vector.h: New file.
17717         * bits/libm-simd-decl-stubs.h: New header.
17718         * math/Makefile (headers): Added new header
17719         libm-simd-decl-stubs.h.
17720         * math/math.h (__MATHCALL_VEC): New macro.
17722         * math/gen-libm-have-vector-test.sh: Script generates series of macros
17723         for conditions in testing functions.
17724         * math/Makefile: Added call of libm-have-vector-test.sh.
17725         * math/libm-test.inc (HAVE_VECTOR): New macros.
17727         * math/libm-test.inc: START refactored.
17728         * math/test-double.c (TEST_MATHVEC): Add define.
17729         * math/test-float.c: Likewise.
17730         * math/test-idouble.c: Likewise.
17731         * math/test-ifloat.c: Likewise.
17732         * math/test-ildoubl.c: Likewise.
17733         * math/test-ldouble.c: Likewise.
17734         * sysdeps/generic/math-tests-arch.h
17735         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
17736         architecture check.
17738         * math/test-double.c (FUNC_TEST): New macro.
17739         * math/test-float.c: Likewise.
17740         * math/test-idouble.c: Likewise.
17741         * math/test-ifloat.c: Likewise.
17742         * math/test-ildoubl.c: Likewise.
17743         * math/test-ldouble.c: Likewise.
17744         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
17746 2015-05-13  Roland McGrath  <roland@hack.frob.com>
17748         * sysdeps/nacl/fdopendir.c: New file.
17750         * dirent/scandir-tail.c: New file.
17751         * dirent/scandir64-tail.c: New file.
17752         * dirent/Makefile (routines): Add them.
17753         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
17754         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
17755         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
17756         [!SCANDIR] (SCANDIR_TAIL): New macro.
17757         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
17758         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
17759         (SCANDIRAT): Macro removed.
17760         (SCANDIR_TAIL): New macro.
17761         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
17762         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
17763         (SCANDIRAT): Just call __opendirat and __scandir_tail.
17764         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
17765         (READDIR): Macro removed.
17766         (SCANDIR_TAIL): New macro.
17767         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
17768         (SCANDIR_TAIL): New macro.
17770         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
17771         * dirent/scandir-cancel.c: ... to this new file.
17772         * dirent/Makefile (routines): Add it.
17773         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
17774         * sysdeps/unix/sysv/linux/i386/scandir64.c
17775         (SKIP_SCANDIR_CANCEL): Macro removed.
17776         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
17778         * dirent/tst-scandir.c: New file.
17779         * dirent/tst-scandir64.c: New file.
17780         * dirent/Makefile (tests): Add them.
17782 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
17784         [BZ #18409]
17785         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
17787 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17789         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
17790         list.
17792 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
17794         * benchtests/bench-strcoll.c: New benchmark.
17795         * benchtests/Makefile: Generate locales and run benchmark.
17796         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
17797         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
17798         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
17799         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
17800         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
17801         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
17802         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
17803         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
17804         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
17805         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
17806         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
17807         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
17808         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
17809         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
17810         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
17811         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
17812         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
17813         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
17814         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
17815         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
17816         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
17817         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
17818         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
17819         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
17821 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
17823         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
17824         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17826 2015-05-12  Roland McGrath  <roland@hack.frob.com>
17828         * posix/uname-values.h: New file.
17829         * posix/uname.c: Include that instead of <config-name.h>.
17830         * sysdeps/nacl/uname-values.h: New file.
17831         * sysdeps/arm/nacl/uname-values.h: New file.
17833 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
17835         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
17836         splitting into fields.
17838 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
17840         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
17841         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
17842         * locale/localeinfo.h: Add enum collation_encoding_type.
17843         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
17844         * programs/ld-collate.c (collate_output): Add encoding type info.
17845         * string/strcoll_l.c (STRDIFF): New function.
17846         * (STRCOLL): Use STRDIFF to skip over equal prefix.
17847         * wcsmbs/wcscoll_l.c: Define STRDIFF.
17849 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
17851         [BZ #18397]
17852         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
17853         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
17854         <fpu_control.h> instead of <math/fpu_control.c>.
17855         * sysdeps/mips/mips32/fpu/Makefile: New file.
17857 2015-05-11  Andreas Schwab  <schwab@suse.de>
17859         [BZ #18007]
17860         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
17861         nss_endgrent.
17862         (_nss_compat_endgrent): Call nss_endgrent.
17863         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
17864         nss_endpwent.
17865         (_nss_compat_endpwent): Call nss_endpwent.
17866         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
17867         needent, call nss_setspent only if non-zero.
17868         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
17869         (internal_endspent): Don't call nss_endspent.
17870         (_nss_compat_endspent): Call nss_endspent.
17871         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
17872         Remove.  All uses removed.
17873         (internal_setent): Remove parameter stayopen, add parameter
17874         stream.  Use it instead of global variable.
17875         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
17876         (internal_endent, internal_getent): Add parameter stream.  Use it
17877         instead of global variable.
17878         (CONCAT(_nss_files_end,ENTNAME))
17879         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
17880         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
17881         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
17882         uses removed.
17883         (internal_setent, internal_endent): Add parameter stream.  Use it
17884         instead of global variable.
17885         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
17886         stream.
17887         (get_next_alias): Add parameter stream.
17888         (_nss_files_getaliasent_r): Pass global stream.
17889         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
17890         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
17891         (_nss_files_gethostbyname4_r): Pass local stream to
17892         internal_setent, internal_getent and internal_endent.  Remove
17893         locking.
17895 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17897         * tst-strfmon1.c (tests): Update expected currency symbol.
17899 2015-05-08  Roland McGrath  <roland@hack.frob.com>
17901         * sysdeps/nacl/gethostname.c: New file.
17903 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
17905         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
17906         and sinh.
17907         * math/auto-libm-test-out: Regenerated.
17908         * sysdeps/i386/fpu/libm-test-ulps: Update.
17909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17911 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
17913         [BZ #18125]
17914         * stdlib/tst-setcontext3.c: New file.
17915         * stdlib/tst-setcontext3.sh: New file.
17916         * stdlib/Makefile (tests): Add tst-setcontext3.
17917         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
17918         to verify test program created output file.
17919         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
17920         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
17921         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
17922         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
17924 2015-05-06  Roland McGrath  <roland@hack.frob.com>
17926         [BZ #18383]
17927         * elf/tst-tlsalign.c: New file.
17928         * elf/tst-tlsalign-static.c: New file.
17929         * elf/tst-tlsalign-lib.c: New file.
17930         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
17931         (tests-static): Add tst-tlsalign-static.
17932         (modules-names): Add tst-tlsalign-lib.
17933         (test-xfail-tst-tlsalign): New variable.
17934         (test-xfail-tst-tlsalign-static): New variable.
17936         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
17937         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
17939 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
17941         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
17942         csqrt, erfc, sin and sincos.
17943         * math/auto-libm-test-out: Regenerated.
17944         * sysdeps/i386/fpu/libm-test-ulps: Update.
17945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17947 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17949         * sysdeps/aarch64/libm-test-ulps: Update.
17951 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
17953         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
17954         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
17955         * math/auto-libm-test-out: Regenerated.
17956         * sysdeps/i386/fpu/libm-test-ulps: Update.
17957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17959 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
17961         [BZ #18265]
17962         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
17963         (wcsncpy): Likewise.
17965 2015-05-05  Florian Weimer  <fweimer@redhat.com>
17967         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17968         Assume __ASSUME_FALLOCATE is always true.
17969         * sysdeps/unix/sysv/linux/posix_fallocate64.c
17970         (__posix_fallocate64_l64): Likweise.
17971         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
17972         (posix_fallocate): Likewise.
17973         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
17974         (__posix_fallocate64_l64): Likewise.
17975         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17976         [!__ASSUME_FALLOCATE]: Add comment.
17978 2015-05-05  Florian Weimer  <fweimer@redhat.com>
17980         * sysdeps/unix/sysv/linux/i386/Makefile
17981         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
17982         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
17983         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
17984         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17985         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17986         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
17987         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
17989 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
17991         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
17992         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
17993         tgamma.
17994         * math/auto-libm-test-out: Regenerated.
17995         * sysdeps/i386/fpu/libm-test-ulps: Update.
17996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17998 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
18000         * math/auto-libm-test-in: Add more tests of tgamma.
18001         * math/auto-libm-test-out: Regenerated.
18002         * sysdeps/i386/fpu/libm-test-ulps: Update.
18003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18005         * math/auto-libm-test-in: Add more tests of tanh.
18006         * math/auto-libm-test-out: Regenerated.
18007         * sysdeps/i386/fpu/libm-test-ulps: Update.
18008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18010         * math/auto-libm-test-in: Add more tests of tan.
18011         * math/auto-libm-test-out: Regenerated.
18012         * sysdeps/i386/fpu/libm-test-ulps: Update.
18013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18015         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
18016         * math/auto-libm-test-out: Regenerated.
18017         * sysdeps/i386/fpu/libm-test-ulps: Update.
18018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18020         * math/auto-libm-test-in: Add another test of pow.
18021         * math/auto-libm-test-out: Regenerated.
18022         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18024         * math/auto-libm-test-in: Add more tests of lgamma.
18025         * math/auto-libm-test-out: Regenerated.
18026         * sysdeps/i386/fpu/libm-test-ulps: Update.
18027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18029         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
18030         log1p.
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 2015-05-01  Mark Wielaard  <mjw@redhat.com>
18037         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
18038         Elf64_Chdr structs and ELFCOMPRESS constants.
18040 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
18042         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
18043         expm1.
18044         * math/auto-libm-test-out: Regenerated.
18045         * sysdeps/i386/fpu/libm-test-ulps: Update.
18046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18048         * math/auto-libm-test-in: Add more tests of erf and erfc.
18049         * math/auto-libm-test-out: Regenerated.
18050         * sysdeps/i386/fpu/libm-test-ulps: Update.
18051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18053 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18055         * config.h.in (HAVE_AARCH64_BE): Add.
18057 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
18059         * math/auto-libm-test-in: Add more tests of csqrt.
18060         * math/auto-libm-test-out: Regenerated.
18061         * sysdeps/i386/fpu/libm-test-ulps: Update.
18062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18064         * math/auto-libm-test-in: Add more tests of cosh and sinh.
18065         * math/auto-libm-test-out: Regenerated.
18066         * sysdeps/i386/fpu/libm-test-ulps: Update.
18067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18069         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
18071 2015-04-29  Roland McGrath  <roland@hack.frob.com>
18073         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
18074         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
18076         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
18077         (euidaccess, eaccess): Define as weak aliases.
18079         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
18080         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
18081         but __suseconds_t is often 'long int' so some sources assume that
18082         type is being used (e.g. they use %ld to print tv_usec).
18084 2015-04-29  Florian Weimer  <fweimer@redhat.com>
18086         [BZ #18007]
18087         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
18088         (CVE-2014-8121)
18089         * nss/tst-nss-getpwent.c: New file.
18090         * nss/Makefile (tests): Add new test.
18092 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
18094         [BZ #18346]
18095         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
18096         exponents less than 48 as cases where high part of mantissa needs
18097         examining to determine whether argument is integral.
18098         * math/libm-test.inc (round_test_data): Add more tests.
18100 2015-04-28  Mark Wielaard  <mjw@redhat.com>
18102         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
18104 2015-04-27  David S. Miller  <davem@davemloft.net>
18106         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
18107         __tls_get_addr.
18108         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
18110 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
18112         [BZ#18333]
18113         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
18115 2015-04-27  Florian Weimer  <fweimer@redhat.com>
18117         [BZ#18333]
18118         * time/tzset.c (parse_tzname): Return error on memory allocation
18119         failure.
18120         * test-skeleton.c (struct temp_name_list): Change type of name
18121         member to non-const.
18122         (add_temp_file): Create a copy of the file name.
18123         (delete_temp_files): Deallocate memory.
18124         (create_temp_file): Add comment.
18126 2015-04-24  Florian Weimer  <fweimer@redhat.com>
18128         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
18129         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
18131 2015-04-24  Roland McGrath  <roland@hack.frob.com>
18133         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
18134         * sysdeps/arm/configure: Regenerated.
18136 2015-04-24  Florian Weimer  <fweimer@redhat.com>
18138         [BZ #17715]
18139         * time/tzfile.c (__tzfile_read): Check for large values of
18140         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
18141         * time/tzset.c (__tzstring_len): New function, based on the old
18142         __tzstring function.
18143         (__tzstring): Call __tzstring_len.
18144         (parse_tzname): New helper function extracted from
18145         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
18146         the input string.
18147         (parse_offset): New helper function extracted from
18148         __tzset_parse_tz.  Replace switch with fallthrough with
18149         initialization before sscanf.
18150         (parse_rule): Likewise.
18151         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
18152         new-style function definition.
18153         * timezone/Makefile (tests): Add tst-tzset.
18154         (tst-tzset.out): Dependencies on time zone files.
18155         (tst-tzset-ENV): Set TZDIR.
18156         (testdata/XT%): Copy crafted time zone files.
18157         * timezone/README: Mention crafted time zone files.
18158         * timezone/testdata/XT1, timezone/testdata/XT2,
18159         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
18160         files.
18161         * timezone/tst-tzset.c: New test.
18163 2015-04-24  Florian Weimer  <fweimer@redhat.com>
18165         * Makeconfig (+gccwarn): Remove -Winline.
18167 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18169         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
18171 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18173         * NEWS: Mention sysconf() cache information support for s390.
18174         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
18176 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
18178         * math/k_casinh.c (__kernel_casinh): Use __copysign.
18179         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
18180         (__nearbyint): Likewise.
18181         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
18182         (copysignl): Likewise.
18184 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
18186         [BZ #18287]
18187         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
18188         based on padding.  (CVE-2015-1781)
18190 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18192         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
18193         libc-vdso.h.
18194         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
18195         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
18196         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
18197         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
18198         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
18199         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
18200         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
18201         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18202         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
18203         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
18204         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
18205         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18206         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
18207         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
18208         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
18209         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
18210         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
18211         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
18212         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
18213         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
18214         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
18215         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
18216         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
18218 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
18220         * stdlib/setenv.c (__add_to_environ):
18221         Dump core quickly if setenv (..., NULL, ...) is called.
18222         This time, do it the right way, and pacify GCC with a pragma.
18224 2015-04-17  Roland McGrath  <roland@hack.frob.com>
18226         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
18227         IMAP->l_prev cannot be null, and #if out the code for the contrary
18228         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
18229         believe that NS (&_dl_ns[NSID]) could point outside the array.
18231         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
18232         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
18233         before using NSID as an index.
18235 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
18237         [BZ #17825]
18238         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
18239         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
18240         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18242 2015-04-17  Roland McGrath  <roland@hack.frob.com>
18244         Add preliminary port to Google Native Client on ARM.
18245         * abi-tags (.*-.*-nacl.*): New entry.
18246         * sysdeps/arm/nacl: New directory.
18247         * sysdeps/nacl: New directory.
18249 2015-04-16  David S. Miller  <davem@davemloft.net>
18251         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
18252         lowlevellock-futex.h
18254 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
18256         * sysdeps/tile/configure.ac: New file.
18257         * sysdeps/tile/configure: Regenerated.
18259 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18261         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
18262         conditionals for weak_alias and libc_hidden_weak.
18263         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
18264         libc_hidden_weak and weak_alias.
18265         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
18266         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
18267         and weak_alias for static one.
18269 2015-04-15  David S. Miller  <davem@davemloft.net>
18271         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18273 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18275         [BZ #18206]
18276         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
18277           Use signed comparision instead of substraction to avoid
18278           overflow bug.
18279         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
18280           Take the sign of ret.
18281         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
18282           Do not expect precise return values. Only the sign matters.
18283         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
18284         * wcsmbs/test-wcsncmp.c: New File.
18285         * string/test-strncmp.c: Add wcsncmp support.
18287 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18289         [BZ #6792]
18290         * math/w_log1p.c: New file.
18291         * math/w_log1pf.c: Likewise.
18292         * math/w_log1pl.c: Likewise.
18293         * math/Makefile (libm-calls): Add w_log1p.
18294         * math/s_log1pl.c (log1pl): Remove weak_alias.
18295         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
18296         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
18297         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
18298         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
18299         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
18300         [NO_LONG_DOUBLE] (log1pl): Likewise.
18301         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
18302         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
18303         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
18304         (log1p): Remove long_double_symbol.
18305         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
18306         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
18307         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
18308         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
18309         remove weak_alias for corresponding log1p function.
18310         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
18311         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
18312         * sysdeps/ia64/fpu/w_log1p.c: New file.
18313         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
18314         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
18315         * math/libm-test.inc (log1p_test_data): Add errno expectations.
18317 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
18319         [BZ #18247]
18320         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
18321         decimal exponent by 1.
18322         * stdlib/tst-strtod-round-data: Add more tests.
18323         * stdlib/tst-strtod-round.c (tests): Regenerated.
18325 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
18327         * math/auto-libm-test-in: Add more tests of clog and clog10.
18328         * math/auto-libm-test-out: Regenerated.
18329         * sysdeps/i386/fpu/libm-test-ulps: Update.
18330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18332 2015-04-09  Roland McGrath  <roland@hack.frob.com>
18334         * Makeconfig (module-cppflags): Exclude all .v.i files.
18335         (skip-module-cppflags): Variable removed.
18337         * configure.ac (libc_config_ok): Initialize before reading
18338         preconfigure scripts, not after.
18339         * configure: Regenerated.
18341         * test-skeleton.c (TIMEOUT): Move #define to top level.
18342         (main): Grok environment variable TEST_DIRECT.  If set, print
18343         test expectation details into that file and then behave as if
18344         given --direct.
18346 2015-04-09  Florian Weimer  <fweimer@redhat.com>
18348         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
18349         warning on 32-bit.
18351 2015-04-08  David S. Miller  <davem@davemloft.net>
18353         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18355 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
18357         * math/auto-libm-test-in: Add more tests of atanh.
18358         * math/auto-libm-test-out: Regenerated.
18359         * sysdeps/i386/fpu/libm-test-ulps: Update.
18360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18362         * math/auto-libm-test-in: Add more tests of atan.
18363         * math/auto-libm-test-out: Regenerated.
18364         * sysdeps/i386/fpu/libm-test-ulps: Update.
18365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18367 2015-04-08  Florian Weimer  <fweimer@redhat.com>
18369         * elf/pldd.c (main): Rewrite to use struct
18370         scratch_buffer instead of extend_alloca.
18371         * elf/pldd-xx.c (find_maps): Likewise.
18372         * grp/initgroups.c: Include <scratch_buffer.h> instead of
18373         <alloca.h>.
18374         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
18375         scratch_buffer instead of extend_alloca.
18376         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
18377         grp/compat-initgroups.c.
18378         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
18379         Rewrite to use struct scratch_buffer instead of extend_alloca.
18380         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
18381         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
18383 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
18385         * math/auto-libm-test-in: Add more tests of cbrt.
18386         * math/auto-libm-test-out: Regenerated.
18387         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18389         * math/auto-libm-test-in: Add more tests of cabs.
18390         * math/auto-libm-test-out: Regenerated.
18391         * sysdeps/i386/fpu/libm-test-ulps: Update.
18392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18394         [BZ #18210]
18395         [BZ #18211]
18396         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
18397         (__ieee754_atan2): Set FE_TONEAREST mode for internal
18398         computations.
18399         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
18400         clog10.
18401         * math/auto-libm-test-out: Regenerated.
18402         * sysdeps/i386/fpu/libm-test-ulps: Update.
18403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18405         [BZ #18197]
18406         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
18407         (atan): Set FE_TONEAREST mode for internal computations.
18408         * math/auto-libm-test-in: Add more tests of atan.
18409         * math/auto-libm-test-out: Regenerated.
18411 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
18413         [BZ #17930]
18414         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
18416 2015-04-07  Florian Weimer  <fweimer@redhat.com>
18418         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
18420 2015-04-07  Florian Weimer  <fweimer@redhat.com>
18422         * include/scratch_buffer.h: New file.
18423         * malloc/scratch_buffer_grow.c: Likewise.
18424         * malloc/scratch_buffer_grow_preserve.c: Likewise.
18425         * malloc/scratch_buffer_set_array_size.c: Likewise.
18426         * malloc/tst-scratch_buffer.c: Likewise.
18427         * malloc/Makefile (routines): Add scratch_buffer_grow.
18428         (tests): Add test case.
18429         * malloc/Versions (GLIBC_PRIVATE): Export
18430         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
18431         __libc_scratch_buffer_set_array_size.
18433 2015-04-06  Richard Henderson  <rth@redhat.com>
18435         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
18436         * sysdeps/alpha/fpu/libm-test-ulps: Update.
18438         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
18439         unsigned int before printing.
18441 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18443         [BZ #17596]
18444         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
18445         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
18447 2015-04-02  Florian Weimer  <fweimer@redhat.com>
18449         * include/libc-internal.h (libc_max_align_t): Define.
18451 2015-04-02  Andreas Schwab  <schwab@suse.de>
18453         [BZ #16850]
18454         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
18456 2015-04-02  Mel Gorman  <mgorman@suse.de>
18458         [BZ #17195]
18459         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
18460         as well as the main arena.
18462 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
18464         [BZ #18185]
18465         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
18466         sharing L2 cache to 2 for Silvermont/Knights Landing.
18468 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
18470         [BZ #17711]
18471         * config.make.in (have-protected-data): New.
18472         * configure.ac: Check linker support for protected data symbol.
18473         * configure: Regenerated.
18474         * elf/Makefile (modules-names): Add tst-protected1moda and
18475         tst-protected1modb if $(have-protected-data) is yes.
18476         (tests): Add tst-protected1a and tst-protected1b if
18477         $(have-protected-data) is yes.
18478         ($(objpfx)tst-protected1a): New.
18479         ($(objpfx)tst-protected1b): Likewise.
18480         (tst-protected1modb.so-no-z-defs): Likewise.
18481         * elf/tst-protected1a.c: New file.
18482         * elf/tst-protected1b.c: Likewise.
18483         * elf/tst-protected1mod.h: Likewise.
18484         * elf/tst-protected1moda.c: Likewise.
18485         * elf/tst-protected1modb.c: Likewise.
18487 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
18489         [BZ #17711]
18490         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
18491         indicates it is called from do_lookup_x on relocation against
18492         protected data, skip the data definion in the executable from
18493         copy reloc.
18494         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
18495         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
18496         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
18497         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
18498         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
18499         otherwise to 0.
18500         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
18501         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
18502         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
18503         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
18504         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
18505         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
18507 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
18509         * sysdeps/nptl/pthread.h: Remove duplicate definition of
18510         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
18512 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
18514         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
18515         THREAD_SETMEM_NC.
18516         * sysdeps/x86_64/nptl/tls.h: Ditto.
18518 2015-03-27  Roland McGrath  <roland@hack.frob.com>
18520         * dlfcn/tststatic.c (main): Converted to ...
18521         (do_test): ... this.
18522         (TEST_FUNCTION): New macro.
18523         Include test-skeleton.c.
18525 2015-03-26  Alan Modra  <amodra@gmail.com>
18527         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
18528         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
18529         zero for undefined weak.
18530         (elf_machine_plt_conflict): Similarly.
18532 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
18534         * math/auto-libm-test-in: Add more tests of acosh, asinh and
18535         atanh.
18536         * math/auto-libm-test-out: Regenerated.
18537         * sysdeps/i386/fpu/libm-test-ulps: Update.
18538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18540         * math/auto-libm-test-in: Add another test of asin.
18541         * math/auto-libm-test-out: Regenerated.
18542         * sysdeps/i386/fpu/libm-test-ulps: Update.
18543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18545         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
18546         Remove macro.
18547         (LLL_EBX_REG): Likewise.
18548         (LLL_ENTER_KERNEL): Likewise.
18550         * math/auto-libm-test-in: Add more tests of asin.
18551         * math/auto-libm-test-out: Regenerated.
18552         * sysdeps/i386/fpu/libm-test-ulps: Update.
18553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18555         [BZ #18138]
18556         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
18557         libc_do_syscall_args): New structure.
18558         (INTERNAL_SYSCALL_MAIN_0): New macro.
18559         (INTERNAL_SYSCALL_MAIN_1): Likewise.
18560         (INTERNAL_SYSCALL_MAIN_2): Likewise.
18561         (INTERNAL_SYSCALL_MAIN_3): Likewise.
18562         (INTERNAL_SYSCALL_MAIN_4): Likewise.
18563         (INTERNAL_SYSCALL_MAIN_5): Likewise.
18564         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
18565         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
18566         Replace conditional definitions by conditional definitions of ....
18567         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
18568         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
18569         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
18570         (libpthread-sysdep_routines): Add libc-do-syscall.
18571         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
18572         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
18573         to __NR_futex not 240.
18575 2015-03-25  Alan Modra  <amodra@gmail.com>
18577         * NEWS: Advertise TLS optimization.
18578         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
18579         (DT_PPC_NUM): Increment.
18580         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
18581         (CHECK_STATIC_TLS): Use here.
18582         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
18583         TLS descriptors.
18584         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18585         * sysdeps/powerpc/dl-tls.c: New file.
18586         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
18587         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
18588         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
18589         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
18590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
18591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
18592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
18594 2015-03-25  Alan Modra  <amodra@gmail.com>
18596         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
18597         for overlapping .opd entries" to "support...".
18598         * sysdeps/powerpc/powerpc64/configure: Regenerate
18600 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
18602         * math/auto-libm-test-in: Add more tests of acos.
18603         * math/auto-libm-test-out: Regenerated.
18604         * sysdeps/i386/fpu/libm-test-ulps: Update.
18605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18607         * math/auto-libm-test-in: Add more tests of expm1.
18608         * math/auto-libm-test-out: Regenerated.
18609         * sysdeps/i386/fpu/libm-test-ulps: Update.
18610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18612 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
18614         * math/auto-libm-test-in: Add more tests of cosh and sinh.
18615         * math/auto-libm-test-out: Regenerated.
18616         * sysdeps/i386/fpu/libm-test-ulps: Update.
18617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18619         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18622         * math/auto-libm-test-in: Add more tests of log2.
18623         * math/auto-libm-test-out: Regenerated.
18624         * sysdeps/i386/fpu/libm-test-ulps: Update.
18625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18627 2015-03-23  Roland McGrath  <roland@hack.frob.com>
18629         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
18630         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
18631         _IO_IS_APPENDING bit in READ_WRITE instead.
18633 2015-03-23  Florian Weimer  <fweimer@redhat.com>
18635         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
18636         (__determine_cpumask_size): Replace extend_alloca with a
18637         variable-length array.  Do not treat res == 0 as an error.
18639 2015-03-23  Florian Weimer  <fweimer@redhat.com>
18641         [BZ #18100]
18642         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
18643         and integer overflow.
18644         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
18645         (main): Add integer overflow tests.
18646         * manual/pattern.texi (Calling Wordexp): Document additional use
18647         for WRDE_SYNTAX.
18649 2015-03-23  Alan Modra  <amodra@gmail.com>
18651         * config.h.in: Remove HAVE_ASM_PPC_REL16.
18652         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
18653         and false branch of conditional.
18654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
18655         Likewise.
18657 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
18659         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
18660         libc-modules.h
18661         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
18662         unused declaration of _hurd_intr_rpc_msg_in_trap.
18663         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
18664         defined instead of whether it is non-zero.
18665         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
18666         input constraint instead of both input and output constraint.  Use ecx
18667         clobber instead of %ecx.
18668         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
18669         mutex_unlock): Use a statement expression instead of an expression list.
18670         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
18671         type to vm_size_t instead of vm_address_t.
18672         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
18673         defined instead of whether it is non-zero.
18674         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
18675         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
18676         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
18677         comparisons with mapaddr.
18678         * nscd/nscd-client.h: Include <time.h>.
18679         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
18680         9th parameter to __vm_region instead of int.
18681         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
18682         * scripts/check-local-headers.sh (exclude): Add device/,
18683         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
18684         cthreads.h.
18686 2015-03-19  Roland McGrath  <roland@hack.frob.com>
18688         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
18689         to account for alignment padding.
18690         * sysdeps/arm/memmove.S: Likewise.
18692 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
18694         * sysdeps/unix/sysv/linux/generic/README: New file.
18696 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
18698         [BZ #18138]
18699         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
18700         (futex_abstimed_wait)
18701         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
18702         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
18703         of lll_futex_timed_wait.
18705 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
18707         [BZ #17542]
18708         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
18710 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
18712         [BZ #17090]
18713         [BZ #17620]
18714         [BZ #17621]
18715         [BZ #17628]
18716         * NEWS: Update.
18717         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
18718         entries with Static TLS too.  Skip entries past the end of the
18719         allocated DTV, from Alan Modra.
18720         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
18721         Static TLS DTV entry set up from...
18722         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
18723         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
18724         * nptl/allocatestack.c (init_one_static_tls): ... and here...
18725         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
18726         for Static TLS.
18727         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
18728         that the slot we find is associated with the given map before
18729         using its generation count.
18730         * nptl_db/db_info.c: Include ldsodefs.h.
18731         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
18732         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
18733         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
18734         (link_map::l_tls_offset): New struct field.
18735         (dtv_t::counter): Likewise.
18736         (rtld_global): New struct.
18737         (_rtld_global): New rtld variable.
18738         (dl_tls_dtv_slotinfo_list): New rtld global field.
18739         (dtv_slotinfo_list): New struct.
18740         (dtv_slotinfo): Likewise.
18741         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
18742         (td_lookup): Rename to...
18743         (td_mod_lookup): ... this.  Use new mod parameter instead of
18744         LIBPTHREAD_SO.
18745         * nptl_db/td_thr_tlsbase.c: Include link.h.
18746         (dtv_slotinfo_list, dtv_slotinfo): New functions.
18747         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
18748         addresses even if the DTV is out of date or missing them.
18749         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
18750         index zero-length arrays.
18751         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
18752         (td_lookup): Make it a macro implemented in terms of...
18753         (td_mod_lookup): ... this declaration.
18754         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
18755         (DB_MAIN_VARIABLE): Likewise.
18757 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
18759         [BZ #18134]
18760         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
18762 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
18764         * stdlib/setenv.c (__add_to_environ): Revert previous change.
18766 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
18768         [BZ #18128]
18769         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
18770         (atomic_add, atomic_increment_and_test)
18771         (atomic_decrement_and_test): Fix 64-bit arithmetic.
18773 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
18775         * stdlib/setenv.c (__add_to_environ):
18776         Dump core quickly if setenv (..., NULL, ...) is called.
18778 2015-03-13  Roland McGrath  <roland@hack.frob.com>
18780         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
18781         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
18782         all the necessary asm magic in one place.
18783         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
18784         using those.
18786 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
18788         [BZ #14906]
18789         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
18790         traced file mtime. Use consistent log message.
18791         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
18792         (register_traced_file): Call install_watches. Always set mtime.
18793         (invalidate_cache): Iterate over all trace files. Call install_watches.
18794         (inotify_check_files): Don't inline. Handle watching parent
18795         directories and configuration file movement in and out.
18796         (handle_inotify_events): New function.
18797         (main_loop_poll): Call handle_inotify_events.
18798         (main_loop_epoll): Likewise.
18799         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
18800         (struct traced_file): Use array of inotify fds. Add parent directory,
18801         and basename.
18802         (struct database_dyn): Remove unused file_mtime.
18803         (init_traced_file): New inline function.
18804         (define_traced_file): New macro.
18805         * nss/nss_db/db-init.c: Use define_traced_file.
18806         (_nss_db_init): Use init_traced_file.
18807         * nss/nss_files/files-init.c: Use define_traced_file.
18808         (_nss_files_init): Use init_traced_file.
18810 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
18812         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
18813         [_LIBC]: Do not include <stdlib.h>.
18814         [!_LIBC] (abort): Remove declaration.
18815         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
18816         _FP_STATIC_ASSERT instead of conditionally calling abort.
18817         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
18818         (_FP_EXTEND_CNAN): Likewise.
18819         (FP_TRUNC): Likewise.
18820         (__FP_CLZ): Likewise.
18821         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
18823 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
18825         * manual/string.texi (XPG basename): Fix prototype.
18827 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18829         [BZ #18080]
18830         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
18831         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
18832         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
18833         (__setcontext): Likewise.
18834         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
18835         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
18836         Call rt_sigprocmask syscall one time to set new signal mask
18837         and retrieve the current signal mask instead of two calls.
18838         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
18839         (__swapcontext): Likewise.
18840         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
18841         * stdlib/tst-setcontext2.c: New file.
18843 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18845         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18847 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
18849         [BZ #18093]
18850         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
18851         the wrong size.
18853 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
18855         [BZ #18043]
18856         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
18858 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18860         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
18861         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
18862         Remove define.
18863         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
18864         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
18865         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
18866         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
18867         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
18868         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
18869         define.
18870         * nptl_db/td_symbol_list.c (td_lookup): Remove
18871         HAVE_ASM_GLOBAL_DOT_NAME code.
18872         * sysdeps/powerpc/powerpc64/configure.ac: Remove
18873         HAVE_ASM_GLOBAL_DOT_NAME check.
18874         * sysdeps/powerpc/powerpc64/configure: Regenerate.
18875         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
18876         (DOT_LABEL): Remove define.
18877         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
18878         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
18879         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
18880         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
18881         (__TLS_GET_ADDR): Likewise.
18882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
18883         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
18885 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
18887         [BZ #18111]
18888         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
18889         (_FPU_SETCW): Initialize cw from fpsr before storing.
18890         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
18891         (fesetexceptflag): Rewrite using fpu_control.h.
18892         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
18894 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
18896         [BZ #18110]
18897         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
18898         asms.
18899         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
18901 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
18903         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
18904         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
18905         abort.
18906         (_FP_FMA): Likewise.
18907         (_FP_DIV): Likewise.
18909 2015-03-10  Roland McGrath  <roland@hack.frob.com>
18911         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
18912         with 0 in that case.
18913         * Makefile (summarize-tests): New canned sequence, factored out of
18914         commands for targets tests and xtests.  Display summary lines that
18915         don't start with PASS: or XFAIL: rather than ones that do start with
18916         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
18917         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
18918         do start with ERROR: or FAIL:.
18919         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
18920         (except for [$(build-shared) = yes]).
18921         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
18922         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
18923         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
18924         * nptl/Makefile: Revert 2015-03-04 changes.
18925         [$(CXX) empty] (tests-unsupported): New variable.
18926         * debug/Makefile: Likewise.
18928         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
18929         gnulib file.  Replace __attribute with __attribute__ throughout.
18931 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
18933         * sysdeps/hppa/fpu/libm-test-ulps: Update.
18935 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
18937         [BZ #18104]
18938         * math/auto-libm-test-in: Add another test of pow.
18939         * math/auto-libm-test-out: Regenerated.
18941 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18943         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
18944         $(config-cflags-nofma).
18946 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
18948         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
18949         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
18950         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
18951         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
18952         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
18953         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
18954         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
18955         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
18956         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
18957         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
18958         Add comment on closing #endif.
18960 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18962         * posix/wordexp.c (CHAR_IN_SET): New macro.
18963         (parse_param): Use it.
18965 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18967         * sysdeps/powerpc/fpu/libm-test-ulps: update.
18969 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18971         [BZ #18043]
18972         * posix/wordexp.c (parse_param): Fix buffer overflow.
18973         * posix/wordexp-test.c (test_case): Add test case.
18975 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18977         [BZ #18042]
18978         * posix/wordexp.c (parse_backtick): Fix off-by-one.
18979         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
18981 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18983         [BZ #18043]
18984         * posix/wordexp-test.c (test_case): Add test for BZ #18043
18985         (do_bz18043): Delete.
18986         (at_page_end): New.
18987         (testit): Refactor to have words at the edge of unreadable page.
18989 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
18991         [BZ #16734]
18992         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
18993         Cleanup read-only streams as well.
18994         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
18996 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18998         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
18999         <bits/libc-lockP.h>
19001 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
19003         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
19004         on [__KERNEL__].
19005         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
19006         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
19007         * soft-fp/op-common.h (_FP_DECL): Likewise.
19009 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
19011         * elf/ifuncdep2.c (global): Replace
19012         __attribute__((visibility("protected"))) with
19013         asm (".protected global").
19014         * elf/ifuncmod1.c (global): Likewise.
19015         * elf/ifuncmod5.c (global): Likewise.
19017 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
19019         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
19020         <asm/sfp-machine.h> instead of <sfp-machine.h>.
19022 2015-03-06  Roland McGrath  <roland@hack.frob.com>
19024         * manual/install.texi (Configuring and compiling):
19025         Document test-wrapper-env-only.
19026         * INSTALL: Regenerated.
19028 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
19030         [BZ #18043]
19031         * posix/wordexp.c (parse_param): Fix buffer overflow.
19032         * posix/wordexp-test.c (do_bz18043): Add test case.
19034 2015-03-06  Vincent Bernat  <vincent@bernat.im>
19036         * time/tst-strptime2.c (do_test): Ensure failing tests are
19037         reported correctly.
19038         * time/tst-strptime3.c (do_test): Likewise.
19040 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
19042         Fix aio_error thread-safety.
19043         * sysdeps/pthread/aio_error.c: New file
19044         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
19045         synchronization.
19047 2015-03-06  Florian Weimer  <fweimer@redhat.com>
19049         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
19050         (group_number, vfprintf): Use it.
19051         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
19052         (JUMP, REF): Use it.
19053         (WORK_BUFFER_SIZE): New enum constant.
19054         (process_arg, vfprintf): Use it.
19056 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
19058         * manual/errno.texi (Error Messages): Complete example function
19059         by adding missing #define.
19060         (program_invocation_name): Add statement indicating GNU
19061         extension and reference which header file declares the variable.
19062         (program_invocation_short_name): Likewise.
19064 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
19066         * manual/errno.texi (Error Messages): Delete strerror ISO C89
19067         compatibility note.
19069 2015-03-05  Roland McGrath  <roland@hack.frob.com>
19071         * Makeconfig (test-wrapper-env-only): New variable.
19072         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
19073         then use that with $(test-wrapper-env-only) rather than using
19074         $(test-wrapper-env) $(run-program-env) $($*-ENV).
19076 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
19078         [BZ #18082]
19079         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
19080         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
19081         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
19082         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
19083         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
19084         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
19085         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
19086         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
19087         Likewise.
19088         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
19089         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
19090         Likewise.
19091         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
19092         Likewise.
19093         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
19094         Likewise.
19095         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
19096         Likewise.
19097         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
19098         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
19099         Likewise.
19100         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
19101         Likewise.
19102         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
19103         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
19105 2015-03-04  Roland McGrath  <roland@hack.frob.com>
19107         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
19108         (ETH_ALEN): New macro.
19109         (struct ether_addr): Use it for length of ether_addr_octet.
19111         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
19112         (setdb): Don't call __nss_configure_lookup for "rpc".
19113         (do_test): Don't call test_rpc.
19114         (output_rpcent, test_rpc): Functions moved ...
19115         * sunrpc/test-rpcent.c: ... to this new file.
19116         * sunrpc/Makefile (tests): Add it.
19118         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
19119         __xpg_sigpause.
19120         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
19121         * nptl/tst-signal6.c: Likewise.
19122         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
19123         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
19125         * configure.ac (libc_cv_cxx_link_ok): New check.
19126         Reset CXX to empty if it fails to link.
19127         * configure: Regenerated.
19128         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
19129         bug-atexit3-lib only if $(CXX) is nonempty.
19130         * nptl/Makefile (tests): Likewise for tst-cancel24.
19131         (tests, tests-static): Likewise for tst-cancel24-static.
19132         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
19133         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
19134         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
19135         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
19137 2015-03-04  Andreas Schwab  <schwab@suse.de>
19139         [BZ #17631]
19140         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
19141         for non-GCC compilers.
19142         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
19143         Likewise.
19145 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19147         [BZ #17776]
19148         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
19149         integer before bitwise and assembly operations.
19150         (feclearexcept): Likewise.
19151         * math/test-fenvinline.c: New file.
19152         * math/Makefile: Add test-fenvinline test.
19154 2015-03-03  Alan Modra  <amodra@gmail.com>
19156         [BZ #16512]
19157         * scripts/localplt.awk: Strip off symbol version.
19158         * NEWS: Mention bug fix.
19160 2015-03-02  Roland McGrath  <roland@hack.frob.com>
19162         * sysdeps/pthread/timer_routines.c
19163         (timer_free_list, thread_free_list, thread_active_list): Make static.
19165 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
19167         [BZ #17779]
19168         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19169         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
19170         Undefine.
19171         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19172         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
19173         Likewise.
19174         * sysdeps/unix/sysv/linux/sh/kernel-features.h
19175         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
19176         Likewise.
19178 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
19180         [BZ #18036]
19181         * posix/fnmatch_loop.c (END): Detect invalid pattern.
19182         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
19184 2015-03-02  Andreas Schwab  <schwab@suse.de>
19186         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
19187         variable name.
19189 2015-03-02  Florian Weimer  <fweimer@redhat.com>
19191         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
19192         Return error status.
19194 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
19196         [BZ #15969]
19197         * locale/findlocale.c (_nl_find_locale): Introduce const
19198         version of loc_name and drop unsafe type casts.
19200 2015-02-27  Roland McGrath  <roland@hack.frob.com>
19202         * dlfcn/tststatic2.c (main): Converted to ...
19203         (do_test): ... this.
19204         (TEST_FUNCTION): New macro.
19205         Include test-skeleton.c.
19207 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
19209         [BZ #17711]
19210         * elf/Makefile (tests): Add vismain only if PIE is enabled.
19211         (tests-pie): Add vismain.
19212         (CFLAGS-vismain.c): New.
19213         * elf/vismain.c: Add comments for PIE requirement.
19215 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
19217         [BZ #18046]
19218         [BZ #18047]
19219         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
19220         0x1p-56L as threshold for just returning the argument.
19221         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
19222         0x1p-32L as threshold for just returning the argument.
19223         * math/auto-libm-test-in: Add more tests of atanh.
19224         * math/auto-libm-test-out: Regenerated.
19225         * sysdeps/i386/fpu/libm-test-ulps: Update.
19226         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
19228 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
19230         * string/bcopy.c (bcopy): Call memmove for performance.
19232 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
19234         * string/bzero.c (__bzero): Call memset for performance.
19236 2015-02-27  John David Anglin  <dave.anglin@bell.net>
19238         [BZ #18068]
19239         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
19240         to 00100000.
19242 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
19244         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
19246 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
19248         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
19249         (__kernel_standard): Use CSTR macro when setting exc.name.
19250         * sysdeps/ieee754/Makefile [$(subdir) = math]
19251         (CFLAGS-k_standard.c): Remove variable.
19253         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
19254         setting p and q from "else if" to "else".
19255         (qzero): Likewise.
19256         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
19257         (qone): Likewise.
19258         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
19259         (qzerof): Likewise.
19260         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
19261         (qonef): Likewise.
19262         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
19263         (qzero): Likewise.
19264         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
19265         (qone): Likewise.
19267         [BZ #18038]
19268         [BZ #18039]
19269         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
19270         return pi/2 for arguments below 0x1p-113L.
19271         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
19272         return pi/2 for arguments below 0x1p-106L.
19273         * math/auto-libm-test-in: Add more tests of acos.
19274         * math/auto-libm-test-out: Regenerated.
19276         [BZ #16351]
19277         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
19278         (MO): New macro.
19279         (__ieee754_asin): Force underflow exception for results with small
19280         absolute value.
19281         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
19282         (MO): New macro.
19283         (__ieee754_asinf): Force underflow exception for results with
19284         small absolute value.
19285         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
19286         (__ieee754_asin): Force underflow exception for results with small
19287         absolute value.
19288         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
19289         (__ieee754_asinf): Force underflow exception for results with
19290         small absolute value.
19291         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
19292         (__ieee754_asinl): Force underflow exception for results with
19293         small absolute value.
19294         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
19295         (__ieee754_asinl): Force underflow exception for results with
19296         small absolute value.
19297         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
19298         (__ieee754_asinl): Force underflow exception for results with
19299         small absolute value.
19300         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
19301         Include <math.h>.
19302         * math/auto-libm-test-in: Do not mark underflow exceptions as
19303         possibly missing for bug 16351.
19304         * math/auto-libm-test-out: Regenerated.
19306         [BZ #18030]
19307         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
19308         of power of 2 down when low part has opposite sign.
19309         * math/libm-test.inc (logb_test_data): Add more tests.
19311 2015-02-26  Andreas Schwab  <schwab@suse.de>
19313         [BZ #18032]
19314         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
19315         over collating symbol inside a bracket expression.  Minor cleanup.
19316         * posix/tst-fnmatch3.c (do_test): Add test case.
19318 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
19320         [BZ #18029]
19321         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
19322         Adjust exponent of power of 2 down when low part has opposite
19323         sign.
19324         * math/libm-test.inc (ilogb_test_data): Add more tests.
19326 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
19328         [BZ #15969]
19329         * locale/findlocale.c (_nl_find_locale): Fix constness error in
19330         the previous change.
19332         [BZ #15969]
19333         * locale/findlocale.c (_nl_find_locale): Retry archive search
19334         after alias expansion.
19336 2015-02-25  Roland McGrath  <roland@hack.frob.com>
19338         * iconv/tst-iconv3.c (main): Converted to ...
19339         (do_test): ... this.
19340         (TEST_FUNCTION): New macro.
19341         Include test-skeleton.c.
19343         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
19344         (convert): Make function static.
19345         (test_unalign): Likewise.  Add const to argument pointee types.
19346         (main): Replace with static function do_test.
19347         Print "Succeeded." only if RET is zero.
19348         (TEST_FUNCTION): New macro.
19349         Include test-skeleton.c.
19351         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
19352         returns a null pointer.
19354 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19356         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
19357         to __memcpy_ppc only for static builds.
19359 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
19361         [BZ #18020]
19362         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
19363         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
19364         * math/auto-libm-test-in: Add more tests of asinh.
19365         * math/auto-libm-test-out: Regenerated.
19366         * sysdeps/i386/fpu/libm-test-ulps: Update.
19367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19369 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
19371         [BZ #15850]
19372         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
19373         and ip6_mtuinfo definitions here.
19374         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
19375         in this define too.  Update comment.
19377 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
19379         * elf/sprof.c (load_shobj): Tweak error message to match others.
19381 2015-02-24  Kevin Easton  <kevin@guarana.org>
19383         [BZ #16145] (partial fix)
19384         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
19385         to reduce lock contention.
19387 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
19389         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
19390         (struct timex): Update time comment.
19391         (ADJ_SETOFFSET): Define.
19393 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
19395         [BZ #18019]
19396         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
19397         2**56 not 2**28 as threshold for log (2x) formula.
19398         * math/auto-libm-test-in: Add more tests of acosh.
19399         * math/auto-libm-test-out: Regenerated.
19400         * sysdeps/i386/fpu/libm-test-ulps: Update.
19401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19403 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
19405         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
19406         parenthesis around the buf assignment.
19407         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
19409 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
19411         [BZ #16783]
19412         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
19413         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
19414         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
19415         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
19416         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
19417         * math/libm-test.inc (scalb_test_data): Add more tests.
19419 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
19421         [BZ #17916]
19422         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
19423         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
19425 2015-02-24  Eric Rannaud  <e@nanocritical.com>
19427         [BZ #17523]
19428         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
19429         * io/bits/fcntl2.h (open): Use it.
19430         (openat): Likewise.
19431         * io/open.c (__libc_open): Likewise.
19432         * io/open64.c (__libc_open64): Likewise.
19433         * io/open64_2.c (__open64_2): Likewise.
19434         * io/open_2.c (__open_2): Likewise.
19435         * io/openat.c (__openat): Likewise.
19436         * io/openat64.c (__openat64): Likewise.
19437         * io/openat64_2.c (__openat64_2): Likewise.
19438         * io/openat_2.c (__openat_2): Likewise.
19439         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
19440         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
19441         * sysdeps/posix/open64.c (__libc_open64): Likewise.
19442         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
19443         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
19444         (__open_nocancel): Likewise.
19445         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
19446         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
19447         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
19449 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19451         [BZ #14841]
19452         * resolv/gethnamaddr.c (getanswer): Skip logging if
19453         RES_USE_DNSSEC is set.
19454         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19456 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
19458         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
19460 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
19462         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
19463         201304L, for Unicode 7.
19465 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
19467         [BZ #17836]
19468         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
19469         shared library.  Add gmon-start.os otherwise.
19470         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
19471         $(objpfx)gmon-start.os if builing shared library.
19472         ($(objpfx)g$(static-start-installed-name)): Likewise.
19474 2015-02-23  Andreas Schwab  <schwab@suse.de>
19476         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
19478 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
19480         [BZ #17269]
19481         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
19482         (enlarge_userbuf): Likewise.
19484 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
19486         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
19487         * math/atest-exp.c (TIMEOUT): Adjust to 200.
19488         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
19489         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
19491 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
19493         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
19494         expression inside statement expression.
19496 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
19498         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
19499         <sysdeps/nptl/lowlevellock.h> and remove macros and
19500         functions that are now defined there.
19501         (SYS_futex): Remove.
19502         (lll_compare_and_swap): Remove.
19503         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
19505 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
19507         [BZ #17999]
19508         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
19509         instead of scandirat.
19510         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
19511         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
19512         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
19513         __scandirat.
19514         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
19515         (__scandirat): Declare.  Use libc_hidden_proto.
19516         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
19517         Remove variable.
19518         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
19520 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
19522         [BZ #15319]
19523         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
19524         (MO): New macro.
19525         (__ieee754_atan2): For results with small absolute value, force
19526         underflow exception and remove excess range and precision from
19527         return value.
19528         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
19529         (MO): New macro.
19530         (__ieee754_atan2f): For results with small absolute value, force
19531         underflow exception and remove excess range and precision from
19532         return value.
19533         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
19534         (MO): New macro.
19535         (__atan): For results with small absolute value, force underflow
19536         exception and remove excess range and precision from return value.
19537         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
19538         (MO): New macro.
19539         (__atanf): For results with small absolute value, force underflow
19540         exception and remove excess range and precision from return value.
19541         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
19542         <math.h>.
19543         (__ieee754_atan2): Force underflow exception for results with
19544         small absolute value.
19545         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
19546         <math_private.h>.
19547         (atan): Force underflow exception for results with small absolute
19548         value.
19549         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
19550         (__atanf): Force underflow exception for results with small
19551         absolute value.
19552         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
19553         <math.h>.
19554         (__atanl): Force underflow exception for results with small
19555         absolute value.
19556         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
19557         (__atanl): Force underflow exception for results with small
19558         absolute value.
19559         * sysdeps/x86/fpu/bits/mathinline.h
19560         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
19561         (__ieee754_atan2): Only define inline for long double.
19562         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
19563         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
19564         * math/auto-libm-test-in: Do not mark underflow exceptions as
19565         possibly missing for bug 15319.  Add more tests of atan2.
19566         * math/auto-libm-test-out: Regenerated.
19567         * math/libm-test.inc (casin_test_data): Do not mark underflow
19568         exceptions as possibly missing for bug 15319.
19569         (casinh_test_data): Likewise.
19570         * sysdeps/i386/fpu/libm-test-ulps: Update.
19572 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
19574         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
19575         * sysdeps/mips/bits/endian.h: Fix comments.
19577 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
19579         [BZ #17996]
19580         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
19581         (hdestroy_r): Likewise.
19582         (hsearch_r): Likewise.
19583         (__hcreate_r): Declare and use libc_hidden_proto.
19584         (__hdestroy_r): Likewise.
19585         (__hsearch_r): Likewise.
19586         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
19587         (hcreate): Call __hcreate_r instead of hcreate_r.
19588         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
19589         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
19590         as weak alias of __hcreate_r.
19591         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
19592         __hdestroy_r.
19593         (hsearch_r): Rename to __hsearch_r and define as weak alias of
19594         __hsearch_r.
19595         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
19596         Remove variable.
19597         (test-xfail-XPG4/search.h/linknamespace): Likewise.
19598         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
19599         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
19600         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
19602 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19604         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
19605         arena_lock into a single arena_get.
19607 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
19609         * dl-reloc.c: Inlucde libc-internal.h.
19610         (_dl_try_allocate_static_tls): Call ALIGN_UP.
19611         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
19612         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
19613         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
19614         (grow_heap): Likewise.
19615         * malloc/malloc.c: Include libc-internal.h.
19616         (do_check_malloc): Call powerof2.
19617         (sysmalloc): Use pagesize. Call ALIGN_UP.
19618         (systrim): Use pagesize.
19619         (mremap_chunk): Use pagesize. Call ALIGN_UP.
19620         (__libc_valloc): Use pagesize.
19621         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
19623 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
19625         [BZ #17991]
19626         * include/sys/resource.h (__getrlimit64): Declare.  Use
19627         libc_hidden_proto.
19628         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
19629         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
19630         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
19631         getrlimit64.
19632         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
19633         __getrlimit64.
19634         [!getrlimit64] (getrlimit64): Define as weak alias of
19635         __getrlimit64.  Use libc_hidden_weak.
19636         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
19637         using __getrlimit64 not __new_getrlimit64.
19638         (__GI_getrlimit64): Likewise.
19639         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
19640         Likewise.
19641         (__GI_getrlimit64): Likewise.
19642         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
19643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
19644         (getrlimit): Add __getrlimit64 alias.
19645         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
19646         Likewise.
19647         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
19648         Remove variable.
19649         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
19650         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
19652 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
19654         * libio/fileops.c: Add missing sys/mman.h
19655         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
19657 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
19659         * manual/math.texi (Errors in Math Functions): Clarify goals
19660         regarding inexact and underflow exceptions.
19662 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
19664         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
19665         * sysdeps/mips/memset.S: Ditto.
19667 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
19669         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
19671 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
19673         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
19674         (__v1longjmp): Remove versioned symbol.
19675         (__v1siglongjmp): Remove alias and versioned symbol.
19676         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
19677         (__v2siglongjmp): Likewise.
19679 2015-02-16  Torvald Riegel  <triegel@redhat.com>
19681         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
19683 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
19685         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
19687 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
19689         [BZ #17987]
19690         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
19691         zero result does not depend on the sign resulting from
19692         subtraction.
19693         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
19694         Likewise.
19695         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
19696         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
19697         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19698         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
19699         * math/libm-test.inc (remquo_test_data): Add more tests.
19701 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
19703         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
19704         Problem reported by J William Piggott.
19706 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
19708         [BZ #17978]
19709         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
19710         products 4 * y and 2 * y where those would overflow.
19711         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
19712         Likewise.
19713         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
19714         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
19715         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19716         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
19717         * math/libm-test.inc (remquo_test_data): Add more tests.
19719         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
19721         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
19722         [defined _COMPILING_NEWLIB].
19723         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
19724         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
19726         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
19727         [!defined __mips_isa_rev || __mips_isa_rev < 6].
19729 2015-02-16  Torvald Riegel  <triegel@redhat.com>
19731         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
19732         acquired.
19734 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
19736         [BZ #17792]
19737         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
19738         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
19739         HOST_STACK_END_ADDR): Likewise.
19741 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
19743         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
19744         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
19745         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
19747 2015-02-13  Roland McGrath  <roland@hack.frob.com>
19749         * sysdeps/generic/c++-types.data: New file.
19750         * sysdeps/generic/ld.abilist: New file.
19751         * sysdeps/generic/libBrokenLocale.abilist: New file.
19752         * sysdeps/generic/libanl.abilist: New file.
19753         * sysdeps/generic/libc.abilist: New file.
19754         * sysdeps/generic/libcrypt.abilist: New file.
19755         * sysdeps/generic/libdl.abilist: New file.
19756         * sysdeps/generic/libm.abilist: New file.
19757         * sysdeps/generic/libpthread.abilist: New file.
19758         * sysdeps/generic/libresolv.abilist: New file.
19759         * sysdeps/generic/librt.abilist: New file.
19761 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
19763         [BZ #17569]
19764         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
19765         Compute absolute value of x as modified by fmod, not original
19766         value of x.
19767         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
19768         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
19769         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
19770         RUN_TEST_ffI_f1_mod8.
19771         (remquo_test_data): Add more tests.
19773 2015-02-13  Roland McGrath  <roland@hack.frob.com>
19775         * sysdeps/init_array/pt-crti.S: New file.
19777 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
19779         [BZ #17967]
19780         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
19781         __builtin_fmaf instead of relying on contraction of a * b + c.
19783 2015-02-12  J William Piggott  <elseifthen@gmx.com>
19785         [BZ #17969]
19786         * manual/time.texi: correct the zoneinfo path in the TZ Variable
19787         node.
19789 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
19791         [BZ #17964]
19792         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
19793         __builtin_fma instead of relying on contraction of a * b + c.
19795 2015-02-12  Roland McGrath  <roland@hack.frob.com>
19797         * Makeconfig (ASFLAGS): Add -Werror=undef.
19798         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
19799         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
19800         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
19802         * Makeconfig (after-link): New variable.
19803         (+link-pie, +link-pie-tests): Use it.
19804         (+link-static, +link-static-tests): Likewise.
19805         (+link, +link-tests): Likewise.
19806         * Makerules (build-module, build-module-asneeded): Likewise.
19807         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
19808         Likewise.
19809         * elf/Makefile ($(objpfx)ld.so): Likewise.
19811 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
19813         [BZ #17965]
19814         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
19815         both struct timeval and struct timespec.
19817 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
19819         [BZ #16560]
19820         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19821         and redefine.
19822         (__ieee754_exp2l): Do not multiply small fractional parts by
19823         M_LN2l.
19824         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
19825         small argument.
19826         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
19827         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
19828         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
19829         * math/auto-libm-test-in: Add more tests of exp2.
19830         * math/auto-libm-test-out: Regenerated.
19832 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19834         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
19835         unaligned path.
19837 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19839         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
19840         little endian.
19842 2015-02-12  Andreas Schwab  <schwab@suse.de>
19844         [BZ #15790]
19845         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
19846         Filter out elision flags from value returned in kind.
19847         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
19848         * nptl/tst-pthread-mutexattr.c: New file.
19850 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19852         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
19853         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
19854         into gnu-gnu, and update comment to refer to abi-tags.
19856 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
19858         [BZ #15467]
19859         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
19860         (__sincos): Set errno to EDOM for infinite argument.
19861         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
19862         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
19863         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
19864         (__sincosl): Set errno to EDOM for infinite argument.
19865         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
19866         (__sincosl): Set errno to EDOM for infinite argument.
19867         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
19868         (__sincosl): Set errno to EDOM for infinite argument.
19869         * math/libm-test.inc (sincos_test_data): Test errno setting.
19871 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
19873         * string/strxfrm_l.c: Remove #define STRCMP.
19874         * string/strcoll_l.c: Remove #define STRLEN.
19875         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
19876         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
19878 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
19880         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
19881         * sysdeps/mips/mips32/sfp-machine.h: ... here.
19882         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
19883         * sysdeps/mips/mips64/Makefile: ... here.
19884         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
19885         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
19886         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
19887         * sysdeps/mips/mips64/sfp-machine.h: ... here.
19888         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
19889         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
19890         * sysdeps/mips/mips64/n64/Implies: Likewise.
19892 2015-02-10  Roland McGrath  <roland@hack.frob.com>
19894         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
19895         <sys/time.h>, <string.h>, and <errno.h>.
19896         (dest_offset, dest_address, value, zero): Remove unused variables.
19897         (ldouble): Remove typedef.
19898         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
19899         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
19900         1).  Fix code style.
19901         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
19902         (check): Function removed.
19903         (CHECK): New macro.
19904         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
19905         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
19906         Don't call set_sigaction_FP and remove_sigaction_FP here.
19907         (ldouble_test): Just use 'long double' as macro argument, no need for
19908         the 'ldouble' typedef.
19909         (do_test): Set up SIGFPE handler at start, using plain signal rather
19910         than sigaction.  Fix code style.
19912 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
19914         [BZ #17949]
19915         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
19916         jump label.
19918 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19920         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
19921         * sysdeps/powerpc/powerpc32/configure: Regenerated.
19923         * sysdeps/powerpc/configure.ac: Remove file.
19924         * sysdeps/powerpc/configure: Likewise.
19926         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
19927         [sysdep_routines]: Remove wordcopy-power6 object.
19928         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
19929         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
19930         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
19931         (__memmove_ppc32): Likewise.
19932         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
19933         file.
19934         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
19935         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
19936         Remove preprocessor.
19938         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
19939         [sysdep_routines]: Remove wide chars objects.
19940         [wcsmbs]: New rule for wide char objects.
19942         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19943         Remove wordcopy-power6 obejct.
19944         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
19945         Use local call for wordcopy and memcpy symbols.
19946         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
19947         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
19948         implementation for loader.
19949         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
19951         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19952         Remove wordcopy-power7 object.
19953         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
19954         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
19955         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
19956         (_wordcopy_fwd_dest_aligned): Likewise.
19957         (_wordcopy_bwd_aligned): Likewise.
19958         (_wordcopy_bwd_dest_aligned): Likewise.
19960         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
19961         Rewrite to call __memmove_ppc instead of include default
19962         implementation.
19964         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19965         Remove wide chars objects.
19966         [wcsmbs]: New rule for wide char objects.
19968 2015-02-09  Andreas Schwab  <schwab@suse.de>
19970         [BZ #17912]
19971         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19972         in terms of __O_DIRECTORY.
19974 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19976         * time/getdate.c: Include <stdbool.h>.
19977         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
19978         call PTR_MANGLE.
19979         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
19980         PTR_DEMANGLE.
19982 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
19984         Add ersatz _Static_assert on older C hosts
19985         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
19986         pre-C11 C platform that is not known to support _Static_assert.
19988 2015-02-07  Richard Braun  <rbraun@sceen.net>
19990         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
19991         sigstate.
19992         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
19994 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19996         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
19997         priority against unexistent AIO_PRIO_DELTA_MAX.
19998         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
19999         instead of int.
20000         * misc/fchflags.c (fchflags): Likewise.
20001         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
20002         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
20003         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
20004         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
20005         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
20006         Declare macros.
20007         [__USE_MISC] (chflags, fchflags): Declare functions.
20008         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
20009         EINVAL when nfds is greater than FD_SETSIZE.
20010         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
20011         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
20012         45.
20013         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
20014         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
20015         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
20016         MACH_RCV_TIMED_OUT.
20017         * hurd/hurd/signal.h (_hurd_self_sigstate,
20018         _hurd_critical_section_lock, _hurd_critical_section_unlock):
20019         Explicit casts from void *.
20020         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
20021         * abi-tags: Rename gnu-gnu os into gnu.
20023         [BZ #4719]
20024         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
20025         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
20026         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
20027         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
20028         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
20029         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
20031         [BZ #17944]
20032         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
20033         duplicates ADDR->sun_path with sockaddr LEN limitation.
20034         * sysdeps/mach/hurd/connect.c: Include <string.h>
20035         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
20036         * sysdeps/mach/hurd/sendmsg.c: Likewise.
20037         * sysdeps/mach/hurd/sendto.c: Likewise.
20038         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
20039         implementing it by hand.
20041 2015-02-06  Roland McGrath  <roland@hack.frob.com>
20043         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
20044         Use sfi_breg on ldr.
20045         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
20046         Likewise.
20048         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
20049         it's defined.
20050         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
20051         Test SIGSETXID only if it's defined.
20053         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
20055         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
20056         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
20058         * nptl/tst-align2.c: Moved ...
20059         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
20060         * nptl/Makefile (tests): Remove tst-align2.
20061         * sysdeps/unix/sysv/linux/Makefile
20062         [$(subdir) = nptl] (tests): Add tst-align-clone.
20063         * nptl/tst-getpid1.c: Moved ...
20064         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
20065         * nptl/tst-getpid2.c: Moved ...
20066         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
20067         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
20068         * sysdeps/unix/sysv/linux/Makefile
20069         [$(subdir) = nptl] (tests): ... here.
20070         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
20071         * sysdeps/unix/sysv/linux/Makefile
20072         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
20074         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
20075         Drop trailing \n from perror argument.  Use return rather than exit.
20077         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
20078         on [SA_SIGINFO].
20079         * nptl/tst-cancel21.c (do_test): Likewise.
20080         * debug/tst-backtrace6.c: Include <signal.h> first thing.
20081         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
20082         [!SA_SIGINFO]: Make it a stub test.
20084         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
20085         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
20087         * posix/tst-getlogin.c: Move to ...
20088         * login/tst-getlogin.c: ... here.
20089         * posix/Makefile (tests): Move tst-getlogin to ...
20090         * login/Makefile (tests): ... here.
20092         * libio/tst-atime.c (do_test): Move local variables SV and E
20093         inside [ST_NOATIME] conditional.
20095         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
20097         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
20099         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
20100         (wait_code): New function replaces macro.
20101         Call nanosleep rather than syscall.
20103         * nptl/pt-system.c: Rewritten.  Put everything under
20104         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
20105         Use IFUNC to redirect when possible.
20107         * nptl/pt-longjmp.c: Rewritten.  Put everything under
20108         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
20109         Use IFUNC to redirect when possible.
20111         * nptl/pt-fork.c: Rewritten.  Put everything under
20112         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
20113         Use IFUNC to redirect when possible.
20114         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
20116         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
20117         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
20118         unconditionally nowadays.  This included the only reference to
20119         __vdso_clock_gettime that appears outside libc proper.
20120         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
20121         Remove version set (containing only __vdso_clock_gettime).
20122         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
20123         Add attribute_hidden.
20124         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
20125         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
20126         libc_hidden_data_def.
20127         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
20128         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20130         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
20131         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
20132         setrpcent, and getrpcport to ...
20133         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
20134         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
20135         getrpcbynumber_r, and getrpcent_r to ...
20136         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
20137         * inet/getrpcbyname.c: Moved ...
20138         * sunrpc/getrpcbyname.c: ... here.
20139         * inet/getrpcbyname_r.c: Moved ...
20140         * sunrpc/getrpcbyname_r.c: ... here.
20141         * inet/getrpcbynumber.c: Moved ...
20142         * sunrpc/getrpcbynumber.c: ... here.
20143         * inet/getrpcbynumber_r.c: Moved ...
20144         * sunrpc/getrpcbynumber_r.c: ... here.
20145         * inet/getrpcent.c: Moved ...
20146         * sunrpc/getrpcent.c: ... here.
20147         * inet/getrpcent_r.c: Moved ...
20148         * sunrpc/getrpcent_r.c: ... here.
20149         * inet/Makefile (routines): Move those to ...
20150         * sunrpc/Makefile (routines): ... here.
20151         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
20152         the $(subdirs) list.
20153         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
20154         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
20155         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
20156         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
20158         * elf/Makefile (routines): Include $(all-dl-routines), not just
20159         $(dl-routines).
20160         (rtld-routines): Likewise.  Use = rather than :=.
20161         * sysdeps/aarch64/Makefile [$(subdir) = elf]
20162         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
20163         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
20164         * sysdeps/arm/Makefile: Likewise.
20165         * sysdeps/i386/Makefile: Likewise.
20166         * sysdeps/x86_64/Makefile: Likewise.
20167         * sysdeps/hppa/Makefile [$(subdir) = elf]
20168         (sysdep_routines, sysdep-rtld-routines): Don't add
20169         $(sysdep-dl-routines) to these.
20170         * sysdeps/ia64/Makefile: Likewise.
20171         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
20172         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
20173         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
20174         Don't add dl-static to these; sysdep-dl-routines alone is enough.
20175         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
20176         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
20177         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
20178         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
20179         * sysdeps/powerpc/Makefile [$(subdir) = elf]
20180         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
20181         these; sysdep-dl-routines alone is enough.
20183 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
20185         [BZ #17932]
20186         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
20187         where multiplication results in zero and third argument is finite
20188         and nonzero.
20189         * math/auto-libm-test-in: Add more tests of fma.
20190         * math/auto-libm-test-out: Regenerated.
20192         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
20193         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
20194         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
20195         (_FP_CMP_EQ): Likewise.
20196         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
20198         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
20199         extra argument CHECK_NAN.  Redefine as wrapper around
20200         _FP_EXTEND_CNAN.
20202 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
20204         * version.h (RELEASE): Set to "stable".
20205         (VERSION): Set to "2.21"
20206         * include/features.h (__GLIBC_MINOR__): Set to 21.
20208         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
20210 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20211             Paul Eggert  <eggert@cs.ucla.edu>
20213         [BZ #16618]
20214         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
20215         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
20216         size in bytes. Store needed elements in wpmax. Use needed size
20217         in bytes for extend_alloca.
20219 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
20221         * manual/install.texi: Latest tested versions are GCC 4.9.2,
20222         binutls 2.25, and texinfo 5.2.
20223         * INSTALL: Regenerate.
20224         * sysdeps/nios2/configure: Regenerate.
20225         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
20226         * manual/contrib.texi: Update.
20227         * po/be.po: Update.
20228         * po/bg.po: Update.
20229         * po/ca.po: Update.
20230         * po/cs.po: Update.
20231         * po/da.po: Update.
20232         * po/de.po: Update.
20233         * po/el.po: Update.
20234         * po/eo.po: Update.
20235         * po/es.po: Update.
20236         * po/fi.po: Update.
20237         * po/fr.po: Update.
20238         * po/gl.po: Update.
20239         * po/hr.po: Update.
20240         * po/hu.po: Update.
20241         * po/ia.po: Update.
20242         * po/id.po: Update.
20243         * po/it.po: Update.
20244         * po/ja.po: Update.
20245         * po/ko.po: Update.
20246         * po/lt.po: Update.
20247         * po/nb.po: Update.
20248         * po/nl.po: Update.
20249         * po/pl.po: Update.
20250         * po/pt_BR.po: Update.
20251         * po/ru.po: Update.
20252         * po/rw.po: Update.
20253         * po/sk.po: Update.
20254         * po/sl.po: Update.
20255         * po/sv.po: Update.
20256         * po/tr.po: Update.
20257         * po/uk.po: Update.
20258         * po/vi.po: Update.
20259         * po/zh_CN.po: Update.
20260         * po/zh_TW.po: Update.
20262         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
20263         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
20264         * sysdeps/hppa/dl-irel.h: Remove #warning.
20265         * sysdeps/hppa/entry.h: Provide prototype for
20266         __canonicalize_funcptr_for_compare and cast argument.
20267         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
20268         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
20269         * sysdeps/hppa/sotruss-lib.c: New file.
20270         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
20271         (atomic_compare_and_exchange_val_acq): Use __typeof__.
20272         (atomic_compare_and_exchange_bool_acq): Likewise.
20273         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
20274         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
20276         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
20277         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
20278         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
20280 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
20282         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
20283         called function in non-PIC case.
20285 2015-01-31  David S. Miller  <davem@davemloft.net>
20287         * sysdeps/sparc/sparc32/bits/atomic.h
20288         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
20289         unlock not after it.
20290         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
20291         volatile register usage warnings from the compiler.
20293         * sysdeps/sparc/nptl/sem_init.c: Delete.
20294         * sysdeps/sparc/nptl/sem_post.c: Delete.
20295         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
20296         * sysdeps/sparc/nptl/sem_wait.c: Delete.
20297         * sysdeps/sparc/sparc32/sem_init.c: New file.
20298         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
20299         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
20300         padding explicitly initialized.
20301         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
20302         padding for in-semaphore spinlock.
20303         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
20304         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
20305         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
20306         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
20307         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
20308         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
20309         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
20310         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
20311         version.
20312         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
20313         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
20315 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
20317         [BZ #17801]
20318         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20319         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
20320         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
20321         New.
20322         (index_AVX_Fast_Unaligned_Load): Likewise.
20323         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
20324         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
20325         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
20326         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
20327         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
20328         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
20329         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
20330         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
20331         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
20333 2015-01-29  Andreas Schwab  <schwab@suse.de>
20335         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
20337 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
20339         [BZ #17892]
20340         * nscd/nscd_stat.c (send_stats): Initialize DATA.
20342 2015-01-28  Martin Sebor  <msebor@redhat.com>
20344         * math/README.libm-test: Clarify. Add "How to read the test output."
20346 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
20348         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
20349         Define to 0.
20351 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
20353         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
20354         (__HAVE_64B_ATOMICS): Define to 0.
20356 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20358         [BZ #17885]
20359         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
20360         value to set as new flag.
20362         [BZ #16576]
20363         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
20364         and use _ARCH_PPCSQ instead.
20365         (__ieee754_sqrt): Likewise.
20366         (__ieee754_sqrtf): Likewise.
20367         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
20368         _ARCH_PPCSQ is defined.
20369         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
20370         fsqrt instruction.
20371         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
20372         _ARCH_PPCSQ is defined.
20373         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
20374         fsqrts instruction.
20375         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
20377 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20379         * iconv/loop.c: Suppress array out of bound warning caused by GCC
20380         bug (GCC BZ #64739).
20382 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
20384         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
20385         Mark _retval as used.
20386         (lll_futex_wake_unlock): Likewise.
20387         (lll_futex_timed_wait_requeue_pi): Likewise.
20389         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
20390         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
20391         register variables.
20393         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
20394         libm_hidden_def.
20396         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
20397         (__bswap_64): Mark as __always_inline.
20399 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
20401         [BZ #15378]
20402         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
20403         when none of the search directories exist.
20405 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20407         [BZ #17869]
20408         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
20409         power8 in .machine directive.
20411         [BZ #17868]
20412         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
20413         set dependency from opd value.
20415 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
20417         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20418         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
20419         architecture.
20421 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
20423         [BZ #17870]
20424         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
20425         with uint64_t.
20426         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
20427         (uint64_t) 1.
20428         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
20429         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
20430         Replace 1UL with (uint64_t) 1.
20431         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
20432         int with uint64_t.
20434 2015-01-23  Roland McGrath  <roland@hack.frob.com>
20436         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
20437         (if_freenameindex): Likewise.
20439         * resource/getrlimit64.c: Add missing libc_hidden_def.
20441 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
20443         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
20444         __label__.
20445         (_FP_FMA): Likewise.
20446         (_FP_TO_INT_ROUND): Likewise.
20447         (_FP_FROM_INT): Likewise.
20449 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20451         [BZ #16418]
20452         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
20453         Make code racy and cancel safe.
20455 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
20457         * sysdeps/arm/unwind-resume.h: Fix copyright year.
20458         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
20459         attribution.
20461         * pwd/tst-getpw.c: Rewrite.
20463         [BZ #17702]
20464         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
20465         (modules-names): Add moddummy1 and moddummy2.
20466         ($(objpfx)tst-rec-dlopen): Define.
20467         * dlfcn/moddummy1.c: New file.
20468         * dlfcn/moddummy2.c: New file.
20469         * dlfcn/tst-rec-dlopen.c: New file.
20470         * elf/dl-cache.c (_dl_load_cache_lookup):
20471         Return char*. Copy result with alloca/strcpy/strdup.
20472         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
20473         returns char*. Free cached. If not saving realname
20474         free cached.
20475         * elf/dl-open.c (dl_open_worker): Do not assert that
20476         _r_debug->r_state is RT_CONSISTENT.
20477         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
20478         returns char*.
20480 2015-01-21  Torvald Riegel  <triegel@redhat.com>
20481             Carlos O'Donell  <carlos@redhat.com>
20483         [BZ #12674]
20484         * nptl/sem_waitcommon.c: New file.
20485         * nptl/sem_wait.c: Include sem_waitcommon.c.
20486         (__sem_wait_cleanup, do_futex_wait): Remove.
20487         (__new_sem_wait): Adapt.
20488         (__new_sem_trywait): New function.
20489         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
20490         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
20491         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
20492         (sem_timedwait): Adapt.
20493         * nptl/sem_post.c (__new_sem_post): Adapt.
20494         (futex_wake): New function.
20495         (__old_sem_post): Add release MO fence.
20496         * nptl/sem_open.c (sem_open): Adapt.
20497         * nptl/sem_init.c (__new_sem_init): Adapt.
20498         (futex_private_if_supported): New function.
20499         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
20500         (__old_sem_getvalue): Add using previous code.
20501         * sysdeps/nptl/internaltypes.h: Adapt.
20502         * nptl/tst-sem13.c (do_test): Adapt.
20503         * nptl/tst-sem11.c (main): Adapt.
20504         * nptl/sem_trywait.c: Remove.
20505         * nptl/DESIGN-sem.txt: Remove.
20506         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
20507         (gen-as-const-headers): Remove structsem.sym.
20508         * nptl/structsem.sym: Remove.
20509         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
20510         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
20511         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
20512         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
20513         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
20514         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
20515         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
20516         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
20517         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
20518         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
20519         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
20520         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
20521         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
20522         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
20523         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
20524         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
20525         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
20526         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
20527         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
20528         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
20529         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
20530         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
20532 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
20534         * INSTALL: Regenerated.
20536         * po/libc.pot: Regenerated.
20538 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
20539             Sandra Loosemore  <sandra@codesourcery.com>
20540             Andrew Jenner  <andrew@codesourcery.com>
20541             Joseph Myers  <joseph@codesourcery.com>
20542             Nathan Sidwell  <nathan@codesourcery.com>
20544         * NEWS: Mention new Nios II port.
20545         * sysdeps/nios2/Implies: New file.
20546         * sysdeps/nios2/Makefile: New file.
20547         * sysdeps/nios2/Subdirs: New file.
20548         * sysdeps/nios2/Versions: New file.
20549         * sysdeps/nios2/__longjmp.S: New file.
20550         * sysdeps/nios2/abort-instr.h: New file.
20551         * sysdeps/nios2/backtrace.c: New file.
20552         * sysdeps/nios2/bits/endian.h: New file.
20553         * sysdeps/nios2/bits/fenv.h: New file.
20554         * sysdeps/nios2/bits/link.h: New file.
20555         * sysdeps/nios2/bits/setjmp.h: New file.
20556         * sysdeps/nios2/bsd-_setjmp.S: New file.
20557         * sysdeps/nios2/bsd-setjmp.S: New file.
20558         * sysdeps/nios2/configure: New generated file.
20559         * sysdeps/nios2/configure.ac: New file.
20560         * sysdeps/nios2/crti.S: New file.
20561         * sysdeps/nios2/crtn.S: New file.
20562         * sysdeps/nios2/dl-init.c: New file.
20563         * sysdeps/nios2/dl-machine.h: New file.
20564         * sysdeps/nios2/dl-sysdep.h: New file.
20565         * sysdeps/nios2/dl-tls.h: New file.
20566         * sysdeps/nios2/dl-trampoline.S: New file.
20567         * sysdeps/nios2/gccframe.h: New file.
20568         * sysdeps/nios2/gmp-mparam.h: New file.
20569         * sysdeps/nios2/jmpbuf-offsets.h: New file.
20570         * sysdeps/nios2/jmpbuf-unwind.h: New file.
20571         * sysdeps/nios2/ldsodefs.h: New file.
20572         * sysdeps/nios2/libc-tls.c: New file.
20573         * sysdeps/nios2/libm-test-ulps: New file.
20574         * sysdeps/nios2/machine-gmon.h: New file.
20575         * sysdeps/nios2/math-tests.h: New file.
20576         * sysdeps/nios2/math_private.h: New file.
20577         * sysdeps/nios2/memusage.h: New file.
20578         * sysdeps/nios2/nptl/Makefile: New file.
20579         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
20580         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
20581         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
20582         * sysdeps/nios2/nptl/pthreaddef.h: New file.
20583         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
20584         * sysdeps/nios2/nptl/tls.h: New file.
20585         * sysdeps/nios2/preconfigure: New file.
20586         * sysdeps/nios2/s_fma.c: New file.
20587         * sysdeps/nios2/s_fmaf.c: New file.
20588         * sysdeps/nios2/setjmp.S: New file.
20589         * sysdeps/nios2/sfp-machine.h: New file.
20590         * sysdeps/nios2/sotruss-lib.c: New file.
20591         * sysdeps/nios2/stackguard-macros.h: New file.
20592         * sysdeps/nios2/stackinfo.h: New file.
20593         * sysdeps/nios2/start.S: New file.
20594         * sysdeps/nios2/sysdep.h: New file.
20595         * sysdeps/nios2/tls-macros.h: New file.
20596         * sysdeps/nios2/tst-audit.h: New file.
20597         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
20598         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
20599         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
20600         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
20601         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
20602         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
20603         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
20604         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
20605         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
20606         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
20607         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
20608         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
20609         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
20610         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
20611         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
20612         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
20613         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
20614         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
20615         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
20616         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
20617         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
20618         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
20619         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
20620         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
20621         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
20622         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
20623         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
20624         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
20625         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
20626         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
20627         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
20628         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
20629         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
20630         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
20631         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
20632         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
20633         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
20634         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
20635         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
20636         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
20637         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
20638         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
20639         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
20640         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
20642 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20644         [BZ #17844]
20645         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
20646         (getutent): Use weak_alias in non SHARED case
20647         and default_symbol_version in SHARED case.
20648         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
20649         (getutent_r, pututline): Likewise.
20650         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
20651         (getutid): Likewise.
20652         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
20653         (getutid_r): Likewise.
20654         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
20655         (getutline): Likewise.
20656         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
20657         (getutline_r): Likewise.
20658         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
20659         (updwtmp): Likewise.
20661 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20663         [BZ #17848]
20664         * sysdeps/s390/s390-32/memcmp.S
20665         (memcmp_g5): Rename to __memcmp_g5.
20666         * sysdeps/s390/s390-32/memcpy.S
20667         (memcpy_g5): Rename to __memcpy_g5.
20668         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20669         (memcpy_mvcle) Rename to __memcpy_mvcle.
20670         * sysdeps/s390/s390-32/memset.S
20671         (memset_g5): Rename to __memset_g5.
20672         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
20673         (IFUNC_RESOLVE): Prefix ifunc-resolve function
20674         and use prefixed functions.
20675         * sysdeps/s390/s390-32/multiarch/memcmp.S
20676         (memcmp_z196): Rename to __memcmp_z196.
20677         (memcmp_z10): Rename to __memcmp_z10.
20678         (memcmp): Set alias to __memcmp_g5.
20679         (bcmp): Set alias to __memcmp_g5.
20680         * sysdeps/s390/s390-32/multiarch/memcpy.S
20681         (memcpy_z196): Rename to __memcpy_z196.
20682         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20683         (memcpy_z10): Rename to __memcpy_z10.
20684         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20685         (memcpy): Set alias to __memcpy_g5.
20686         * sysdeps/s390/s390-32/multiarch/memset.S
20687         (memset_z196): Rename to __memset_z196.
20688         Jump to __memset_mvcle instead of memset_mvcle.
20689         (memset_z10): Rename to __memset_z10.
20690         Jump to __memset_mvcle instead of memset_mvcle.
20691         (memset_mvcle) Rename to __memset_mvcle.
20692         (memset): Set alias to __memset_g5.
20693         * sysdeps/s390/s390-64/memcmp.S
20694         (memcmp_z900): Rename to __memcmp_z900.
20695         * sysdeps/s390/s390-64/memcpy.S
20696         (memcpy_z900): Rename to __memcpy_z900.
20697         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20698         (memcpy_mvcle) Rename to __memcpy_mvcle.
20699         * sysdeps/s390/s390-64/memset.S
20700         (memset_z900): Rename to __memset_z900.
20701         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
20702         (IFUNC_RESOLVE): Prefix ifunc-resolve function
20703         and use prefixed functions.
20704         * sysdeps/s390/s390-64/multiarch/memcmp.S
20705         (memcmp_z196): Rename to __memcmp_z196.
20706         (memcmp_z10): Rename to __memcmp_z10.
20707         (memcmp): Set alias to __memcmp_z900.
20708         (bcmp): Set alias to __memcmp_z900.
20709         * sysdeps/s390/s390-64/multiarch/memcpy.S
20710         (memcpy_z196): Rename to __memcpy_z196.
20711         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20712         (memcpy_z10): Rename to __memcpy_z10.
20713         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20714         (memcpy): Set alias to __memcpy_z900.
20715         * sysdeps/s390/s390-64/multiarch/memset.S
20716         (memset_z196): Rename to __memset_z196.
20717         Jump to __memset_mvcle instead of memset_mvcle.
20718         (memset_z10): Rename to __memset_z10.
20719         Jump to __memset_mvcle instead of memset_mvcle.
20720         (memset_mvcle) Rename to __memset_mvcle.
20721         (memset): Set alias to __memset_z900.
20723 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
20725         [BZ #17748]
20726         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
20727         __fesetenv instead of fesetenv.
20729 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20731         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
20732         macro.
20734 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20736         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
20737         regression on LE.
20739         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
20740         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
20741         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
20742         strncmp-power8 object.
20743         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20744         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
20745         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
20746         * NEWS: Update.
20748 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20749             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20751         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
20752         trailing byte check.
20754 2015-01-13  David S. Miller  <davem@davemloft.net>
20756         * include/signal.h (__sigreturn): Guard with __USE_MISC.
20758 2015-01-13  Roland McGrath  <roland@hack.frob.com>
20760         * login/logout.c (logout): Use memset rather than bzero.
20761         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
20762         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
20763         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
20764         (_gethtbyaddr): Likewise.
20765         * locale/programs/simple-hash.c (bcopy): Macro removed.
20767 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20769         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20770         Add strcmp-power8 object.
20771         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20772         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
20773         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
20774         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
20775         __strcmp_power8 implementation.
20776         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
20777         * NEWS: Update.
20779         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20780         Add strncpy-power8 and stpncpy-power8 objects.
20781         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20782         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
20783         implementations.
20784         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
20785         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
20786         __stpncpy_power8 implementation.
20787         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
20788         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
20789         __strncpy_power8 implementation.
20790         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
20791         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
20792         * NEWS: Update.
20794         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
20795         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
20796         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
20798         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
20799         strncat-power8 object.
20800         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
20801         __strcat_power8 implementation.
20802         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20803         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
20804         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
20805         optimized strcat for power8.
20807         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
20808         strcpy-power8 and stpcpy-power8 objects.
20809         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20810         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
20811         implementations.
20812         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
20813         multiarch stpcpy implementation for POWER8.
20814         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
20815         multiarch strcpy implementation for POWER8.
20816         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
20817         __strcpy_power8 function.
20818         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
20819         stpcpy for POWER8.
20820         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
20821         strcpy for POWER8.
20822         * NEWS: Update.
20824 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
20826         [BZ #16009]
20827         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
20828         weights and rules. Use do_xfrm_cached if data fits in cache,
20829         do_xfrm otherwise.  Moved former main loop to...
20830         * (do_xfrm_cached): New function.
20831         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
20832         find_idx, find_position and stack_push.
20833         * (find_idx): New function.
20834         * (find_position): Likewise.
20835         * localedata/sort-test.sh: Added test run for do_xfrm.
20836         * localedata/xfrm-test.c (main): Added command line option
20837         -nocache to run the test with strings that are too large for
20838         the STRXFRM cache.
20840 2015-01-13  Torvald Riegel  <triegel@redhat.com>
20842         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
20843         variable to lll_futex_wake call, not the value itself.
20845 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
20847         [BZ #17803]
20848         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
20849         twom64.  Adjust value to 0x1p-64L.
20850         (__scalblnl): Only return standard underflowing result for K <=
20851         -64 not K <= -63; adjust exponent for underflowing result by 64
20852         not 63.
20853         * math/libm-test.inc (scalbn_test_data): Add more tests.
20854         (scalbln_test_data): Likewise.
20856         [BZ #17834]
20857         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
20858         0x1p63L.
20859         (__scalblnl): Get new exponent of adjusted subnormal value from ES
20860         not HX.
20861         * math/libm-test.inc (scalbn_test_data): Add more tests.
20862         (scalbln_test_data): Likewise.
20864 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20865             Stefani Seibold  <stefani@seibold.net>
20867         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
20868         (sysdep_routines): Add dl-vdso here, ...
20869         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
20870         (sysdep_routines): ... not here.
20871         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
20872         fallback when vDSO is not presented.
20873         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
20874         Define with libc_hidden_proto/libc_hidden_data_def definitions.
20875         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
20876         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
20877         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
20878         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
20879         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
20880         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
20881         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
20882         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
20883         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
20884         fallback configurable symbol when vDSO is not available.
20885         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
20886         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
20887         be able to redefine fallback symbol when vDSO is not available.
20888         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
20889         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
20891 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20893         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
20894         (TLS_INIT_TP): Add tm_capable initialization.
20895         (TLS_DEFINE_INIT_TP): Likewise.
20896         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
20897         TCB.
20898         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
20899         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
20900         calculation.
20901         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
20902         transactoion is lock elision is built and TCB tm_capable is set.
20903         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
20904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20905         (INTERNAL_SYSCALL_NCS): Likewise.
20906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20907         (INTERNAL_SYSCALL_NCS): Likewise.
20908         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
20910         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
20911         for powerpc.
20912         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20913         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
20914         and remove it for 32 bits case.
20915         [pthread_rwlock_t] (__rwelision): New field for lock elision.
20916         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
20917         initialization.
20918         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
20919         Disable lock elision with rdlocks if elision is not available.
20921         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
20922         (sysdep_routines): Add lock elision objects.
20923         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20924         [pthread_mutex_t] (__spins): Rework to add lock elision field.
20925         [pthread_mutex_t] (__elision): Add field.
20926         [__PTHREAD_SPINS]: Adjust to init lock elision field.
20927         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
20928         elision definitions for powerpc.
20929         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
20930         implementation of lock elision for powerpc.
20931         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
20932         implementation of timed lock elision for powerpc.
20933         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
20934         implementation of trylock with lock elision for powerpc.
20935         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
20936         implementaion of unlock for lock elision for powerpc.
20937         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
20938         automatic enable lock elision for mutexes.
20939         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
20940         transaction execution definitions for powerpc.
20941         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
20942         definitions.
20943         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
20944         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
20945         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
20946         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
20947         * NEWS: Update.
20949 2015-01-09  Roland McGrath  <roland@hack.frob.com>
20951         * sysdeps/posix/shm-directory.c: Use <> rather than ""
20952         for #include of <shm-directory.h>.
20954 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
20956         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
20957         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
20959 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
20961         [BZ #17791]
20962         * NEWS: Mention bug fix.
20963         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
20964         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
20965         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
20967 2015-01-09  Torvald Riegel <triegel@redhat.com>
20969         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
20971 2015-01-09  Torvald Riegel <triegel@redhat.com>
20973         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
20975 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
20977         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
20978         pointer and cast to uintptr_t.
20980 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
20982         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
20983         removed.
20984         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
20986 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
20988         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
20989         of 0.
20991 2015-01-08  Roland McGrath  <roland@hack.frob.com>
20993         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
20994         <nptl/pthreadP.h> instead.
20995         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
20997         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
20998         already defined.
20999         [__SIGRTMIN] (init): Function removed.
21000         [__SIGRTMIN] (initialized): Variable removed.
21001         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
21002         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
21003         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
21004         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
21005         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
21006         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
21007         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
21008         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
21009         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
21010         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
21011         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
21012         * sysdeps/nptl/allocrtsig.c: New file.
21013         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
21014         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
21015         * sysdeps/generic/testrtsig.h: File removed.
21017         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
21018         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
21020         * nptl/nptl-init.c (pthread_functions): Conditionalize
21021         .ptr__nptl_setxid initialization on [SIGSETXID].
21023         * sysdeps/nptl/sys/procfs.h: New file.
21024         * nptl_db/Makefile (headers): Add it.
21025         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
21027         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
21028         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
21029         * nptl/pthread_attr_setaffinity.c: Include it.
21030         * nptl/pthread_setattr_default_np.c: Likewise.
21031         * nptl/check-cpuset.h: New file.
21033 2015-01-08  Richard Henderson  <rth@redhat.com>
21035         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
21036         (CFLAGS-tst-execstack-prog.c): Likewise.
21037         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
21039 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
21040             Sandra Loosemore  <sandra@codesourcery.com>
21041             Andrew Jenner  <andrew@codesourcery.com>
21042             Joseph Myers  <joseph@codesourcery.com>
21043             Nathan Sidwell  <nathan@codesourcery.com>
21045         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
21046         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
21047         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
21048         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
21049         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
21050         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
21051         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
21052         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
21053         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
21054         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
21055         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
21056         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
21057         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
21058         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
21059         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
21060         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
21061         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
21063 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21065         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
21066         timespec struct member in syscall macro.
21067         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
21068         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
21069         first timeval struct member in syscall macro.
21070         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
21072 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
21074         [BZ #17748]
21075         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
21076         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
21077         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
21078         __feupdateenv and define as weak alias of __feupdateenv.  Use
21079         libm_hidden_weak.
21080         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
21081         libm_hidden_def.
21082         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
21083         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
21084         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
21085         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
21086         libm_hidden_def.
21087         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
21088         __feupdateenv and define as weak alias of __feupdateenv.  Use
21089         libm_hidden_weak.
21090         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
21091         libm_hidden_def.
21092         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
21093         __feupdateenv and define as weak alias of __feupdateenv.  Use
21094         libm_hidden_weak.
21095         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
21096         libm_hidden_def.
21097         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21098         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
21099         (__feupdateenv): Likewise.
21100         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
21101         __feupdateenv and define as weak alias of __feupdateenv.  Use
21102         libm_hidden_weak.
21103         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21104         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
21105         libm_hidden_def.
21106         * sysdeps/tile/math_private.h (__feupdateenv): New inline
21107         function.
21108         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
21109         libm_hidden_def.
21110         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
21111         __feupdateenv instead of feupdateenv.
21112         (default_libc_feupdateenv_test): Likewise.
21113         (libc_feresetround_ctx): Likewise.
21115 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21117         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
21118         prototype.
21120 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
21122         * posix/regcomp.c (parse_bracket_exp): Initialize type to
21123         COLL_SYM in a couple of places to avoid uninitialized variable
21124         wanings on tilegx gcc 4.8.2.
21126 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
21128         * sysdeps/aarch64/strcpy.S: New file.
21129         * sysdeps/aarch64/stpcpy.S: New file.
21130         * NEWS: Updated.
21132 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
21134         * sysdeps/aarch64/strrchr.S: New file.
21135         * NEWS: Updated.
21137 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
21139         [BZ #17658]
21140         * stdlib/setenv.c: Fix memory leak when setting large,
21141         duplicate string.
21143 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
21145         [BZ #17273]
21146         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
21147         and tabs from buffer before parsing fstab entry.
21148         * misc/tst-mntent.c (main): Add test for mount entry with
21149         trailing spaces and tabs.
21151 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
21153         [BZ #17748]
21154         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
21155         * math/fesetround.c (fesetround): Rename to __fesetround and
21156         define as weak alias of __fesetround.  Use libm_hidden_weak.
21157         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
21158         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
21159         * sysdeps/arm/fesetround.c (fesetround): Likewise.
21160         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
21161         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
21162         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
21163         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
21164         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
21165         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
21166         __fesetround_inline.
21167         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
21168         __fesetround_inline instead of __fesetround.
21169         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
21170         __fesetround and define as weak alias of __fesetround.  Use
21171         libm_hidden_weak.  Call __fesetround_inline instead of
21172         __fesetround.
21173         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
21174         __fesetround and define as weak alias of __fesetround.  Use
21175         libm_hidden_weak.
21176         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
21177         Likewise.
21178         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
21179         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21180         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
21181         * sysdeps/tile/math_private.h (__fesetround): New inline function.
21182         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
21183         __fesetround and define as weak alias of __fesetround.  Use
21184         libm_hidden_weak.
21185         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
21186         __fesetround instead of fesetround.
21187         (default_libc_feholdexcept_setround): Likewise.
21188         (libc_feholdsetround_ctx): Likewise.
21189         (libc_feholdsetround_noex_ctx): Likewise.
21191         [BZ #17748]
21192         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
21193         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
21194         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
21195         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
21196         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
21197         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
21198         define as weak alias of __fesetenv.  Use libm_hidden_weak.
21199         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
21200         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
21201         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
21202         define as weak alias of __fesetenv.  Use libm_hidden_weak.
21203         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
21204         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
21205         define as weak alias of __fesetenv.  Use libm_hidden_weak.
21206         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
21207         libm_hidden_def.
21208         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
21209         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
21210         Likewise.
21211         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
21212         define as weak alias of __fesetenv.  Use libm_hidden_weak.
21213         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
21214         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
21215         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
21216         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
21217         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
21218         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
21219         __fesetenv instead of fesetenv.
21220         (libc_feresetround_noex_ctx): Likewise.
21221         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
21222         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
21223         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
21224         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
21225         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
21226         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
21227         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21228         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
21229         (__feupdateenv): Likewise.
21230         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21231         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21232         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21233         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
21235 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
21237         [BZ #17806]
21238         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
21239         addresses have been freed.
21241 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
21243         * resolv/res_init.c (__res_vinit): Improve comments about nserv
21244         and nservall.
21246 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
21248         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
21249         Clean up check_pf allocation pattern. addresses
21251 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21253         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
21254         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
21255         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
21256         * nptl/pthread_exit.c (__pthread_exit): Likewise.
21257         * nptl/pthread_join.c (pthread_join): Likewise.
21258         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
21259         * sysdeps/posix/waitid.c (__waitid): Likewise.
21260         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
21261         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
21262         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
21263         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
21264         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
21265         Likewise.
21266         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
21267         (__libc_pread64): Likewise.
21268         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
21269         (__libc_pwrite): Likewise.
21270         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
21271         (__libc_pwrite64): Likewsie.
21272         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
21273         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
21274         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
21275         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
21276         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
21277         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
21278         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
21279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
21280         Likewise.
21281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21282         (__libc_pread64): Likewise.
21283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
21284         Likewise.
21285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
21286         (__libc_pwrite64): Likewise.
21287         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
21288         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
21289         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
21290         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
21291         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
21292         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
21293         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
21294         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
21295         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
21296         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
21297         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
21298         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
21299         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
21300         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
21301         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
21302         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
21303         Likewise.
21305 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
21307         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
21308         (CFLAGS-test-double.c): Likewise.
21309         (CFLAGS-test-ldouble.c): Likewise.
21310         (CPPFLAGS-test-ifloat.c): Likewise.
21311         (CPPFLAGS-test-idouble.c): Likewise.
21312         (CPPFLAGS-test-ildoubl.c): Likewise.
21313         (CFLAGS-test-test-fenv.c): Remove variable.
21314         (CFLAGS-test-misc.c): Likewise.
21316 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
21318         [BZ #17797]
21319         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
21320         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
21321         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
21322         CLOCKS_PER_SEC == 1000000.
21323         * time/clocktest.c (main): Replace %ld with %jd and cast to
21324         intmax_t.
21326 2015-01-05  Roland McGrath  <roland@hack.frob.com>
21328         * sysdeps/generic/unwind-resume.h: New file.
21329         * sysdeps/gnu/unwind-resume.c: Include it.
21330         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
21331         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
21332         argument list.
21333         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
21334         global rather than static.
21335         (_Unwind_Resume): Update user.
21336         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
21337         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
21338         rather than static.  Add __attribute__ ((cold)).
21339         (_Unwind_Resume, __gcc_personality_v0): Update callers.
21340         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
21341         * sysdeps/arm/arm-unwind-resume.S: New file.
21342         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
21343         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
21344         * sysdeps/arm/Makefile [$(subdir) = csu]
21345         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
21346         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
21347         Add rt-arm-unwind-resume.
21348         [$(subdir) = nptl]
21349         (libpthread-sysdep_routines, libpthread-shared-only-routines):
21350         Add pt-arm-unwind-resume.
21351         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
21352         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
21354 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
21356         [BZ #17748]
21357         * include/fenv.h (__feholdexcept): Declare.  Use
21358         libm_hidden_proto.
21359         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
21360         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
21361         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21362         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
21363         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
21364         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
21365         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
21366         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21367         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
21368         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
21369         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
21370         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
21371         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
21372         (feholdexcept): Likewise.
21373         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21374         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21375         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
21376         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21377         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
21378         __feholdexcept instead of feholdexcept.
21379         (default_libc_feholdexcept_setround): Likewise.
21381 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
21383         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
21384         to avoid using stl/str to align destination.
21386 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
21388         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
21390 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
21392         [BZ #17796]
21393         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
21394         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
21395         Define as weak alias not strong alias.
21397 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
21399         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
21400         bltzal with addiupc.
21401         (RTLD_START): Ditto.
21403 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
21405         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
21406         for __vdso_* functions in declarations.
21407         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
21408         definitions.
21409         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
21410         INTERNAL_VSYSCALL): Use struct return types to check for error.
21412         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
21413         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
21414         function with cast from llround().
21415         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
21416         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
21417         Define.
21419 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
21421         [BZ #17793]
21422         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
21423         Define as weak alias not strong alias.
21425         [BZ #17635]
21426         * ctype/ctype-c99.c: New file.  isblank implementation moved from
21427         ...
21428         * ctype/ctype-extn.c: ... here.
21429         (__isblank_l): Move to ...
21430         * ctype/ctype-c99_l.c: ... here.  New file.
21431         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
21432         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
21433         Remove variable.
21434         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
21435         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
21436         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
21437         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
21438         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
21440         [BZ #17777]
21441         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
21442         (posix_fadvise64): Define as weak alias not strong alias.
21443         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21444         (posix_fallocate64): Likewise.
21445         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
21446         Remove variable.
21447         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
21448         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
21449         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
21450         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
21451         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
21453 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
21455         [BZ #16191]
21456         * NEWS: Mention bug fix.
21457         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
21458         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
21459         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
21460         (HOST_STACK_END_ADDR): Likewise.
21462 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
21464         [BZ #17748]
21465         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
21466         * math/fegetround.c (fegetround): Rename to __fegetround and
21467         define as weak alias of __fegetround.  Use libm_hidden_weak.
21468         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
21469         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
21470         * sysdeps/arm/fegetround.c (fegetround): Likewise.
21471         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
21472         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21473         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
21474         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
21475         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
21476         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21477         Undefine after rather than before function definition; use
21478         parentheses around function name in definition.
21479         (__fegetround): Also undefine macro after function definition.
21480         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
21481         __fegetround and define as weak alias of __fegetround.  Use
21482         libm_hidden_weak.  Do not undefine as macro.
21483         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21484         Likewise.
21485         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
21486         __fegetround and define as weak alias of __fegetround.  Use
21487         libm_hidden_weak.
21488         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21489         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21490         * sysdeps/tile/math_private.h (__fegetround): New inline function.
21491         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
21492         __fegetround and define as weak alias of __fegetround.  Use
21493         libm_hidden_weak.
21494         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
21495         __fegetround instead of fegetround.
21497         [BZ #17782]
21498         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
21499         Condition macro definition on [__USE_MISC].
21501         [BZ #17781]
21502         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
21503         (struct sigaction): Change type of sa_flags field to int.
21505         [BZ #17780]
21506         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
21507         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
21508         __glibc_reserved0.
21510         * nptl/version.c (banner): Use single year in copyright notice.
21512         * NEWS: Update copyright dates.
21513         * catgets/gencat.c (print_version): Likewise.
21514         * csu/version.c (banner): Likewise.
21515         * debug/catchsegv.sh: Likewise.
21516         * debug/pcprofiledump.c (print_version): Likewise.
21517         * debug/xtrace.sh (do_version): Likewise.
21518         * elf/ldconfig.c (print_version): Likewise.
21519         * elf/ldd.bash.in: Likewise.
21520         * elf/pldd.c (print_version): Likewise.
21521         * elf/sotruss.sh: Likewise.
21522         * elf/sprof.c (print_version): Likewise.
21523         * iconv/iconv_prog.c (print_version): Likewise.
21524         * iconv/iconvconfig.c (print_version): Likewise.
21525         * locale/programs/locale.c (print_version): Likewise.
21526         * locale/programs/localedef.c (print_version): Likewise.
21527         * login/programs/pt_chown.c (print_version): Likewise.
21528         * malloc/memusage.sh (do_version): Likewise.
21529         * malloc/memusagestat.c (print_version): Likewise.
21530         * malloc/mtrace.pl: Likewise.
21531         * manual/libc.texinfo: Likewise.
21532         * nptl/version.c (banner): Likewise.
21533         * nscd/nscd.c (print_version): Likewise.
21534         * nss/getent.c (print_version): Likewise.
21535         * nss/makedb.c (print_version): Likewise.
21536         * posix/getconf.c (main): Likewise.
21537         * scripts/test-installation.pl: Likewise.
21538         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
21540 2015-01-02  Will Newton  <will.newton@linaro.org>
21542         * sysdeps/arm/armv7/configure: Removed.
21543         * sysdeps/arm/armv7/configure.ac: Likewise.
21545 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
21547         * All files with FSF copyright notices: Update copyright dates
21548         using scripts/update-copyrights.
21549         * intl/plural.c: Regenerated.
21550         * locale/programs/charmap-kw.h: Likewise.
21551         * locale/programs/locfile-kw.h: Likewise.
21553 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21555         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
21557 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
21559         [BZ #17748]
21560         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
21561         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
21562         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
21563         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
21564         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
21565         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
21566         define as weak alias of __fegetenv.  Use libm_hidden_weak.
21567         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
21568         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
21569         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
21570         define as weak alias of __fegetenv.  Use libm_hidden_weak.
21571         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
21572         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
21573         define as weak alias of __fegetenv.  Use libm_hidden_weak.
21574         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
21575         libm_hidden_def.
21576         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
21577         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
21578         Likewise.
21579         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
21580         define as weak alias of __fegetenv.  Use libm_hidden_weak.
21581         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
21582         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
21583         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
21584         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
21585         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
21586         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
21587         __fegetenv instead of fegetenv.
21588         (libc_feholdsetround_noex_ctx): Likewise.
21590 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
21592         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
21593         (Elf_MIPS_ABIFlags_v0): New structure.
21594         (EF_MIPS_FP64): Define.
21595         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
21596         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
21597         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
21598         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
21599         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
21600         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
21601         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
21602         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
21603         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
21604         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
21605         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
21606         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
21607         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
21608         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
21609         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
21610         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
21611         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
21612         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
21613         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
21614         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
21615         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
21616         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
21617         field.
21618         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
21619         EF_MIPS_FP64.
21620         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
21621         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
21622         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
21623         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
21624         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
21625         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
21626         * sysdeps/mips/tst-abi-interlink.c: Likewise.
21627         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
21628         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
21629         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
21630         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
21631         record the current FP ABI extension.
21632         (mips-mode-switch): Define to show if kernel headers support mode
21633         switching.
21634         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
21635         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
21636         supported SYSV ABI version to 3.
21637         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
21638         feature.
21640 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21641             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21643         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
21644         path.
21645         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
21647 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
21649         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
21650         __fegetround and redefine to call __fegetround.  Remove condition
21651         on [!__NO_MATH_INLINES].
21652         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
21653         function.
21654         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
21655         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21656         Remove macro.
21657         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
21658         instead of <fenv_libc.h>.
21659         (__llrintl): Call fegetround instead of __fegetround.
21660         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
21661         instead of <fenv_libc.h>.
21662         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
21663         (__lrintl): Call fegetround instead of __fegetround.
21664         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
21665         instead of <fenv_libc.h>.
21666         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
21667         (__rintl): Call fegetround instead of __fegetround.
21669 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
21671         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
21672         arrays.
21674 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
21676         [BZ #17775]
21677         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
21678         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
21679         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
21681 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
21683         * sysdeps/i386/tls-macros.h: Include <features.h>.
21684         (TLS_LE): Use non-PIC version for GCC >= 5.0.
21685         (TLS_IE): Likewise.
21686         (TLS_LD): Likewise.
21687         (TLS_GD): Likewise.
21688         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
21689         define for GCC >= 5.0.
21691 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
21693         * math/test-fenv.c (test_single_exception, set_single_exc,
21694         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
21695         feexcp_mask_test, feenable_test, fe_single_test): Add
21696         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
21697         case where they are not used.
21698         * math/libm-test.inc: Likewise.
21699         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
21700         unused in the absence of FP rounding/exception support.
21701         * stdio-common/tst-printf-round.c: Likewise.
21702         * stdlib/tst-strtod-round.c: Likewise.
21703         * stdlib/tst-strtod-underflow.c: Likewise.
21705 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
21707         [BZ #17723]
21708         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
21709         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
21710         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
21711         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
21712         libm_hidden_weak.
21713         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
21714         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
21715         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
21716         libm_hidden_def.
21717         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
21718         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
21719         libm_hidden_weak.
21720         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
21721         Likewise.
21722         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
21723         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
21724         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
21725         libm_hidden_weak.
21726         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
21727         libm_hidden_def.
21728         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
21729         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
21730         (__feraiseexcept): Likewise.
21731         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
21732         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
21733         libm_hidden_weak.
21734         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
21735         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
21736         libm_hidden_def.
21737         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
21738         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
21739         Use libm_hidden_def.
21740         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
21741         libm_hidden_def.
21742         (feraiseexcept): Define as weak not strong alias.  Use
21743         libm_hidden_weak.
21744         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
21745         New inline function.  Factored out of ...
21746         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
21747         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
21748         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
21749         feraiseexcept.
21750         * math/w_acos.c (__acos): Likewise.
21751         * math/w_asin.c (__asin): Likewise.
21752         * math/w_ilogb.c (__ilogb): Likewise.
21753         * math/w_j0.c (y0): Likewise.
21754         * math/w_j1.c (y1): Likewise.
21755         * math/w_jn.c (yn): Likewise.
21756         * math/w_log.c (__log): Likewise.
21757         * math/w_log10.c (__log10): Likewise.
21758         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
21759         * sysdeps/aarch64/fpu/math_private.h
21760         (libc_feupdateenv_test_aarch64): Likewise.
21761         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
21762         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
21763         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
21764         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
21765         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
21766         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
21767         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
21768         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21769         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21770         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21772 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
21774         [BZ #17732]
21775         * io/test-utime.c (main): Replace %ld with %jd and cast to
21776         intmax_t.
21777         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
21778         * nptl/tst-mutex5.c: Include <stdint.h>.
21779         (do_test): Replace %ld with %jd and cast to intmax_t.
21780         * posix/tst-regex.c (run_test): Likewise.
21781         (run_test_backwards): Likewise.
21782         * rt/tst-clock.c: Include <stdint.h>.
21783         (clock_test): Replace %ld with %jd and cast to intmax_t.
21784         * rt/tst-cpuclock1.c: Include <stdint.h>.
21785         (do_test): Replace %lu with %ju and cast to uintmax_t.
21786         * rt/tst-cpuclock2.c: Include <stdint.h>.
21787         (do_test): Replace %lu with %ju and cast to uintmax_t.
21788         * rt/tst-mqueue1.c: Include <stdint.h>.
21789         (check_attrs): Replace %ld with %jd and cast to intmax_t.
21790         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
21791         intmax_t.
21792         * rt/tst-mqueue4.c (do_test): Likewise.
21793         * rt/tst-timer4.c: Include <stdint.h>.
21794         (check_ts): Replace %ld with %jd and cast to intmax_t.
21795         (do_test): Likewise.
21796         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
21797         and cast to intmax_t.
21798         * sysdeps/pthread/tst-timer.c (main): Likewise.
21799         * time/clocktest.c (main): Likewise.
21800         * time/tst-posixtz.c (do_test): Likewise.
21801         * timezone/tst-timezone.c (main): Likewise.
21803 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
21804             H.J. Lu  <hongjiu.lu@intel.com>
21806         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
21807         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
21808         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
21809         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
21810         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
21811         version if bit_Fast_Unaligned_Load is set.
21812         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21813         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21814         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21815         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21816         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21817         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21818         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21819         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
21820         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
21821         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
21822         to 4.
21823         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
21824         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
21825         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
21826         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
21828 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
21830         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
21831         instead of #if to avoid a Wundef warning.
21832         * stdlib/tst-limits.c (do_test): Likewise.
21834         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
21835         parallel other exception macros.
21836         (fegetenv): Convert from macro to extern inline so that it applies
21837         retroactively to inline functions already seen by the compiler.
21838         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
21840         * posix/Makefile (before-compile): Use $(objpfx) for
21841         posix-conf-vars-def.h.
21843 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21845         * posix/getconf.c (main): Use size_t for type of I.
21846         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
21847         NSPEC.
21849         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
21850         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
21851         * posix/posix-envs.def: Likewise.
21852         * sysdeps/posix/sysconf.c: Likewise.
21853         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
21854         (specs): Remove array.
21855         * scripts/gen-posix-conf-vars.awk: Support generation of specs
21856         array.
21858         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
21859         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
21860         (__sysconf): Use CONF_IS_* macros.
21862         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
21863         ($(objpfx)posix-conf-vars-def.h): New target.
21864         * posix/posix-conf-vars.list: New file.
21865         * posix/posix-conf-vars.h: New file.
21866         * posix/confstr.c: Include posix-conf-vars.h.
21867         (confstr): Use CONF_IS_* macros.
21868         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
21869         CONF_IS_* macros.
21870         * scripts/gen-posix-conf-vars.awk: New file.
21872 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
21874         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
21875         fegetround): Add no-op macros to avoid linknamespace issues.
21877         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
21878         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
21880         * sysdeps/unix/sysv/linux/tile/sysdep.h
21881         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
21882         assembly-specific section to avoid a redefinition warning.
21884         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
21885         long before casting to pointer to avoid a cast warning.
21887 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
21889         * sysdeps/tile/tilegx/Implies: New file.
21891 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
21893         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
21895 2014-12-23  Florian Weimer  <fweimer@redhat.com>
21897         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
21899 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
21901         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
21902         not define.
21903         * sysdeps/unix/sysv/linux/utimes.c: Do not include
21904         <kernel-features.h>.
21905         (__utimes) [__NR_utimes]: Make code unconditional.
21906         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
21907         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21908         (__ASSUME_UTIMES): Do not undefine.
21909         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21910         (__ASSUME_UTIMES): Likewise.
21911         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21912         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
21913         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
21914         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
21916 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
21918         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
21920 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
21922         [BZ #17747]
21923         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
21924         alias to weak alias for j0l, y0l.
21925         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
21926         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
21928         [BZ #17746]
21929         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
21930         conversion.
21932 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
21934         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
21935         to zero if not already defined.
21937 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
21939         [BZ #17724]
21940         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
21941         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
21942         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
21943         (char *) casts added.
21944         * sysdeps/ieee754/k_standardf.c: New file.
21945         * sysdeps/ieee754/k_standardl.c: Likewise.
21946         * math/Makefile (libm-support): Remove k_standard.
21947         (libm-calls): Add k_standard.
21949 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21951         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
21952         Optimize to avoid an unnecessary FPCR read.
21954 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21956         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
21957         Optimize to reduce FPCR/FPSR accesses.
21959 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21961         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
21962         Call libc_fetestexcept_aarch64.
21964 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21966         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
21967         Call libc_fesetround_aarch64.
21969 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
21971         [BZ #17733]
21972         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
21973         (__bind): Do not define as weak alias.
21974         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
21975         define.
21976         (__getsockname): Do not define as weak alias.
21978 2014-12-22  Will Newton  <will.newton@linaro.org>
21980         * manual/install.texi: Document that we require bison 2.7
21981         or above.
21982         * INSTALL: Regenerate.
21983         * configure.ac: Use AC_CHECK_PROG_VER instead of
21984         AC_PATH_PROG when checking for bison and check for
21985         version 2.7 or above.
21986         * configure: Regenerate.
21988 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
21990         [BZ #17745]
21991         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
21992         * sysdeps/tile/ffsll.c (ffsll): To here.
21994         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
21996 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
21998         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
21999         if not defined.
22000         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
22001         definition.
22002         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
22003         hidden ___tls_get_addr.
22004         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
22005         hidden __tls_get_addr.
22006         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
22007         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
22008         Likewise.
22010 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
22012         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
22013         _dl_init call.
22015 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
22017         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
22018         from "call _dl_init@PLT".
22019         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
22021 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
22023         * manual/search.texi: (Array Sort Function): Clarify stable sorting
22024         guarantees.
22026 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
22028         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
22030 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
22032         [BZ #17744]
22033         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
22034         strnlen.
22036 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
22038         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
22039         of multu on MIPSr6.
22040         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
22041         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
22042         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
22043         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
22044         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
22046 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
22048         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
22049         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
22050         (PTR_SUBU): Use subu for mips32r6/mips64r6.
22051         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
22052         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
22053         mips32r6/mips64r6.
22054         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
22056 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
22058         * string/strncat.c (STRNCAT): Simplify implementation.
22060 2014-12-19  David S. Miller  <davem@davemloft.net>
22062         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
22063         access the quad as both a long double and as a series of 4 words.
22065         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
22066         link_map->l_info array access.
22068 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
22070         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
22072         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
22073         * math/atest-exp2.c (TIMEOUT): Likewise.
22074         * math/atest-sincos.c (TIMEOUT): Likewise.
22076 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
22078         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
22079         -Wno-error with -fno-builtin-lround.
22081 2014-12-19  Torvald Riegel  <triegel@redhat.com>
22083         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
22084         Contains futex constants and functions moved over from ...
22085         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
22086         <lowlevellock-futex.h>.
22087         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
22088         (lll_timedwait_tid): Add comments and parentheses around macro
22089         arguments.
22091 2014-12-19  Torvald Riegel  <triegel@redhat.com>
22093         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
22094         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
22095         (__lll_private_flag): Remove.
22096         (lll_futex_wait): Likewise.
22097         (lll_futex_timed_wait): Likewise.
22098         (lll_futex_wake): Likewise.
22099         (lll_futex_requeue): Likewise.
22100         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
22101         (__lll_timedwait_tid): Spell out argument names.
22102         (lll_timedwait_tid): Add comments and parentheses around macro
22103         arguments.
22104         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
22105         LLL_SHARED and LLL_PRIVATE usable from assembly code.
22107 2014-12-19  Torvald Riegel  <triegel@redhat.com>
22109         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
22110         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
22111         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22112         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
22113         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
22114         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
22115         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
22116         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
22117         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
22118         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
22119         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
22120         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
22121         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
22122         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
22123         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
22124         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
22125         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
22126         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
22127         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
22129 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
22131         * sysdeps/x86_64/x32/Makefile: New file.
22133 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
22135         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
22136         1L with (mp_limb_t) 1.
22138 2014-12-17  Roland McGrath  <roland@hack.frob.com>
22140         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
22141         * nptl/libc_pthread_init.c: ... here.
22142         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
22143         * nptl/register-atfork.c: ... here.
22145         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
22146         Use pthread_sigmask rather than INTERNAL_SYSCALL.
22147         Use assert_perror to check its return value.
22148         (__gai_create_helper_thread): Likewise.
22150         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
22152         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
22154 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
22156         [BZ #17725]
22157         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
22158         __profil_counter.
22159         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
22160         Likewise.
22161         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
22162         Likewise.
22163         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
22164         Likewise.
22165         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
22166         (profil_counter): Likewise.
22167         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
22168         (profil_counter): Likewise.
22169         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
22170         Likewise.
22171         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
22172         Likewise.
22173         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
22174         (profil_counter): Likewise.
22175         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
22176         Likewise.
22177         [!__profil_counter] (profil_counter): Define as weak alias of
22178         __profil_counter.
22179         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
22180         (profil_counter): Rename to __profil_counter.
22181         [!__profil_counter] (profil_counter): Define as weak alias of
22182         __profil_counter.
22183         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
22184         (profil_counter): Rename to __profil_counter.
22185         [!__profil_counter] (profil_counter): Define as weak alias of
22186         __profil_counter.
22187         * sysdeps/posix/profil.c: Update comment referring to
22188         profil_counter.
22189         (__profil): Use __profil_counter instead of profil_counter.
22190         * sysdeps/posix/sprofil.c (profil_counter): Rename to
22191         __profil_counter.  Use __profil_counter_ushort and
22192         __profil_counter_uint in definitions.
22193         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
22194         instead of profil_counter_uint and profil_counter_ushort.
22196         [BZ #17722]
22197         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
22198         define as weak alias of __inet_makeaddr.
22199         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
22200         as weak alias of __inet_addr.
22201         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
22202         as weak alias of __inet_pton.  Use libc_hidden_weak.
22203         * include/arpa/inet.h (__inet_pton): Declare.  Use
22204         libc_hidden_proto.
22205         (inet_makeaddr): Don't use libc_hidden_proto.
22206         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
22207         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
22208         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
22209         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
22210         Remove variable.
22211         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
22212         (test-xfail-POSIX/time.h/linknamespace): Likewise.
22214 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
22216         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
22218 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
22220         * stdio-common/bug-vfprintf-nargs.c (do_test):
22221         Cast value to intptr_t to avoid format warning
22222         for usage with PRIdPTR printing macro.
22224 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
22226         * libio/tst-widetext.c (do_test):
22227         Use format type %td instead of %Zd for ptrdiff_t
22228         in order to avoid format warning.
22230 2014-12-17  Andreas Schwab  <schwab@suse.de>
22232         * nscd/mem.c (gc): Add size_t cast to match printf format.
22234 2014-12-16  Roland McGrath  <roland@hack.frob.com>
22236         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
22237         (init): Apply PTR_MANGLE to pointers before storing them.
22238         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
22239         before using them.
22241 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
22243         [BZ #17719]
22244         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
22245         define as weak alias of __memrchr.
22246         (__memrchr): Do not define as strong alias of memrchr.
22247         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
22248         Remove variable.
22249         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
22250         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
22251         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
22253         [BZ #17717]
22254         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
22255         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
22256         (if_indextoname): Rename to __if_indextoname and define as weak
22257         alias of __if_indextoname.  Use libc_hidden_weak.
22258         (if_freenameindex): Rename to __if_freenameindex and define as
22259         weak alias of __if_freenameindex.
22260         (if_nameindex): Rename to __if_nameindex and define as weak alias
22261         of __if_nameindex.
22262         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
22263         __if_nametoindex and define as weak alias of __if_nametoindex.
22264         Use libc_hidden_weak.
22265         (if_freenameindex): Rename to __if_freenameindex and define as
22266         weak alias of __if_freenameindex.
22267         (if_nameindex): Rename to __if_nameindex and define as weak alias
22268         of __if_nameindex.
22269         (if_indextoname): Rename to __if_indextoname and define as weak
22270         alias of __if_indextoname.  Use libc_hidden_weak.
22271         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
22272         __if_nametoindex and define as weak alias of __if_nametoindex.
22273         Use libc_hidden_weak.
22274         (if_freenameindex): Rename to __if_freenameindex and define as
22275         weak alias of __if_freenameindex.  Use libc_hidden_weak.
22276         (if_nameindex_netlink): Use __if_freenameindex instead of
22277         if_freenameindex.
22278         (if_nameindex): Rename to __if_nameindex and define as weak alias
22279         of __if_nameindex.  Use libc_hidden_weak.
22280         (if_indextoname): Rename to __if_indextoname and define as weak
22281         alias of __if_indextoname.  Use libc_hidden_weak.
22282         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
22283         libc_hidden_proto.
22284         [!_ISOMAC] (__if_freenameindex): Likewise.
22285         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
22286         if_nametoindex.
22287         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
22288         variable.
22289         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
22290         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
22291         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
22292         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
22293         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
22294         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
22295         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
22297         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
22298         Remove variable.
22299         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
22300         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
22302 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22304         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
22305         subscript above bounds'
22307         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
22308         bounds.
22310 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
22312         * libio/tst-fopenloc.c: Use test-skeleton.c.
22314         * stdlib/tst-bsearch.c: Use test-skeleton.c.
22315         (entry): Rename to ITEM.
22316         (do_test, comp): Adjust.
22318         * stdio-common/tst-fseek.c: Use test-skeleton.c.
22320 2014-12-16  Torvald Riegel  <triegel@redhat.com>
22322         * string/tester.c: Include <libc-internal.h>.
22323         (test_memset): Ignore -Wmemset-transposed-args.
22325 2014-12-16  Torvald Riegel  <triegel@redhat.com>
22327         * misc/tst-mntent2.c (do_test): Fix warning.
22329 2014-12-16  Torvald Riegel  <triegel@redhat.com>
22331         * elf/tst-unique4lib.cc(a): Mark as used.
22333 2014-12-16  Florian Weimer  <fweimer@redhat.com>
22335         [BZ #17630]
22336         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
22337         names.
22339 2014-12-16  Allan McRae  <allan@archlinux.org>
22341         * stdio-common/Makefile (tests): Re-add bug26.
22343 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
22345         [BZ #17657]
22346         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
22347         static array.
22349 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
22351         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
22352         (__lll_lock_wait): Likewise.
22353         (__lll_timedlock_wait): Likewise.
22354         (__lll_timedwait_tid): Likewise.
22355         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
22356         (__lll_robust_timedlock_wait): Likewise.
22357         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
22358         (lll_cond_trylock): Likewise.
22359         (__lll_lock): Likewise.
22360         (__lll_robust_lock): Likewise.
22361         (__lll_cond_lock): Likewise.
22362         (lll_robust_cond_lock): Likewise.
22363         (__lll_timedlock): Likewise.
22364         (__lll_robust_timedlock): Likewise.
22365         (__lll_unlock): Likewise.
22366         (__lll_robust_unlock): Likewise.
22367         (lll_wait_tid): Likewise.
22368         (lll_timedwait_tid): Likewise.
22370 2014-12-15  Torvald Riegel  <triegel@redhat.com>
22372         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
22374 2014-12-15  Torvald Riegel  <triegel@redhat.com>
22376         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
22378 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
22380         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
22381         * stdio-common/tst-sprintf.c: Likewise.
22383 2014-12-15  Torvald Riegel  <triegel@redhat.com>
22385         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
22387 2014-12-15  Jeff Law  <law@redhat.com>
22389         [BZ #16617]
22390         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
22391         on the heap.  (CVE-2012-3406)
22392         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
22393         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
22394         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
22396 2014-12-15  Will Newton  <will.newton@linaro.org>
22398         * manual/install.texi: Bump required version of texinfo
22399         to 4.7 from 4.5.
22400         * INSTALL: Regenerated.
22401         * configure.ac: Check for makeinfo version 4.7 and above.
22402         * configure: Regenerated.
22404 2014-12-12  Roland McGrath  <roland@hack.frob.com>
22406         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
22407         PREFIX, string constant to insert between directory and name.
22408         * sysdeps/posix/shm_open.c: Update caller.
22409         * sysdeps/posix/shm_unlink.c: Likewise.
22410         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
22411         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
22412         (SEM_SHM_PREFIX): New macro.
22413         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
22414         [$(have-thread-library) = no].
22415         * nptl/Makefile (libpthread-routines): Add shm-directory.
22416         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
22417         * sysdeps/nptl/shm-directory.h: New file.
22418         * sysdeps/posix/shm-directory.c
22419         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
22420         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
22421         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
22422         INTERNAL_SYSCALL.
22423         (__where_is_shmfs): Function removed.
22424         (mountpoint, defaultmount, defaultdir, __namedsem_once):
22425         Variables removed.
22426         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
22427         Use SHM_GET_NAME.
22428         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
22430         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
22431         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
22432         unconditional for use inside libpthread.
22433         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
22435 2014-12-12  Roland McGrath  <roland@hack.frob.com>
22437         * nptl/pthread_getaffinity.c: New file.
22438         * nptl/pthread_setaffinity.c: New file.
22439         * nptl/pthread_getname.c: New file.
22440         * nptl/pthread_setname.c: New file.
22442         * nptl/pthread_create.c (START_THREAD_DEFN)
22443         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
22445 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22446             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22448         * resolv/res_send.c (send_vc): Disable warning resplen may
22449         be used uninitialized.
22451 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22453         * nptl/tst-mutex6.c
22454         (ATTR_NULL): New define checks ATTR against NULL.
22455         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
22456         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
22458 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
22460         [BZ #17581]
22461         * malloc/hooks.c
22462         (mem2mem_check): Revert my previous change.
22463         (malloc_check_get_size): Revert my previous change.
22464         (mem2chunk_check): Revert my previous change.
22466 2014-12-11  Roland McGrath  <roland@hack.frob.com>
22468         * sysdeps/posix/shm-directory.c: New file.
22469         * sysdeps/posix/shm-directory.h: New file.
22470         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
22471         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
22472         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
22473         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
22474         Transmute EPERM to EACCES.
22475         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
22476         from ...
22477         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
22478         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
22480 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22482         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
22483         pointer and cast to uintptr_t.
22484         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
22485         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
22486         Add cast to avoid warning.
22487         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
22489 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
22491         * nptl/semaphore.h: Move to ...
22492         * sysdeps/pthread/semaphore.h: ... here.
22493         * Makefile (installed-headers): Change nptl/semaphore.h to
22494         sysdeps/pthread/semaphore.h.
22496 2014-12-11  Roland McGrath  <roland@hack.frob.com>
22498         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
22499         generated error format strings.
22501         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
22502         -Wformat-extra-args warnings for scanf formats.
22503         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
22504         test of zero-length format (duh).
22505         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
22506         corner-case scanf format test.
22507         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
22508         generated fprintf format string.
22509         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
22510         corner-case sprintf format tests.
22511         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
22512         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
22513         -Wformat-extra-args warnings throughout.
22514         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
22515         (CFLAGS-scanf4.c): Likewise.
22516         (CFLAGS-scanf7.c): Likewise.
22517         (CFLAGS-tst-sprintf.c): Likewise.
22518         (CFLAGS-tst-printf.c): Likewise.
22519         (CFLAGS-tst-printfsz.c): Likewise.
22521 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
22523         * include/cpio.h: New file.
22524         * include/fmtmsg.h: Likewise.
22526         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
22527         corresponding format argument to size_t.
22528         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
22529         arguments.
22530         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
22531         corresponding format argument to size_t.
22532         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
22533         arguments.
22534         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
22535         corresponding format argument to size_t.
22536         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
22537         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
22538         (CFLAGS-tst-mbswcs2.c): Likewise.
22539         (CFLAGS-tst-mbswcs3.c): Likewise.
22540         (CFLAGS-tst-mbswcs4.c): Likewise.
22541         (CFLAGS-tst-mbswcs5.c): Likewise.
22542         (CFLAGS-tst-trans.c): Likewise.
22544 2014-12-11  Roland McGrath  <roland@hack.frob.com>
22546         * posix/regexbug1.c (main): Use "%s" format with regerror results,
22547         rather than assuming they won't contain any '%'s.
22549 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
22551         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
22552         inhibit_loop_to_libcall to avoid recursive calls.
22553         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
22554         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
22556 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
22558         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
22559         prototype.
22561 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
22563         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
22564         integer value instead of boolean.
22566 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
22568         * malloc/malloc.c: Fix powerof2 check.
22570 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22572         * locale/programs/locfile.h (maybe_swap_uint32):
22573         Remove inline and add unused attribute.
22575 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22577         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
22578         Truncating assembler expression to a .long expression.
22580 2014-12-11  Andreas Schwab  <schwab@suse.de>
22582         * elf/rtld.c (struct map_args): Constify str member.
22583         (do_preload): Constify fname argument.
22585 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22587         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
22588         constants definition.
22590 2014-12-11  Andreas Schwab  <schwab@suse.de>
22592         [BZ #16657]
22593         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
22594         FORCE_ELISION instead of DO_ELISION.
22595         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
22596         Remove.
22597         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
22598         Likewise.
22600         * iconvdata/gconv-modules: Remove duplicate entry.
22602 2014-12-11  Will Newton  <will.newton@linaro.org>
22604         Merge gettext 0.19.3 into intl/.
22606         This involves a number of cosmetic changes to comments
22607         and ANSI function definitions and prototypes throughout
22608         all the files. The gettext copyright header is used but
22609         with the date ranges taken from the glibc copy.
22611         * NEWS: Add gettext merge to 2.21.
22612         * intl/bindtextdom.c: Switch to gettext copyright.
22613         Use ANSI definitions and prototypes.
22614         Use gl_* locking primitives rather than __libc_* ones.
22615         Use __builtin_expect rather than __glibc_likely/unlikely.
22616         * intl/dcgettext.c: Switch to gettext copyright.
22617         Use ANSI definitions and prototypes.
22618         * intl/dcigettext.c: Switch to gettext copyright.
22619         Use ANSI definitions and prototypes.
22620         (INTDIV0_RAISES_SIGFPE): New define.
22621         Use gl_* locking primitives rather than __libc_* ones.
22622         Include eval-plural.h instead of plural-eval.c.
22623         Use __builtin_expect rather than __glibc_likely/unlikely.
22624         * intl/dcngettext.c: Switch to gettext copyright.
22625         Use ANSI definitions and prototypes.
22626         * intl/dgettext.c: Likewise.
22627         * intl/dngettext.c: Likewise.
22628         * intl/plural-eval.c: Renamed to...
22629         * intl/eval-plural.h: ...this.
22630         * intl/explodename.c: Switch to gettext copyright.
22631         Use ANSI definitions and prototypes.
22632         (_nl_explode_name): Use strchr instead of __rawmemchr.
22633         * intl/finddomain.c: Switch to gettext copyright.
22634         Use ANSI definitions and prototypes.
22635         Use gl_* locking primitives rather than __libc_* ones.
22636         (_nl_find_domain): Use malloc rather than alloca for
22637         allocation of temporary locale name.
22638         * intl/gettext.c: Switch to gettext copyright.
22639         Use ANSI definitions and prototypes.
22640         * intl/gettextP.h: Switch to gettext copyright.
22641         Use ANSI definitions and prototypes.
22642         Use gl_* locking primitives rather than __libc_* ones.
22643         * intl/gmo.h: Switch to gettext copyright.
22644         (struct sysdep_string): Move struct segment_pair outside of
22645         struct definition.
22646         * intl/hash-string.c: Use ANSI definitions and prototypes.
22647         * intl/hash-string.h: Switch to gettext copyright.
22648         Use ANSI definitions and prototypes.
22649         * intl/l10nflist.c: Switch to gettext copyright.
22650         Use ANSI definitions and prototypes.
22651         (_nl_normalize_codeset): Avoid integer overflow.
22652         * intl/loadinfo.h: Switch to gettext copyright.
22653         Use ANSI definitions and prototypes.
22654         (LIBINTL_DLL_EXPORTED): New define.
22655         (PATH_SEPARATOR): New define.
22656         * intl/loadmsgcat.c: Switch to gettext copyright.
22657         * intl/localealias.c: Switch to gettext copyright.
22658         Use ANSI definitions and prototypes.
22659         (_nl_expand_alias): Use PATH_SEPARATOR.
22660         * intl/ngettext.c: Switch to gettext copyright.
22661         Use ANSI definitions and prototypes.
22662         * intl/plural-exp.c: Likewise.
22663         * intl/plural-exp.h: Switch to gettext copyright.
22664         Use ANSI definitions and prototypes.
22665         (struct expression): Move definition of enum operator outside
22666         of struct definition.
22667         * intl/plural.c: Regenerate.
22668         * intl/plural.y: Switch to gettext copyright.
22669         Use ANSI definitions and prototypes.
22670         Port to bison 3.0.
22671         * intl/textdomain.c: Switch to gettext copyright.
22672         Use ANSI definitions and prototypes.
22673         Use gl_* locking primitives rather than __libc_* ones.
22675 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
22677         * debug/warning-nop.c: Add used atrribute.
22679 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
22681         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
22683         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
22684         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
22685         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
22687 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
22688             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22690         [BZ #17634]
22691         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
22692         Undefine after defining function.  Define as weak alias of
22693         __wcschr.  Use libc_hidden_weak.
22694         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
22695         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
22696         (libc_hidden_def): Also define __GI___wcschr alias.
22697         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
22698         __wcschr and define as weak alias of __wcschr.
22699         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
22700         __wcschr.
22701         [!WCSCHR] (DEFAULT_WCSCHR): Define.
22702         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
22703         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
22704         libc_hidden_weak.  Do not use libc_hidden_def.
22705         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
22706         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
22707         __GI___wcschr alias.
22708         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
22709         [IS_IN (libc)] (wcschr): Define as macro expanding to
22710         __redirect_wcschr.
22711         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
22712         [IS_IN (libc)] (__wcschr_power6): Likewise.
22713         [IS_IN (libc)] (__wcschr_power7): Likewise.
22714         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
22715         instead of wcschr.
22716         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
22717         __libc_wcschr.
22718         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
22719         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
22720         __wcschr and define as weak alias of __wcschr.  Use
22721         libc_hidden_builtin_def.
22722         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
22723         as weak alias of __wcschr.  Use libc_hidden_weak.
22724         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
22725         wcschr.
22726         * time/era.c (_nl_init_era_entries): Likewise.
22727         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
22728         variable.
22729         (test-xfail-XPG3/time.h/linknamespace): Likewise.
22730         (test-xfail-XPG4/time.h/linknamespace): Likewise.
22732 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
22734         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
22735         format for long int variable.
22737 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
22739         [BZ #10672]
22740         * manual/search.texi: (Array Sort Function): Remove claim how to make
22741         qsort stable.
22743 2014-12-10  Andreas Schwab  <schwab@suse.de>
22745         [BZ #12847]
22746         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
22747         user-controlled locks.
22749 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
22751         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
22752         register.
22754 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
22756         * configure.ac (--disable-werror): New configure option.
22757         (enable_werror): New AC_SUBST.
22758         * configure: Regenerated.
22759         * config.make.in (enable-werror): New variable.
22760         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
22761         -Wno-error=undef.
22762         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
22763         * manual/install.texi (Configuring and compiling): Document
22764         --disable-werror.
22765         * INSTALL: Regenerated.
22766         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
22767         (CFLAGS-tst-chk2.c): Likewise.
22768         (CFLAGS-tst-chk3.c): Likewise.
22769         (CFLAGS-tst-chk4.cc): Likewise.
22770         (CFLAGS-tst-chk5.cc): Likewise.
22771         (CFLAGS-tst-chk6.cc): Likewise.
22772         (CFLAGS-tst-lfschk1.c): Likewise.
22773         (CFLAGS-tst-lfschk2.c): Likewise.
22774         (CFLAGS-tst-lfschk3.c): Likewise.
22775         (CFLAGS-tst-lfschk4.cc): Likewise.
22776         (CFLAGS-tst-lfschk5.cc): Likewise.
22777         (CFLAGS-tst-lfschk6.cc): Likewise.
22779         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
22780         (main): Disable -Wdeprecated-declarations around calls to
22781         register_printf_function.
22783         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
22784         (do_test): Disable -Wdiv-by-zero around some calls to
22785         fwrite_unlocked and fread_unlocked.
22787         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
22788         (DIAG_POP_NEEDS_COMMENT): Likewise.
22789         (_DIAG_STR1): Likewise.
22790         (_DIAG_STR): Likewise.
22791         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
22792         * stdio-common/bug21.c: Include <libc-internal.h>.
22793         (do_test): Disable -Wformat around call to sscanf.
22794         * stdio-common/scanf14.c: Include <libc-internal.h>.
22795         (main): Disable -Wformat around some calls to scanf functions.
22797 2014-12-09  Torvald Riegel  <triegel@redhat.com>
22799         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
22801 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22803         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
22804         stack variable alignment.
22806 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
22808         [BZ #17682]
22809         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
22810         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
22811         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
22812         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
22813         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
22814         __getrlimit instead of getrlimit.
22815         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
22816         __gettimeofday instead of gettimeofday.
22817         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
22818         Likewise.
22819         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
22820         Likewise.
22821         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22822         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
22823         Remove variable.
22824         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
22825         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
22827 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22829         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
22830         for wide-character tests.
22832 2014-12-04  Roland McGrath  <roland@hack.frob.com>
22834         * io/openat64.c: #include <libc-internal.h>
22835         (__openat64): Prototypify.  Use ignore_value on MODE.
22836         * io/openat.c: Likewise.
22837         * misc/reboot.c: #include <libc-internal.h>
22838         (reboot): Prototypify.  Use ignore_value on HOWTO.
22839         * misc/ptrace.c: #include <libc-internal.h>
22840         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
22842 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
22844         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
22845         XPG4, UNIX98 and XOPEN2K.
22846         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
22847         Remove variable.
22848         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
22850 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22852         * libio/fileops.c: Use ISO C style for function definitions.
22853         * libio/iofopen.c: Likewise.
22854         * libio/wfileops.c: Likewise.
22856         [BZ #17653]
22857         * libio/fileops.c (_IO_new_file_underflow): Unset cached
22858         offset on EOF.
22859         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
22860         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
22861         (fgets_func): Function pointer to fgets and fgetws.
22862         (do_ftell_test): Add test to verify ftell value after read
22863         EOF.
22864         (do_test): Set fgets_func.
22866         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
22867         O_TRUNC flag for w and w+ modes.
22868         (do_rewind_test): Likewise.
22869         (do_ftell_test): Likewise.
22870         (do_write_test): Likewise.
22872         [BZ #17647]
22873         * libio/fileops.c (do_ftell): Seek only when there are
22874         unflushed writes.
22875         * libio/wfileops.c (do_ftell_wide): Likewise.
22876         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
22877         test case.
22878         (do_one_test): Call it.
22880 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
22882         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
22883         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
22884         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
22885         Remove variable.
22886         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
22887         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
22888         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
22890 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
22892         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
22893         Remove variable.
22894         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
22896         [BZ #17668]
22897         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
22898         as weak alias of __getifaddrs.  Use libc_hidden_weak.
22899         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22900         __freeifaddrs.  Use libc_hidden_weak.
22901         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
22902         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
22903         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22904         __freeifaddrs.  Use libc_hidden_weak.
22905         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
22906         __getifaddrs and define as weak alias of __getifaddrs.  Use
22907         libc_hidden_weak.
22908         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22909         __freeifaddrs.  Use libc_hidden_weak.
22910         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
22911         Remove variable.
22912         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
22913         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
22915 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
22917         [BZ #17601]
22918         * sysdeps/mips/start.S (__start): Use indirect jump to call
22919         __libc_start_main.
22921 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
22923         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
22925         * nptl/tst-mutex1.c: Include <stdbool.h>.
22926         [!ATTR] (ATTR_NULL): New macro.
22927         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
22928         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
22929         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
22931         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
22932         to char *.
22934         [BZ #17665]
22935         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
22936         Change conditional to [__USE_MISC].
22938         [BZ #17664]
22939         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
22940         fgets_unlocked.
22941         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
22942         __fgets_unlocked.
22943         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
22944         fgets_unlocked.
22945         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
22946         Remove variable.
22947         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
22948         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
22949         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
22950         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
22951         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
22952         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
22953         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
22954         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
22955         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
22957         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
22959 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22961         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22962         Remove strpbrk objects.
22963         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22964         (__libc_ifunc_impl_list): Remove strpbrk implementation.
22965         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
22966         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
22967         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
22968         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
22970         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22971         Remove strcspn objects.
22972         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22973         (__libc_ifunc_impl_list): Remove strcspn implementation.
22974         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
22975         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
22976         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
22977         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
22979         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22980         Remove strspn objetcs.
22981         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22982         (__libc_ifunc_impl_list): Remove strspn implementation.
22983         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
22984         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
22985         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
22986         * sysdeps/powerpc/powerpc64/strspn.S: New file.
22988 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
22990         [BZ #17581]
22991         * malloc/hooks.c
22992         (mem2mem_check): Add a terminator to the chain of checking blocks.
22993         (malloc_check_get_size): Use it here.
22994         (mem2chunk_check): Ditto.
22996 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22998         * sysdeps/powerpc/powerpc64/strtok.S: New file.
22999         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
23001 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
23003         * bits/ioctl-types.h: Indent preprocessor directives correctly.
23005         * nptl/nptl-init.c: Include libc-internal.h.
23006         (__pthread_initialize_minimal_internal): Use ROUND_UP.
23008         * elf/ldconfig.c (search_dir): Expand comment.
23010 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
23012         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
23013         variable.
23014         (linknamespace-symlist-stdlibs-tests): Likewise.
23015         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
23016         instead of $(objpfx)symlist-stdlibs.
23017         (linknamespace-libs-isoc): New variable.
23018         (linknamespace-libs): Use $(linknamespace-libs-isoc).
23019         (linknamespace-libs-ISO): New variable.
23020         (linknamespace-libs-ISO99): Likewise.
23021         (linknamespace-libs-ISO11): Likewise.
23022         (linknamespace-libs-XPG3): Likewise.
23023         (linknamespace-libs-XPG4): Likewise.
23024         (linknamespace-libs-POSIX): Likewise.
23025         (linknamespace-libs-UNIX98): Likewise.
23026         (linknamespace-libs-XOPEN2K): Likewise.
23027         (linknamespace-libs-POSIX2008): Likewise.
23028         (linknamespace-libs-XOPEN2K8): Likewise.
23029         ($(objpfx)symlist-stdlibs): Replace by
23030         $(linknamespace-symlist-stdlibs-tests).  Use
23031         $(linknamespace-libs-$*) as set of libraries.
23032         ($(linknamespace-header-tests)): Update dependencies.  Use
23033         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
23034         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
23035         * conform/linknamespace.pl: Remove comment about considering
23036         definitions of symbols from irrelevant libraries.
23038 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
23040         [BZ #13862]
23041         * elf/dl-tls.c: Include <atomic.h>.
23042         (oom): Remove #ifdef SHARED/#endif.
23043         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
23044         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
23045         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
23046         big enough.
23047         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
23048         * nptl/Makefile (tests): Add tst-stack4.
23049         (modules-names): Add tst-stack4mod.
23050         ($(objpfx)tst-stack4): New.
23051         (tst-stack4mod.sos): Likewise.
23052         ($(objpfx)tst-stack4.out): Likewise.
23053         ($(tst-stack4mod.sos)): Likewise.
23054         (clean): Likewise.
23055         * nptl/tst-stack4.c: New file.
23056         * nptl/tst-stack4mod.c: Likewise.
23058 2014-11-27  J. Brown  <jb999@gmx.de>
23060         * sysdeps/x86/bits/string.h: Add recent CPUs.
23062 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
23064         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
23065         sigblock.
23067         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
23068         feof.
23070         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
23071         variable.
23073 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
23075         * nscd/connections.c: Include libc-internal.h because of macro
23076         usage ignore_value.
23078 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23080         * string/bits/string3.h (__warn_memset_zero_len): Don't
23081         declare for gcc newer than 5.0.
23082         (memset): Don't test for zero-length __LEN for gcc newer than
23083         5.0.
23085 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
23087         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
23088         size_t for %zu format.
23090         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
23091         difference, not %ju.
23093 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
23095         * include/libc-internal.h (ignore_value): New macro.
23096         * nscd/connections.c (restart): Wrap calls to setuid and setgid
23097         with ignore_value.
23099         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
23100         definition.
23102         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
23103         pthread_cleanup_push to void *.
23105         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
23106         Undefine.
23108         [BZ #16619]
23109         [BZ #16740]
23110         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
23111         instead of 1L << 52.
23113         * libio/bug-rewind.c (do_test): Check fwscanf return values.
23114         * libio/bug-rewind2.c (do_test): Likewise.
23116         * debug/test-stpcpy_chk-ifunc.c: Remove file.
23117         * debug/test-strcpy_chk-ifunc.c: Likewise.
23118         * wcsmbs/test-wcschr-ifunc.c: Likewise.
23119         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
23120         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
23121         * wcsmbs/test-wcslen-ifunc.c: Likewise.
23122         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
23123         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
23124         * Rules [$(multi-arch) = no] (tests): Do not filter out
23125         $(tests-ifunc).
23126         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
23127         * debug/Makefile (tests-ifunc): Remove variable.
23128         (tests): Do not add $(tests-ifunc).
23129         * wcsmbs/Makefile (tests-ifunc): Remove variable.
23130         (tests): Do not add $(tests-ifunc).
23131         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
23132         [TEST_IFUNC]: Remove conditionals.
23133         * string/test-string.h (TEST_IFUNC): Remove macro.
23134         [TEST_IFUNC]: Remove conditionals.
23136         * string/test-strchr.c [!WIDE] (L): New macro.
23137         [WIDE] (L): Likewise.
23138         (check1): Use CHAR instead of char.  Use L on string and character
23139         constants.
23141 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
23143         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
23144         tests.
23145         * sysdeps/powerpc/bits/atomic.h
23146         (__arch_atomic_exchange_and_add_32_acq): Add definition.
23147         (__arch_atomic_exchange_and_add_32_rel): Likewise.
23148         (atomic_exchange_and_add_acq): Likewise.
23149         (atomic_exchange_and_add_rel): Likewise.
23150         * sysdeps/powerpc/powerpc32/bits/atomic.h
23151         (__arch_atomic_exchange_and_add_64_acq): Add definition.
23152         (__arch_atomic_exchange_and_add_64_rel): Likewise.
23153         * sysdeps/powerpc/powerpc64/bits/atomic.h
23154         (__arch_atomic_exchange_and_add_64_acq): Add definition.
23155         (__arch_atomic_exchange_and_add_64_rel): Likewise.
23157 2014-11-26  Torvald Riegel  <triegel@redhat.com>
23159         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
23160         Change synchronization of __sched_fifo_min_prio and
23161         __sched_fifo_max_prio.
23162         * nptl/pthread_mutexattr_getprioceiling.c
23163         (pthread_mutexattr_getprioceiling): Likewise.
23164         * nptl/pthread_mutexattr_setprioceiling.c
23165         (pthread_mutexattr_setprioceiling): Likewise.
23166         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
23167         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
23168         Likewise.
23170 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
23172         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
23173         void.
23175 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
23177         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
23178         third argument const.
23180 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
23182         fnmatch: work around GCC compiler warning bug with uninit var
23183         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
23184         This works around a bug with x86-64 GCC 4.9.2 and earlier
23185         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
23186         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
23187         used uninitialized in this function [-Wmaybe-uninitialized]".
23189 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
23191         * posix/bug-regex31.c (main): Return RES not 0.
23193 2014-11-25  Anton Blanchard <anton@samba.org>
23195         * sysdeps/powerpc/bits/atomic.h
23196         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
23198 2014-11-24  Sterling Augustine  <saugustine@google.com>
23200         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
23202 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
23204         [BZ #17608]
23205         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
23207 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
23209         [BZ #17633]
23210         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
23211         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
23212         variable.
23213         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
23214         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
23216 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
23218         * string/strncpy.c (strncpy): Improve performance by using memset.
23220 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
23222         * string/strcpy.c (strcpy):
23223         Improve performance by using strlen and memcpy.
23225 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
23227         * string/strcoll_l.c (get_next_seq): __always_inline.
23228         * string/strcoll_l.c (do_compare): __always_inline.
23230 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23232         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
23233         defined.
23234         * include/mqueue.h: Likewise.
23235         * include/stdlib.h: Likewise.
23237         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
23238         (get_null_defines): Adjust.
23239         * sunrpc/Makefile: Adjust comment.
23240         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
23241         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
23242         (CFLAGS-interp.c): Likewise.
23243         (CFLAGS-ldconfig.c): Likewise.
23244         (CPPFLAGS-.os): Likewise.
23245         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23246         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
23247         * extra-modules.mk (extra-modules.mk): Likewise.
23248         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
23249         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
23250         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
23251         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
23252         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
23253         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
23254         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
23255         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
23256         * iconvdata/Makefile (CPPFLAGS): Likewise.
23257         (cpp-srcs-left): Add libof for all iconvdata routines.
23258         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
23259         * include/assert.h: Likewise.
23260         * include/ctype.h: Likewise.
23261         * include/errno.h: Likewise.
23262         * include/libc-symbols.h: Likewise.
23263         * include/math.h: Likewise.
23264         * include/netdb.h: Likewise.
23265         * include/resolv.h: Likewise.
23266         * include/stdio.h: Likewise.
23267         * include/stdlib.h: Likewise.
23268         * include/string.h: Likewise.
23269         * include/sys/stat.h: Likewise.
23270         * include/wctype.h: Likewise.
23271         * intl/l10nflist.c: Likewise.
23272         * libidn/idn-stub.c: Likewise.
23273         * libio/libioP.h: Likewise.
23274         * nptl/libc_multiple_threads.c: Likewise.
23275         * nptl/pthreadP.h: Likewise.
23276         * posix/regex_internal.h: Likewise.
23277         * resolv/res_hconf.c: Likewise.
23278         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
23279         * sysdeps/arm/memmove.S: Likewise.
23280         * sysdeps/arm/sysdep.h: Likewise.
23281         * sysdeps/generic/_itoa.h: Likewise.
23282         * sysdeps/generic/symbol-hacks.h: Likewise.
23283         * sysdeps/gnu/errlist.awk: Likewise.
23284         * sysdeps/gnu/errlist.c: Likewise.
23285         * sysdeps/i386/i586/memcpy.S: Likewise.
23286         * sysdeps/i386/i586/memset.S: Likewise.
23287         * sysdeps/i386/i686/memcpy.S: Likewise.
23288         * sysdeps/i386/i686/memmove.S: Likewise.
23289         * sysdeps/i386/i686/mempcpy.S: Likewise.
23290         * sysdeps/i386/i686/memset.S: Likewise.
23291         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
23292         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23293         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
23294         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
23295         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23296         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23297         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
23298         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23299         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
23300         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23301         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23302         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23303         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23304         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23305         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23306         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23307         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
23308         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
23309         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
23310         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23311         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23312         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23313         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23314         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23315         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23316         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23317         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
23318         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23319         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
23320         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23321         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23322         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23323         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23324         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23325         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23326         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23327         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23328         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23329         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23330         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23331         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23332         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23333         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23334         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23335         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23336         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23337         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
23338         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
23339         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23340         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
23341         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23342         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
23343         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
23344         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23345         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
23346         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
23347         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23348         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
23349         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
23350         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23351         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
23352         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23353         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
23354         * sysdeps/nptl/bits/libc-lock.h: Likewise.
23355         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
23356         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
23357         * sysdeps/posix/closedir.c: Likewise.
23358         * sysdeps/posix/opendir.c: Likewise.
23359         * sysdeps/posix/readdir.c: Likewise.
23360         * sysdeps/posix/rewinddir.c: Likewise.
23361         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
23362         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
23363         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23364         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23365         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23366         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
23367         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
23368         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
23369         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
23370         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
23371         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
23372         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
23373         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
23374         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
23375         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
23376         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
23377         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
23378         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
23379         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
23380         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
23381         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
23382         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
23383         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
23384         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
23385         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
23386         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
23387         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
23388         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
23389         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
23390         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
23391         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
23392         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
23393         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
23394         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
23395         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
23396         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
23397         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23398         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23399         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
23400         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
23401         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
23402         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
23403         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
23404         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
23405         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
23406         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
23407         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
23408         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
23409         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
23410         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
23411         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
23412         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
23413         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
23414         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
23415         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
23416         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
23417         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
23418         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
23419         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
23420         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
23421         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
23422         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
23423         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
23424         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
23425         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
23426         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
23427         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
23428         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
23429         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
23430         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
23431         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
23432         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
23433         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
23434         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
23435         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
23436         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
23437         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
23438         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
23439         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
23440         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
23441         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
23442         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
23443         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
23444         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
23445         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23446         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
23447         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
23448         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
23449         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
23450         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23451         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
23452         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
23453         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
23454         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
23455         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23456         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
23457         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
23458         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23459         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
23460         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
23461         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23462         * sysdeps/unix/alpha/sysdep.S: Likewise.
23463         * sysdeps/unix/alpha/sysdep.h: Likewise.
23464         * sysdeps/unix/make-syscalls.sh: Likewise.
23465         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
23466         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
23467         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
23468         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
23469         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
23470         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
23471         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
23472         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
23473         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
23474         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
23475         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
23476         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
23477         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23478         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
23479         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
23480         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23481         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23482         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
23483         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
23484         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
23485         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
23486         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
23487         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
23488         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
23489         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
23490         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
23491         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
23492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
23493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
23494         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
23495         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23496         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
23497         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23498         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23499         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
23500         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
23501         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23502         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23503         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
23504         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
23505         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23506         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
23507         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23508         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
23509         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
23510         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
23511         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23512         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23513         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
23514         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23515         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
23516         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
23517         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
23518         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
23519         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
23520         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
23521         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
23522         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23523         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
23524         * sysdeps/x86_64/memcpy.S: Likewise.
23525         * sysdeps/x86_64/memmove.c: Likewise.
23526         * sysdeps/x86_64/memset.S: Likewise.
23527         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
23528         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23529         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
23530         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
23531         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
23532         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23533         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23534         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23535         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23536         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23537         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23538         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23539         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
23540         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23541         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23542         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
23543         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23544         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23545         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23546         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23547         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
23548         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23549         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23550         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
23551         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23552         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23553         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23554         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
23555         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
23556         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23557         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
23558         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23559         * sysdeps/x86_64/strcmp.S: Likewise.
23561         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
23563         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
23564         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
23565         * elf/rtld-Rules: Likewise.
23566         * elf/setup-vdso.h: Likewise.
23567         * include/assert.h: Likewise.
23568         * include/bits/stdlib-float.h: Likewise.
23569         * include/errno.h: Likewise.
23570         * include/sys/stat.h: Likewise.
23571         * include/unistd.h: Likewise.
23572         * sysdeps/aarch64/setjmp.S: Likewise.
23573         * sysdeps/alpha/setjmp.S: Likewise.
23574         * sysdeps/arm/__longjmp.S: Likewise.
23575         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
23576         * sysdeps/arm/setjmp.S: Likewise.
23577         * sysdeps/arm/sysdep.h: Likewise.
23578         * sysdeps/generic/_itoa.h: Likewise.
23579         * sysdeps/generic/dl-sysdep.h: Likewise.
23580         * sysdeps/generic/ldsodefs.h: Likewise.
23581         * sysdeps/i386/dl-tls.h: Likewise.
23582         * sysdeps/i386/setjmp.S: Likewise.
23583         * sysdeps/m68k/setjmp.c: Likewise.
23584         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
23585         * sysdeps/mach/hurd/opendir.c: Likewise.
23586         * sysdeps/posix/getcwd.c: Likewise.
23587         * sysdeps/posix/opendir.c: Likewise.
23588         * sysdeps/posix/profil.c: Likewise.
23589         * sysdeps/powerpc/dl-procinfo.h: Likewise.
23590         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
23591         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
23592         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
23593         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
23594         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
23595         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
23596         * sysdeps/s390/dl-tls.h: Likewise.
23597         * sysdeps/s390/s390-32/setjmp.S: Likewise.
23598         * sysdeps/s390/s390-64/setjmp.S: Likewise.
23599         * sysdeps/sh/sh3/setjmp.S: Likewise.
23600         * sysdeps/sh/sh4/setjmp.S: Likewise.
23601         * sysdeps/unix/alpha/sysdep.h: Likewise.
23602         * sysdeps/unix/arm/sysdep.S: Likewise.
23603         * sysdeps/unix/i386/sysdep.S: Likewise.
23604         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
23605         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
23606         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
23607         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
23608         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23609         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
23610         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
23611         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23612         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
23613         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
23614         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
23615         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
23616         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
23617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23619         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23620         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23621         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23622         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23623         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23624         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
23625         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23626         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23627         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
23628         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
23629         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
23630         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23631         * sysdeps/unix/x86_64/sysdep.S: Likewise.
23632         * sysdeps/x86_64/setjmp.S: Likewise.
23634         * include/math.h: Use IS_IN instead of IS_IN_libm.
23635         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
23636         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23637         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23638         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
23639         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23640         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23641         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23642         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23643         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23644         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23645         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
23646         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
23647         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
23648         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
23649         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
23650         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
23651         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
23652         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
23653         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
23654         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
23655         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
23656         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
23657         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
23658         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
23659         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
23660         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
23661         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
23662         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
23663         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
23664         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
23665         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
23666         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23667         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
23668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
23669         Likewise.
23670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
23671         Likewise.
23672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
23673         Likewise.
23674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
23675         Likewise.
23676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
23677         Likewise.
23678         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23679         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
23680         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23681         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23682         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23683         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23684         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
23685         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
23686         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
23687         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
23688         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
23689         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
23690         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
23691         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
23692         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
23693         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23694         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
23695         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
23696         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23697         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23698         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
23699         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
23700         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
23701         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
23702         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
23703         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23704         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
23706         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
23707         * nptl/pthreadP.h: Likewise.
23708         * nptl_db/structs.def: Likewise.
23709         * sysdeps/arm/sysdep.h: Likewise.
23710         * sysdeps/nptl/bits/libc-lock.h: Likewise.
23711         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
23712         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
23713         * sysdeps/unix/alpha/sysdep.h: Likewise.
23714         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
23715         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
23716         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
23717         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
23718         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
23719         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
23720         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23721         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
23722         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23723         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
23724         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
23725         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
23726         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
23727         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
23728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
23729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
23730         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
23731         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
23732         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
23733         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
23734         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
23735         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
23736         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
23737         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
23738         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
23739         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
23741         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
23742         * nptl/pthreadP.h: Likewise.
23743         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
23744         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
23745         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
23746         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
23747         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
23748         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
23749         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23750         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
23751         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
23752         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
23753         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
23754         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
23755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
23756         Likewise.
23757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
23758         Likewise.
23759         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
23760         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
23761         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
23762         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
23763         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
23764         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
23765         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
23766         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
23768         * dlfcn/dladdr.c: Use IS_IN.
23769         * dlfcn/dladdr1.c: Likewise.
23770         * dlfcn/dlclose.c: Likewise.
23771         * dlfcn/dlerror.c: Likewise.
23772         * dlfcn/dlinfo.c: Likewise.
23773         * dlfcn/dlmopen.c: Likewise.
23774         * dlfcn/dlopen.c: Likewise.
23775         * dlfcn/dlsym.c: Likewise.
23776         * dlfcn/dlvsym.c: Likewise.
23778         * include/ifaddrs.h: Use IS_IN.
23779         * inet/check_pf.c: Likewise.
23780         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23781         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
23783         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
23784         IS_IN_ldconfig.
23785         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
23786         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
23788         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
23789         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
23790         IS_IN (libc).
23792         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
23794         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
23795         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23796         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
23797         * include/libc-symbols.h (IS_IN_LIB): New macro.
23798         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
23799         * include/netdb.h: Likewise.
23800         * include/stap-probe.h: Remove all uses of IN_LIB.
23802         * Makeconfig (module-cppflags-real): Define MODULE_NAME
23803         instead of IN_MODULE.
23804         * include/libc-symbols.h (IN_MODULE): Define using
23805         MODULE_NAME.
23806         (PASTE_NAME, PASTE_NAME1): New macros.
23807         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
23808         of IN_LIB.
23809         (STAP_PROBE_ASM): Likewise.
23811 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23813         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
23814         __mach_init in dlopened libc.
23816 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
23818         * sysdeps/arm/preconfigure.ac: Delete EABI check.
23819         * sysdeps/arm/preconfigure: Regenerate.
23821 2014-11-21  Roland McGrath  <roland@hack.frob.com>
23823         * nptl/pthread_create.c (__pthread_create_2_1): Set
23824         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
23825         when copying values from IATTR into PD.
23827 2014-11-21  Will Newton  <will.newton@linaro.org>
23828             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
23830         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
23831         Refactor inline-asm.  Also add comment.
23833         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
23834         ElfW macro instead of hardcoded Elf64 types.
23835         (la_aarch64_gnu_pltenter): Likewise.
23836         * sysdeps/aarch64/dl-machine.h
23837         (elf_machine_runtime_setup): Use ElfW(Addr).
23839         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
23840         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
23841         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
23842         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
23843         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
23844         (R_AARCH64_TLS_DTPMOD64): Rename to ..
23845         (R_AARCH64_TLS_DTPMOD): This.
23846         (R_AARCH64_TLS_DTPREL64): Rename to ...
23847         (R_AARCH64_TLS_DTPREL): This.
23848         (R_AARCH64_TLS_TPREL64): Rename to ...
23849         (R_AARCH64_TLS_TPREL): This.
23850         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
23851         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
23852         R_AARCH64_TLS_TPREL64.
23853         (elf_machine_rela): Likewise.
23855 2014-11-21  Torvald Riegel  <triegel@redhat.com>
23857         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
23858         by setting it to 0.  64b atomics are not supported currently.
23860 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23862         [BZ #16469]
23863         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
23864         search domain names.
23866 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23868         [BZ #16469]
23869         * NEWS: Update.
23870         * resolv/res_query.c (__libc_res_nquerydomain): Retain
23871         trailing dot.
23872         * posix/tst-getaddrinfo5.c: New.
23873         * posix/Makefile (tests): Add it.
23875 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23877         [BZ #14498]
23878         * NEWS: Fixed.
23879         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
23880         after parsing line but before break_if_match.
23881         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
23882         if there is a protocol mismatch.
23884 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
23886         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
23887         because the potential race is on the user-supplied stream.
23889 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23891         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
23892         string literal if not passed a buffer.
23893         * manual/job.texi (ctermid): Update reasoning, note deviation
23894         from posix, suggest mtasurace when not passed a buffer, for
23895         future non-preliminary safety notes.
23897 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23899         * manual/users.texi (cuserid): Fix MT-Safety note for the case
23900         of not passing it a buffer.
23901         Reported by Peng Haitao.
23903 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23905         * manual/Makefile ($(objpfx)stamp-summary): Require
23906         check-safety.sh to pass.
23907         * manual/check-safety.sh: Wish for verification that every
23908         @deftypefn and @deftypefun is followed by a @safety remark.
23910 2014-11-20  Roland McGrath  <roland@hack.frob.com>
23912         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
23914         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
23915         PTHREAD_CANCEL_ASYNCHRONOUS.
23916         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
23917         send SIGCANCEL.
23919         * nptl/default-sched.h: New file.
23920         * sysdeps/unix/sysv/linux/default-sched.h: New file.
23921         * nptl/pthread_create.c: Include it.
23922         (__pthread_create_2_1): Use collect_default_sched instead of making
23923         Linux syscalls here directly.
23925 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23927         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
23928         __pthread_once): Use C11 atomics.
23930 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23932         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
23934 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23936         * include/atomic.h (__atomic_link_error, __atomic_check_size,
23937         atomic_thread_fence_acquire, atomic_thread_fence_release,
23938         atomic_thread_fence_seq_cst, atomic_load_relaxed,
23939         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
23940         atomic_compare_exchange_weak_relaxed,
23941         atomic_compare_exchange_weak_acquire,
23942         atomic_compare_exchange_weak_release,
23943         atomic_exchange_acquire, atomic_exchange_release,
23944         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
23945         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
23946         atomic_fetch_and_acquire,
23947         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
23949 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23951         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
23952         USE_ATOMIC_COMPILER_BUILTINS): Define.
23953         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
23954         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23955         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
23956         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23957         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
23958         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23959         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
23960         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23961         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
23962         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23963         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
23964         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23965         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
23966         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23967         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
23968         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23969         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
23970         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23971         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
23972         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23973         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
23974         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23975         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
23976         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23977         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
23978         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23979         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
23980         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23981         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
23982         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23983         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
23984         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23985         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
23986         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23987         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
23988         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23989         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
23990         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23991         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
23992         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23994 2014-11-19  Roland McGrath  <roland@hack.frob.com>
23996         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
23997         the sched_priority value here.  It was already checked when the user
23998         called pthread_attr_setschedparam.
24000         * nptl/tst-bad-schedattr.c: New file.
24001         * nptl/Makefile (tests): Add it.
24003 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
24004             Florian Weimer  <fweimer@redhat.com>
24005             Joseph Myers  <joseph@codesourcery.com>
24006             Adam Conrad  <adconrad@0c3.net>
24007             Andreas Schwab  <schwab@suse.de>
24008             Brooks  <bmoses@google.com>
24010         [BZ #17625]
24011         * wordexp-test.c (__dso_handle): Add prototype.
24012         (__register_atfork): Likewise.
24013         (__app_register_atfork): New function.
24014         (registered_forks): New global.
24015         (register_fork): New function.
24016         (test_case): Add 3 new tests for WRDE_CMDSUB.
24017         (main): Call __app_register_atfork.
24018         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
24019         fork count is non-zero fail the test.
24020         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
24021         is set.
24022         (parse_dollars): Remove check for WRDE_NOCMD.
24023         (parse_dquote): Likewise.
24025 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24027         * Makeconfig (built-modules): List non-library modules to be
24028         built.
24029         (module-cppflags): Include libc-modules.h for
24030         everything except shlib-versions.v.i.
24031         (CPPFLAGS): Use it.
24032         (before-compile): Add libc-modules.h.
24033         ($(common-objpfx)libc-modules.h,
24034         $(common-objpfx)libc-modules.stmp): New targets.
24035         (common-generated): Add libc-modules.h and libc-modules.stmp.
24036         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
24037         * include/libc-symbols.h: Don't include libc-modules.h.
24038         * include/libc-modules.h: Remove file.
24039         * scripts/gen-libc-modules.awk: New script to generate
24040         libc-modules.h.
24041         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
24042         Depend on libc-modules.stmp.
24044         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
24046         * Makeconfig (in-module): Get value of libof set for the
24047         translation unit.
24048         (CPPFLAGS): Use $(in-module).
24049         * Makerules: Don't suffix routine names for nonlib.
24050         * include/libc-modules.h: New file.
24051         * include/libc-symbols.h: Include libc-modules.h
24052         (IS_IN): New macro to replace IS_IN_* macros.
24053         * elf/Makefile: Set libof-* for each routine.
24054         * elf/rtld-Rules: Likewise.
24055         * extra-modules.mk: Likewise.
24056         * iconv/Makefile: Likewise.
24057         * iconvdata/Makefile: Likewise.
24058         * locale/Makefile: Likewise.
24059         * malloc/Makefile: Likewise.
24060         * nss/Makefile: Likewise.
24061         * sysdeps/gnu/Makefile: Likewise.
24062         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
24063         * sysdeps/unix/sysv/linux/Makefile: Likewise.
24064         * sysdeps/s390/s390-64/Makefile: Likewise.
24065         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
24066         CPPFLAGS for nscd instead of nonlib.
24068 2014-11-18  Roland McGrath  <roland@hack.frob.com>
24070         * nptl/createthread.c: New file.
24072         * nptl/createthread.c: Moved ...
24073         * sysdeps/unix/sysv/linux/createthread.c: ... here.
24075         * nptl/createthread.c: Add proper top-line comment.
24076         (do_clone): Folded into ...
24077         (create_thread): ... here.  Take new arguments STOPPED_START and
24078         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
24079         increment __nptl_threads, do event-reporting logic, do
24080         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
24081         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
24082         resource cleanup if sched_setaffinity or sched_setscheduler fails,
24083         just send SIGCANCEL.
24084         * nptl/pthread_create.c: Forward-declare create_thread before
24085         including createthread.c.
24086         (start_thread): Use new macro START_THREAD_DEFN to replace defining
24087         declaration, and new macro START_THREAD_SELF to replace argument.
24088         Remove return statement.
24089         (report_thread_creation): New function.
24090         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
24091         synchronization logic, and __nptl_nthreads increment here, around
24092         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
24093         PD->parent_cancelhandling here, before create_thread.  When
24094         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
24095         __deallocate_stack, and ENOMEM translation here.
24097 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
24099         [BZ #17616]
24100         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
24101         (mptwo): Rename to __mptwo.
24102         (__inv): Use __mptwo instead of mptwo.
24103         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
24104         (mptwo): Rename to __mptwo.
24105         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
24106         of mpone and __mptwo instead of mptwo.
24107         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
24108         instead of mpone.
24109         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24110         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
24111         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
24112         of mpone and __mptwo instead of mptwo.
24113         (__mpranred): Use __mpone instead of mpone.
24114         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
24115         variable.
24116         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
24117         (test-xfail-ISO99/math.h/linknamespace): Likewise.
24118         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
24119         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
24120         (test-xfail-ISO11/math.h/linknamespace): Likewise.
24121         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
24122         (test-xfail-XPG3/math.h/linknamespace): Likewise.
24123         (test-xfail-XPG4/math.h/linknamespace): Likewise.
24124         (test-xfail-POSIX/math.h/linknamespace): Likewise.
24125         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
24126         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
24127         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
24128         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
24129         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
24130         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
24131         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
24132         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
24133         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
24134         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
24136 2014-11-18  Tom de Vries  <tom@codesoucery.com>
24138         * manual/signal.texi (Primitives Interrupted by Signals): In section,
24139         replace BSD Handler xref with BSD Signal Handling.
24141 2014-11-17  Richard Henderson  <rth@redhat.com>
24143         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
24144         (_FP_PACK_RAW_2): Remove.
24145         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
24146         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
24147         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
24148         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
24149         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
24150         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
24151         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
24152         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
24153         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
24154         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
24155         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
24156         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
24157         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
24158         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
24159         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
24160         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
24162 2014-11-14  Roland McGrath  <roland@hack.frob.com>
24164         * signal/signal.h [__USE_MISC]
24165         (struct sigvec): Remove type.
24166         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
24167         (sigvec): Remove declaration.
24168         * sysdeps/posix/sigvec.c: Moved ...
24169         * signal/sigvec.c: ... here, replacing old file.
24170         (struct sigvec): New type, copied from old signal.h definition.
24171         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
24172         (__sigvec): Convert definition to prototype.
24173         (sigvec): Replace weak_alias with compat_symbol.
24174         * signal/Versions (libc: GLIBC_2.21): New version set.
24175         * include/signal.h: Remove __sigvec declaration.
24176         * sysdeps/unix/bsd/sigvec.c: Remove file.
24177         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
24178         * manual/signal.texi (BSD Handler): Remove subsection.
24179         Move siginterrupt up to ...
24180         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
24181         (Blocking in BSD): Fold subsection into its parent.
24182         * NEWS: Mention sigvec removal.
24184 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
24186         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
24187         (DLA_FMS): Make definition conditional only on [__FMA4__].
24188         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
24189         definition.
24191         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
24192         Make definition conditional only on [PROF].
24193         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
24194         definition.
24195         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
24196         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
24198         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
24199         !__GNUC__].
24200         * include/signal.h (__sigpause): Move declaration above call to
24201         libc_hidden_proto.
24202         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
24203         variable.
24204         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
24205         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
24207 2014-11-14  David S. Miller  <davem@davemloft.net>
24209         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
24210         Define before including <string/memcpy.c> and <string/mempcpy.c>.
24212 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
24214         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
24215         * configure: Regenerated.
24216         * manual/install.texi (Tools for Compilation): Document a
24217         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
24218         compiler verified to work.
24219         * INSTALL: Regenerated.
24221         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
24222         redeclare with asm name.
24223         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
24224         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
24225         including <string.h>.
24226         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24227         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
24228         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24229         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
24230         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24231         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
24232         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24234 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
24236         * stdlib/strtol.c (__strtol): Use prototype definition.
24238         [BZ #17594]
24239         * stdlib/strtol.c (SYM__): New macro.
24240         (SYM__1): Likewise.
24241         (__strtol): Likewise.
24242         (strtol): Rename to __strtol and define as weak alias of
24243         __strtol.  Use libc_hidden_weak.
24245 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24247         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
24248         Use numbered labels in inline assembly.
24250 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24252         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
24253         Add setjmp LIBC_PROBE.
24254         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
24255         Likewise.
24256         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
24257         Add longjmp, longjmp_target LIBC_PROBE.
24258         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
24259         Likewise.
24261 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24263         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
24264         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
24265         to get rid of unused variable warning.
24267 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24269         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
24270         Check for unwind_backtrace ==  NULL only in SHARED case.
24271         (__backchain_backtrace): Compile only in SHARED case.
24272         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
24273         Likewise.
24274         (__backchain_backtrace): Declare as static.
24276 2014-11-12  Roland McGrath  <roland@hack.frob.com>
24278         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
24279         (__libc_multiple_threads_ptr): Variable moved ...
24280         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
24282 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
24284         * conform/GlibcConform.pm: New file.
24285         * conform/conformtest.pl: Use GlibcConform module.
24286         * conform/linknamespace.pl: New file.
24287         * conform/list-header-symbols.pl: Likewise.
24288         * conform/Makefile (linknamespace-symlists-base): New variable.
24289         (linknamespace-symlists-tests): Likewise.
24290         (linknamespace-header-base): Likewise.
24291         (linknamespace-header-tests): Likewise.
24292         (tests-special): Add new tests.
24293         ($(linknamespace-symlists-tests)): New rule.
24294         (linknamespace-libs): New variable.
24295         ($(objpfx)symlist-stdlibs): New rule.
24296         ($(linknamespace-header-tests)): Likewise.
24297         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
24298         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
24299         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
24300         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
24301         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
24302         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
24303         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
24304         (test-xfail-ISO/math.h/linknamespace): Likewise.
24305         (test-xfail-ISO/signal.h/linknamespace): Likewise.
24306         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
24307         (test-xfail-ISO/time.h/linknamespace): Likewise.
24308         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
24309         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
24310         (test-xfail-ISO99/math.h/linknamespace): Likewise.
24311         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
24312         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
24313         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
24314         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
24315         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
24316         (test-xfail-ISO11/math.h/linknamespace): Likewise.
24317         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
24318         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
24319         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
24320         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
24321         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
24322         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
24323         (test-xfail-XPG3/math.h/linknamespace): Likewise.
24324         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
24325         (test-xfail-XPG3/search.h/linknamespace): Likewise.
24326         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
24327         (test-xfail-XPG3/time.h/linknamespace): Likewise.
24328         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
24329         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
24330         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
24331         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
24332         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
24333         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
24334         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
24335         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
24336         (test-xfail-XPG4/math.h/linknamespace): Likewise.
24337         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
24338         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
24339         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
24340         (test-xfail-XPG4/search.h/linknamespace): Likewise.
24341         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
24342         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
24343         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
24344         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
24345         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
24346         (test-xfail-XPG4/time.h/linknamespace): Likewise.
24347         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
24348         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
24349         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
24350         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
24351         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
24352         (test-xfail-POSIX/math.h/linknamespace): Likewise.
24353         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
24354         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
24355         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
24356         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
24357         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
24358         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
24359         (test-xfail-POSIX/time.h/linknamespace): Likewise.
24360         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
24361         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
24362         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
24363         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
24364         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
24365         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
24366         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
24367         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
24368         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
24369         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
24370         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
24371         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
24372         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
24373         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
24374         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
24375         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
24376         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
24377         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
24378         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
24379         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
24380         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
24381         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
24382         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
24383         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
24384         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
24385         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
24386         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
24387         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
24388         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
24389         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
24390         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
24391         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
24392         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
24393         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
24394         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
24395         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
24396         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
24397         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
24398         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
24399         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
24400         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
24401         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
24402         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
24403         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
24404         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
24405         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
24406         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
24407         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
24408         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
24409         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
24410         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
24411         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
24412         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
24413         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
24414         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
24415         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
24416         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
24417         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
24418         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
24419         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
24420         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
24421         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
24422         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
24423         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
24424         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
24425         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
24426         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
24427         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
24428         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
24429         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
24430         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
24431         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
24432         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
24433         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
24434         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
24435         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
24436         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
24437         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
24438         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
24439         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
24440         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
24441         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
24442         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
24443         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
24444         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
24445         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
24446         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
24447         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
24448         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
24449         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
24450         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
24451         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
24452         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
24453         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
24454         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
24455         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
24456         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
24457         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
24459         [BZ #17589]
24460         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
24461         of fgets_unlocked.
24463         [BZ #17585]
24464         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
24465         (memmem): Rename to __memmem and define as weak alias of
24466         __memmem.  Use libc_hidden_weak.
24467         (__memmem): Use libc_hidden_def.
24468         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
24469         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
24470         memmem.
24472         [BZ #17582]
24473         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
24474         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
24475         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
24476         and define as weak alias of __fgets_unlocked.  Use
24477         libc_hidden_weak.
24478         (__fgets_unlocked): Use libc_hidden_def.
24479         * include/stdio.h (__fgets_unlocked): Declare.  Use
24480         libc_hidden_proto.
24481         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
24482         __fgets_unlocked instead of fgets_unlocked.
24483         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
24484         (GET_NPROCS_CONF_PARSER): Likewise.
24485         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
24486         (GET_NPROCS_CONF_PARSER): Likewise.
24488         [BZ #17574]
24489         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
24490         weak alias of __wmemset.  Use libc_hidden_weak.
24491         (__wmemset): Use libc_hidden_def.
24492         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
24493         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
24494         of wmemset.
24496         [BZ #17573]
24497         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
24498         with asm name __mempcpy.
24499         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
24501         [BZ #17572]
24502         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
24503         and define as weak alias of __rawmemchr.
24504         (__rawmemchr): Do not define as strong alias of rawmemchr.
24506         [BZ #17571]
24507         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
24508         alias of __qsort_r.
24509         (qsort): Call __qsort_r instead of qsort_r.
24510         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
24511         (__qsort_r): Declare.  Call libc_hidden_proto.
24512         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
24513         instead of qsort_r.
24514         * nscd/gai.c (__qsort_r): Define to qsort_r.
24515         * posix/tst-rfc3484.c (__qsort_r): Likewise.
24516         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
24517         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
24519         [BZ #17570]
24520         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
24521         define as weak alias of __malloc_info.
24523         [BZ #17584]
24524         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
24525         as weak alias of __rewinddir.  Don't use libc_hidden_def.
24526         (__rewinddir): Use libc_hidden_def.
24527         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
24528         as weak alias of __rewinddir.  Don't use libc_hidden_def.
24529         (__rewinddir): Use libc_hidden_def.
24530         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
24531         weak alias of __rewinddir.  Don't use libc_hidden_def.
24532         (__rewinddir): Use libc_hidden_def.
24533         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
24534         (__rewinddir): Use libc_hidden_proto.
24535         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
24536         rewinddir.
24537         (__getcwd): Use __rewinddir instead of rewinddir.
24539         [BZ #17583]
24540         * libio/fileno.c (fileno): Rename to __fileno and define as weak
24541         alias of __fileno.  Use libc_hidden_weak.
24542         (__fileno): Use libc_hidden_def.
24543         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
24544         * libio/ftello.c (ftello): Rename to __ftello and define as weak
24545         alias of __ftello.
24546         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
24547         __ftello.
24548         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
24549         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
24550         libc_hidden_def.
24551         (fread_unlocked): Don't use libc_hidden_ver.
24552         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
24553         and define as weak alias of __fread_unlocked.  Don't use
24554         libc_hidden_def.
24555         (__fread_unlocked): Use libc_hidden_def.
24556         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
24557         (ftello): Don't use libc_hidden_proto.
24558         (__ftello): Declare.  Use libc_hidden_proto.
24559         (fread_unlocked): Don't use libc_hidden_proto.
24560         (__fread_unlocked): Declare.  Use libc_hidden_proto.
24561         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
24562         and __ftello instead of fileno, fread_unlocked and ftello.
24564 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24566         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
24567         GOT12.
24568         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
24569         Likewise.
24570         (_dl_start_user): Likewise.
24571         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
24573 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
24574             Siddhesh Poyarekar  <siddhesh@redhat.com>
24576         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
24577         Move argv and envp down instead of moving argc up.
24578         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
24580 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
24582         [BZ #17506]
24583         * test-skeleton.c (main): Return successful if one of
24584         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
24585         * string/tst-strcoll-overflow.c: Define expected status.
24587 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
24589         [BZ #17475]
24590         * locale/iso-639.def: Define Bhili and Tulu language codes.
24592 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
24594         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
24596 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
24598         [BZ #17555]
24599         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
24601 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
24603         * configure.ac: Updated check of minimal required version to
24604         2.22.
24605         * manual/install.texi (Tools for Compilation): Updated version
24606         number.
24607         * configure: Regenerated.
24608         * INSTALL: Likewise.
24610 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
24612         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
24613         __tls_get_addr.
24615 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
24617         * include/sys/wait.h (__libc_waitpid): Remove declaration.
24618         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
24619         (__waitpid): Don't define as alias.  Use libc_hidden_def not
24620         libc_hidden_weak.
24621         (waitpid): Define as alias of __waitpid.
24622         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
24623         __waitpid.
24624         (__waitpid): Don't define as alias.  Use libc_hidden_def not
24625         libc_hidden_weak.
24626         (waitpid): Define as alias of __waitpid.
24627         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
24628         __libc_waitpid alias.
24629         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
24630         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
24631         Likewise.
24632         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
24633         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
24634         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
24635         alias.
24636         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
24637         __waitpid.
24638         (__waitpid): Don't define as alias.  Use libc_hidden_def not
24639         libc_hidden_weak.
24640         (waitpid): Define as alias of __waitpid.
24642 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
24644         * manual/llio.texi: Add comment that write safety has been
24645         fixed in Linux.
24647         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
24648         (localplt-build-dso): Add elf/ld.so.
24649         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
24650         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
24651         and free for ld.so.
24652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
24653         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
24654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
24655         Likewise.
24656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
24657         Likewise.
24658         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
24659         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
24660         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
24661         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
24662         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
24663         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
24664         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
24665         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
24666         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
24667         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
24668         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
24670 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
24672         [BZ #14132]
24673         * include/libc-symbols.h (INTUSE): Remove macro.
24674         (INTDEF): Likewise.
24675         (INTVARDEF): Likewise.
24676         (_INTVARDEF): Likewise.
24677         (INTDEF2): Likewise.
24678         (INTVARDEF2): Likewise.
24679         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
24680         rtld_hidden_def instead of INTVARDEF.
24681         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
24682         (_dl_starting_up_internal): Remove declaration.
24683         (_dl_starting_up): Use rtld_hidden_proto.
24684         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
24685         declaration.
24686         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
24687         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
24688         _dl_starting_up.
24689         * elf/dl-writev.h (_dl_writev): Likewise.
24690         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
24691         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
24692         _dl_starting_up_internal.
24694 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24696         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
24697         test-skeleton.c.
24699 2014-11-05  Will Newton  <will.newton@linaro.org>
24701         * benchtests/Makefile: (bench-malloc): Add malloc thread
24702         scalability benchmark.
24703         * benchtests/bench-malloc-threads.c: New file.
24705 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
24707         * sysdeps/aarch64/strchrnul.S: New file.
24709 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24711         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
24712         definition.
24713         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
24714         Likwise.
24715         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
24716         Likewise.
24717         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
24718         Likewise.
24719         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
24720         Likewise.
24721         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
24722         Likewise.
24724 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
24726         * catgets/test-gencat.c: Use test-skeleton.c.
24727         * catgets/tst-catgets.c: Likewise.
24728         * csu/tst-empty.c: Likewise.
24729         * elf/tst-audit2.c: Likewise.
24730         * elf/tst-global1.c: Likewise.
24731         * elf/tst-pathopt.c: Likewise.
24732         * elf/tst-piemod1.c: Likewise.
24733         * elf/tst-tls10.c: Likewise.
24734         * elf/tst-tls11.c: Likewise.
24735         * elf/tst-tls12.c: Likewise.
24736         * gnulib/tst-gcc.c: Likewise.
24737         * iconvdata/tst-e2big.c: Likewise.
24738         * iconvdata/tst-loading.c: Likewise.
24739         * iconv/tst-iconv1.c: Likewise.
24740         * iconv/tst-iconv2.c: Likewise.
24741         * inet/test-inet6_opt.c: Likewise.
24742         * inet/tst-gethnm.c: Likewise.
24743         * inet/tst-network.c: Likewise.
24744         * inet/tst-ntoa.c: Likewise.
24745         * intl/tst-codeset.c: Likewise.
24746         * intl/tst-gettext2.c: Likewise.
24747         * intl/tst-gettext3.c: Likewise.
24748         * intl/tst-ngettext.c: Likewise.
24749         * intl/tst-translit.c: Likewise.
24750         * io/test-stat.c: Likewise.
24751         * libio/test-fmemopen.c: Likewise.
24752         * libio/tst-freopen.c: Likewise.
24753         * libio/tst-sscanf.c: Likewise.
24754         * libio/tst-ungetwc1.c: Likewise.
24755         * libio/tst-ungetwc2.c: Likewise.
24756         * libio/tst-widetext.c: Likewise.
24757         * localedata/tst-ctype.c: Likewise.
24758         * localedata/tst-digits.c: Likewise.
24759         * localedata/tst-leaks.c: Likewise.
24760         * localedata/tst-mbswcs1.c: Likewise.
24761         * localedata/tst-mbswcs2.c: Likewise.
24762         * localedata/tst-mbswcs3.c: Likewise.
24763         * localedata/tst-mbswcs4.c: Likewise.
24764         * localedata/tst-mbswcs5.c: Likewise.
24765         * localedata/tst-setlocale.c: Likewise.
24766         * localedata/tst-trans.c: Likewise.
24767         * localedata/tst-wctype.c: Likewise.
24768         * localedata/tst-xlocale1.c: Likewise.
24769         * login/tst-grantpt.c: Likewise.
24770         * malloc/tst-calloc.c: Likewise.
24771         * malloc/tst-malloc.c: Likewise.
24772         * malloc/tst-mallocstate.c: Likewise.
24773         * malloc/tst-mcheck.c: Likewise.
24774         * malloc/tst-mtrace.c: Likewise.
24775         * malloc/tst-obstack.c: Likewise.
24776         * math/atest-exp2.c: Likewise.
24777         * math/atest-exp.c: Likewise.
24778         * math/atest-sincos.c: Likewise.
24779         * math/test-matherr.c: Likewise.
24780         * math/test-misc.c: Likewise.
24781         * math/test-powl.c: Likewise.
24782         * math/tst-definitions.c: Likewise.
24783         * misc/tst-dirname.c: Likewise.
24784         * misc/tst-efgcvt.c: Likewise.
24785         * misc/tst-fdset.c: Likewise.
24786         * misc/tst-hsearch.c: Likewise.
24787         * misc/tst-mntent2.c: Likewise.
24788         * nptl/tst-sem7.c: Likewise.
24789         * nptl/tst-sem8.c: Likewise.
24790         * nptl/tst-sem9.c: Likewise.
24791         * nss/test-netdb.c: Likewise.
24792         * posix/tst-fnmatch.c: Likewise.
24793         * posix/tst-getlogin.c: Likewise.
24794         * posix/tst-gnuglob.c: Likewise.
24795         * posix/tst-mmap.c: Likewise.
24796         * pwd/tst-getpw.c: Likewise.
24797         * resolv/tst-inet_ntop.c: Likewise.
24798         * rt/tst-timer.c: Likewise.
24799         * stdio-common/test-fseek.c: Likewise.
24800         * stdio-common/test-popen.c: Likewise.
24801         * stdio-common/test-vfprintf.c: Likewise.
24802         * stdio-common/tst-cookie.c: Likewise.
24803         * stdio-common/tst-fileno.c: Likewise.
24804         * stdio-common/tst-gets.c: Likewise.
24805         * stdio-common/tst-obprintf.c: Likewise.
24806         * stdio-common/tst-perror.c: Likewise.
24807         * stdio-common/tst-sprintf2.c: Likewise.
24808         * stdio-common/tst-sprintf3.c: Likewise.
24809         * stdio-common/tst-sprintf.c: Likewise.
24810         * stdio-common/tst-swprintf.c: Likewise.
24811         * stdio-common/tst-tmpnam.c: Likewise.
24812         * stdio-common/tst-unbputc.c: Likewise.
24813         * stdio-common/tst-wc-printf.c: Likewise.
24814         * stdlib/tst-environ.c: Likewise.
24815         * stdlib/tst-fmtmsg.c: Likewise.
24816         * stdlib/tst-limits.c: Likewise.
24817         * stdlib/tst-rand48-2.c: Likewise.
24818         * stdlib/tst-rand48.c: Likewise.
24819         * stdlib/tst-random2.c: Likewise.
24820         * stdlib/tst-random.c: Likewise.
24821         * stdlib/tst-strtol.c: Likewise.
24822         * stdlib/tst-strtoll.c: Likewise.
24823         * stdlib/tst-tls-atexit.c: Likewise.
24824         * stdlib/tst-xpg-basename.c: Likewise.
24825         * string/test-ffs.c: Likewise.
24826         * string/tst-bswap.c: Likewise.
24827         * string/tst-inlcall.c: Likewise.
24828         * string/tst-strtok.c: Likewise.
24829         * string/tst-strxfrm.c: Likewise.
24830         * sysdeps/x86_64/tst-audit10.c: Likewise.
24831         * sysdeps/x86_64/tst-audit3.c: Likewise.
24832         * sysdeps/x86_64/tst-audit4.c: Likewise.
24833         * sysdeps/x86_64/tst-audit5.c: Likewise.
24834         * time/tst-ftime_l.c: Likewise.
24835         * time/tst-getdate.c: Likewise.
24836         * time/tst-mktime3.c: Likewise.
24837         * time/tst-mktime.c: Likewise.
24838         * time/tst-posixtz.c: Likewise.
24839         * time/tst-strptime2.c: Likewise.
24840         * time/tst-strptime3.c: Likewise.
24841         * wcsmbs/tst-btowc.c: Likewise.
24842         * wcsmbs/tst-mbrtowc.c: Likewise.
24843         * wcsmbs/tst-mbsrtowcs.c: Likewise.
24844         * wcsmbs/tst-wchar-h.c: Likewise.
24845         * wcsmbs/tst-wcpncpy.c: Likewise.
24846         * wcsmbs/tst-wcrtomb.c: Likewise.
24847         * wcsmbs/tst-wcsnlen.c: Likewise.
24848         * wcsmbs/tst-wcstof.c: Likewise.
24850 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
24852         [BZ #14132]
24853         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
24854         INTDEF.
24855         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
24856         declaration.
24857         (_dl_mcount): Use rtld_hidden_proto.
24858         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
24859         _dl_mcount.
24860         * elf/rtld.c (_rtld_global_ro): Likewise.
24862         [BZ #14132]
24863         * elf/dl-init.c (_dl_init): Don't use INTDEF.
24864         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
24865         of _dl_init_internal.
24866         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
24867         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
24868         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
24869         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
24870         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
24871         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
24872         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
24873         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
24874         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
24875         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
24876         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
24877         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
24878         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24879         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24880         * sysdeps/tile/dl-start.S (_start): Likewise.
24881         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
24882         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
24884         [BZ #14132]
24885         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
24886         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
24887         (rtld_progname): Make macro definition unconditional.
24888         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
24889         INTDEF.
24890         (dlmopen_doit): Do not use INTUSE with _dl_argv.
24891         (dl_main): Likewise.
24892         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
24893         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
24894         instead of _dl_argv_internal.
24895         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24896         __GI__dl_argv instead of INTUSE(_dl_argv).
24897         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
24898         __GI__dl_argv instead of _dl_argv_internal.
24900         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
24901         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
24902         macro.
24903         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
24904         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
24905         New macro.
24906         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
24907         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
24908         macro.
24909         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
24910         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
24912 2014-11-04  Andreas Schwab  <schwab@suse.de>
24914         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
24916 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24918         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
24919         mtvsrd instruction in binary form.
24921 2014-11-03  Andreas Schwab  <schwab@suse.de>
24923         [BZ #17522]
24924         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
24925         for less than MB_LEN_MAX use a local buffer of that size.
24926         * libio/tst-fputws.c: New file.
24927         * libio/Makefile (tests): Add tst-fputws.
24929 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
24931         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
24932         the size of the fpu_fr.fpu_dregs[] array.
24934 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
24936         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
24937         (__nanosleep): Do not define as alias.
24938         (nanosleep): Define as alias of __nanosleep.
24939         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
24940         __libc_nanosleep name.
24942 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
24944         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
24945         install.texi in comment.
24947 2014-10-31  Torvald Riegel  <triegel@redhat.com>
24949         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
24950         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
24951         ... add here and use lwsync or sync ...
24952         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
24953         ... and add here using lwsync.
24955 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
24957         * elf/dl-machine-reject-phdr.h: New file.
24958         * elf/dl-load.c: #include that.
24959         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
24960         if that returned true.
24962 2014-10-31  Roland McGrath  <roland@hack.frob.com>
24964         [BZ #17496]
24965         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
24966         gen-as-const-headers chunk.  Add a big scare comment after the last
24967         safe place to touch before-compile.
24969 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
24971         * manual/install.texi (Tools for Compilation): Update autoconf
24972         version requirements.
24973         * INSTALL: Regenerated.
24975         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
24976         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
24977         (__libc_pselect): Likewise.
24979         [BZ #14138]
24980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
24981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24985 2014-10-31  Torvald Riegel  <triegel@redhat.com>
24987         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
24988         correct barrier instruction.
24989         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
24990         Likewise.
24991         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
24992         Likewise.
24994 2014-10-30  Roland McGrath  <roland@hack.frob.com>
24996         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
24997         after defining inlines.  Instead, just use parens to defeat macro
24998         expansion of __isctype in its declaration.
25000 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
25002         * include/sys/uio.h (__libc_readv): Remove declaration.
25003         (__libc_writev): Likewise.
25004         * misc/readv.c (__libc_readv): Rename to __readv.
25005         (__readv): Do not define as alias.
25006         (readv): Define as alias of __readv.
25007         * misc/writev.c (__libc_writev): Rename to __writev.
25008         (__writev): Do not define as alias.
25009         (writev): Define as alias of __writev.
25010         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
25011         (__readv): Do not define as alias.
25012         (readv): Define unconditionally as alias of __readv.
25013         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
25014         (__writev): Do not define as alias.
25015         (writev): Define unconditionally as alias of __writev.
25016         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
25017         name.
25018         (writev): Do not define __libc_writev name.
25020 2014-10-30  Roland McGrath  <roland@hack.frob.com>
25022         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
25023         (convert_charseq): New function, broken out of ...
25024         (use_from_charmap): ... here.  Call it.
25025         (use_to_charmap): Use convert_charseq and free instead of duplicating
25026         its code with a variable-length stack struct.
25028 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
25030         * include/fcntl.h (__libc_creat): Remove declaration.
25031         * io/creat.c (__libc_creat): Rename to creat.
25032         (creat): Do not define as alias.
25033         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
25034         of creat instead of __libc_creat.
25035         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
25036         to creat.
25037         (creat): Do not define as alias.
25038         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
25039         __libc_creat.
25040         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
25041         __libc_creat name.
25042         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
25043         Likewise.
25045 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
25047         * manual/llio.texi: Add comments discussing why write() may be
25048         considered MT-unsafe on Linux.
25050 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
25052         * dl-load.c (local_strdup): Remove.
25053         (expand_dynamic_string_token): Use __strdup.
25054         (decompose_rpath): Likewise.
25055         (_dl_map_object): Likewise.
25057 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
25059         [BZ #14132]
25060         * sysdeps/generic/unwind-dw2-fde.c
25061         (__register_frame_info_bases_internal): Do not declare.
25062         (__register_frame_info_table_bases_internal): Likewise.
25063         (__deregister_frame_info_bases_internal): Likewise.
25064         (__register_frame_info_bases): Declare and use hidden_proto before
25065         definition.  Use hidden_def instead of INTDEF.
25066         (__register_frame_info_table_bases): Likewise.
25067         (__deregister_frame_info_bases): Likewise.
25068         (__register_frame_info): Do not use INTUSE.
25069         (__register_frame): Likewise.
25070         (__register_frame_info_table): Likewise.
25071         (__register_frame_table): Likewise.
25072         (__deregister_frame_info): Likewise.
25073         (__deregister_frame): Likewise.
25075 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
25077         * sysdeps/unix/sysv/linux/arm/kernel-features.h
25078         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
25079         not undefine.
25080         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
25081         Likewise.
25082         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
25083         Likewise.
25085 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
25087         [BZ #14138]
25088         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
25089         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
25090         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
25091         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
25092         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
25093         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
25094         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
25095         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
25096         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
25097         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
25098         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
25099         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
25100         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
25101         syscall.
25102         (setfsuid): Likewise.
25103         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
25104         (setfsuid): Likewise.
25105         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
25106         (setfsuid): Likewise.
25107         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
25108         Likewise.
25109         (setfsuid): Likewise.
25110         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
25111         (setfsuid): Likewise.
25112         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
25113         Likewise.
25114         (setfsuid): Likewise.
25116 2014-10-27  Andreas Schwab  <schwab@suse.de>
25118         [BZ #17501]
25119         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
25120         check for Slow_SSE4_2 feature bit.
25121         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
25122         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
25123         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
25124         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
25126 2014-10-24  Roland McGrath  <roland@hack.frob.com>
25128         * configure.ac: Validate compiler version with a empirical test of
25129         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
25130         $CC -v output.
25131         * configure: Regenerated.
25133         * inet/htons.c (htons): Prototypify.
25134         * inet/htonl.c (htonl): Likewise.
25136 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25138         * string/strncat.c (strncat): Improve performance by using strlen.
25140 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25142         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
25144 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25146         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
25147         Call libc_fetestexcept_aarch64.
25149 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25151         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
25152         Call libc_feholdexcept_aarch64.
25154 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25156         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
25157         Call get_rounding_mode.
25159 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25161         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
25162         Simplify logic.
25164 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25166         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
25167         Simplify logic.
25169 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
25171         [BZ #14138]
25172         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
25173         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
25174         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
25175         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
25176         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
25177         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
25178         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
25179         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
25180         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
25181         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
25182         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25183         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
25184         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
25185         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
25186         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
25187         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
25188         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
25189         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
25190         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
25191         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
25192         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
25193         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
25194         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
25195         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
25196         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
25197         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
25198         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
25199         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
25200         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
25201         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
25202         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
25203         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
25204         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
25205         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
25206         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
25207         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
25208         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
25209         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
25210         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
25211         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
25212         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
25213         syscall.
25214         (geteuid): Likewise.
25215         (getgid): Likewise.
25216         (getuid): Likewise.
25217         (getresgid): Likewise.
25218         (getresuid): Likewise.
25219         (getgroups): Likewise.
25220         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
25221         (geteuid): Likewise.
25222         (getgid): Likewise.
25223         (getuid): Likewise.
25224         (getresgid): Likewise.
25225         (getresuid): Likewise.
25226         (getgroups): Likewise.
25227         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
25228         (geteuid): Likewise.
25229         (getgid): Likewise.
25230         (getuid): Likewise.
25231         (getresgid): Likewise.
25232         (getresuid): Likewise.
25233         (getgroups): Likewise.
25234         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
25235         Likewise.
25236         (geteuid): Likewise.
25237         (getgid): Likewise.
25238         (getuid): Likewise.
25239         (getresgid): Likewise.
25240         (getresuid): Likewise.
25241         (getgroups): Likewise.
25242         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
25243         (geteuid): Likewise.
25244         (getgid): Likewise.
25245         (getuid): Likewise.
25246         (getresgid): Likewise.
25247         (getresuid): Likewise.
25248         (getgroups): Likewise.
25249         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
25250         Likewise.
25251         (geteuid): Likewise.
25252         (getgid): Likewise.
25253         (getuid): Likewise.
25254         (getgroups): Likewise.
25256         [BZ #14138]
25257         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
25258         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
25259         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
25260         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25261         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
25262         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
25263         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
25264         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
25265         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
25266         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
25267         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
25268         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
25269         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
25270         __chown.
25271         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
25272         (lchown): Likewise.
25273         (fchown): Likewise.
25274         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
25275         Likewise.
25276         (lchown): Likewise.
25277         (fchown): Likewise.
25278         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
25279         (lchown): Likewise.
25280         (fchown): Likewise.
25281         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
25282         Likewise.
25283         (lchown): Likewise.
25284         (fchown): Likewise.
25286 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
25288         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
25289         Simplify logic.
25291 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
25293         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
25294         Cleanup logic.
25296 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
25298         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
25299         Remove unused include.
25301 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
25303         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
25304         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
25305         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
25306         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
25308 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
25309             Helge Deller <deller@gmx.de>
25311         [BZ #17508]
25312         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
25313         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
25314         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
25316 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
25318         [BZ #14132]
25319         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
25320         Remove macro definition.
25321         (__ashrdi3_v_glibc20): Likewise.
25322         (__lshrdi3_v_glibc20): Likewise.
25323         (__cmpdi2_v_glibc20): Likewise.
25324         (__ucmpdi2_v_glibc20): Likewise.
25325         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
25326         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
25327         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
25328         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
25329         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
25330         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
25332 2014-10-22  Roland McGrath  <roland@hack.frob.com>
25334         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
25335         old GNU extension [0] syntax.
25336         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
25337         alloca rather than an array member with variable length.
25338         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
25339         * nscd/nscd.c (invalidate_db): New function, broken out of ...
25340         (parse_opt): ... here.  Likewise use alloca there.
25341         Validate the -i argument before checking for rootness.
25342         (send_shutdown): New function, broken out of ...
25343         (parse_opt): ... here.
25345 2014-10-22  Roland McGrath  <roland@hack.frob.com>
25347         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
25348         macro to get at the _rt_local_ro field.
25349         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
25350         ([PIC] case) or _dl_hwcap ([!PIC] case).
25351         * sysdeps/arm/setjmp.S: Likewise.
25353         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
25354         * sysdeps/arm/configure.ac: New check to define it.
25355         * sysdeps/arm/configure: Regenerated.
25356         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
25357         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
25358         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
25359         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
25360         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
25361         Use move/movt pair instead of a load.
25362         (LDST_GLOBAL): Macro removed.
25363         (LDR_GLOBAL): New macro replaces it.
25364         (LDR_HIDDEN): New macro.
25365         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
25366         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
25368         * setjmp/tst-setjmp-static.c: New file.
25369         * setjmp/Makefile (tests): Add it.
25370         (tests-static): New variable.
25372 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
25374         [BZ #17485]
25375         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
25377 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
25379         [BZ #14132]
25380         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
25382 2014-10-21  Roland McGrath  <roland@hack.frob.com>
25384         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
25386 2014-10-20  Roland McGrath  <roland@hack.frob.com>
25388         * io/fts.c (dirent_not_directory): New function.
25389         (fts_build): Call it.
25391 2014-10-20  Roland McGrath  <roland@hack.frob.com>
25393         * nptl/version.c (__nptl_main): Use normal __write rather than
25394         INTERNAL_SYSCALL.
25395         (banner): Update copyright years.
25397         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
25398         gettimeofday.
25399         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
25400         * nptl/pthread_cond_timedwait.c: Likewise.
25401         * nptl/pthread_mutex_timedlock.c: Likewise.
25402         * nptl/sem_timedwait.c: Likewise.
25404         * sysdeps/nptl/bits/libc-lock.h
25405         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
25406         (__libc_lock_init_recursive): Return void, not 0.
25407         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
25408         (__libc_rwlock_init): Likewise.
25409         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
25411 2014-10-20  Torvald Riegel  <triegel@redhat.com>
25413         [BZ #15215]
25414         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
25415         (__pthread_once_slow): ... here.
25416         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
25417         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
25419 2014-10-20  Torvald Riegel  <triegel@redhat.com>
25421         [BZ #15215]
25422         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
25423         __PTHREAD_ONCE_FORK_GEN_INCR): New.
25424         * sysdeps/nptl/fork.c (__libc_fork): Use them.
25425         * nptl/pthread_once.c (__pthread_once): Likewise.
25426         Update comments.
25428 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
25430         [BZ #14138]
25431         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
25432         name.
25433         (writev): Use __libc_writev as strong name.
25434         * sysdeps/unix/sysv/linux/readv.c: Remove file.
25435         * sysdeps/unix/sysv/linux/writev.c: Likewise.
25437 2014-10-17  Roland McGrath  <roland@hack.frob.com>
25439         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
25441         * sysdeps/i386/nptl/tls.h
25442         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
25443         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
25444         New macros.
25445         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
25446         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
25447         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
25448         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
25449         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
25450         Call CHECK_THREAD_SYSINFO instead of doing an assert.
25452         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
25453         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
25454         on [__NR_futex].
25455         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
25456         broken out of ...
25457         (__pthread_mutex_init): ... here.  Call it.
25458         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
25459         Conditionalize PI cases on [__NR_futex].
25460         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
25461         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
25462         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
25464         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
25465         conditional on [SIGSETXID].
25466         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
25467         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
25468         is defined.  Likewise for SIGSETXID.
25469         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
25470         Conditionalize definitions on [SIGSETXID].
25471         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
25472         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
25473         unblocking on [SIGCANCEL].
25475         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
25476         [__NR_set_robust_list].
25478 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25480         * string/strcoll_l.c (get_next_seq): Fix up formatting.
25481         (do_compare): Likewise.
25483 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
25485         [BZ #15884]
25486         * string/strcoll_l.c: Don't include stdio.h.
25487         (coll_seq): Remove members idxarr and rulearr.
25488         (get_next_seq_cached): Remove function.
25489         (get_next_seq): Likewise.
25490         (get_next_seq_nocache): Rename to get_next_seq.
25491         (do_compare): Remove function.
25492         (do_compare_nocache): Rename to do_compare.
25493         (STRCOLL): Remove weight and rules cache.
25495 2014-10-16  Roland McGrath  <roland@hack.frob.com>
25497         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
25498         * sysdeps/arm/sfp-machine.h: ... to here.
25499         * sysdeps/arm/Implies: Remove arm/soft-fp.
25501 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
25503         * conform/data/sys/utsname.h-data (*_t): Allow.
25504         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
25505         [POSIX] (WEXITED): Do not expect constant.
25506         [POSIX] (WSTOPPED): Likewise.
25507         [POSIX] (WNOHANG): Likewise.
25508         [POSIX] (WNOWAIT): Likewise.
25509         [POSIX] (siginfo_t): Do not expect type or elements.
25510         [POSIX] (pid_t): Do not expect type.
25511         [POSIX] (signal.h): Do not allow header.
25512         [POSIX] (sys/resource.h): Likewise.
25513         [POSIX] (si_*): Do not allow pattern.
25514         [POSIX] (W*): Likewise.
25515         [POSIX] (P_*): Likewise.
25516         [POSIX] (BUS_*): Likewise.
25517         [POSIX] (CLD_*): Likewise.
25518         [POSIX] (FPE_*): Likewise.
25519         [POSIX] (ILL_*): Likewise.
25520         [POSIX] (POLL_*): Likewise.
25521         [POSIX] (SEGV_*): Likewise.
25522         [POSIX] (SI_*): Likewise.
25523         [POSIX] (TRAP_*): Likewise.
25524         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
25525         variable.
25527 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
25529         [BZ #12926]
25530         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
25531         infinite loop when __recvmsg returns 0.
25533 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
25535         * CANCEL-FCT-WAIVE: Remove file.
25536         * CANCEL-FILE-WAIVE: Likewise.
25538         [BZ #14132]
25539         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
25540         instead of INTVARDEF.
25541         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
25542         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
25543         rtld_hidden_data_def instead of INTVARDEF.
25544         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
25545         * elf/dl-deps.c (expand_dst): Likewise.
25546         * elf/dl-load.c (_dl_dst_count): Likewise.
25547         (_dl_dst_substitute): Likewise.
25548         (decompose_rpath): Likewise.
25549         (_dl_init_paths): Likewise.
25550         (open_path): Likewise.
25551         (_dl_map_object): Likewise.
25552         * elf/rtld.c (dl_main): Likewise.
25553         (process_dl_audit): Likewise.
25554         (process_envvars): Likewise.
25555         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
25556         Remove declaration.
25557         (__libc_enable_secure): Use rtld_hidden_proto.
25559 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25561         * elf/dl-load.c
25562         (add_path): New function broken out of _dl_rtld_di_serinfo.
25563         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
25565 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
25567         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
25568         parentheses around macro arguments.
25569         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
25570         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
25571         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
25572         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
25573         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
25574         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
25575         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
25576         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
25577         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
25578         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
25579         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
25580         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
25581         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
25582         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
25583         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
25584         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
25585         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
25586         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
25587         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
25588         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
25589         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
25590         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
25591         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
25592         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
25593         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
25594         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
25595         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
25596         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
25597         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
25598         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
25599         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
25600         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
25601         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
25602         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
25603         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
25604         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
25605         Likewise.
25606         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
25607         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
25608         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
25609         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
25610         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
25611         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
25612         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
25613         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
25614         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
25615         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
25616         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
25617         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
25618         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
25619         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
25620         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
25621         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
25622         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
25623         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
25624         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
25625         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
25626         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
25627         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
25628         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
25629         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
25630         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
25631         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
25632         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
25633         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
25634         (_FP_FRAC_SRS_1): Likewise.
25635         (_FP_FRAC_CLZ_1): Likewise.
25636         (_FP_MUL_MEAT_1_imm): Likewise.
25637         (_FP_MUL_MEAT_1_wide): Likewise.
25638         (_FP_MUL_MEAT_1_hard): Likewise.
25639         (_FP_SQRT_MEAT_1): Likewise.
25640         (_FP_FRAC_ASSEMBLE_1): Likewise.
25641         (_FP_FRAC_DISASSEMBLE_1): Likewise.
25642         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
25643         (__FP_CLZ_2): Likewise.
25644         (_FP_MUL_MEAT_2_wide): Likewise.
25645         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
25646         (_FP_MUL_MEAT_2_gmp): Likewise.
25647         (_FP_MUL_MEAT_2_120_240_double): Likewise.
25648         (_FP_SQRT_MEAT_2): Likewise.
25649         (_FP_FRAC_ASSEMBLE_2): Likewise.
25650         (_FP_FRAC_DISASSEMBLE_2): Likewise.
25651         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
25652         (_FP_FRAC_CLZ_4): Likewise.
25653         (_FP_MUL_MEAT_4_wide): Likewise.
25654         (_FP_MUL_MEAT_4_gmp): Likewise.
25655         (_FP_SQRT_MEAT_4): Likewise.
25656         (_FP_FRAC_ASSEMBLE_4): Likewise.
25657         (_FP_FRAC_DISASSEMBLE_4): Likewise.
25658         * soft-fp/op-common.h (_FP_CMP): Likewise.
25659         (_FP_CMP_EQ): Likewise.
25660         (_FP_CMP_UNORD): Likewise.
25661         (_FP_TO_INT): Likewise.
25662         (_FP_FROM_INT): Likewise.
25663         [!__FP_CLZ] (__FP_CLZ): Likewise.
25664         (_FP_DIV_HELP_imm): Likewise.
25665         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
25666         Likewise.
25667         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
25668         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
25669         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
25670         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
25671         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
25672         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
25673         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
25674         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
25675         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
25676         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
25677         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
25678         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
25679         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
25680         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
25681         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
25682         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
25683         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
25684         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
25685         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
25686         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
25687         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
25688         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
25689         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
25690         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
25691         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
25692         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
25693         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
25694         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
25695         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
25696         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
25697         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
25698         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
25699         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
25700         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
25701         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
25702         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
25703         (FP_UNPACK_RAW_SP): Likewise.
25704         (FP_PACK_RAW_S): Likewise.
25705         (FP_PACK_RAW_SP): Likewise.
25706         (FP_UNPACK_S): Likewise.
25707         (FP_UNPACK_SP): Likewise.
25708         (FP_UNPACK_SEMIRAW_S): Likewise.
25709         (FP_UNPACK_SEMIRAW_SP): Likewise.
25710         (FP_PACK_S): Likewise.
25711         (FP_PACK_SP): Likewise.
25712         (FP_PACK_SEMIRAW_S): Likewise.
25713         (FP_PACK_SEMIRAW_SP): Likewise.
25714         (_FP_SQRT_MEAT_S): Likewise.
25715         (FP_CMP_S): Likewise.
25716         (FP_CMP_EQ_S): Likewise.
25717         (FP_CMP_UNORD_S): Likewise.
25718         (FP_TO_INT_S): Likewise.
25719         (FP_FROM_INT_S): Likewise.
25721         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
25723         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
25724         (FP_EX_INVALID_IMZ): Likewise.
25725         (FP_EX_INVALID_IMZ_FMA): Likewise.
25726         (FP_EX_INVALID_ISI): Likewise.
25727         (FP_EX_INVALID_ZDZ): Likewise.
25728         (FP_EX_INVALID_IDI): Likewise.
25729         (FP_EX_INVALID_SQRT): Likewise.
25730         (FP_EX_INVALID_CVI): Likewise.
25731         (FP_EX_INVALID_VC): Likewise.
25732         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
25733         "invalid" exceptions.
25734         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
25735         (_FP_ADD_INTERNAL): Likewise.
25736         (_FP_MUL): Likewise.
25737         (_FP_FMA): Likewise.
25738         (_FP_DIV): Likewise.
25739         (_FP_CMP_CHECK_NAN): Likewise.
25740         (_FP_SQRT): Likewise.
25741         (_FP_TO_INT): Likewise.
25742         (FP_EXTEND): Likewise.
25744 2014-10-09  Allan McRae  <allan@archlinux.org>
25746         * po/fr.po: Update French translation from translation project.
25748 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
25750         [BZ #14132]
25751         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
25752         of INTDEF.
25753         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
25754         (__cxa_atexit): Use libc_hidden_proto.
25755         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
25757         [BZ #14132]
25758         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
25759         declaration.
25760         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
25761         [!_ISOMAC] (__iswspace_l_internal): Likewise.
25762         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
25763         [!_ISOMAC] (__iswctype_internal): Likewise.
25764         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
25765         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
25766         alias.
25767         (fcntl): Remove __fcntl_internal alias.
25768         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
25769         __connect_internal alias.
25770         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
25771         Likewise.
25773         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
25774         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
25775         FP_DENORM_ZERO.
25776         (_FP_CHECK_FLUSH_ZERO): New macro.
25777         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
25778         (_FP_CMP): Likewise.
25779         (_FP_CMP_EQ): Likewise.
25780         (_FP_TO_INT): Do not set inexact for subnormal arguments if
25781         FP_DENORM_ZERO.
25782         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
25783         (FP_TRUNC): Likewise.
25785         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
25786         treated as invalid conversion, not as normal exponent.
25788         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
25789         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
25790         (_FP_CMP_EQ): Likewise.
25791         (_FP_CMP_UNORD): Likewise.
25792         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
25793         (FP_CMP_EQ_D): Likewise.
25794         (FP_CMP_UNORD_D): Likewise.
25795         * soft-fp/extended.h (FP_CMP_E): Likewise.
25796         (FP_CMP_EQ_E): Likewise.
25797         (FP_CMP_UNORD_E): Likewise.
25798         * soft-fp/quad.h (FP_CMP_Q): Likewise.
25799         (FP_CMP_EQ_Q): Likewise.
25800         (FP_CMP_UNORD_Q): Likewise.
25801         * soft-fp/single.h (FP_CMP_S): Likewise.
25802         (FP_CMP_EQ_S): Likewise.
25803         (FP_CMP_UNORD_S): Likewise.
25804         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
25805         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
25806         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
25807         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
25808         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
25809         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
25810         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
25811         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
25812         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
25813         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
25814         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
25815         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
25816         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
25817         to FP_CMP_Q.
25818         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
25819         FP_CMP_Q.
25820         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
25821         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
25822         FP_CMP_EQ_Q.
25823         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
25824         FP_CMP_Q.
25825         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
25826         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
25827         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
25828         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
25829         FP_CMP_EQ_Q.
25830         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
25831         FP_CMP_Q.
25832         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
25833         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
25834         FP_CMP_EQ_Q.
25835         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
25836         FP_CMP_Q.
25837         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
25838         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
25839         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
25840         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
25841         FP_CMP_EQ_Q.
25843         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
25844         a subnormal result, set the underflow exception if trapping on
25845         underflow is enabled.
25846         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
25847         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
25848         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
25849         redefine to 0.
25850         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
25851         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
25852         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
25853         * soft-fp/extendxftf2.c (__extendxftf2): Use
25854         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
25856         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
25857         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
25858         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25859         FP_HANDLE_EXCEPTIONS.
25860         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
25861         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25862         FP_HANDLE_EXCEPTIONS.
25863         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
25864         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25865         FP_HANDLE_EXCEPTIONS.
25866         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
25867         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25868         FP_HANDLE_EXCEPTIONS.
25870 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
25872         [BZ #14132]
25873         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
25874         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
25875         use INTUSE.
25876         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
25877         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
25878         Remove alias.
25879         (__adjtimex): Define using libc_hidden_ver.
25880         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
25881         Remove declaration.
25882         (ntp_gettime): Call __adjtimex directly.
25883         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
25884         Remove declaration.
25885         (ntp_gettimex): Call __adjtimex directly.
25886         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
25887         __adjtimex_internal alias.
25889 2014-10-08  Roland McGrath  <roland@hack.frob.com>
25891         [BZ #17460]
25892         * nscd/nscd.c (more_help): Rewrite list of tables collection
25893         using xstrdup and asprintf.
25895         * nscd/nscd_conf.c: Remove local xstrdup declaration.
25897 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25898             Roland McGrath  <roland@hack.frob.com>
25900         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
25901         (do_lookup_unique): ... local function 'enter' here; update callers.
25903 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
25905         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
25906         compat_symbol calls on [SHARED].
25907         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
25908         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
25909         Remove.
25910         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25911         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
25912         (oldsetrlimit): Remove.
25913         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
25915         (lchown): New syscall entry.
25916         (oldsetrlimit): Remove.
25917         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25918         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
25919         (oldsetrlimit): Remove.
25920         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25922         [BZ #14138]
25923         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
25924         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
25925         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
25926         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
25927         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
25928         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
25929         (fchown): Likewise.
25930         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
25931         (fchown): Likewise.
25932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
25933         Likewise.
25935 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25937         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
25938         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
25939         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
25940         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
25941         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
25942         Likewise.
25943         (__old_sem_post): Likewise.
25945 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
25947         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
25948         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
25949         HAVE_CLOCK_GETTIME_VSYSCALL macros.
25950         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
25951         Use INLINE_VSYSCALL macro.
25952         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
25953         __vdso_clock_gettime.
25954         * sysdeps/unix/sysv/linux/tile/init-first.c
25955         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
25956         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
25957         __vdso_clock_gettime.
25959         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
25960         to set up frame more cleanly.
25962         * sysdeps/tile/memcmp.c: New file.
25964         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
25966         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
25967         * sysdeps/tile/tilegx/strcasestr.c: New file.
25968         * sysdeps/tile/tilegx/strnlen.c: New file.
25969         * sysdeps/tile/tilegx/strstr.c: New file.
25971         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
25973 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
25975         * nptl/tst-setuid3.c: Write errors to stdout.
25977 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25979         * elf/dl-deps.c
25980         (preload): New functions broken out of _dl_map_object_deps.
25981         (_dl_map_object_deps):  Remove a nested function. Update call sites.
25983 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
25985         [BZ #14138]
25986         * sysdeps/unix/sysv/linux/execve.c: Remove file.
25987         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
25989 2014-10-01  Steve Ellcey  <sellcey@mips.com>
25991         * sysdeps/mips/strcmp.S: New.
25993 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
25995         [BZ #14138]
25996         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
25997         (linkat): Likewise.
25998         (mkdirat): Likewise.
25999         (readlinkat): Likewise.
26000         (renameat): Likewise.
26001         (symlinkat): Likewise.
26002         (unlinkat): Likewise.
26003         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
26004         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
26005         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
26006         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
26007         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
26008         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
26009         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
26011 2014-09-30  Will Newton  <will.newton@linaro.org>
26013         * math/math.h: Define long double math functions if
26014         _LIBC_TEST is defined.
26015         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
26017         * localedata/Makefile: Move assignment to tests-special
26018         into an ifdef testing run-built-tests.
26019         * timezone/Makefile: Likewise.
26021 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
26023         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
26024         with $(BASH) not $(SHELL).
26026 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
26027             Matthew LeGendre  <legendre1@llnl.gov>
26029         [BZ #17411]
26030         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
26031         l_reloc_result.
26033 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26035         * stdio-common/printf_fp.c
26036         (hack_digit): New function, broken out of ...
26037         (__printf_fp): ... local function here.  Update call sites.
26038         hack_digit now takes an additional parameter that is a pointer
26039         to a struct of the referenced locals.  Those locals moved inside
26040         the struct and references updated.
26042 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
26044         * aclocal.m4: Require autoconf 2.69.
26045         * configure: Regenerated.
26046         * sysdeps/aarch64/configure: Likewise.
26047         * sysdeps/alpha/configure: Likewise.
26048         * sysdeps/arm/armv7/configure: Likewise.
26049         * sysdeps/arm/configure: Likewise.
26050         * sysdeps/ia64/configure: Likewise.
26051         * sysdeps/mach/configure: Likewise.
26052         * sysdeps/mips/configure: Likewise.
26053         * sysdeps/s390/configure: Likewise.
26054         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
26055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
26057         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
26058         file.
26059         * sysdeps/ia64/configure.ac: Likewise.
26061 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
26063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
26064         specify symbol version for ld.so.  Do not include entry for
26065         libpthread.
26066         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
26067         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
26068         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
26070         [BZ #14171]
26071         * Makeconfig [$(build-shared) = yes]
26072         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
26073         makefiles.
26074         [$(build-shared) = yes && $(soversions.mk-done) = t]
26075         ($(common-objpfx)gnu/lib-names.h): Remove rule.
26076         [$(build-shared) = yes && $(soversions.mk-done) = t]
26077         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
26078         to Makerules.
26079         [$(build-shared) = yes && $(soversions.mk-done) = t]
26080         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
26081         here.
26082         [$(build-shared) = yes && $(soversions.mk-done) = t]
26083         (common-generated): Don't append gnu/lib-names.h and
26084         gnu/lib-names.stmp here.
26085         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
26086         (lib-names-h-abi): New variable.
26087         [$(build-shared) = yes && $(soversions.mk-done) = t]
26088         (lib-names-stmp-abi): Likewise.
26089         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26090         abi-variants] (before-compile): Append
26091         $(common-objpfx)$(lib-names-h-abi).
26092         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26093         abi-variants] (common-generated): Append gnu/lib-names.h.
26094         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26095         abi-variants] (install-others-nosubdir): Depend on
26096         $(inst_includedir)/$(lib-names-h-abi).
26097         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26098         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
26099         [$(build-shared) = yes && $(soversions.mk-done) = t]
26100         ($(common-objpfx)$(lib-names-h-abi)): New rule.
26101         [$(build-shared) = yes && $(soversions.mk-done) = t]
26102         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
26103         [$(build-shared) = yes && $(soversions.mk-done) = t]
26104         (common-generated): Append $(lib-names-h-abi) and
26105         $(lib-names-stmp-abi).
26106         * scripts/lib-names.awk: Do not handle multi being set.
26107         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
26108         Remove variable.
26109         (abi-lp64_be-ld-soname): Likewise.
26110         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
26111         Likewise.
26112         (abi-hard-ld-soname): Likewise.
26113         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
26114         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
26115         Remove variable.
26116         (abi-o32_hard-ld-soname): Likewise.
26117         (abi-o32_soft_2008-ld-soname): Likewise.
26118         (abi-o32_hard_2008-ld-soname): Likewise.
26119         (abi-n32_soft-ld-soname): Likewise.
26120         (abi-n32_hard-ld-soname): Likewise.
26121         (abi-n32_soft_2008-ld-soname): Likewise.
26122         (abi-n32_hard_2008-ld-soname): Likewise.
26123         (abi-n64_soft-ld-soname): Likewise.
26124         (abi-n64_hard-ld-soname): Likewise.
26125         (abi-n64_soft_2008-ld-soname): Likewise.
26126         (abi-n64_hard_2008-ld-soname): Likewise.
26127         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
26128         Likewise.
26129         (abi-64-v2-ld-soname): Likewise.
26130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
26131         ld.so entries.
26132         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
26133         variable.
26134         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
26135         entry.
26136         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
26137         variable.
26138         (abi-64-ld-soname): Likewise.
26139         (abi-x32-ld-soname): Likewise.
26140         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
26141         entry.
26142         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
26144 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
26146         [BZ #14138]
26147         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
26148         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
26149         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
26150         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
26151         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
26152         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
26153         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
26154         syscall entry for GLIBC_2.2 symbol version.
26155         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
26156         Likewise.
26157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
26158         (setrlimit): Likewise.
26159         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
26160         Likewise.
26162 2014-09-23  Will Newton  <will.newton@linaro.org>
26164         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
26165         _LINUX_ARM_SYSDEP_H include guard too.
26166         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
26167         define.
26169 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
26171         * sysdeps/unix/sysv/linux/eventfd.c:
26172         Make first argument unsigned.
26173         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
26174         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
26176 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
26178         [BZ #16852]
26179         * socket/recvmmsg.c (recvmmsg): Drop const argument.
26180         * socket/sys/socket.h: Likewise.
26181         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
26183 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26185         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
26187 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
26189         * time/tst-ftime.c: New test.
26190         * time/Makefile (tests): Add tst-ftime.
26192 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
26194         * soft-fp/extended.h: Fix comment formatting.
26195         * soft-fp/op-1.h: Likewise.
26196         * soft-fp/op-2.h: Likewise.
26197         * soft-fp/op-4.h: Likewise.
26198         * soft-fp/op-8.h: Likewise.
26199         * soft-fp/op-common.h: Likewise.
26200         * soft-fp/soft-fp.h: Likewise.
26202         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
26204 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
26206         [BZ #6652]
26207         * Makeconfig (soversions-default-setname): Remove variable.
26208         ($(common-objpfx)soversions.i): Don't pass default_setname to
26209         soversions.awk.
26210         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
26211         oldest_abi to abi-versions.awk.
26212         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
26213         * config.make.in (oldest-abi): Remove variable.
26214         * configure.ac (--enable-oldest-abi): Remove configure option.
26215         * configure: Regenerated.
26216         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
26217         text.
26218         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
26219         * scripts/soversions.awk: Do not handle default_setname variable.
26220         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
26221         variable.
26222         * sysdeps/mach/hurd/configure: Regenerated.
26223         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
26224         variable.
26225         * sysdeps/unix/sysv/linux/configure: Regenerated.
26227 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26229         * elf/Makefile (CFLAGS-interp.c): Remove.
26230         ($(elf-objpfx)runtime-linker.h): Generate header with linker
26231         path string.
26232         * elf/interp.c: Include generated runtime-linker.h
26234         * Makerules (lib%.so): Don't include $(+interp) in
26235         prerequisites.
26236         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
26237         * dlfcn/eval.c: Remove file.
26239         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
26240         macros.
26242         [BZ #17266]
26243         * misc/sys/cdefs.h: Define __extern_always_inline for clang
26244         4.2 and newer.
26246         [BZ #17370]
26247         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
26249 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26250             Jakub Jelinek  <jakub@redhat.com>
26252         [BZ #17266]
26253         * libio/stdio.h: Check definition of __fortify_function
26254         instead of __extern_always_inline to include bits/stdio2.h.
26255         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
26256         check if __extern_always_inline is defined.
26257         [__USE_MISC || __USE_XOPEN]: Likewise.
26258         [__USE_ISOC99] Likewise.
26259         * misc/sys/cdefs.h (__fortify_function): Define only if
26260         __extern_always_inline is defined.
26261         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
26262         __extern_always_inline and __extern_inline only for g++-4.3
26263         and newer or a compatible gcc.
26265 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
26267         [BZ #17371]
26268         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
26269         last change to handle zero prefix length.
26271 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26273         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
26274         _SC_REGEX_VERSION.
26276         * posix/getconf.c (vars): Add _POSIX_IPV6 and
26277         _POSIX_RAW_SOCKETS.
26279 2014-09-13  Allan McRae  <allan@archlinux.org>
26281         * po/ru.po: Update Russian translation from translation project.
26283 2014-09-12  Roland McGrath  <roland@hack.frob.com>
26285         * locale/programs/locale.c (show_locale_vars): Inline local function
26286         into its sole call site.  Clean up some style nits.
26287         (print_item): New function, broken out of ...
26288         (show_info): ... local function here.  Clean up style nits.
26290         * locale/programs/ld-ctype.c (set_one_default): New function, broken
26291         out of ...
26292         (set_class_defaults): ... local function set_default here.
26293         Define set_default as a macro locally to pass constant parameters.
26294         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
26295         rather than a shared local.
26297         * stdlib/rpmatch.c (try): New function, broken out of ...
26298         (rpmatch): ... local function here.  Also, prototypify definition.
26300 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
26302         * scripts/soversions.awk: Do not handle configuration names.
26303         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
26304         vendor and os variables to soversions.awk.
26305         * configure.ac: Do not modify gnu-* host_os.
26306         * configure: Regenerated
26307         * shlib-versions: Remove first column with configuration names.
26308         * nptl/shlib-versions: Likewise.
26309         * nptl_db/shlib-versions: Likewise.
26310         * sysdeps/hppa/shlib-versions: Likewise.
26311         * sysdeps/m68k/shlib-versions: Likewise.
26312         * sysdeps/mach/hurd/shlib-versions: Likewise.
26313         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
26314         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
26315         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
26316         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
26317         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
26318         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
26319         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
26320         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
26321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
26322         Likewise.
26323         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
26324         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
26325         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
26326         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
26327         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
26328         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
26329         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
26330         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
26332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
26333         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
26334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
26335         Regenerated.
26336         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
26337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
26338         Condition symbol version definitions on [HAVE_ELFV2_ABI].
26340         * shlib-versions: Remove OS-specific entries.  Moved to files in
26341         sysdeps.
26342         * sysdeps/mach/hurd/shlib-versions: New file.
26343         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
26345         * nptl/shlib-versions: Remove architecture-specific entries.
26346         Moved to files in sysdeps.
26347         * shlib-versions: Likewise.
26348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
26349         file.
26350         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
26351         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
26352         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
26353         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
26355         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
26356         (UDP_NO_CHECK6_RX): Likewise.
26358 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26360         * sysdeps/posix/sysconf.c (__sysconf): Spell
26361         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
26363 2014-08-12  Florian Weimer  <fweimer@redhat.com>
26365         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
26366         loading.
26367         * iconv/Versions (__gconv_transliterate): Export for use from
26368         gconv modules.
26369         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
26370         (struct __gconv_trans_data, __gconv_trans_fct,
26371         __gconv_trans_context_fct, __gconv_trans_query_fct,
26372         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
26373         definitions.
26374         (struct __gconv_step_data): Remove __trans member.
26375         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
26376         longer hidden.  Remove unused trans_data argument.
26377         * iconv/gconv_int.h (struct trans_struct): Remove definition.
26378         (__gconv_translit_find): Remove declaration.
26379         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
26380         prototype.
26381         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
26382         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
26383         trans_data argument.  Add hidden definition.
26384         (__gconv_translit_find): Remove.
26385         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
26386         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
26387         * iconv/skeleton.c: Remove transliteration initialization.
26388         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
26389         __gconv_step_data initialization.
26390         * libio/iofwide.c (__libio_translit_): Remove.
26391         (_IO_fwide): Adjust struct __gconv_step_data initialization.
26392         * wcsmbs/btowc.c (__btowc): Likewise.
26393         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
26394         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
26395         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
26396         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
26397         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
26398         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
26399         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
26400         * wcsmbs/wctob.c (wctob): Likewise.
26402 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26404         [BZ #16194]
26405         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
26406         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
26407         register usage.
26408         * sysdeps/x86/Makefile: Adjust.
26410 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26411             Roland McGrath  <roland@hack.frob.com>
26413         * locale/weight.h: Add include guard.
26414         (findidx): Make static rather than auto; take new parameters
26415         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
26416         * locale/weightwc.h: Likewise.
26417         * posix/fnmatch_loop.c
26418         (FCT): Change type of EXTRA from int32_t to wint_t.
26419         Don't include either header inside the function.
26420         Call FINDIDX rather than findidx, and pass new arguments.
26421         #undef FINDIDX at the end of the file.
26422         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
26423         FINDIDX before including fnmatch_loop.c for the non-wide version.
26424         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
26425         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
26426         for the wide version.
26427         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
26428         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
26429         Pass new arguments to findidx.
26430         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
26431         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
26432         Don't #include it inside the function.  Pass new arguments to findidx.
26433         * posix/regex_internal.h
26434         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
26435         (re_string_elem_size_at): Don't #include it inside the function.
26436         Pass new arguments to findidx.
26437         * string/strcoll_l.c: #include WEIGHT_H at top level.
26438         (get_next_seq): Don't #include it inside the function.
26439         Pass new arguments to findidx.
26440         (get_next_seq_nocache): Likewise.
26441         * string/strxfrm_l.c: #include WEIGHT_H at top level.
26442         (STRXFRM): Don't #include it inside the function.
26443         Pass new arguments to findidx.
26445 2014-09-11  Florian Weimer  <fweimer@redhat.com>
26447         [BZ #17344]
26448         * malloc/malloc.c (unlink): Turn asserts into a call to
26449         malloc_printerr.
26451 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
26453         [BZ #17370]
26454         * libio/wfileops (do_ftell_wide): Free OUT.
26456 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
26458         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
26460 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26462         [BZ #17363]
26463         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
26464         group if the current group is empty.
26466 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26468         * benchtests/bench-memset.c (test_main): Add more test from size
26469         from 32 to 512 bytes.
26470         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26471         Add POWER8 memset object.
26472         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26473         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
26474         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
26475         implementation.
26476         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
26477         Likewise.
26478         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
26479         multiarch POWER8 memset optimization.
26480         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
26481         POWER8 memset optimization.
26483         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26484         Remove bzero multiarch objects.
26485         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
26486         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
26487         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
26488         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
26489         Remove define.
26490         [__bzero]: Redefine to specific name.
26491         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
26492         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
26493         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
26494         define.
26495         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
26496         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
26498 2014-09-10  Florian Weimer  <fweimer@redhat.com>
26500         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
26501         warnings into errors.
26503         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
26504         __cxa_thread_atexit_impl prototype.
26506 2014-09-09  Steve Ellcey  <sellcey@mips.com>
26508         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
26509         Fix capitalization of error message.
26511 2014-09-09  Steve Ellcey  <sellcey@mips.com>
26513         * sysdeps/mips/preconfigure: Modify ABI tests.
26515 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
26517         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
26519 2014-09-07  Roland McGrath  <roland@hack.frob.com>
26520             Carlos O'Donell  <carlos@systemhalted.org>
26522         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
26523         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
26524         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
26525         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
26526         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
26527         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
26528         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
26529         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
26530         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
26531         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
26532         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
26533         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
26534         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
26535         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
26536         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
26537         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
26538         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
26539         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
26540         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
26541         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
26542         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
26543         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
26544         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
26545         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
26546         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
26547         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
26548         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
26549         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
26550         Deconditionalize the code that was previously under [RESET_PID].
26551         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
26552         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
26553         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
26554         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
26555         include sysdep.h.
26557 2014-09-08  Allan McRae  <allan@archlinux.org>
26559         * version.h (RELEASE): Set to "development".
26560         (VERSION): Set to "2.20.90"
26562 2014-09-07  Allan McRae  <allan@archlinux.org
26564         * version.h (RELEASE): Set to "stable".
26565         (VERSION): Set to "2.20"
26566         * include/features.h (__GLIBC_MINOR__): Set to 20.
26568         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
26569         Liebler.
26571         * po/ko.po: Update Korean translation from translation project.
26573 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
26575         [BZ #17354]
26576         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
26577         macro for handling signed relocations.
26579 2014-09-03  Florian Weimer  <fweimer@redhat.com>
26581         [BZ #17325]
26582         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
26583         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
26584         assert.
26585         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
26586         * iconvdata/ibm935.c (BODY): Likewise.
26587         * iconvdata/ibm937.c (BODY): Likewise.
26588         * iconvdata/ibm939.c (BODY): Likewise.
26589         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
26590         assert.
26591         * iconvdata/Makefile (iconv-test.out): Pass module list to test
26592         script.
26593         * iconvdata/run-iconv-test.sh: New test loop for checking for
26594         decoder crashers.
26596 2014-09-02  Khem Raj  <raj.khem@gmail.com>
26598         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
26599         libm_hidden_ver.
26601 2014-09-01  Allan McRae  <allan@archlinux.org>
26603         * po/eo.po: Update Esperanto translation from translation project.
26605         * po/ca.po: Update Catalan translation from translation project.
26607 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26609         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
26610         __proc_dostop call.
26612 2014-08-27  Mark Wielaard  <mjw@redhat.com>
26614         [BZ #17319]
26615         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
26616         to call set_thread_area instead of hand written asm.
26617         (__NR_set_thread_area): Removed define.
26618         (TLS_FLAG_WRITABLE): Likewise.
26619         (__ASSUME_SET_THREAD_AREA): Remove check.
26620         (TLS_EBX_ARG): Remove define.
26621         (TLS_LOAD_EBX): Likewise.
26623 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26625         Simplify atomicity of socket creation in bind.
26627         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
26628         looking up the name after linking the file.
26630 2014-08-27  Allan McRae  <allan@archlinux.org>
26632         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26634 2014-08-26  Florian Weimer  <fweimer@redhat.com>
26636         [BZ #17187]
26637         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
26638         trans_compare, open_translit, __gconv_translit_find):
26639         Remove module loading code.
26641 2014-08-26  Allan McRae  <allan@archlinux.org>
26643         * po/vi.po: Update Vietnamese translation from translation project.
26645         * po/uk.po: Update Ukrainian translation from translation project.
26647         * po/fr.po: Update French translation from translation project.
26649         * po/ru.po: Update Russian translation from translation project.
26651         * po/pl.po: Update Polish translation from translation project.
26653         * po/cs.po: Update Czech translation from translation project.
26655         * po/de.po: Update German translation from translation project.
26657         * po/bg.po: Update Bulgarian translation from translation project.
26659         * po/sv.po: Update Sweedish translation from translation project.
26661         * po/nl.po: Update Dutch translation from translation project.
26663         * po/es.po: Update Spanish translation from translation project.
26665 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26667         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
26669         * catgets/Makefile (CPPFLAGS-gencat): Remove.
26670         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
26671         (CPPFLAGS-iconvconfig): Likewise.
26672         * timezone/Makefile (CPPFLAGS-zic): Likewise.
26674         * include/libc-symbols.h: Remove unnecessary check for
26675         NOT_IN_libc.
26676         * nptl/pthreadP.h: Likewise.
26677         * sysdeps/aarch64/setjmp.S: Likewise.
26678         * sysdeps/alpha/setjmp.S: Likewise.
26679         * sysdeps/arm/sysdep.h: Likewise.
26680         * sysdeps/i386/setjmp.S: Likewise.
26681         * sysdeps/m68k/setjmp.c: Likewise.
26682         * sysdeps/posix/getcwd.c: Likewise.
26683         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26684         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
26685         * sysdeps/s390/s390-32/setjmp.S: Likewise.
26686         * sysdeps/s390/s390-64/setjmp.S: Likewise.
26687         * sysdeps/sh/sh3/setjmp.S: Likewise.
26688         * sysdeps/sh/sh4/setjmp.S: Likewise.
26689         * sysdeps/unix/alpha/sysdep.h: Likewise.
26690         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26691         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26692         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
26693         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26696         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26697         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26698         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26699         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26700         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26701         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26702         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26703         * sysdeps/x86_64/setjmp.S: Likewise.
26705 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
26707         [BZ #17263]
26708         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
26709         <stdint.h>.
26710         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
26711         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
26713 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
26715         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
26717         [BZ #17262]
26718         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
26719         and __x86_64__ when disabling x87 inline functions.
26721 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
26723         [BZ #17259]
26724         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
26725         asm statement with __cpuid_count.
26727 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
26729         * configure.ac: Change __ehdr_start code to dereference the struct.
26730         Run readelf on the output to look for relocations.
26731         * configure: Regenerated.
26733 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
26735         [BZ #17261]
26736         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
26737         value to 0.
26738         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
26740 2014-08-12  Roland McGrath  <roland@hack.frob.com>
26742         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
26744 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
26746         [BZ #16892]
26747         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
26748         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
26750 2014-08-12  Sean Anderson  <seanga2@gmail.com>
26752         * malloc/malloc.c: Fix typo in comment.
26754 2014-08-09  Allan McRae  <allan@archlinux.org>
26756         * Regenerate libc.po.
26758 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
26760         * intl/tst-gettext2.sh: Check every lang file for creation.
26762 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
26764         * sysdeps/aarch64/fpu/math_private.h
26765         (libc_feholdsetround_noex_aarch64_ctx): New function.
26767 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
26769         * sysdeps/arm/armv6/strcpy.S (strcpy):
26770         Fix performance issue in misaligned cases.
26772 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26774         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
26775         Move definition from termios.h.
26776         (struct termio): Likewise.
26777         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
26778         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
26779         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
26780         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
26781         Likewise.
26782         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
26783         Move definition to ioctl-types.h
26784         (struct termio): Likewise.
26785         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
26786         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
26787         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
26788         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
26789         Likewise.
26791 2014-08-05  Richard Henderson  <rth@redhat.com>
26793         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
26794         exceptions.
26795         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
26796         Add fraiseexcpt.
26797         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
26798         Use __feraiseexcept.
26799         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
26800         Protect libm symbols with IS_IN_libm.
26802         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
26804 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
26806         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
26808 2014-08-04  Will Newton  <will.newton@linaro.org>
26810         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
26811         file.
26813 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
26815         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
26816         variants for each function.
26818 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26820         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
26821         appended ...
26822         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
26823         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
26824         appended ...
26825         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
26826         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
26827         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
26828         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
26829         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
26830         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
26831         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
26832         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
26833         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
26834         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
26835         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
26836         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
26837         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
26838         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
26839         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
26840         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
26841         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
26842         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
26843         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
26844         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
26845         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
26846         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
26847         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
26848         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
26849         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
26850         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
26851         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
26852         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
26853         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
26854         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
26855         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
26856         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
26857         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
26858         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
26859         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
26860         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
26861         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
26862         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
26863         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
26864         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
26865         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
26866         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
26867         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
26868         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
26869         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
26870         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
26871         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
26872         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
26873         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
26874         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
26875         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
26876         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
26877         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
26878         Update #include.
26879         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
26880         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
26882 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26884         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
26885         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
26886         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
26887         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
26888         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
26889         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
26891 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26893         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
26894         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
26895         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26896         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
26898 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26900         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
26901         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
26902         (__libc_vfork): Define function under this name.
26903         (__vfork): Define as an alias.
26904         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
26905         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
26907 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26909         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
26910         that was previously under [RESET_PID].
26911         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
26913 2014-08-04  Andreas Schwab  <schwab@suse.de>
26915         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
26917 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
26919         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
26920         (main): Likewise.
26922 2014-08-01  Roland McGrath  <roland@hack.frob.com>
26924         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
26926 2014-08-01  Richard Henderon  <rth@redhat.com>
26928         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
26929         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
26930         typo in exact zero test.
26931         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26932         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26933         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26935 2014-08-01  Roland McGrath  <roland@hack.frob.com>
26937         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
26938         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
26939         * sysdeps/arm/sysdep.h: ... here.
26940         [!__ASSEMBLER__]: Include <stdint.h>.
26942 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
26944         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
26945         (HAVE_WCTYPE_H): Likewise.
26946         (HAVE_ISWCTYPE): Likewise.
26947         (ENABLE_NLS): Likewise.
26948         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
26949         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
26951         * posix/regex_internal.c: Check if DEBUG is defined and is
26952         set.
26954         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
26955         (HAVE_MBSRTOWCS): Likewise.
26956         * posix/fnmatch.c: Include string.h unconditionally.
26958 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
26960         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
26961         reversal.
26963 2014-07-31  Roland McGrath  <roland@hack.frob.com>
26965         * sysdeps/generic/safe-fatal.h: New file.
26966         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
26967         * nptl/forward.c: Include it.
26968         (__pthread_unwind): Use __safe_fatal as default action, rather
26969         than a bogus use of INTERNAL_SYSCALL that could never work.
26971         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
26972         * configure.ac (libc_cv_builtin_trap): New test.
26973         * configure: Regenerated.
26974         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
26975         (ABORT_INSTRUCTION): Define using __builtin_trap.
26977         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
26978         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
26979         * sysdeps/nptl/nptl-signals.h: New file.
26980         * nptl/pthreadP.h: Include <nptl-signals.h>.
26982 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
26984         * sysdeps/s390/s390-64/utf16-utf32-z9.c
26985         (ONE_DIRECTION): Define.
26986         * sysdeps/s390/s390-64/utf8-utf16-z9.c
26987         (ONE_DIRECTION): Define.
26988         * sysdeps/s390/s390-64/utf8-utf32-z9.c
26989         (ONE_DIRECTION): Define.
26991 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
26993         * sysdeps/s390/Makefile: Delete file.
26994         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
26995         * sysdeps/s390/__longjmp.c: Delete file.
26996         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
26997         Remove fields __flags and __reserved.
26998         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
26999         and add versioning.
27000         * sysdeps/s390/rtld-__longjmp.c: Delete file.
27001         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
27002         * sysdeps/s390/rtld-setjmp.S: Likewise.
27003         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
27004         * sysdeps/s390/s390-32/__longjmp.c: ... here.
27005         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
27006         * sysdeps/s390/s390-32/setjmp.S: ... here.
27007         Add versioning.
27008         (__sigsetjmp): Remove setting __flags field.
27009         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
27010         * sysdeps/s390/s390-64/__longjmp.c: ... here.
27011         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
27012         * sysdeps/s390/s390-64/setjmp.S: ... here.
27013         Add versioning.
27014         (__sigsetjmp): Remove setting __flags field.
27015         * sysdeps/s390/setjmp.S: Delete file.
27016         * sysdeps/s390/sigjmp.c: Likewise.
27017         * sysdeps/s390/v1-longjmp.c: Likewise.
27018         * sysdeps/s390/v1-setjmp.h: Likewise.
27019         * sysdeps/s390/v1-sigjmp.c: Likewise.
27020         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
27021         Remove v1-longjmp_chk.
27022         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
27023         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
27024         Include debug/longjmp_chk.c and add versioning.
27025         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
27026         Include nptl/pt-longjmp.c and add versioning.
27027         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
27028         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
27029         Include __longjmp.c.
27030         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
27031         Move to ...
27032         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
27033         (__getcontext): Remove setting __flags field.
27034         Add versioning.
27035         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
27036         Don't restore upper high grps.
27037         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
27038         Likewise.
27039         (__swapcontext): Remove setting uc_flags field.
27040         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
27041         Delete file.
27042         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
27043         Include __longjmp.c.
27044         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
27045         Move to ...
27046         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
27047         (__getcontext): Remove setting __flags field.
27048         Add versioning.
27049         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
27050         (__swapcontext): Remove setting uc_flags field.
27051         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
27052         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
27053         Remove fields uc_high_gprs and __reserved.
27054         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
27055         New file with reverted content.
27056         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
27057         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
27058         Regenerated.
27059         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
27060         Regenerated.
27062 2014-07-31  Andreas Schwab  <schwab@suse.de>
27064         * config.h.in (HAVE_IFUNC): Define to 0.
27065         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
27066         definedness.
27068 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
27070         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27071         memmove-avx-unaligned, memcpy-avx-unaligned and
27072         mempcpy-avx-unaligned.
27073         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27074         Add tests for AVX memcpy functions.
27075         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
27076         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
27077         memcpy_chk.
27078         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
27079         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
27080         memmove_chk.
27081         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
27082         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
27083         mempcpy_chk.
27084         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
27085         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
27086         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
27088 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27090         [BZ #17213]
27091         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
27092         powerpc64le.
27094 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
27096         [BZ #16839]
27097         * manual/llio.texi: Add section about open file description locks.
27098         * manual/examples/ofdlocks.c: Example of open file description
27099         lock usage.
27100         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
27101         F_OFD_SETLK, and F_OFD_SETLKW.
27103 2014-07-23  Allan McRae  <allan@archlinux.org>
27105         * po/es.po: Update Spanish translation from translation project.
27107 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
27109         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
27111 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
27113         [BZ #17078]
27114         * sysdeps/arm/dl-machine.h (elf_machine_rela)
27115         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
27116         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
27118 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
27120         [BZ #17088]
27121         * math/fesetenv.c (__fesetenv)
27122         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
27123         * math/feupdateenv.c (__feupdateenv)
27124         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
27126         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
27127         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
27128         (__ASSUME_SOCKETCALL): Do not define.
27130         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
27131         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
27132         (__ASSUME_SOCKETCALL): Do not define.
27133         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
27134         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
27135         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27136         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
27137         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27138         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
27139         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27140         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27142         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
27143         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
27144         (__ASSUME_SOCKETCALL): Do not define.
27145         (__ASSUME_IPC64): Define unconditionally.
27146         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
27147         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27148         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
27149         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27150         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
27151         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27152         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
27153         Likewise.
27155         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
27156         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
27157         (__ASSUME_SOCKETCALL): Do not define.
27158         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
27159         (__ASSUME_FUTEX_LOCK_PI): Likewise.
27160         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27161         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
27162         (__ASSUME_REQUEUE_PI): Define unconditionally.
27163         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
27164         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
27165         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27166         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
27167         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27168         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27170         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
27171         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
27172         (__ASSUME_SOCKETCALL): Do not define.
27173         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
27174         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27175         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27176         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
27177         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27178         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27180         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
27181         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
27182         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27183         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
27184         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27185         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
27186         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27187         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
27188         (__ASSUME_GETCPU_SYSCALL): Likewise.
27190         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
27191         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
27192         cases for individual architectures.
27193         * sysdeps/gnu/configure: Regenerated.
27194         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
27195         LIBC_SLIBDIR_RTLDDIR.
27196         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
27197         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
27198         LIBC_SLIBDIR_RTLDDIR.
27199         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
27200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
27201         LIBC_SLIBDIR_RTLDDIR.
27202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
27203         Regenerated.
27204         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
27205         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
27206         file.
27207         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
27208         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
27209         file.
27210         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
27211         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
27212         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
27213         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
27215         * sysdeps/aarch64/shlib-versions: Move to ...
27216         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
27217         * sysdeps/alpha/shlib-versions: Move to ...
27218         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
27219         * sysdeps/arm/shlib-versions: Move to ...
27220         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
27221         * sysdeps/hppa/shlib-versions: Move all contents except for
27222         libgcc_s entry to ...
27223         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
27224         entry from ...
27225         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
27226         * sysdeps/ia64/shlib-versions: Move to ...
27227         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
27228         entry from ...
27229         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
27230         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
27231         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
27232         * sysdeps/microblaze/shlib-versions: Move to ...
27233         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
27234         * sysdeps/mips/shlib-versions: Move to ...
27235         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
27236         entry from ...
27237         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
27238         * sysdeps/tile/shlib-versions: Move to ...
27239         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
27240         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
27241         from ...
27242         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
27243         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
27244         entry from ...
27245         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
27247 2014-07-17  Will Newton  <will.newton@linaro.org>
27249         * sysdeps/arm/bits/atomic.h
27250         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
27251         (__arch_compare_and_exchange_bool_16_int): Likewise.
27252         (__arch_compare_and_exchange_bool_64_int): Likewise.
27254         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
27255         into an #else block.
27257 2014-07-16  Roland McGrath  <roland@hack.frob.com>
27259         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
27260         just Linux configurations.  Test empirically that the compiler sets
27261         __ARM_EABI__, rather than using the tuple to decide.
27262         * sysdeps/arm/preconfigure: Regenerated.
27263         * sysdeps/unix/sysv/linux/arm/configure: File removed.
27264         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
27265         contents appended ...
27266         * sysdeps/arm/configure.ac: ... here.
27267         * sysdeps/arm/configure: Regenerated.
27269 2014-07-15  Roland McGrath  <roland@hack.frob.com>
27271         * nptl/pthread_kill.c: New file.
27272         * nptl/pthread_sigmask.c: New file.
27273         * nptl/pthread_sigqueue.c: New file.
27275         * sysdeps/nptl/lowlevellock.h: New file.
27276         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
27277         * sysdeps/nptl/lowlevellock-futex.h: New file.
27279         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
27280         Remove dead declarations.
27282 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
27284         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
27285         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
27286         config-cflags-avx2.
27287         * sysdeps/x86_64/configure.ac: Likewise.
27288         * sysdeps/i386/configure: Regenerated.
27289         * sysdeps/x86_64/configure: Likewise.
27290         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27291         memset-avx2 only if config-cflags-avx2 is yes.
27292         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27293         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
27294         defined.
27295         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
27296         only if HAVE_AVX2_SUPPORT is defined.
27297         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27299 2014-07-14  Alan Modra  <amodra@gmail.com>
27301         [BZ #17153]
27302         * elf/elf.h (DT_PPC64_NUM): Correct value.
27303         * NEWS: Add to fixed bug list.
27305 2014-07-13  Jim Meyering  <meyering@fb.com>
27307         [BZ 17150]
27308         regex: don't deref NULL upon heap allocation failure
27309         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
27310         failure in one more place.
27311         To trigger the segfault, configure grep -with-included-regex,
27312         build it, and run these commands:
27313         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
27315 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
27317         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
27319 2014-07-11  Richard Henderson  <rth@redhat.com>
27321         * sysdeps/aarch64/libm-test-ulps: Update.
27323 2014-07-10  Florian Weimer  <fweimer@redhat.com>
27325         [BZ #17135]
27326         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
27327         * nptl/allocatestack.c (__nptl_setxid_error): New function.
27328         (__nptl_setxid): Initialize error member.  Call
27329         __nptl_setxid_error.
27330         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
27331         * nptl/descr.h (struct xid_command): Add error member.
27332         * nptl/tst-setuid3.c: New file.
27333         * nptl/Makefile (tests): Add it.
27335 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27337         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
27338         New define.
27339         (__lll_trylock): Use __lll_base_trylock.
27340         (__lll_cond_trylock): Likewise.
27342 2014-07-10  Roland McGrath  <roland@hack.frob.com>
27344         * nptl/pthread_create.c (start_thread): Use atomic_or and
27345         lll_futex_wake directly rather than lll_robust_dead.
27346         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
27347         (lll_robust_dead): Macro removed.
27348         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
27349         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
27350         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
27351         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27352         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27353         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
27354         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
27355         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27356         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
27357         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27358         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27359         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27360         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27361         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27362         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27364         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
27365         Use atomic_compare_and_exchange_val_acq directly rather than
27366         lll_robust_trylock.
27367         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
27368         (__lll_robust_trylock, lll_robust_trylock): Removed.
27369         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
27370         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
27371         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27372         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27373         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
27374         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
27375         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27376         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
27377         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27378         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27379         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27380         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27381         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27382         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27384 2014-07-02  Florian Weimer  <fweimer@redhat.com>
27386         * manual/locale.texi (Locale Names): New section documenting
27387         locale name syntax.  Adjust menu and node chaining accordingly.
27388         (Choosing Locale): Reference Locale Names, Locale Categories.
27389         Mention setting LC_ALL=C.  Reflect that name syntax is now
27390         documented.
27391         (Locale Categories): New section title.  Reference Locale Names.
27392         LC_ALL is an environment variable, but not a category.
27393         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
27394         description, now in Locale Name.  Reference that section.  Locale
27395         name syntax is now documented.
27397 2014-07-02  Florian Weimer  <fweimer@redhat.com>
27399         [BZ #17137]
27400         * locale/findlocale.c (name_present, valid_locale_name): New
27401         functions.
27402         (_nl_find_locale): Use the loc_name variable to store name
27403         candidates.  Call name_present and valid_locale_name to check and
27404         validate locale names.  Return an error if the locale is invalid.
27406 2014-07-02  Florian Weimer  <fweimer@redhat.com>
27408         * locale/setlocale.c (setlocale): Use strdup for allocating
27409         composite name copy.
27411 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27413         Sync up with gnulib.
27414         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
27415         [!_LIBC && ENABLE_NLS]: Include gettext.h.
27416         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
27417         and _GL_ARG_NONNULL.
27418         [USE_UNLOCKED_IO]: Include unlocked-io.h.
27419         [!_LIBC]: Include code for Windows and Cygwin.
27420         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
27421         Include prototype for int strerror_r.
27422         [!_LIBC] (is_open): New function.
27423         (flush_stdout): New function.
27424         (print_errno_message): Use it.
27425         (error): Likewise.
27426         (error_at_line): Likewise.
27427         (error_tail) Add function attribute macros.  Use
27428         __builtin_expect.
27430         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
27432         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
27434         * io/ftw.c: Include sys/param.h unconditionally.
27436         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
27438         [BZ #17125]
27439         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
27440         libc_freeres_ptr.
27441         (freecache): New function to free CACHE on exit.
27443         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
27444         initialization.
27446 2014-07-09  David S. Miller  <davem@davemloft.net>
27448         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27450         * sysdeps/sparc/nptl/internaltypes.h: Delete.
27451         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
27452         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
27453         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
27454         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
27455         * sysdeps/sparc/nptl/sem_init.c: Likewise.
27456         * sysdeps/sparc/nptl/sem_post.c: Likewise.
27457         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
27458         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
27459         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
27460         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
27461         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
27462         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
27464 2014-07-09  Andreas Schwab  <schwab@suse.de>
27466         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
27467         output.
27468         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
27469         (do_test): Likewise.
27471         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27473 2014-07-09  Will Newton  <will.newton@linaro.org>
27475         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
27476         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
27477         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
27478         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
27479         * sysdeps/hppa/start.S (_start): Likewise.
27481 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
27483         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
27485         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
27486         defined.
27488 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27490         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
27491         after checking that it is non-NULL.
27493         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
27495 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27497         * sysdeps/powerpc/memmove.c: Remove file.
27498         * sysdeps/powerpc/powerpc32/power4/memcopy.h
27499         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
27500         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
27501         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
27502         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
27503         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
27504         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
27505         string memmove instead of removed powerpc one.
27507         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
27508         [weak_alias]: Fix compiler warning due trailing data.
27509         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
27510         [weak_alias]: Likewise.
27511         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
27512         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
27514         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27515         (__libc_ifunc_impl_list): Add memmove functions.
27517 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27519         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
27520         Remove code.
27521         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
27522         Likewise.
27523         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
27524         Likewise.
27525         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
27526         Likewise.
27527         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
27528         Likewise.
27529         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
27530         Likewise.
27531         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
27532         Likewise.
27533         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
27534         Likewise.
27535         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
27536         Likewise.
27537         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
27538         Likewise.
27539         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
27540         Likewise.
27541         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
27542         Likewise.
27543         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
27544         Likewise.
27545         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
27546         Likewise.
27547         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
27548         Likewise.
27549         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
27550         Likewise.
27551         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
27552         Likewise.
27554 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27556         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
27557         to avoid alignment traps in non-cacheable memory.
27558         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
27560         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
27561         multiarch objects.
27562         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
27563         file: multiarch power7 memmove.
27564         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
27565         multiarch default memmove.
27566         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
27567         multiarch memove for powerpc32/power4.
27569         * string/bcopy.c: Use full path to include memmove.c.
27570         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
27571         multiarch objects.
27572         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
27573         bcopy for powerpc64.
27574         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
27575         bcopy for powerpc64.
27576         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
27577         and memmove implementations.
27578         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
27579         optimized multiarch memmove for POWER7/powerpc64.
27580         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
27581         default multiarch memmove for powerpc64.
27582         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
27583         multiarch for powerpc64.
27584         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
27585         for POWER7/powerpc64.
27586         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
27587         memmove for POWER7/powerpc64.
27589         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
27590         glibc default one.
27592         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
27593         __ELF_NATIVE_CLASS equal to 64.
27595 2014-07-07  Roland McGrath  <roland@hack.frob.com>
27597         * sysdeps/nptl/lowlevellock.h: File removed.
27599         * NEWS: NPTL is no longer an add-on!
27600         * nptl/internaltypes.h: Moved ...
27601         * sysdeps/nptl/internaltypes.h: ... here.
27602         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
27603         * sysdeps/nptl/fork.c: Likewise.
27604         * sysdeps/nptl/gai_misc.h: Likewise.
27605         * sysdeps/nptl/librt-cancellation.c: Likewise.
27606         * sysdeps/nptl/jmp-unwind.c: Likewise.
27607         * sysdeps/nptl/setxid.h: Likewise.
27608         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
27609         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
27610         * sysdeps/unix/sysv/linux/arm/Implies: New file.
27611         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
27612         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
27613         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
27614         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
27615         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
27616         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
27617         * sysdeps/unix/sysv/linux/mips/Implies: New file.
27618         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
27619         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
27620         * sysdeps/unix/sysv/linux/sh/Implies: New file.
27621         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
27622         * sysdeps/unix/sysv/linux/tile/Implies: New file.
27623         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
27624         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
27625         * nptl/Makeconfig: Moved ...
27626         * sysdeps/nptl/Makeconfig: ... here.
27627         * nptl/configure: File removed.
27628         * nptl/ANNOUNCE: File removed.
27629         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
27630         * sysdeps/unix/sysv/linux/configure: Regenerated.
27632         * nptl/Makefile (routines): Add libc_pthread_init,
27633         libc_multiple_threads, register-atfork and unregister-atfork.
27634         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
27635         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
27636         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
27637         pthread-pi-defines.sym, structsem.sym.
27638         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
27639         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
27640         [$(subdir) = nptl] (tests): Add tst-setgetname.
27641         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
27642         * sysdeps/unix/sysv/linux/sigaction.c: Just include
27643         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
27644         [!LIBC_SIGACTION]: Remove aliases.
27645         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
27646         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
27647         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
27648         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
27649         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
27650         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
27651         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27652         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27653         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
27654         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
27655         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
27656         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
27657         __libc_allocate_rtsig_private.
27658         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
27659         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
27660         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
27661         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
27662         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
27663         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
27664         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
27665         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
27666         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
27667         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
27668         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
27669         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
27670         * nptl/internaltypes.h: ... here.
27671         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
27672         * sysdeps/nptl/jmp-unwind.c: ... here.
27673         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
27674         * nptl/libc-lowlevellock.c: ... here.
27675         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
27676         * nptl/libc_multiple_threads.c: ... here.
27677         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
27678         * nptl/libc_pthread_init.c: ... here.
27679         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
27680         * nptl/lowlevelbarrier.sym: ... here.
27681         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
27682         * nptl/lowlevelcond.sym: ... here.
27683         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
27684         * nptl/lowlevellock.c: ... here.
27685         * nptl/lowlevellock.h: Moved ...
27686         * sysdeps/nptl/lowlevellock.h: ... here.
27687         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
27688         * nptl/lowlevelrobustlock.c: ... here.
27689         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
27690         * nptl/lowlevelrobustlock.sym: ... here.
27691         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
27692         * nptl/lowlevelrwlock.sym: ... here.
27693         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
27694         * nptl/pt-fork.c: ... here.
27695         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
27696         * nptl/pthread-pi-defines.sym: ... here.
27697         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
27698         * nptl/pthread_attr_getaffinity.c: ... here.
27699         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
27700         * nptl/pthread_attr_setaffinity.c: ... here.
27701         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
27702         * nptl/pthread_mutex_cond_lock.c: ... here.
27703         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
27704         Update #include.
27705         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
27706         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
27707         * nptl/pthread_once.c: ... here, replacing old file.
27708         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
27709         * nptl/pthread_yield.c: ... here.
27710         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
27711         * nptl/register-atfork.c: ... here.
27712         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
27713         * nptl/sem_post.c: ... here.
27714         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
27715         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
27716         * nptl/sem_timedwait.c: ... here.
27717         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
27718         * nptl/sem_trywait.c: ... here.
27719         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
27720         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
27721         * nptl/sem_wait.c: ... here.
27722         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
27723         * nptl/structsem.sym: ... here.
27724         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
27725         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
27726         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
27727         * nptl/unregister-atfork.c: ... here.
27728         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
27729         * nptl/unwindbuf.sym: ... here.
27730         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
27731         * sysdeps/nptl/fork.c: ... here.
27732         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
27733         * sysdeps/nptl/fork.h: ... here.
27734         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
27735         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
27736         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
27737         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
27738         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
27739         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
27740         * sysdeps/unix/sysv/linux/getpid.c: ... here.
27741         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
27742         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
27743         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
27744         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
27745         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
27746         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
27747         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
27748         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
27749         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
27750         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
27751         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
27752         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
27753         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
27754         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
27755         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
27756         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
27757         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
27758         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
27759         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
27760         * sysdeps/unix/sysv/linux/raise.c: ... here.
27761         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
27762         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
27763         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
27764         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
27765         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
27766         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
27767         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
27768         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
27769         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
27770         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
27771         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
27772         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
27773         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
27774         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
27775         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
27777 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27779         * sysdeps/generic/memcopy.h: Add comment for
27780         MEMCPY_OK_FOR_FWD_MEMMOVE.
27782 2014-07-04  Will Newton  <will.newton@linaro.org>
27784         * string/memchr.c: Merge from gnulib.
27785         [_LIBC]: Remove conditionals.
27786         (__ptr_t): Remove define.
27787         (LONG_MAX_32_BITS): Likewise.
27788         (LONG_MAX): Likewise.
27789         (MEMCHR): Use ANSI prototype and optimize algorithm.
27791         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
27793 2014-07-03  Roland McGrath  <roland@hack.frob.com>
27795         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
27796         (lll_futex_timed_wait_bitset): Fix syscall argument count.
27798         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
27799         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
27800         in a bare environment with no <stdlib.h> installed.
27801         * sysdeps/nptl/configure: Regenerated.
27803         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
27805         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
27806         AC_EGREP_CPP for kernel header checks, so they only succeed if
27807         including <linux/version.h> actually works right.
27808         * sysdeps/unix/sysv/linux/configure: Regenerated.
27810         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
27811         value so it's not diagnosed as unused.
27813         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
27814         thing) with "ifeq ($(subdir),rt)".
27816 2014-07-03  Richard Henderson  <rth@redhat.com>
27818         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
27819         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
27820         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
27822         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
27823         (math_force_eval): New.
27825         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
27826         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
27828         * sysdeps/alpha/fpu/s_round.c: Remove file.
27829         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
27831         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
27832         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
27833         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
27834         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
27835         (_dl_start, print_statistics): Likewise.
27836         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
27837         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
27839         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27840         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27841         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27842         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27843         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
27844         (HP_SMALL_TIMING_AVAIL): Define.
27845         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27846         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
27847         (HP_SMALL_TIMING_AVAIL): Define.
27848         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27849         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27851         * sysdeps/aarch64/hp-timing.h: New file.
27853         * sysdeps/generic/hp-timing.h: Remove dead comment.
27854         * sysdeps/generic/hp-timing-common.h: New file.
27855         * sysdeps/alpha/hp-timing.h: Include it.
27856         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
27857         * sysdeps/i386/i686/hp-timing.h: Likewise.
27858         * sysdeps/ia64/hp-timing.h: Likewise.
27859         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27860         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27861         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27862         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27863         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
27864         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
27865         (hp_timing_t): New.
27867         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
27868         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
27869         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
27870         * elf/rtld.c (_dl_start_final): Likewise.
27871         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
27872         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27873         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27874         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27875         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27876         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
27877         (HP_TIMING_DIFF_INIT): Remove.
27878         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27879         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
27880         (HP_TIMING_DIFF_INIT): Remove.
27881         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27882         * sysdeps/i386/i686/hp-timing.c: Remove file.
27883         * sysdeps/x86_64/hp-timing.c: Remove file.
27884         * sysdeps/ia64/hp-timing.c: Remove file.
27885         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
27886         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
27887         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
27888         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
27890         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
27891         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
27892         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
27893         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27894         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
27895         (HP_TIMING_ACCUM): Remove.
27896         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27897         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
27898         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27900         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
27901         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
27902         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
27903         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
27904         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
27905         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
27906         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
27907         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
27909         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
27911 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
27913         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
27915 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27917         Sync up with gettext.
27918         * intl/loadmsgcat.c: Define O_BINARY if not defined.
27919         [_MSC_VER]: Include malloc.h
27920         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
27921         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
27922         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
27923         TEMP_FAILURE_RETRY.  Cast return of alloca.
27924         [!_LIBC] Call gl_rwlock_init.
27925         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
27927 2014-07-02  Roland McGrath  <roland@hack.frob.com>
27929         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
27930         before checking its value.
27932 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27934         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
27936         * debug/memcpy_chk.c: Don't include pagecopy.h.
27937         * debug/mempcpy_chk.c: Likewise.
27938         * string/memcpy.c: Likewise.
27939         * string/memmove.c: Likewise.
27940         * sysdeps/powerpc/memmove.c: Likewise.
27941         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
27942         definition of PAGE_COPY_FWD_MAYBE here...
27943         * sysdeps/generic/pagecopy.h: ... from here.
27944         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
27946 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27947             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27949         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
27950         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
27951         optimizations.
27952         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27953         (__libc_ifunc_impl_list): Likewise.
27954         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
27955         multiarch strcat for PPC64.
27956         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
27957         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
27959 2014-07-02  Roland McGrath  <roland@hack.frob.com>
27961         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
27963 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27965         * intl/loadmsgcat.c: Remove declaration of
27966         get_sysdep_segment_value.
27967         (get_sysdep_segment_value): Use ISO C style.
27968         (_nl_load_domain): Use ISO C style.  Get rid of redundant
27969         semicolon.  Fix typo and formatting in comment.
27970         (_nl_unload_domain): Use ISO C style.
27972         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
27974 2014-07-02  Will Newton  <will.newton@linaro.org>
27976         * malloc/obstack.c: Merge from gnulib master.
27977         [HAVE_CONFIG_H]: Remove conditional code.
27978         [!_LIBC]: Include config.h.
27979         [!ELIDE_CODE]: Don't include inttypes.h, include
27980         stdint.h unconditionally.
27981         (print_and_abort): Mark as _Noreturn.
27982         (_obstack_allocated_p): Mark as __attribute_pure__.
27983         (obstack_free): Rename to __obstack_free.
27984         [!__attribute__]: Remove conditional code.
27985         * malloc/obstack.h: Merge from gnulib master.
27986         [__cplusplus]: Move conditional down.
27987         [!__attribute_pure__]: Define __attribute_pure__ here
27988         if it is not already defined.
27989         (_obstack_memory_used): Mark as __attribute_pure__.
27990         [!__obstack_free]: Define as obstack_free.
27991         [__GNUC__]: Remove check for ancient NeXT gcc.
27993 2014-07-02  Will Newton  <will.newton@linaro.org>
27994             Paul Eggert  <eggert@cs.ucla.edu>
27996         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
27998 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28000         * resolv/gethnamaddr.c: Add comment warning that the file is
28001         not maintained.
28003 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
28005         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
28006         entries.
28008         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
28009         entry for aio_cancel and aio_cancel64.
28010         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
28011         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
28012         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
28013         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
28014         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
28015         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
28016         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
28017         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
28018         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
28019         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
28020         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
28021         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
28022         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
28024 2014-07-01  Roland McGrath  <roland@hack.frob.com>
28026         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
28027         * nptl/pthread_mutex_lock.c: Likewise.
28028         * nptl/pthread_mutex_timedlock.c: Likewise.
28029         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
28031 2014-07-01  Richard henderson  <rth@redhat.com>
28033         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
28034         (__isnan, __isnanl): Remove.
28035         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
28037         * sysdeps/alpha/fpu/libm-test-ulps: Update.
28039 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
28041         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28043 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28045         * resolv/nss_dns/dns-host.c (getanswer_r)
28046         [MULTI_PTRS_ARE_ALIASES]: Remove code.
28048 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
28050         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28051         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
28052         undefine.
28053         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
28054         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
28056 2014-07-01  Roland McGrath <roland@hack.frob.com>
28058         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
28059         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
28061         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
28062         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
28064         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
28065         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
28066         ... here.
28067         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
28068         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
28070         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
28071         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
28072         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
28073         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
28075         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
28076         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
28077         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
28078         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
28079         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
28080         Moved ...
28081         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
28082         ... here.
28083         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
28084         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
28085         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
28086         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
28087         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
28088         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
28089         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
28090         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
28091         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
28092         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
28093         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
28094         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
28095         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
28096         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
28097         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
28098         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
28099         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
28100         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
28101         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
28102         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
28103         ... here.
28104         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
28105         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
28106         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
28107         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
28108         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
28109         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
28110         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
28111         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
28113 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
28115         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
28116         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
28117         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
28118         Add sysdep.
28120 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28122         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28124 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
28126         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
28127         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28129         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28131         * sysdeps/arm/libm-test-ulps: Regenerated.
28133 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
28134             Roland McGrath <roland@hack.frob.com>
28136         * test-skeleton.c (signal_handler): Kill the whole process group
28137         before killing the child individually.
28138         (main): Report any failure on `setpgid'.
28140 2014-06-30  Roland McGrath  <roland@hack.frob.com>
28142         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
28143         from _TLS_H to _ARM_NPTL_TLS_H.
28144         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
28145         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
28147 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
28149         [BZ #16539]
28150         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
28151         (__expm1l): Return argument unchanged when small but not
28152         subnormal.
28154         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
28155         include macro name.
28156         (_FP_UNPACK_RAW_1_P): Likewise.
28157         (_FP_PACK_RAW_1): Likewise.
28158         (_FP_PACK_RAW_1_P): Likewise.
28159         (_FP_MUL_MEAT_1_wide): Likewise.
28160         (_FP_MUL_MEAT_DW_1_hard): Likewise.
28161         (_FP_MUL_MEAT_1_hard): Likewise.
28162         (_FP_DIV_MEAT_1_imm): Likewise.
28163         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
28164         (_FP_DIV_MEAT_1_udiv): Likewise.
28165         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
28166         (_FP_UNPACK_RAW_2): Likewise.
28167         (_FP_UNPACK_RAW_2_P): Likewise.
28168         (_FP_PACK_RAW_2): Likewise.
28169         (_FP_PACK_RAW_2_P): Likewise.
28170         (_FP_MUL_MEAT_DW_2_wide): Likewise.
28171         (_FP_MUL_MEAT_2_wide): Likewise.
28172         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
28173         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
28174         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
28175         (_FP_MUL_MEAT_2_gmp): Likewise.
28176         (_FP_DIV_MEAT_2_udiv): Likewise.
28177         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
28178         (_FP_FRAC_SRL_4): Likewise.
28179         (_FP_FRAC_SRST_4): Likewise.
28180         (_FP_FRAC_SRS_4): Likewise.
28181         (_FP_UNPACK_RAW_4): Likewise.
28182         (_FP_UNPACK_RAW_4_P): Likewise.
28183         (_FP_PACK_RAW_4): Likewise.
28184         (_FP_PACK_RAW_4_P): Likewise.
28185         (_FP_MUL_MEAT_DW_4_wide): Likewise.
28186         (_FP_MUL_MEAT_4_wide): Likewise.
28187         (_FP_MUL_MEAT_4_gmp): Likewise.
28188         (umul_ppppmnnn): Likewise.
28189         (_FP_DIV_MEAT_4_udiv): Likewise.
28190         (__FP_FRAC_ADD_4): Likewise.
28191         (__FP_FRAC_SUB_3): Likewise.
28192         (__FP_FRAC_SUB_4): Likewise.
28193         (__FP_FRAC_DEC_3): Likewise.
28194         (__FP_FRAC_DEC_4): Likewise.
28195         (__FP_FRAC_ADDI_4): Likewise.
28196         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
28197         (_FP_FRAC_SRL_8): Likewise.
28198         (_FP_FRAC_SRS_8): Likewise.
28200         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
28201         include macro name.
28202         (FP_UNPACK_RAW_EP): Likewise.
28203         (FP_PACK_RAW_E): Likewise.
28204         (FP_PACK_RAW_EP): Likewise.
28205         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
28206         (_FP_ISSIGNAN): Likewise.
28207         (_FP_ADD_INTERNAL): Likewise.
28208         (_FP_FMA): Likewise.
28209         (_FP_CMP): Likewise.
28210         (_FP_SQRT): Likewise.
28211         (_FP_TO_INT): Likewise.
28212         (_FP_FROM_INT): Likewise.
28213         (FP_EXTEND): Likewise.
28214         (_FP_DIV_MEAT_N_loop): Likewise.
28216 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
28218         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
28219         throughout.
28221 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
28223         [BZ #17097]
28224         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
28225         result with correct sign in case of exponents that produce
28226         overflow except for X very close to 1.
28228 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
28230         mktime: merge #if/#ifdef usage from glibc
28231         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
28232         as that works with both Glibc's and Gnulib's style.
28233         See thread starting at Siddhesh Poyarekar's bug report at:
28234         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
28236 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28238         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
28239         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
28240         * sysdeps/tile/tilegx/memmove.c: Remove file.
28242 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
28244         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
28245         abi-name definition.
28246         * scripts/soversions.awk: Do not handle or generate ABI lines.
28247         * shlib-versions: Remove ABI entries.
28248         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
28249         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
28251 2014-06-27  Roland McGrath  <roland@hack.frob.com>
28253         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
28254         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
28255         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
28256         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
28257         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
28258         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
28259         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
28260         Moved ...
28261         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
28262         ... here.
28263         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
28264         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
28265         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
28266         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
28267         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
28268         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
28269         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
28270         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
28271         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
28272         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
28273         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
28274         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
28275         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
28276         Moved ...
28277         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
28278         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
28279         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
28280         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
28281         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
28282         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
28283         Moved ...
28284         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
28285         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
28286         Moved ...
28287         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
28288         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
28289         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
28290         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
28291         Moved ...
28292         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
28293         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
28294         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
28295         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
28296         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
28297         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
28298         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
28299         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
28300         Moved ...
28301         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
28302         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
28303         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
28304         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
28305         Moved ...
28306         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
28307         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
28308         Moved ...
28309         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
28310         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
28311         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
28312         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
28313         Moved ...
28314         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
28315         ... here.
28316         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
28317         Identical file removed.
28318         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
28319         Moved ...
28320         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
28321         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
28322         Identical file removed.
28323         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
28324         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
28325         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
28326         Moved ...
28327         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
28328         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
28329         Identical file removed.
28330         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
28331         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
28332         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
28333         Identical file removed.
28334         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
28335         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
28336         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
28337         Identical file removed.
28338         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
28339         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
28340         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
28341         Identical file removed.
28342         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
28343         Moved ...
28344         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
28345         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
28346         Identical file removed.
28347         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
28348         Moved ...
28349         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
28350         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
28351         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
28352         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
28353         Identical file removed.
28354         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
28355         Moved ...
28356         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
28357         ... here.
28358         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
28359         Identical file removed.
28360         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
28361         Moved ...
28362         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
28363         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
28364         Identical file removed.
28365         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
28366         Moved ...
28367         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
28368         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
28369         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
28370         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
28371         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
28372         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
28373         Moved ...
28374         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
28375         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
28376         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
28378         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
28379         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
28380         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
28381         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
28382         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
28384 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
28386         [BZ #17092]
28387         * nscd/nscd.c (monitor_child): Return exit status of child
28388         instead of return value from wait syscall.
28390 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
28392         * configure.ac (libc_commonpagesize): Remove variable.
28393         (libc_relro_required): Likewise.
28394         (libc_cv_z_relro): Remove configure test.
28395         * configure: Regenerated.
28396         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
28397         variable.
28398         (libc_relro_required): Likewise.
28399         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
28400         (libc_relro_required): Likewise.
28401         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
28402         (libc_relro_required): Likewise.
28403         * sysdeps/arm/preconfigure: Regenerated.
28404         * sysdeps/ia64/preconfigure: Remove file.
28405         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
28406         variable.
28407         (libc_relro_required): Likewise.
28409         [BZ #16561]
28410         [BZ #16562]
28411         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
28412         (__ieee754_yn): Set FE_TONEAREST mode internally and then
28413         recompute overflowing results in original rounding mode.
28414         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
28415         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
28416         recompute overflowing results in original rounding mode.
28417         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
28418         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
28419         recompute overflowing results in original rounding mode.
28420         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
28421         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
28422         recompute overflowing results in original rounding mode.
28423         * sysdeps/ieee754/ldbl-96/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/i386/fpu/fenv_private.h [!__SSE2_MATH__]
28427         (libc_feholdsetround_ctx): New macro.
28428         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
28429         * sysdeps/i386/fpu/libm-test-ulps: Update.
28430         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
28432 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
28434         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
28435         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
28436         corresponding .cpsetup call.
28438 2014-06-26  Roland McGrath  <roland@hack.frob.com>
28440         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
28441         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
28442         * sysdeps/arm/Makefile [$(subdir) = csu]
28443         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
28444         (static-only-routines): Add aeabi_read_tp here.
28445         (shared-only-routines): Add libc-aeabi_read_tp here.
28446         (CFLAGS-libc-start.c): Add -fexceptions here.
28447         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
28448         (sysdep_routines, static-only-routines, shared-only-routines):
28449         Don't add to these here.
28450         (CFLAGS-libc-start.c): Likewise.
28452         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
28453         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
28454         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
28455         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
28456         * sysdeps/arm/Makefile [$(subdir) = rt]
28457         (librt-sysdep_routines, librt-shared-only-routines):
28458         Append rt-aeabi_unwind_cpp_pr1 here.
28459         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
28460         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
28461         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
28462         (libpthread-sysdep_routines, libpthread-shared-only-routines):
28463         Append nptl-aeabi_unwind_cpp_pr1 here.
28464         (tests): Filter out tst-cleanupx4 here.
28465         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
28466         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
28467         Don't do those here.
28469 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
28471         * scripts/list-sources.sh: Do not handle ports specially.
28473 2014-06-26  Roland McGrath  <roland@hack.frob.com>
28475         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
28476         * sysdeps/arm/feupdateenv.c: Likewise.
28478         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
28480 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
28482         * manual/texinfo.tex: Update to version 2014-05-05.10 with
28483         trailing whitespace removed.
28484         * scripts/config.guess: Update to version 2014-03-23.
28485         * scripts/config.sub: Update to version 2014-05-01
28486         * scripts/install-sh: Update to version 2013-12-25.23.
28487         * scripts/move-if-change: Update from gnulib.
28489 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28491         * debug/memmove_chk.c: Remove pagecopy.h include.
28493 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
28495         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
28496         identical to gnulib mktime.
28498 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
28500         * configure.ac: Do not test for machine being rs6000.  Do not test
28501         for powerpc*-*soft.
28502         * configure: Regenerated.
28504         [BZ #11505]
28505         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
28506         test.
28507         * configure: Regenerated.
28508         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
28509         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
28510         Remove configure test.
28511         * sysdeps/arm/configure: Regenerated.
28512         * sysdeps/nptl/configure.ac: Do not check
28513         libc_cv_asm_cfi_directives.
28514         * sysdeps/nptl/configure: Regenerated.
28515         * sysdeps/x86_64/nptl/configure.ac: Remove file.
28516         * sysdeps/x86_64/nptl/configure: Remove generated file.
28517         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
28518         unconditional.
28519         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
28521 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28523         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
28524         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
28525         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
28526         it is defined.
28528         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
28529         instead of whether it is defined.
28530         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
28531         * sysdeps/hppa/dl-machine.h: Likewise.
28532         * sysdeps/ia64/dl-machine.h: Likewise.
28533         * sysdeps/m68k/dl-machine.h: Likewise.
28534         * sysdeps/microblaze/dl-machine.h: Likewise.
28535         * sysdeps/mips/dl-machine.: Likewise.
28536         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28537         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28538         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28539         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28540         * sysdeps/sh/dl-machine.h: Likewise.
28541         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28542         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28543         * sysdeps/tile/dl-machine.h: Likewise.
28544         * sysdeps/x86_64/dl-machine.h: Likewise.
28546         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
28547         code.
28548         (verify_persistent_db): Likewise.
28550 2014-06-26  Roland McGrath  <roland@hack.frob.com>
28552         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
28553         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
28554         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
28555         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
28556         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
28557         Moved ...
28558         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
28559         ... here.
28560         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
28561         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
28562         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
28563         Identical file removed.
28564         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
28565         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
28566         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
28567         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
28568         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
28569         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
28570         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
28571         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
28572         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
28573         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
28574         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28575         Moved ...
28576         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
28577         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
28578         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
28579         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
28580         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
28581         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
28582         Moved ...
28583         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
28584         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
28585         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
28586         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
28587         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
28588         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
28589         Identical file removed.
28590         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
28591         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
28592         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
28593         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
28594         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
28595         Moved ...
28596         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
28597         ... here.
28598         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
28599         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
28600         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
28601         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
28602         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
28603         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
28604         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
28605         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
28606         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
28607         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
28608         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28609         Moved ...
28610         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
28611         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
28612         Moved ...
28613         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
28614         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
28615         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
28616         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
28617         Moved ...
28618         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
28619         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
28620         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
28622         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
28623         folded into ...
28624         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
28625         * sysdeps/unix/sysv/linux/s390/Versions
28626         (libpthread: GLIBC_2.19): New version set.
28627         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
28628         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
28629         (librt: GLIBC_2.3.3): New version set.
28630         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
28631         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
28632         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
28633         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
28634         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
28635         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
28636         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
28637         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
28638         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
28639         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
28640         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
28641         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
28642         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
28643         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
28644         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
28645         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
28646         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
28647         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
28648         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
28649         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
28650         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
28651         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
28652         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
28653         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
28654         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
28655         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
28656         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
28657         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
28658         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
28659         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
28660         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
28661         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
28662         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
28663         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
28664         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
28665         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
28666         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
28667         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
28668         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
28669         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
28670         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
28671         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
28672         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
28673         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
28674         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
28676         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
28677         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
28678         (__libc_vfork): Define the function under this name.
28679         [!NOT_IN_libc] (__vfork): Make this an alias.
28680         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
28681         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
28682         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
28683         (__libc_vfork): Define the function under this name.
28684         [!NOT_IN_libc] (__vfork): Make this an alias.
28685         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
28686         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
28687         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
28688         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
28689         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
28690         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
28692         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
28693         code that was previously under [RESET_PID].
28694         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
28695         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
28696         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
28698         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
28699         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
28700         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
28701         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
28702         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
28703         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
28704         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
28705         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
28706         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
28707         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
28708         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
28709         Moved ...
28710         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
28711         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
28712         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
28713         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
28714         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
28715         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
28716         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
28717         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
28718         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
28719         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
28720         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
28721         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
28722         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
28723         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
28724         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
28725         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
28726         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
28727         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
28728         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
28729         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
28730         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
28731         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
28732         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
28733         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
28734         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
28735         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
28736         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
28737         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
28738         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
28740 2014-06-25  Roland McGrath  <roland@hack.frob.com>
28742         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
28743         that was previously under [RESET_PID].
28744         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
28746 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
28748         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
28749         not undefine and redefine.
28750         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
28751         [O_CLOEXEC]: Make code unconditional.
28752         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
28753         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
28754         <kernel-features.h>.
28755         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
28756         conditional variable definition.
28757         (shm_open) [O_CLOEXEC]: Make code unconditional.
28758         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
28759         code.
28761         * configure.ac (USE_REGPARMS): Don't define here.
28762         * configure: Regenerated.
28763         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
28764         * sysdeps/i386/configure: Regenerated.
28766         * nptl/createthread.c: Don't include kernel-features.h.
28767         * nptl/pthread_cancel.c: Likewise.
28768         * nptl/pthread_condattr_setclock.c: Likewise.
28769         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
28770         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
28771         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
28772         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
28773         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
28774         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
28775         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
28776         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
28777         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
28778         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
28779         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
28780         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
28781         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
28782         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
28783         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
28784         * nscd/gai.c: Likewise.
28785         * nss/nss_db/db-open.c: Likewise.
28786         * sysdeps/generic/ldsodefs.h: Likewise.
28787         * sysdeps/sh/nptl/tls.h: Likewise.
28788         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
28789         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
28790         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
28791         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
28792         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
28793         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
28794         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
28795         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28796         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28797         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
28798         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
28799         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28800         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
28801         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
28802         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
28803         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
28804         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
28805         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
28806         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
28807         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
28808         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
28809         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
28810         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
28811         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
28812         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
28813         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
28814         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
28815         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
28816         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
28817         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
28818         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
28819         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
28820         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
28821         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
28822         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28823         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
28824         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
28825         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
28826         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
28827         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
28828         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
28829         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
28830         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
28831         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28832         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
28833         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
28834         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
28835         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
28836         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
28837         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
28838         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
28839         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
28840         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
28841         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
28842         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
28843         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28844         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
28845         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
28846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
28847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
28848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
28849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
28850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
28851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
28852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
28853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
28854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
28855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
28856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
28857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
28858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
28859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
28860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
28861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
28866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
28867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
28868         * sysdeps/unix/sysv/linux/pread.c: Likewise.
28869         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
28870         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
28871         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
28872         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
28873         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
28874         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
28875         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
28876         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
28877         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
28878         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
28879         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
28880         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
28881         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
28882         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
28883         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
28884         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
28885         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
28886         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
28887         * sysdeps/unix/sysv/linux/system.c: Likewise.
28888         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
28889         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
28890         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28891         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28892         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28893         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
28894         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
28896         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
28897         * configure: Regenerated.
28898         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
28900         * configure.ac (base_machine): Do not set specially for particular
28901         machines here.
28902         * configure: Regenerated.
28903         * sysdeps/powerpc/preconfigure: Move machine and base_machine
28904         settings from configure.ac.
28905         * sysdeps/i386/preconfigure: New file.
28906         * sysdeps/s390/preconfigure: Likewise.
28907         * sysdeps/sh/preconfigure: Likewise.
28908         * sysdeps/sparc/preconfigure: Likewise.
28910 2014-06-25  Roland McGrath  <roland@hack.frob.com>
28912         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
28913         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
28914         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
28915         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
28916         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
28917         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
28918         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
28919         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
28920         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
28921         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
28922         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
28923         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
28924         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
28925         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
28926         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
28927         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
28928         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
28929         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
28930         * sysdeps/sparc/sparc64/Makefile: ... appended here.
28932         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
28933         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
28934         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
28935         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
28936         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
28937         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
28938         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
28939         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
28940         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
28941         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
28942         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
28943         * sysdeps/sparc/sparc32/sem_post.c: ... here.
28944         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
28945         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
28946         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
28947         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
28948         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
28949         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
28950         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
28951         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
28952         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
28953         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
28954         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
28955         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
28956         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
28957         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
28958         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
28959         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
28960         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
28961         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
28962         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
28963         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
28964         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
28965         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
28966         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
28967         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
28968         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
28969         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
28971         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
28972         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
28973         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
28974         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
28975         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
28976         Moved ...
28977         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
28978         ... here.
28979         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
28980         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
28981         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
28982         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
28983         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
28984         Moved ...
28985         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
28986         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
28987         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
28988         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
28989         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
28990         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
28991         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
28992         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28993         Moved ...
28994         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
28995         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
28996         Moved ...
28997         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
28998         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
28999         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
29000         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
29001         Moved ...
29002         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
29003         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
29004         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
29005         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
29006         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
29007         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
29008         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
29009         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
29010         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
29011         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
29012         Moved ...
29013         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
29014         ... here.
29015         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
29016         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
29017         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
29018         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
29019         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
29020         Moved ...
29021         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
29022         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
29023         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
29024         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
29025         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
29026         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
29027         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
29028         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
29029         Moved ...
29030         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
29031         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
29032         Moved ...
29033         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
29034         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
29035         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
29036         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
29037         Moved ...
29038         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
29039         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
29040         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
29041         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
29042         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
29044 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
29046         * timezone/checktab.awk: Update from tzcode 2014e.
29047         * timezone/private.h: Likewise.
29048         * timezone/tzfile.h: Likewise.
29049         * timezone/zdump.c: Likewise.
29050         * timezone/zic.c: Likewise.
29052         * sysdeps/unix/sysv/linux/kernel-features.h
29053         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
29054         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
29055         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
29056         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29057         Remove conditional code.
29059 2014-06-25  Will Newton  <will.newton@linaro.org>
29061         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
29062         (_dl_arm_cap_flags): Add HWCAP2 values.
29063         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
29064         (_DL_HWCAP_COUNT): Increase to 37.
29065         (_DL_HWCAP_LAST): New define.
29066         (_DL_HWCAP2_LAST): New define.
29067         (_dl_procinfo): Add support for printing
29068         AT_HWCAP2 entries.
29069         (_dl_string_hwcap): Use _dl_hwcap_string.
29071 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29073         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29075 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
29077         * README: Do not mention ports directory.
29079         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
29080         Remove macro.
29081         * sysdeps/unix/sysv/linux/futimes.c: Do not include
29082         <kernel-features.h>.
29083         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
29084         conditional variable definition.
29085         (__futimes): Update comment.
29086         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
29087         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
29089         [BZ #16560]
29090         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
29091         arguments close to 0.
29092         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
29093         Likewise.
29094         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
29095         Likewise.
29096         * math/auto-libm-test-in: Add more tests of exp10.
29097         * math/auto-libm-test-out: Regenerated.
29098         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29100         * sysdeps/unix/sysv/linux/kernel-features.h
29101         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
29102         * sysdeps/unix/sysv/linux/readv.c: Do not include
29103         <kernel-features.h>.
29104         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
29105         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
29106         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
29107         unconditional.
29108         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
29109         conditional code.
29110         * sysdeps/unix/sysv/linux/writev.c: Do not include
29111         <kernel-features.h>.
29112         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
29113         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
29114         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
29115         unconditional.
29116         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
29117         conditional code.
29119 2014-06-25  Will Newton  <will.newton@linaro.org>
29121         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
29122         comment changes throughout the file.  Remove checks
29123         for HAVE_*_H definitions that are not required.
29124         (__gen_tempname): Call abort if an unknown kind value is
29125         passed.
29127 2014-06-25  Andreas Schwab  <schwab@suse.de>
29129         [BZ #17086]
29130         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
29131         scalbln, scalblnf, scalblnl in libc.
29133 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29135         [BZ #17086]
29136         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
29137         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
29138         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
29140 2014-06-24  Roland McGrath  <roland@hack.frob.com>
29142         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
29143         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
29144         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
29145         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
29146         Update #include.
29147         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
29148         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
29149         Update #include.
29150         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
29151         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
29152         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
29153         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
29154         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
29155         * sysdeps/x86/bits/pthreadtypes.h: ... here.
29156         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
29157         * sysdeps/x86/bits/semaphore.h: ... here.
29158         * sysdeps/x86/nptl/elide.h: Moved ...
29159         * sysdeps/x86/elide.h: ... here.
29160         * sysdeps/x86_64/nptl/Implies: File removed.
29161         * sysdeps/i386/nptl/Implies: File removed.
29163 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
29165         [BZ #16539]
29166         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
29167         return the argument for normal arguments with exponent below -64.
29168         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
29169         Likewise.
29170         * math/auto-libm-test-in: Add another test of expm1.
29171         * math/auto-libm-test-out: Regenerated.
29173         [BZ #16287]
29174         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
29175         calling __erfcl for arguments at least 16.
29176         * math/auto-libm-test-in: Add more tests of erf.
29177         * math/auto-libm-test-out: Regenerated.
29179         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
29180         individual architectures.
29181         * sysdeps/unix/sysv/linux/configure: Regenerated.
29182         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
29183         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
29184         * sysdeps/unix/sysv/linux/powerpc/configure.ac
29185         (ldd_rewrite_script): Define variable.
29186         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
29188         file.
29189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
29190         generated file.
29191         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
29192         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
29193         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
29194         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
29195         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
29196         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
29197         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
29198         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
29200 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29202         [BZ #17084]
29203         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
29204         Rename member __data.d to __data.__elision_data.
29206 2014-06-24  Wilco  <wdijkstr@arm.com>
29208         * NEWS: Add 16918 to fixed bug list.
29210 2014-06-24  Wilco  <wdijkstr@arm.com>
29212         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
29214 2014-06-24  Wilco  <wdijkstr@arm.com>
29216         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
29217         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
29218         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
29219         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
29220         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
29221         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
29222         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
29223         Use _FPU_MASK_RM.
29225 2014-06-24  Wilco  <wdijkstr@arm.com>
29227         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
29229 2014-06-24  Wilco  <wdijkstr@arm.com>
29231         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
29232         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
29233         * sysdeps/arm/fesetround.c (fesetround): Remove space.
29234         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
29236 2014-06-24  Wilco  <wdijkstr@arm.com>
29238         [BZ #16918]
29239         * sysdeps/arm/feupdateenv.c (feupdateenv):
29240         Rewrite to reduce FPSCR accesses and fix return value.
29242 2014-06-24  Wilco  <wdijkstr@arm.com>
29244         * sysdeps/arm/fclrexcpt.c (feclearexcept):
29245         Optimize to avoid unnecessary FPSCR writes.
29246         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
29247         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
29248         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
29249         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
29251 2014-06-24  Wilco  <wdijkstr@arm.com>
29253         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
29254         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
29255         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
29256         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
29257         Call libc_fetestexcept_vfp.
29258         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
29259         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
29260         __SOFTFP__ ifdef so that they can be built for softfp.
29262 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29264         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
29265         argument type signed char.
29267         * Makerules (check-abi): Dump diff of symlist if the test
29268         fails.
29270 2014-06-23  Roland McGrath  <roland@hack.frob.com>
29272         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
29273         using abort.
29275         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
29276         Remove unused variable ST.
29278 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
29280         [BZ #16354]
29281         [BZ #17061]
29282         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
29283         small arguments before calling __expm1.
29284         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
29285         small arguments before calling __expm1f.
29286         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
29287         small arguments before calling __expm1l.
29288         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
29289         Likewise.
29290         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
29291         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
29292         spurious underflow for some cosh tests.
29293         * math/auto-libm-test-out: Regenerated.
29294         * sysdeps/i386/fpu/libm-test-ulps: Update.
29296         [BZ #17050]
29297         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
29298         (__ieee754_y1): Set errno if return value overflows.
29299         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
29300         (__ieee754_y1f): Set errno if return value overflows.
29301         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
29302         (__ieee754_y1l): Set errno if return value overflows.
29303         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
29304         (__ieee754_y1l): Set errno if return value overflows.
29305         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
29306         * math/auto-libm-test-out: Regenerated.
29308         * math/gen-auto-libm-tests.c: Document use of
29309         ignore-zero-inf-sign.
29310         (input_flag_type): Add value flag_ignore_zero_inf_sign.
29311         (input_flags): Add ignore-zero-inf-sign.
29312         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
29313         * math/gen-libm-test.pl (generate_testfile): Handle
29314         ignore-zero-inf-sign.
29315         * math/auto-libm-test-in: Mark some cpow tests with
29316         ignore-zero-inf-sign and some with xfail-rounding.
29317         * math/auto-libm-test-out: Regenerated.
29318         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
29319         * sysdeps/i386/fpu/libm-test-ulps: Update.
29320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29322         [BZ #16315]
29323         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
29324         overflowing or underflowing operations take place with sign of
29325         result.
29326         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29327         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
29328         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
29329         (__ieee754_pow): Recompute overflowing and underflowing results in
29330         original rounding mode.
29331         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
29332         (__powl_helper): Allow negative argument X and scale negated value
29333         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
29334         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
29335         overflowing or underflowing operations take place with sign of
29336         result.
29337         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
29338         Include <math.h>.
29339         * math/auto-libm-test-in: Add more tests of pow.
29340         * math/auto-libm-test-out: Regenerated.
29341         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
29342         (pow_tonearest_test_data): Remove.
29343         (pow_test_tonearest): Likewise.
29344         (pow_towardzero_test_data): Likewise.
29345         (pow_test_towardzero): Likewise.
29346         (pow_downward_test_data): Likewise.
29347         (pow_test_downward): Likewise.
29348         (pow_upward_test_data): Likewise.
29349         (pow_test_upward): Likewise.
29350         (main): Don't call removed functions.
29351         * sysdeps/i386/fpu/libm-test-ulps: Update.
29352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29354 2014-06-23  Roland McGrath  <roland@hack.frob.com>
29356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
29357         Moved ...
29358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
29359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29360         Moved ...
29361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
29362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
29363         Moved ...
29364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
29365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29366         Moved ...
29367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
29368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29369         File removed.
29370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
29371         File removed.
29372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
29373         File removed.
29374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
29375         File removed.
29376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
29377         File removed.
29378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
29379         File removed.
29380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
29381         File removed.
29382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
29383         File removed.
29384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
29385         File removed.
29386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
29387         File removed.
29388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
29389         File removed.
29390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
29391         File removed.
29392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
29393         Moved ...
29394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
29395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
29396         Moved ...
29397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
29398         ... here.
29399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
29400         Moved ...
29401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
29402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
29403         Moved ...
29404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
29405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
29406         Moved ...
29407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
29408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
29409         Moved ...
29410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
29411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
29412         Moved ...
29413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
29414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
29415         Moved ...
29416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
29417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
29418         Moved ...
29419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
29420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
29421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
29422         ... here.
29423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
29424         Moved ...
29425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
29426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
29427         Moved ...
29428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
29429         ... here.
29430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
29431         Moved ...
29432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29433         ... here.
29434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
29435         Moved ...
29436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
29437         ... here.
29438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29439         Moved ...
29440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
29441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
29442         Moved ...
29443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
29444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
29445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
29446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
29447         Moved ...
29448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
29449         ... here.
29450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
29451         Moved ...
29452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
29453         ... here.
29454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
29455         Moved ...
29456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
29457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
29458         Moved ...
29459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
29460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
29461         Moved ...
29462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
29463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29464         Moved ...
29465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
29466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
29467         Moved ...
29468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
29469         ... here.
29470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
29471         Moved ...
29472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
29473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
29474         Moved ...
29475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
29476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
29477         Moved ...
29478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
29479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
29480         Moved ...
29481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
29482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
29483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
29484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
29485         Moved ...
29486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
29487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
29488         Moved ...
29489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
29490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
29491         Moved ...
29492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
29493         ... here.
29494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29495         Moved ...
29496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
29497         ... here.
29498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
29499         Moved ...
29500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
29501         ... here.
29502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
29503         Moved ...
29504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
29505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
29506         Moved ...
29507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
29508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
29509         Moved ...
29510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
29511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
29512         Moved ...
29513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
29514         ... here.
29515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
29516         Moved ...
29517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
29518         ... here.
29519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
29520         Moved ...
29521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
29522         ... here.
29523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
29524         Moved ...
29525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
29526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29527         Moved ...
29528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
29530 2014-06-23  Will Newton  <will.newton@linaro.org>
29531             Wilco  <wdijkstr@arm.com>
29533         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
29534         implementation.  Include get-rounding-mode.h.
29535         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
29536         [!libc_feholdsetround_noex_ctx]: Define
29537         libc_feholdsetround_noex_ctx.
29538         [!libc_feholdsetround_noexf_ctx]: Define
29539         libc_feholdsetround_noexf_ctx.
29540         [!libc_feholdsetround_noexl_ctx]: Define
29541         libc_feholdsetround_noexl_ctx.
29542         (libc_feholdsetround_ctx): New function.
29543         (libc_feresetround_ctx): New function.
29544         (libc_feholdsetround_noex_ctx): New function.
29545         (libc_feresetround_noex_ctx): New function.
29547 2014-06-23  Roland McGrath  <roland@hack.frob.com>
29549         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
29550         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
29551         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
29552         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
29553         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
29554         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
29556         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
29557         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
29558         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
29559         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
29560         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
29561         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
29562         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
29563         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
29564         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
29565         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
29566         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
29567         Moved ...
29568         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
29569         ... here.
29570         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
29571         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
29572         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
29573         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
29574         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
29575         Moved ...
29576         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
29577         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
29578         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
29579         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
29580         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
29581         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
29582         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
29583         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
29584         Moved ...
29585         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
29586         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
29587         Moved ...
29588         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
29589         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
29590         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
29591         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
29592         Moved ...
29593         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
29594         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
29595         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
29596         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
29597         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
29598         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
29599         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
29600         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
29601         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
29602         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
29603         Moved ...
29604         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
29605         ... here.
29606         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
29607         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
29608         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
29609         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
29610         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
29611         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
29612         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
29613         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
29614         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
29615         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
29616         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
29617         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
29618         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
29619         Moved ...
29620         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
29621         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
29622         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
29623         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
29624         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
29625         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
29626         Moved ...
29627         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
29628         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
29629         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
29630         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
29631         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
29633         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
29634         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
29635         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
29636         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
29637         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
29638         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
29639         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
29640         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
29641         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
29642         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
29643         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
29644         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
29645         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
29646         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
29647         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
29648         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
29649         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
29650         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
29651         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
29652         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
29653         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
29654         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
29655         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
29656         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
29657         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
29658         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
29659         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
29660         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
29662 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
29664         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
29665         (FALLOC_FL_COLLAPSE_RANGE): New macro.
29666         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
29667         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
29668         (IPV6_PMTUDISC_INTERFACE): Likewise.
29669         (IPV6_PMTUDISC_OMIT): Likewise.
29671 2014-06-23  Andreas Schwab  <schwab@suse.de>
29673         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
29674         Remove unused errout label.
29676 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29678         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
29679         macro: hardware supports Vector Crypto instructions.
29681 2014-06-23  Will Newton  <will.newton@linaro.org>
29683         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
29684         rather than __builtin_expect.
29686         * elf/dl-lookup.c (undefined_msg): Remove variable.
29687         (_dl_lookup_symbol_x): Replace undefined_msg with string
29688         literal.
29690         * elf/dl-lookup.c (do_lookup_unique): New function.
29691         (do_lookup_x): Move STB_GNU_UNIQUE handling code
29692         to a separate function.
29694 2014-06-23  Andreas Schwab  <schwab@suse.de>
29696         [BZ #17079]
29697         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
29698         before reading the next line.
29700 2014-06-23  Will Newton  <will.newton@linaro.org>
29702         * test-skeleton.c (signal_handler): Use printf and %m
29703         rather than perror.  Use printf rather than fprintf to
29704         stderr.  Use puts rather than fputs to stderr.
29705         (main): Likewise.
29707 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
29709         * nscd/nscd.c (thread_info_t): Remove typedef.
29710         (thread_info): Remove variable.
29712 2014-06-21  Allan McRae  <allan@archlinux.org>
29714         * NEWS: Mention CVE-2014-4043.
29716 2014-06-20  Roland McGrath  <roland@hack.frob.com>
29718         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
29719         * nptl/smp.h: ... here.
29721         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
29723         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
29724         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
29725         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
29726         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
29728         * nptl/allocatestack.c: Include <stack-aliasing.h>.
29729         * nptl/stack-aliasing.h: New file.
29730         * sysdeps/i386/i686/stack-aliasing.h: New file.
29731         * sysdeps/i386/i686/nptl/Makefile: File removed.
29732         * sysdeps/x86_64/stack-aliasing.h: New file.
29733         * sysdeps/x86_64/nptl/Makefile
29734         (CFLAGS-pthread_create.c): Variable removed.
29736         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
29737         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
29738         old file.
29739         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
29740         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
29741         old file.
29743 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
29745         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29746         (__ASSUME_SIGFRAME_V2): Remove macro.
29747         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
29748         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
29749         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
29750         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
29751         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
29752         Declare as function.  Remove conditional macro definitions.
29753         (__default_rt_sa_restorer): Likewise.
29754         (__default_sa_restorer_v1): Remove declaration.
29755         (__default_sa_restorer_v2): Likewise.
29756         (__default_rt_sa_restorer_v1): Likewise.
29757         (__default_rt_sa_restorer_v2): Likewise.
29758         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
29759         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
29760         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
29762 2014-06-20  Roland McGrath  <roland@hack.frob.com>
29764         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
29765         (libpthread-routines): Add sysdep.
29766         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
29767         * sysdeps/unix/sysv/linux/sparc/Versions
29768         (libpthread: GLIBC_2.3.3): New version set.
29769         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
29770         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
29771         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
29772         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
29773         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
29774         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
29775         Moved ...
29776         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
29777         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
29778         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
29779         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
29780         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
29781         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
29782         * sysdeps/sparc/nptl/sem_init.c: ... here.
29783         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
29784         * sysdeps/sparc/nptl/sem_post.c: ... here.
29785         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
29786         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
29787         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
29788         * sysdeps/sparc/nptl/sem_wait.c: ... here.
29789         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
29790         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
29791         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
29792         (libpthread-routines): Add cpu_relax.
29793         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
29794         File removed.
29795         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
29796         (librt: GLIBC_2.3.3): New version set.
29797         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
29798         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
29799         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
29800         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
29801         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
29802         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
29803         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
29804         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
29805         Moved ...
29806         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
29807         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
29808         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
29809         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
29810         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
29811         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
29812         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
29813         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
29814         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
29815         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
29816         Moved ...
29817         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
29818         Update #include.
29819         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
29820         Moved ...
29821         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
29822         Update #include.
29823         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
29824         Moved ...
29825         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
29826         Update #include.
29827         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
29828         Moved ...
29829         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
29830         Update #include.
29831         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
29832         Moved ...
29833         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
29834         Update #include.
29835         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
29836         Moved ...
29837         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
29838         Update #include.
29839         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
29840         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
29841         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
29842         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
29843         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
29844         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
29845         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
29846         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
29847         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
29848         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
29849         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
29850         Moved ...
29851         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
29852         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
29853         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
29854         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
29855         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
29857 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
29859         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
29860         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
29861         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
29862         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
29863         * nscd/nscd.c: Likewise.
29864         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
29865         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
29866         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
29867         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
29869         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
29870         <kernel-features.h>.
29871         (init_mq_netlink): Remove conditional have_sock_cloexec
29872         definitions.  Remove code conditional on have_sock_cloexec < 0.
29873         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
29874         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
29875         * sysdeps/unix/sysv/linux/opensock.c: Do not include
29876         <kernel-features.h>.
29877         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
29878         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
29880 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
29882         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29883         Add tests for memset_chk and memset.
29885         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
29886         with AVX2_Usable.
29888 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
29890         [BZ #16046]
29891         * elf/tst-dl-iter-static.c: New file.
29892         * elf/Makefile (tests-static): Add tst-dl-iter-static.
29894         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
29895         error.
29897 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
29899         * sysdeps/unix/sysv/linux/kernel-features.h
29900         (__ASSUME_F_GETOWN_EX): Remove macro.
29901         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
29902         <kernel-features.h>.
29903         (miss_F_GETOWN_EX): Remove variable or macro.
29904         (do_fcntl): Do not check miss_F_GETOWN_EX.
29905         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
29907         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
29908         Remove macro.
29909         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
29910         [!__ASSUME_AT_RANDOM]: Remove conditional code.
29911         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
29913         * sysdeps/unix/sysv/linux/kernel-features.h
29914         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
29915         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
29916         [ADJ_OFFSET_SS_READ]: Make code unconditional.
29917         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
29919 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
29921         [BZ #17075]
29922         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
29923         Fix calculation of the symbol's value.
29924         * sysdeps/arm/tst-armtlsdescloc.c: New file.
29925         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
29926         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
29927         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
29928         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
29929         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
29930         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
29931         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
29932         (modules-names): Add `tst-armtlsdescmod',
29933         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
29934         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
29935         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
29936         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
29937         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
29938         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
29939         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
29940         ($(objpfx)tst-armtlsdescloc): New dependency.
29941         ($(objpfx)tst-armtlsdescextnow): Likewise.
29942         ($(objpfx)tst-armtlsdescextlazy): Likewise.
29943         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
29944         TLS scheme support.
29945         * sysdeps/arm/configure: Regenerate.
29947 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
29949         * include/fcntl.h (__atfct_seterrno): Remove prototype.
29950         (__atfct_seterrno_2): Likewise.
29951         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
29952         <kernel-features.h>.
29953         (__ASSUME_ATFCTS): Do not undefine and redefine.
29954         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
29955         (__have_atfcts): Remove conditional definition.
29956         (__fxstatat([__NR_fstatat64]: Make code unconditional.
29957         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
29958         unreachable if [__ASSUME_ATFCTS].
29959         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
29960         not undefine and redefine.
29961         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
29962         <kernel-features.h>.
29963         (faccessat) [__NR_faccessat]: Make code unconditional.
29964         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
29965         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
29966         <kernel-features.h>.
29967         (fchmodat) [__NR_fchmodat]: Make code unconditional.
29968         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
29969         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
29970         <kernel-features.h>.
29971         (fchownat) [__NR_fchownat]: Make code unconditional.
29972         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
29973         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
29974         <kernel-features.h>.
29975         (futimesat) [__NR_futimesat]: Make code unconditional.
29976         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
29977         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
29978         <kernel-features.h>.
29979         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
29980         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
29981         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
29982         <kernel-features.h>.
29983         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
29984         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
29985         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
29986         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
29987         <kernel-features.h>.
29988         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
29989         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
29990         * sysdeps/unix/sysv/linux/linkat.c: Do not include
29991         <kernel-features.h>.
29992         (linkat) [__NR_linkat]: Make code unconditional.
29993         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
29994         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
29995         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
29996         <kernel-features.h>.
29997         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
29998         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
29999         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
30000         <kernel-features.h>.
30001         (mkdirat) [__NR_mkdirat]: Make code unconditional.
30002         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
30003         * sysdeps/unix/sysv/linux/openat.c: Do not include
30004         <kernel-features.h>.
30005         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
30006         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
30007         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
30008         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
30009         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
30010         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
30011         <kernel-features.h>.
30012         (readlinkat) [__NR_readlinkat]: Make code unconditional.
30013         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
30014         result of INLINE_SYSCALL directly, not via int variable.
30015         * sysdeps/unix/sysv/linux/renameat.c: Do not include
30016         <kernel-features.h>.
30017         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
30018         (renameat) [__NR_renameat]: Make code unconditional.
30019         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
30020         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
30021         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
30022         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
30023         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
30024         (__ASSUME_ATFCTS): Do not undefine and redefine.
30025         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
30026         <kernel-features.h>.
30027         (symlinkat) [__NR_symlinkat]: Make code unconditional.
30028         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30029         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
30030         <kernel-features.h>.
30031         (unlinkat) [__NR_unlinkat]: Make code unconditional.
30032         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30033         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
30034         (__ASSUME_ATFCTS): Do not undefine and redefine.
30035         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30036         <kernel-features.h>.
30037         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
30038         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
30039         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30040         <kernel-features.h>.
30041         (__xmknodat) [__NR_mknodat]: Make code unconditional.
30042         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
30044 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
30046         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
30048 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
30050         [BZ #17069]
30051         * posix/regcomp.c (parse_reg_exp): Deallocate partially
30052         constructed tree before returning error.
30053         * posix/bug-regexp36.c: Expand test case.
30055 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
30057         [BZ #6803]
30058         * math/libm-test.inc (scalbln_test_date):
30059         Add errno expectations.
30060         * math/w_scalblnf.c: New File.
30061         Add wrapper which checks for setting errno to ERANGE.
30062         Add weak_alias for corresponding scalbln function.
30063         * math/w_scalbln.c: Likewise.
30064         * math/w_scalblnl.c: Likewise.
30065         * math/Makefile (libm-calls): Add w_scalbln.
30066         * sysdeps/ieee754/flt-32/s_scalblnf.c:
30067         Remove weak_alias for corresponding scalbln function.
30068         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30069         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
30070         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30071         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30072         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
30073         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
30074         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
30075         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
30076         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
30077         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
30078         Remove long_double_symbol for scalblnl function in libm, libc.
30079         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
30080         Add wrapper which checks for setting errno to ERANGE.
30081         Add long_double_symbol for scalblnl function in libm, libc.
30082         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
30083         Remove long_double_symbol for scalblnl in libm.
30084         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
30085         Add wrapper which checks for setting errno to ERANGE.
30086         Add long_double_symbol for scalblnl function in libm.
30087         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
30088         Do not use wrapper because of own implementation.
30090 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
30092         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
30093         3 bytes for __pad1 for x32.
30094         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
30096 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
30097             H.J. Lu  <hongjiu.lu@intel.com>
30099         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
30100         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
30101         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30102         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30103         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
30105 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
30107         [BZ #17069]
30108         * posix/regcomp.c (parse_expression): Deallocate partially
30109         constructed tree before returning error.
30110         * posix/Makefile.c (tests): Add bug-regex36.
30111         (generated): Add bug-regex36.mtrace.
30112         (tests-special): Add $(objpfx)bug-regex36-mem.out
30113         (bug-regex36-ENV): New variable.
30114         ($(objpfx)bug-regex36-mem.out): New rule.
30115         * posix/bug-regex36.c: New file.
30117 2014-06-19  Will Newton  <will.newton@linaro.org>
30119         * malloc/malloc.c (systrim): If extra is zero then return
30120         early.
30122 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30124         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
30126 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
30128         * sysdeps/aarch64/strchr.S: New file.
30130 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
30132         [BZ #17022]
30133         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
30134         from arguments -2 or below.
30135         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
30136         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
30138 2014-06-18  Andreas Schwab  <schwab@suse.de>
30140         [BZ #17062]
30141         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
30142         of a bracket expr not to run off the end of the string.
30143         * posix/Makefile (tests): Add tst-fnmatch3.
30144         * posix/tst-fnmatch3.c: New file.
30146 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
30148         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
30149         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
30150         [$(cross-compiling) = no]: Likewise.
30151         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
30152         [$(cross-compiling) = no]: Likewise.
30154 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30156         [BZ #17031]
30157         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
30158         double, adjusted for any remainder from the high double.
30159         * math/libm-test.inc (nearbyint): Add tests.
30160         (rint): Likewise.
30162 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30164         * nptl/sysdeps/powerpc/Makefile: Moved ...
30165         * sysdeps/powerpc/nptl/Makefile: ... here.
30166         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
30167         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
30168         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
30169         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
30170         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
30171         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
30172         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
30173         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
30174         * nptl/sysdeps/powerpc/tls.h: Moved ...
30175         * sysdeps/powerpc/nptl/tls.h: ... here.
30177 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
30179         [BZ #16681]
30180         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
30181         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
30182         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
30183         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
30184         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
30185         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
30186         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
30187         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
30188         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
30190 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
30192         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
30194 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
30196         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
30197         defined operator.
30199         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
30200         $TIMEOUTFACTOR.
30202 2014-06-16  Florian Weimer  <fweimer@redhat.com>
30204         [BZ #17058]
30205         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
30206         non-executed part of the test.
30208 2014-06-16  Andreas Schwab  <schwab@suse.de>
30210         * string/bits/string2.h (strdup, strndup): Update feature guard.
30212 2014-06-14  David S. Miller  <davem@davemloft.net>
30214         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30216 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
30218         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
30219         that was previously under [RESET_PID].
30220         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
30222         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
30223         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
30224         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
30225         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30226         (__libc_vfork): New strong alias.
30227         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
30229 2014-06-14 Andi Kleen  <ak@linux.intel.com>
30231         * sysdeps/generic/elide.h: New file.
30233 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30235         * Makefile (installed-headers): Adjust path of pthread.h header.
30237 2014-06-13  Roland McGrath  <roland@hack.frob.com>
30239         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
30240         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
30241         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
30242         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
30244         * nptl/sysdeps/s390/Makefile: Moved ...
30245         * sysdeps/s390/nptl/Makefile: ... here.
30246         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
30247         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
30248         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
30249         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
30250         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
30251         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
30252         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
30253         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
30254         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
30255         * sysdeps/s390/nptl/pthreaddef.h: ... here.
30256         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
30257         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
30258         * nptl/sysdeps/s390/tls.h: Moved ...
30259         * sysdeps/s390/nptl/tls.h: ... here.
30261         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
30262         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
30264 2014-06-13  David S. Miller  <davem@davemloft.net>
30266         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
30267         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
30268         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
30269         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
30270         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
30271         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
30272         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
30273         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
30274         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
30275         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
30276         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
30277         Remove RESET_PID cpp guards.
30278         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
30279         Remove RESET_PID cpp guards.
30280         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
30282 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
30284         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
30285         __sp to uintptr_t.
30287 2014-06-13  Andi Kleen  <ak@linux.intel.com>
30289         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
30290         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
30291         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
30292         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
30293         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
30294         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
30295         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
30296         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
30297         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
30298         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
30299         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
30300         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
30301         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
30302         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
30303         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
30304         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
30305         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
30306         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
30307         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
30308         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
30310         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
30311         (pthread_rwlock_rdlock): Add elision.
30312         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
30313         (pthread_rwlock_wrlock): Add elision.
30314         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
30315         (pthread_rwlock_trywrlock): Add elision.
30316         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
30317         (pthread_rwlock_tryrdlock): Add elision.
30318         * nptl/pthread_rwlock_unlock.c: Include elide.h.
30319         (pthread_rwlock_tryrdlock): Add elision unlock.
30320         * nptl/sysdeps/pthread/pthread.h:
30321         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
30322         (PTHREAD_RWLOCK_INITIALIZER,
30323         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
30324         Handle new elision field.
30325         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
30326         * sysdeps/arm/nptl/bits/pthreadtypes.h
30327         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30328         * sysdeps/sh/nptl/bits/pthreadtypes.h
30329         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30330         * sysdeps/tile/nptl/bits/pthreadtypes.h
30331         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30332         * sysdeps/a/nptl/bits/pthreadtypes.h
30333         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30334         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
30335         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30336         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
30337         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30338         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
30339         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30340         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
30341         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30342         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
30343         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30344         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
30345         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30346         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
30347         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30348         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
30349         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30350         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
30351         (elision_init): Set try_xbegin to zero when no RTM.
30352         * sysdeps/x86/nptl/bits/pthreadtypes.h
30353         (pthread_rwlock_t): Change __pad1 to __rwelision.
30354         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30356 2014-06-13  Andi Kleen  <ak@linux.intel.com>
30358         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
30359         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
30360         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
30361         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
30363 2014-06-13  Meador Inge  <meadori@codesourcery.com>
30365         [BZ #16996]
30366         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
30367         that the cached result has been set before returning it.
30369 2014-06-12  Roland McGrath  <roland@hack.frob.com>
30371         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
30372         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
30373         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
30374         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
30375         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
30376         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
30378         * nptl/sysdeps/sparc/Makefile: Moved ...
30379         * sysdeps/sparc/nptl/Makefile: ... here.
30380         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
30381         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
30382         * nptl/sysdeps/sparc/tls.h: Moved ...
30383         * sysdeps/sparc/nptl/tls.h: ... here.
30384         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
30385         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
30386         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
30387         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
30388         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
30389         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
30390         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
30391         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
30392         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
30393         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
30394         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
30395         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
30396         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
30397         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
30398         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
30399         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
30400         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
30401         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
30402         Update #include.
30403         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
30404         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
30405         Update #include.
30406         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
30407         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
30408         Update #include.
30409         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
30410         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
30411         Update #include.
30413         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
30415         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
30416         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
30418         * sysdeps/pthread/posix-timer.h: Include <list.h>.
30419         (struct list_links): Type removed.
30420         (struct thread_node, struct timer_node): Replace struct list_links
30421         with struct list_head.
30422         (list_unlink_ip): Likewise.
30423         * sysdeps/pthread/timer_routines.c
30424         (timer_free_list, thread_free_list, thread_active_list): Likewise.
30425         (list_append, list_insbefore): Likewise.
30426         (list_init): Function removed.
30427         (thread_init, init_module): Use INIT_LIST_HEAD instead.
30428         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
30429         * sysdeps/pthread/Makefile: ... here, new file.
30431         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
30432         * sysdeps/nptl/Implies: ... here.
30433         * sysdeps/unix/sysv/linux/Implies: Add nptl.
30434         * nptl/sysdeps/pthread/list.h: Moved ...
30435         * include/list.h: ... here.
30436         * nptl/sysdeps/pthread/createthread.c: Moved ...
30437         * nptl/createthread.c: ... here.
30438         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
30439         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
30440         * nptl/pt-longjmp.c: ... here.
30441         * nptl/sysdeps/pthread/Makefile: Moved ...
30442         * sysdeps/nptl/Makefile: ... here.
30443         * nptl/sysdeps/pthread/Subdirs: Moved ...
30444         * sysdeps/nptl/Subdirs: ... here.
30445         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
30446         * sysdeps/nptl/aio_misc.h: ... here.
30447         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
30448         * sysdeps/nptl/bits/libc-lock.h: ... here.
30449         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
30450         * sysdeps/nptl/bits/libc-lockP.h: ... here.
30451         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
30452         * sysdeps/nptl/bits/stdio-lock.h: ... here.
30453         * nptl/sysdeps/pthread/configure: Moved ...
30454         * sysdeps/nptl/configure: ... here.
30455         * nptl/sysdeps/pthread/configure.ac: Moved ...
30456         * sysdeps/nptl/configure.ac: ... here.
30457         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
30458         * sysdeps/nptl/gai_misc.h: ... here.
30459         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
30460         * sysdeps/nptl/librt-cancellation.c: ... here.
30461         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
30462         * sysdeps/nptl/malloc-machine.h: ... here.
30463         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
30464         * sysdeps/nptl/pthread-functions.h: ... here.
30465         * nptl/sysdeps/pthread/pthread.h: Moved ...
30466         * sysdeps/nptl/pthread.h: ... here.
30467         * nptl/sysdeps/pthread/setxid.h: Moved ...
30468         * sysdeps/nptl/setxid.h: ... here.
30469         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
30470         * sysdeps/nptl/sigfillset.c: ... here.
30471         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
30472         * sysdeps/nptl/tcb-offsets.h: ... here.
30473         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
30474         * sysdeps/nptl/tst-mqueue8x.c: ... here.
30475         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
30476         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
30477         * nptl/sysdeps/pthread/allocalim.h: Moved ...
30478         * sysdeps/pthread/allocalim.h: ... here.
30479         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
30480         * sysdeps/pthread/bits/sigthread.h: ... here.
30481         * nptl/sysdeps/pthread/flockfile.c: Moved ...
30482         * sysdeps/pthread/flockfile.c: ... here.
30483         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
30484         * sysdeps/pthread/ftrylockfile.c: ... here.
30485         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
30486         * sysdeps/pthread/funlockfile.c: ... here.
30487         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
30488         * sysdeps/pthread/posix-timer.h: ... here.
30489         * nptl/sysdeps/pthread/timer_create.c: Moved ...
30490         * sysdeps/pthread/timer_create.c: ... here.
30491         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
30492         * sysdeps/pthread/timer_delete.c: ... here.
30493         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
30494         * sysdeps/pthread/timer_getoverr.c: ... here.
30495         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
30496         * sysdeps/pthread/timer_gettime.c: ... here.
30497         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
30498         * sysdeps/pthread/timer_routines.c: ... here.
30499         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
30500         * sysdeps/pthread/timer_settime.c: ... here.
30501         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
30502         * sysdeps/pthread/tst-timer.c: ... here.
30503         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
30504         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
30506         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
30507         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
30509         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
30510         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
30511         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
30512         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
30513         Update #include target.
30514         * nptl/sysdeps/i386/i686/Makefile: Moved ...
30515         * sysdeps/i386/i686/nptl/Makefile: ... here.
30516         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
30517         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
30518         Update #include target.
30519         * nptl/sysdeps/i386/i686/tls.h: Moved ...
30520         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
30521         * nptl/sysdeps/i386/Makefile: Moved ...
30522         * sysdeps/i386/nptl/Makefile: ... here.
30523         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
30524         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
30525         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
30526         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
30527         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
30528         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
30529         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
30530         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
30531         * sysdeps/i386/nptl/pthreaddef.h: ... here.
30532         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
30533         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
30534         * nptl/sysdeps/i386/tls.h: Moved ...
30535         * sysdeps/i386/nptl/tls.h: ... here.
30537         * sysdeps/sh/Makefile [$(subdir) = csu]
30538         (gen-as-const-headers): Add tcb-offsets.sym.
30539         * nptl/sysdeps/sh/Makefile: File removed.
30540         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
30541         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
30542         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
30543         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
30544         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
30545         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
30546         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
30547         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
30548         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
30549         * sysdeps/sh/nptl/pthreaddef.h: ... here.
30550         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
30551         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
30552         * nptl/sysdeps/sh/tls.h: Moved ...
30553         * sysdeps/sh/nptl/tls.h: ... here.
30554         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
30555         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
30556         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
30557         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
30558         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
30559         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
30560         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
30561         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
30562         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
30563         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
30564         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
30565         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
30566         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
30567         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
30568         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
30569         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
30570         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
30571         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
30572         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
30573         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
30574         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
30575         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
30576         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
30577         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
30578         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
30579         Moved ...
30580         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
30581         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
30582         Moved ...
30583         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
30584         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
30585         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
30586         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
30587         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
30588         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
30589         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
30590         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
30591         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
30592         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
30593         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
30594         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
30595         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
30596         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
30597         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
30598         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
30599         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
30600         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
30601         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
30603 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
30605         * posix/spawn_faction_addopen.c: Include string.h.
30607 2014-06-11  Roland McGrath  <roland@hack.frob.com>
30609         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
30610         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
30611         * nptl/sysdeps/x86_64/Makefile: Moved ...
30612         * sysdeps/x86_64/nptl/Makefile: ... here.
30613         * nptl/sysdeps/x86_64/configure: Moved ...
30614         * sysdeps/x86_64/nptl/configure: ... here.
30615         * nptl/sysdeps/x86_64/configure.ac: Moved ...
30616         * sysdeps/x86_64/nptl/configure.ac: ... here.
30617         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
30618         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
30619         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
30620         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
30621         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
30622         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
30623         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
30624         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
30625         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
30626         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
30627         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
30628         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
30629         * nptl/sysdeps/x86_64/tls.h: Moved ...
30630         * sysdeps/x86_64/nptl/tls.h: ... here.
30631         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
30632         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
30633         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
30634         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
30636         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
30638 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30640         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30642 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
30644         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
30645         type.
30646         [POSIX] (off_t): Likewise.
30647         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
30648         [POSIX] (S_ISBLK): Require macro.
30649         [POSIX] (S_ISCHR): Likewise.
30650         [POSIX] (S_ISDIR): Likewise.
30651         [POSIX] (S_ISFIFO): Likewise.
30652         [POSIX] (S_ISREG): Likewise.
30653         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
30654         optional-macro.
30655         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
30656         type.
30657         [POSIX] (time_t): Likewise.
30658         [POSIX] (timer_t): Likewise.
30660 2014-06-11  Florian Weimer  <fweimer@redhat.com>
30662         [BZ #17048]
30663         * posix/spawn_int.h (struct __spawn_action): Make the path string
30664         non-const to support deallocation.
30665         * posix/spawn_faction_addopen.c
30666         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
30667         * posix/spawn_faction_destroy.c
30668         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
30669         path in all spawn_do_open actions.
30670         * posix/tst-spawn.c (do_test): Exercise the copy operation in
30671         posix_spawn_file_actions_addopen.
30673 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
30675         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
30676         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
30677         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
30678         conditional code always true.
30679         (__libc_vfork): New alias.
30681 2014-06-11  Roland McGrath  <roland@hack.frob.com>
30683         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30684         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
30686         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
30688         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30689         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
30691         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
30692         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
30694         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30695         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
30697 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30699         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
30700         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
30701         multiarch strcmp for PPC64.
30702         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
30703         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
30704         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
30705         multiarch optimizations.
30706         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30707         (__libc_ifunc_impl_list): Likewise.
30709 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30711         * benchtests/scripts/validate_benchout.py: New script.
30712         * benchtests/Makefile (bench-func): Call it.
30713         * benchtests/scripts/benchout.schema.json: New file.
30715 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
30717         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
30718         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
30719         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
30720         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
30721         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
30722         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
30723         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
30724         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
30725         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
30726         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
30727         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
30728         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
30729         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
30730         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
30731         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
30732         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
30733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
30734         Moved ...
30735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
30736         ... here.
30737         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
30738         Moved ...
30739         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
30740         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
30741         Moved ...
30742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
30743         ... here.
30744         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
30745         Moved ...
30746         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
30747         ... here.
30748         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
30749         Moved ...
30750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
30751         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
30752         Moved ...
30753         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
30754         ... here.
30755         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
30756         Moved ...
30757         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
30758         ... here.
30759         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
30760         Moved ...
30761         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
30762         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
30763         Moved ...
30764         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
30765         ... here.
30766         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
30767         Moved ...
30768         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
30769         ... here.
30770         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
30771         Moved ...
30772         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
30773         ... here.
30774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
30775         Moved ...
30776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
30777         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
30778         Moved ...
30779         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
30780         ... here.
30781         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
30782         Moved ...
30783         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
30784         ... here.
30785         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
30786         Moved ...
30787         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
30788         ... here.
30789         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
30790         Moved ...
30791         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
30792         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
30793         Moved ...
30794         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
30795         ... here.
30796         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
30797         Moved ...
30798         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
30799         ... here.
30800         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
30801         Moved ...
30802         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
30803         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
30804         Moved ...
30805         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
30806         ... here.
30807         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
30808         Moved ...
30809         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
30810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
30811         Moved ...
30812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
30813         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
30814         Moved ...
30815         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
30816         ... here.
30817         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
30818         Moved ...
30819         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
30820         ... here.
30821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
30822         Moved ...
30823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
30824         ... here.
30825         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
30826         Moved ...
30827         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
30828         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
30829         Moved ...
30830         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
30831         ... here.
30832         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
30833         Moved ...
30834         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
30835         ... here.
30836         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
30837         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
30838         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
30839         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
30840         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
30841         Moved ...
30842         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
30843         ... here.
30844         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
30845         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
30846         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
30847         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
30848         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
30849         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
30850         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
30851         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
30852         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
30853         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
30854         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
30855         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
30856         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
30857         Moved ...
30858         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
30859         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
30860         Moved ...
30861         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
30862         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
30863         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
30864         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
30865         Moved ...
30866         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
30867         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
30868         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
30869         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
30870         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
30871         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
30872         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
30874 2014-06-10  Wilco  <wdijkstr@arm.com>
30876         * math/test-fenv-return.c: New file.
30877         * math/Makefile: Add new test test-fenv-return.
30879 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
30881         [BZ #17042]
30882         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
30883         when x - 1 is zero.
30884         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
30885         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
30886         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
30887         0.0L for an argument of 1.0L.
30888         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
30889         Likewise.
30890         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
30891         value when x - 1 is zero.
30892         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
30893         * sysdeps/i386/fpu/libm-test-ulps: Update.
30894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30896 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
30898         [BZ #15119]
30899         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
30901 2014-06-09  Roland McGrath  <roland@hack.frob.com>
30903         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
30904         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
30906 2014-06-09  Roland McGrath  <roland@hack.frob.com>
30908         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30909         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
30911         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30912         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
30914         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30915         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
30917         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30918         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
30920         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
30921         if not already defined.
30922         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
30923         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
30924         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
30925         (TLS_INIT_TP): Use it.
30926         (TLS_DEFINE_INIT_TP): New macro.
30927         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
30929 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
30931         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
30932         constant.
30933         [POSIX] (IXANY): Likewise.
30934         [POSIX] (OLCUC): Likewise.
30935         [POSIX || POSIX2008] (CBAUD): Do not allow.
30936         [POSIX || POSIX2008] (DEFECHO): Likewise.
30937         [POSIX || POSIX2008] (ECHOCTL): Likewise.
30938         [POSIX || POSIX2008] (ECHOKE): Likewise.
30939         [POSIX || POSIX2008] (ECHOPRT): Likewise.
30940         [POSIX || POSIX2008] (EXTA): Likewise.
30941         [POSIX || POSIX2008] (EXTB): Likewise.
30942         [POSIX || POSIX2008] (FLUSHO): Likewise.
30943         [POSIX || POSIX2008] (LOBLK): Likewise.
30944         [POSIX || POSIX2008] (PENDIN): Likewise.
30945         [POSIX || POSIX2008] (SWTCH): Likewise.
30946         [POSIX || POSIX2008] (VDISCARD): Likewise.
30947         [POSIX || POSIX2008] (VDSUSP): Likewise.
30948         [POSIX || POSIX2008] (VLNEXT): Likewise.
30949         [POSIX || POSIX2008] (VREPRINT): Likewise.
30950         [POSIX || POSIX2008] (VSTATUS): Likewise.
30951         [POSIX || POSIX2008] (VWERASE): Likewise.
30952         (B*): Change to B[0123456789]*.
30953         * conform/data/time.h-data [POSIX || UNIX98]
30954         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
30955         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
30956         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
30957         [POSIX] (tm_*): Do not allow.
30959 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
30961         * Makefile (install): Don't set LANGUAGE.
30962         * Makefile.in (install): Likewise.
30963         * assert/Makefile (test-assert-ENV): Remove variable.
30964         (test-assert-perr-ENV): Likewise.
30965         * elf/Makefile (neededtest4-ENV): Likewise.
30966         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
30967         [$(cross-compiling) = no]: Don't set LANGUAGE.
30968         * io/ftwtest-sh (LANG): Remove variable.
30969         * libio/Makefile (tst-widetext-ENV): Likewise.
30970         * manual/install.texi (Running make install): Don't refer to
30971         environment settings for make install.
30972         * INSTALL: Regenerated.
30973         * nptl/tst-tls6.sh: Don't set LANG.
30974         * posix/globtest.sh (LANG): Remove variable.
30975         * string/Makefile (tester-ENV): Likewise.
30976         (inl-tester-ENV): Likewise.
30977         (noinl-tester-ENV): Likewise.
30978         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
30979         [$(cross-compiling) = no]: Don't set LANGUAGE.
30980         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
30981         without explicit environment settings.
30983 2014-06-06  Roland McGrath  <roland@hack.frob.com>
30985         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
30986         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
30987         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
30988         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
30990 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
30992         * crypt/crypt-private.h [DOS]: Add some includes taken from the
30993         other files in the crypt directory.
30994         * crypt/crypt.c: Remove duplicate includes.
30995         * crypt/crypt-entry.c: Likewise.
30996         * crypt/crypt_util.c: Likewise.
30998 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
31000         * Makeconfig (run-program-env): New variable.
31001         (run-program-prefix-before-env): Likewise.
31002         (run-program-prefix-after-env): Likewise.
31003         (run-program-prefix): Define in terms of new variables.
31004         (built-program-cmd-before-env): New variable.
31005         (built-program-cmd-after-env): Likewise.
31006         (built-program-cmd): Define in terms of new variables.
31007         (test-program-prefix-before-env): New variable.
31008         (test-program-prefix-after-env): Likewise.
31009         (test-program-prefix): Define in terms of new variables.
31010         (test-program-cmd-before-env): New variable.
31011         (test-program-cmd-after-env): Likewise.
31012         (test-program-cmd): Define in terms of new variables.
31013         * Rules (make-test-out): Use $(run-program-env).
31014         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
31015         (help): Do not mention environment variables.  Mention
31016         --timeoutfactor option.
31017         (timeoutfactor): New variable.
31018         (blacklist_exports): Remove function.
31019         (exports): Remove variable.
31020         (command): Do not include ${exports}.
31021         * manual/install.texi (Configuring and compiling): Do not mention
31022         test wrappers preserving environment variables.  Mention that last
31023         assignment to a variable must take precedence.
31024         * INSTALL: Regenerated.
31025         * benchtests/Makefile (run-bench): Use $(run-program-env).
31026         * catgets/Makefile ($(objpfx)test1.cat): Use
31027         $(built-program-cmd-before-env), $(run-program-env) and
31028         $(built-program-cmd-after-env).
31029         ($(objpfx)test2.cat): Do not specify environment variables
31030         explicitly.
31031         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
31032         $(run-program-env) and $(built-program-cmd-after-env).
31033         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
31034         $(run-program-env) and $(test-program-cmd-after-env).
31035         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
31036         explicitly.
31037         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
31038         run_program_env and test_program_cmd_after_env arguments.
31039         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
31040         * elf/tst-pathopt.sh: Use run_program_env argument.
31041         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
31042         $(test-wrapper-env) and $(run-program-env).
31043         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
31044         run_program_env arguments.
31045         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
31046         * intl/Makefile ($(objpfx)tst-gettext.out): Use
31047         $(test-program-prefix-before-env), $(run-program-env) and
31048         $(test-program-prefix-after-env).
31049         ($(objpfx)tst-gettext2.out): Likewise.
31050         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
31051         run_program_env and test_program_prefix_after_env arguments.
31052         * intl/tst-gettext2.sh: Likewise.
31053         * intl/tst-gettext4.sh: Do not set environment variables
31054         explicitly.
31055         * intl/tst-gettext6.sh: Likewise.
31056         * intl/tst-translit.sh: Likewise.
31057         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
31058         $(test-program-prefix-before-env), $(run-program-env) and
31059         $(test-program-prefix-after-env).
31060         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
31061         run_program_env and test_program_prefix_after_env arguments.
31062         * math/Makefile (run-regen-ulps): Use $(run-program-env).
31063         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
31064         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
31065         explicitly with each use of ${test_wrapper_env}.
31066         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
31067         $(test-program-prefix-before-env), $(run-program-env) and
31068         $(test-program-prefix-after-env).
31069         * posix/tst-getconf.sh: Do not set environment variables
31070         explicitly.
31071         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
31072         run_program_env and test_program_prefix_after_env arguments.
31073         * stdio-common/tst-printf.sh: Do not set environment variables
31074         explicitly.
31075         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
31076         $(test-program-prefix-before-env), $(run-program-env) and
31077         $(test-program-prefix-after-env).
31078         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
31079         run_program_env and test_program_prefix_after_env arguments.
31080         Split $test calls into $test_pre and $test.
31081         * timezone/Makefile (build-testdata): Use
31082         $(built-program-cmd-before-env), $(run-program-env) and
31083         $(built-program-cmd-after-env).
31085 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31087         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
31088         strlen for non SHARED builds.
31090 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31092         * nptl/allocatestack.c (check_list): Inlined function...
31093         (__reclaim_stacks): ... here.
31095 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
31097         [BZ #15698]
31098         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
31099         memory overrun.
31101 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
31103         * Rules (make-test-out): Include
31104         LOCPATH=$(common-objpfx)localedata in default environment.
31105         * debug/Makefile (tst-chk1-ENV): Remove variable.
31106         (tst-chk2-ENV): Likewise.
31107         (tst-chk3-ENV): Likewise.
31108         (tst-chk4-ENV): Likewise.
31109         (tst-chk5-ENV): Likewise.
31110         (tst-chk6-ENV): Likewise.
31111         (tst-lfschk1-ENV): Likewise.
31112         (tst-lfschk2-ENV): Likewise.
31113         (tst-lfschk3-ENV): Likewise.
31114         (tst-lfschk4-ENV): Likewise.
31115         (tst-lfschk5-ENV): Likewise.
31116         (tst-lfschk6-ENV): Likewise.
31117         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
31118         (tst-iconv7-ENV): Likewise.
31119         * intl/Makefile (LOCPATH-ENV): Likewise.
31120         (tst-codeset-ENV): Likewise.
31121         (tst-gettext3-ENV): Likewise.
31122         (tst-gettext5-ENV): Likewise.
31123         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
31124         (tst-fopenloc-ENV): Likewise.
31125         (tst-fgetws-ENV): Remove variable.
31126         (tst-ungetwc1-ENV): Likewise.
31127         (tst-ungetwc2-ENV): Likewise.
31128         (bug-ungetwc2-ENV): Likewise.
31129         (tst-swscanf-ENV): Likewise.
31130         (bug-ftell-ENV): Likewise.
31131         (tst-fgetwc-ENV): Likewise.
31132         (tst-fseek-ENV): Likewise.
31133         (tst-ftell-partial-wide-ENV): Likewise.
31134         (tst-ftell-active-handler-ENV): Likewise.
31135         (tst-ftell-append-ENV): Likewise.
31136         * posix/Makefile (tst-fnmatch-ENV): Likewise.
31137         (tst-regexloc-ENV): Likewise.
31138         (bug-regex1-ENV): Likewise.
31139         (tst-regex-ENV): Likewise.
31140         (tst-regex2-ENV): Likewise.
31141         (bug-regex5-ENV): Likewise.
31142         (bug-regex6-ENV): Likewise.
31143         (bug-regex17-ENV): Likewise.
31144         (bug-regex18-ENV): Likewise.
31145         (bug-regex19-ENV): Likewise.
31146         (bug-regex20-ENV): Likewise.
31147         (bug-regex22-ENV): Likewise.
31148         (bug-regex23-ENV): Likewise.
31149         (bug-regex25-ENV): Likewise.
31150         (bug-regex26-ENV): Likewise.
31151         (bug-regex30-ENV): Likewise.
31152         (bug-regex32-ENV): Likewise.
31153         (bug-regex33-ENV): Likewise.
31154         (bug-regex34-ENV): Likewise.
31155         (bug-regex35-ENV): Likewise.
31156         (tst-rxspencer-ENV): Likewise.
31157         (tst-rxspencer-no-utf8-ENV): Likewise.
31158         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
31159         (tst-sscanf-ENV): Likewise.
31160         (tst-swprintf-ENV): Likewise.
31161         (tst-swscanf-ENV): Likewise.
31162         (test-vfprintf-ENV): Likewise.
31163         (scanf13-ENV): Likewise.
31164         (bug14-ENV): Likewise.
31165         (tst-grouping-ENV): Likewise.
31166         * stdlib/Makefile (tst-strtod-ENV): Likewise.
31167         (tst-strtod3-ENV): Likewise.
31168         (tst-strtod4-ENV): Likewise.
31169         (tst-strtod5-ENV): Likewise.
31170         (testmb2-ENV): Likewise./
31171         * string/Makefile (tst-strxfrm-ENV): Likewise.
31172         (tst-strxfrm2-ENV): Likewise.
31173         (bug-strcoll1-ENV): Likewise.
31174         (test-strcasecmp-ENV): Likewise.
31175         (test-strncasecmp-ENV): Likewise.
31176         * time/Makefile (tst-strptime-ENV): Likewise.
31177         (tst-ftime_l-ENV): Likewise.
31178         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
31179         (tst-mbrtowc-ENV): Likewise.
31180         (tst-wcrtomb-ENV): Likewise.
31181         (tst-mbrtowc2-ENV): Likewise.
31182         (tst-c16c32-1-ENV): Likewise.
31183         (tst-mbsnrtowcs-ENV): Likewise.
31185 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
31187         * manual/resource.texi (How to get information about the memory
31188         subsystem?): Fix typo.
31189         Reported by Peon de la Parra Ivan <peon@keba.com>
31191 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
31193         [BZ #16882]
31194         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
31195         (pthread_spin_lock): Branch out of spin loop to proper location.
31196         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
31197         (pthread_spin_lock): Likewise.
31199         * nptl/tst-spin4.c: New test.
31200         * nptl/Makefile (tests): Add tst-spin4.
31202 2014-06-03  Andreas Schwab  <schwab@suse.de>
31204         [BZ #15946]
31205         * resolv/res_send.c (send_dg): Reload file descriptor after
31206         calling reopen.
31208 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
31210         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31212 2014-06-03  Richard Henderson  <rth@redhat.com>
31214         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
31215         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
31216         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
31217         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
31218         in the SAVE_PID block.
31219         (__libc_vfork): New alias.
31220         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
31222         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
31223         child in registers, not on the stack.  Remove RESET_PID conditionals.
31224         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
31226 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
31228         * sysdeps/aarch64/libm-test-ulps: Regenerate.
31230 2014-06-03  Wilco  <wdijkstr@arm.com>
31232         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
31233         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
31234         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
31235         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
31236         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
31237         Likewise.
31239 2014-06-03  Wilco  <wdijkstr@arm.com>
31241         * sysdeps/aarch64/fpu/math_private.h
31242         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
31243         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
31244         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
31245         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
31246         Fix declarations.
31248 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31250         * crypt/crypt-private.h: Include ufc-crypt.h.
31251         (__b64_from_24bit): Declare extern.
31252         * crypt/crypt_util.c(__b64_from_24bit): New function.
31253         (b64t): New static const variable.
31254         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
31255         (b64t): Remove variable.
31256         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
31257         * crypt/sha256-crypt.c: Include crypt-private.h.
31258         (b64t): Remove variable.
31259         (__sha256_crypt_r): Remove b64_from_24bit and replace
31260         with __b64_from_24bit.
31261         * crypt/sha512-crypt.c: Likewise.
31263 2014-06-02  Roland McGrath  <roland@hack.frob.com>
31265         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
31266         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
31267         Label the code __libc_vfork rather than __vfork.
31268         [!NOT_IN_libc] (vfork): Define as weak alias.
31269         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
31270         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
31271         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
31273 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31275         * malloc/malloc.c (malloc_info): Fix format specifier for
31276         n_mmaps.
31278 2014-06-02  Wilco  <wdijkstr@arm.com>
31280         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
31281         FPCR write.
31283 2014-06-02  Wilco  <wdijkstr@arm.com>
31285         [BZ #17009]
31286         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
31287         Rewrite to reduce FPCR/FPSR accesses.
31289 2014-06-01  David S. Miller  <davem@davemloft.net>
31291         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31293 2014-05-31  David S. Miller  <davem@davemloft.net>
31295         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
31296         to occur in round to nearest mode when |x| >= 2.0
31298 2014-05-30  Richard Henderson  <rth@twiddle.net>
31300         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
31301         (PSEUDO_RET_NOERRNO): Remove.
31302         (ret): Don't redefine.
31303         (ret_NOERRNO): Define in terms of ret.
31304         (ret_ERRVAL): Likewise.
31306         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
31307         use of PSEUDO_RET; perform the error check directly.
31309 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
31311         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
31312         with __int128_t.
31314 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31316         * malloc/malloc (malloc_info): Fix formatting.
31318 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31319             Roland McGrath  <roland@hack.frob.com>
31321         * malloc/malloc (malloc_info): Also print mmapped statistics.
31323 2014-05-30  Roland McGrath  <roland@hack.frob.com>
31325         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
31326         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
31328 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
31330         * malloc/malloc.c (malloc_info): Inline mi_arena.
31332 2014-05-29  Richard Henderson  <rth@twiddle.net>
31334         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
31335         Remove comma before expanding ASM_ARGS_##nr.
31336         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
31337         Make _x0 a strict output; make _x8 a strict input; adjust expansion
31338         of ASM_ARGS_##nr.
31339         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
31340         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
31341         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
31342         (ASM_ARGS_1): Add leading comma.
31344         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
31345         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
31346         to __errno_location.
31347         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
31348         Remove the expected plt for __errno_location.
31350         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31351         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
31352         call to __read_tp.
31354         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31355         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
31356         it and break it down.
31357         (DOCARGS_0, DOCARGS_1): Do nothing.
31358         (DOCARGS_2): Update to store into the new stack frame.
31359         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
31360         (UNDOCARGS_1): Update to restore from the new stack frame.
31361         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
31362         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
31364         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31365         (SINGLE_THREAD_P): New parameter for result regno.
31366         (PSEUDO): Update to match; use cbz instead of beq.
31368         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31369         Use ENTRY to define the _nocancel entry point.  Share the syscall
31370         and syscall error check paths with the cancel path.
31371         (PSEUDO_END): New.
31373         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
31374         whitespace; tabs before and after asm mnemonics.
31376 2014-05-29  Eric Wong  <normalperson@yhbt.net>
31378         [BZ #15132]
31379         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31380         Call fstat64 or stat64 internally, depending on arguments passed.
31381         Replace stat buffer argument with file descriptor argument.
31382         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
31383         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
31384         Pass fd to __internal_statvfs instead of calling fstat64.
31385         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
31386         Pass fd to __internal_statvfs64 instead of calling fstat64.
31387         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
31388         Pass -1 to __internal_statvfs instead of calling stat64.
31389         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
31390         Pass -1 to __internal_statvfs64 instead of calling stat64.
31392 2014-05-28  Roland McGrath  <roland@hack.frob.com>
31394         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
31395         that was previously under [RESET_PID].
31396         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
31398         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
31399         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
31401 2014-05-27  Roland McGrath  <roland@hack.frob.com>
31403         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
31405         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
31406         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
31408 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
31410         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
31412 2014-05-27  Andreas Schwab  <schwab@suse.de>
31414         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
31415         TLS_INIT_TP macro.
31416         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
31417         * elf/rtld.c (init_tls, dl_main): Likewise.
31418         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
31419         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
31420         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
31421         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
31422         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
31423         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
31424         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
31425         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
31426         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
31427         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
31428         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
31429         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
31430         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
31431         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
31432         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
31433         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
31434         * sysdeps/generic/tls.h: Update description.
31436 2014-05-27  Will Newton  <will.newton@linaro.org>
31438         [BZ #16990]
31439         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
31440         and restore r2 rather than just restoring.
31442 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31444         [BZ #16724]
31445         * libio/tst-ftell-append.c: New test case.
31446         * libio/Makefile (tests): Add test case.
31447         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
31448         append mode.
31449         * libio/wfileops.c (do_ftell_wide): Likewise.
31451 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31453         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31455         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
31456         ...
31457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
31458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
31459         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
31460         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
31461         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
31462         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
31463         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
31464         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
31465         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
31466         Moved ...
31467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
31468         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
31469         Moved ...
31470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
31471         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
31472         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
31473         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
31474         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
31475         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
31476         ...
31477         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
31478         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
31479         Moved ...
31480         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
31481         here.
31482         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
31483         ...
31484         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
31485         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
31486         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
31488         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
31489         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
31490         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
31491         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
31493         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
31494         merge into ...
31495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
31496         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
31497         ...
31498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
31499         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
31500         ...
31501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
31502         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
31503         Moved ...
31504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
31505         here.
31506         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
31507         Moved ...
31508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
31509         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
31510         Moved ...
31511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
31513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
31514         conditional [RESET_PID].
31515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
31516         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
31517         removed.
31518         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
31519         removed.
31521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
31522         <tcb-offsets.h>.
31523         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31524         (__libc_vfork): New strong alias.
31525         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
31526         removed.
31527         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
31528         Removed.
31530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
31531         <tcb-offsets.h>.
31532         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
31533         (__libc_vfork): New strong alias.
31534         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
31535         removed.
31536         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
31537         removed.
31539 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
31541         * malloc/malloc.c (mi_arena): New function.
31542         (malloc_info): Remove nested function mi_arena. Call non-nosted
31543         function mi_arena.
31545 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31547         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
31548         by insrwi.
31549         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
31550         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
31551         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
31552         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
31553         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
31554         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
31555         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
31557 2014-05-26  Andreas Schwab  <schwab@suse.de>
31559         [BZ #16984]
31560         * locale/programs/repertoire.c (repertoire_read): Add slash
31561         between I18NPATH element and file name.
31562         * locale/programs/locfile.c (locfile_read): Likewise.
31564 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
31566         * nptl/pthread_mutexattr_settype.c
31567         (__pthread_mutexattr_settype):
31568         Disable lock elision for PTHREAD_MUTEX_NORMAL.
31570 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
31572         * nptl/tst-mutex5 (do_test):
31573         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
31575 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31577         * benchtests/README: Document 'init' directive.
31578         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
31579         BENCH_INIT.
31580         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
31581         (parse_file): Recognize 'init' directive.
31583 2014-05-26  Kyle McMartin  <kyle@redhat.com>
31585         [BZ #16796]
31586         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
31587         alignment of struct pthread.
31589 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31591         [BZ #16878]
31592         * nscd/netgroupcache.c (addgetnetgrentX): Look for
31593         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
31594         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
31595         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
31597 2014-05-25  Richard Henderson  <rth@twiddle.net>
31599         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31600         (SINGLE_THREAD_P_PIC): Remove.
31601         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
31602         (SINGLE_THREAD_P_PIC): Remove.
31604         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
31605         branch to syscall error ...
31606         (PSEUDO): ... here.
31607         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
31608         from __local_syscall_error to .Lsyscall_error.
31609         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
31610         (SYSCALL_ERROR): Update label name.
31612         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31613         Do not use DOARGS/UNDOARGS.
31614         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
31615         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
31616         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
31617         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
31618         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
31620         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
31621         block comment.
31623         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
31624         define if !NOT_IN_libc.
31625         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
31626         define with non-default symbol versions.
31628 2014-05-23  Richard Henderson  <rth@twiddle.net>
31630         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
31631         (vfork, __vfork): Define via compat_symbol.
31633         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
31634         [!HAVE_IFUNC] (vfork_compat): Remove.
31635         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
31637 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
31639         [BZ #16978]
31640         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
31641         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
31642         variable.
31644 2014-05-23  Richard Henderson  <rth@twiddle.net>
31646         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
31647         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
31648         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
31649         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
31651         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
31652         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
31653         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
31654         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
31655         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
31656         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
31657         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
31658         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
31659         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
31660         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
31661         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
31662         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
31663         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
31664         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
31665         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
31666         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
31667         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
31668         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
31669         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
31670         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
31671         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
31672         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
31673         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
31674         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
31675         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
31676         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
31677         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
31678         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
31679         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
31680         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
31681         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
31682         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
31683         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
31684         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
31685         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
31686         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
31687         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
31688         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
31689         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
31690         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
31691         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
31692         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
31693         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
31694         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
31695         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
31696         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
31697         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
31698         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
31699         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
31700         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
31701         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
31702         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
31703         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
31704         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
31705         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
31706         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
31708         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
31709         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
31710         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
31711         before exiting on error.
31712         (__libc_vfork): New strong alias.
31713         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
31714         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
31716         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
31717         that was previously under [RESET_PID].
31718         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
31720         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
31722 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
31724         [BZ #16977]
31725         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
31726         value when x - 1 is zero.
31727         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
31728         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
31729         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
31730         0.0L for an argument of 1.0L.
31731         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
31732         Likewise.
31733         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
31734         value when x - 1 is zero.
31735         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
31736         * sysdeps/i386/fpu/libm-test-ulps: Update.
31737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31739 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
31741         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
31742         alphasort and versionsort.
31744 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31746         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
31747         macro.
31748         [copysignf]: Likewise.
31750 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
31752         * crypt/md5-crypt.c: Fix formatting.
31754 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31756         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
31757         (b64_from_24bit): New function.
31759 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31761         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
31762         libc_hidden_builtin_def to ifunc.
31763         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
31764         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
31766 2014-05-21  Roland McGrath  <roland@hack.frob.com>
31768         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
31769         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
31771 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
31773         * nscd/Depend (linuxthreads): Remove.
31774         (nptl): Add.
31775         * resolv/Depend (linuxthreads): Remove.
31776         * rt/Depend (linuxthreads): Remove.
31778         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
31779         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
31780         $(common-objpfx)elf/.
31781         (link-libc-before-gnulib): Likewise.
31782         (elfobjdir): Remove variable.
31783         * Makefile (install): Use $(elf-objpfx) instead of
31784         $(common-objpfx)elf/.
31785         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
31786         $(elfobjdir)/.
31787         (link-libc-deps): Likewise.
31788         ($(common-objpfx)libc.so): Likewise.
31789         ($(common-objpfx)linkobj/libc.so): Likewise.
31790         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
31791         instead of $(common-objpfx)elf/.
31792         (symbolic-link-list): Likewise.
31793         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
31794         [$(cross-compiling) = no]: Likewise.
31795         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
31796         $(elfobjdir)/.
31797         (static-gnulib-arch): Likewise.
31798         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
31799         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
31800         $(common-objpfx)elf/.
31802 2014-05-21  Richard Henderson  <rth@redhat.com>
31804         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31805         (SINGLE_THREAD_P): Use the correct width load.  Fold
31806         into the ldr offset.
31808         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
31809         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
31811 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
31813         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
31814         (libgcc_s_resume): Use __attribute_used__.
31815         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
31816         Likewise.
31818 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31820         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
31821         optimization when used with float constants.
31823         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31825 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
31827         [BZ #16915]
31828         * locale/nl_langinfo_l.c: Make direct reference to every
31829         _nl_current_CATEGORY symbol.
31830         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
31831         (tests-static): Add tst-langinfo-static.
31832         (tests-special): Add tst-langinfo-static.out.
31833         ($(objpfx)tst-langinfo.out): Redirect output.
31834         ($(objpfx)tst-langinfo-static.out): New.
31835         * localedata/tst-langinfo.sh: Send output to stdout.
31836         * localedata/tst-langinfo-static.c: New file.
31838         [BZ #16965]
31839         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
31840         when the shift amount is modulo the limb size.
31842 2014-05-20  Richard Henderson  <rth@redhat.com>
31844         [BZ #16967]
31845         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
31846         Change type of sa_flags from unsigned int to int.
31848         [BZ #16966]
31849         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
31851         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
31853 2014-05-20  Will Newton  <will.newton@linaro.org>
31855         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31856         Test the return value of the system call in the nocancel case.
31858 2014-05-20  Will Newton  <will.newton@linaro.org>
31859             Yvan Roux  <yvan.roux@linaro.org>
31861         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
31862         #include of asm/ptrace.h.
31863         (PTRACE_GET_THREAD_AREA): Remove #undef.
31864         (PTRACE_GETHBPREGS): Likewise.
31865         (PTRACE_SETHBPREGS): Likewise.
31866         (struct user_regs_struct): New structure.
31867         (struct user_fpsimd_struct): New structure.
31868         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
31869         #include of asm/ptrace.h and second #include of sys/user.h.
31870         (PTRACE_GET_THREAD_AREA): Remove #undef.
31871         (PTRACE_GETHBPREGS): Likewise.
31872         (PTRACE_SETHBPREGS): Likewise.
31873         (ELF_NGREG): Use new struct user_regs_struct.
31874         (elf_fpregset_t): Use new struct user_fpsimd_struct.
31876 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31878         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
31879         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
31881 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
31883         [BZ #16958]
31884         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
31885         membar to avoid block loads/stores to overlap previous stores.
31887 2014-05-17  Richard Henderson  <rth@redhat.com>
31889         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
31890         Create the __##syscall_name##_nocancel entry point.
31891         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
31892         Remove; let the sysdep-cancel.h code create it.
31894 2014-05-17  David S. Miller  <davem@davemloft.net>
31896         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
31897         Protect with __USE_GNU.
31898         (TIOCSET_TEMPT): Likewise.
31899         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
31900         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
31901         these are already provided in bits/ioctl-types.h
31903 2014-05-16  Roland McGrath  <roland@hack.frob.com>
31905         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
31906         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
31908         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
31909         Use wait4 regardless of [__NR_waitpid].
31911 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
31913         PR libgcc/60166
31914         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
31915         (_FP_NANSIGN_Q): Set the quiet bit.
31917 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
31919         * benchtests/Makefile
31920         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
31921         not $(common-objpfx)math/libm.so.
31922         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
31923         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
31924         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
31925         $(common-objpfx)dlfcn/libdl.so.
31926         ($(objpfx)tst-audit8): Depend on $(libm), not
31927         $(common-objpfx)math/libm.so.
31928         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
31929         not $(common-objpfx)dlfcn/libdl.so.
31930         * math/Makefile
31931         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
31932         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
31933         [$(build-shared) = yes].
31934         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
31935         $(common-objpfx)nptl/libpthread.so.
31936         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
31937         $(common-objpfx)math/libm.so$(libm.so-version) or
31938         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
31939         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
31940         $(common-objpfx)dlfcn/libdl.so.
31941         * setjmp/Makefile (link-libm): Remove variable.
31942         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
31943         * stdio-common/Makefile (link-libm): Remove variable.
31944         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
31945         * stdlib/Makefile (link-libm): Remove variable.
31946         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
31947         ($(objpfx)tst-strtod-round): Likewise.
31948         ($(objpfx)tst-tininess): Likewise.
31949         ($(objpfx)tst-strtod-underflow): Likewise.
31950         ($(objpfx)tst-strtod6): Likewise.
31951         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
31952         $(libdl), not $(common-objpfx)nptl/libpthread.so and
31953         $(common-objpfx)dlfcn/libdl.so.
31955 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31957         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
31958         BSD terminal modes definitions.
31960 2014-05-16  Roland McGrath  <roland@hack.frob.com>
31962         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
31963         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
31965         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
31966         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
31967         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
31968         Don't do #include_next.
31969         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
31970         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
31971         Don't do #include_next.
31972         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
31973         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
31974         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
31975         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
31977 2014-05-16  Allan McRae  <allan@archlinux.org>
31979         * po/sv.po: Update Swedish translation from translation project.
31981         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
31982         in sed expression.
31984 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
31986         [BZ #16917]
31987         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
31988         errno if the TIOCGPTN ioctl fails with an error different than
31989         EINVAL.
31990         * login/tst-ptsname.c: New file.
31991         * login/Makefile (tests): Add tst-ptsname.
31993         [BZ #16943]
31994         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
31995         and prlimit64.
31997 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31999         [BZ #16849]
32000         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
32001         herrno to return EAI_AGAIN.
32003 2014-05-14  Roland McGrath  <roland@hack.frob.com>
32005         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
32006         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
32007         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
32008         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
32009         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
32010         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
32011         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
32012         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
32013         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
32014         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
32015         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
32016         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
32017         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
32018         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
32019         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
32020         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
32021         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
32022         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
32023         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
32024         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
32025         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
32026         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
32027         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
32028         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
32029         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
32030         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
32031         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
32032         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
32033         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
32034         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
32035         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
32036         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
32037         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
32038         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
32039         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
32040         Moved ...
32041         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
32042         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
32043         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
32044         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
32045         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
32046         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
32047         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
32048         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
32049         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
32050         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
32051         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
32052         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
32053         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
32054         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
32055         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
32056         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
32057         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
32058         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
32059         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
32060         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
32061         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
32062         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
32063         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
32064         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
32065         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
32066         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
32067         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
32068         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32069         Moved ...
32070         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
32071         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
32072         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
32073         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
32074         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
32075         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
32076         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
32077         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
32078         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
32079         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
32080         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
32081         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
32082         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
32083         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
32084         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
32085         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
32086         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
32087         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
32088         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
32089         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32090         Moved ...
32091         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
32092         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
32093         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
32095         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
32096         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
32097         (libpthread-sysdep_routines): Add elision-related stuff here instead.
32098         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
32099         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
32100         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
32101         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
32102         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
32103         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
32104         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
32105         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
32106         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
32107         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
32108         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
32109         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
32110         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
32111         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
32112         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
32113         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
32114         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
32115         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
32116         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
32117         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
32118         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
32119         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
32120         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
32121         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
32122         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
32123         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
32124         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
32125         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
32127         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
32128         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
32130         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
32131         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
32132         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
32133         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
32134         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
32135         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
32136         Moved ...
32137         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
32138         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
32139         Moved ...
32140         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
32141         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
32142         Moved ...
32143         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
32144         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
32145         Moved ...
32146         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
32147         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
32148         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
32149         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
32150         Moved ...
32151         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
32152         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
32153         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
32154         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
32155         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
32156         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
32157         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
32158         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
32159         Moved ...
32160         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
32161         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
32162         Moved ...
32163         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
32164         ... here.
32165         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
32166         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
32167         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
32168         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
32169         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
32170         Moved ...
32171         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
32172         ... here.
32173         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
32174         Moved ...
32175         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
32176         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
32177         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
32178         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
32179         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
32180         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
32181         Moved ...
32182         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
32183         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
32184         Moved ...
32185         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
32186         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
32187         Moved ...
32188         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
32189         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
32190         Moved ...
32191         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
32192         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
32193         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
32194         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
32195         Moved ...
32196         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
32197         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
32198         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
32199         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
32200         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
32201         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
32202         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
32203         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
32204         Moved ...
32205         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
32206         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
32207         Moved ...
32208         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
32209         ... here.
32210         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
32211         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
32212         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
32213         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
32214         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
32215         Moved ...
32216         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
32217         ... here.
32218         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
32219         Moved ...
32220         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
32221         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
32222         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
32223         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
32224         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
32225         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
32226         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
32227         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
32228         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
32229         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
32230         Moved ...
32231         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
32232         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
32233         Moved ...
32234         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
32235         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
32236         Moved ...
32237         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
32238         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
32239         Moved ...
32240         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
32241         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
32242         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
32243         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
32244         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
32245         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
32246         Moved ...
32247         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
32248         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
32249         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
32250         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
32251         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
32252         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
32253         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
32254         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
32255         Moved ...
32256         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
32257         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
32258         Moved ...
32259         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
32260         ... here.
32261         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
32262         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
32263         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
32264         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
32265         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
32266         Moved ...
32267         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
32268         ... here.
32269         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
32270         Moved ...
32271         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
32272         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
32273         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
32274         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
32275         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
32276         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
32277         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
32278         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
32279         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
32280         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
32281         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
32283         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
32284         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
32286         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
32287         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
32289         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
32290         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
32291         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
32292         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
32293         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
32294         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
32295         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
32296         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
32297         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
32298         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
32299         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
32300         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
32301         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
32302         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
32303         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
32304         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
32305         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
32306         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
32307         Moved ...
32308         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
32309         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
32310         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
32311         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
32312         Moved ...
32313         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
32314         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
32315         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
32316         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
32317         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
32318         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
32319         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
32320         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
32321         Moved ...
32322         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
32323         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
32324         Moved ...
32325         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
32326         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
32327         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
32328         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
32329         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
32330         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
32331         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
32332         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
32333         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
32334         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
32335         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
32336         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
32337         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
32338         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
32339         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
32340         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
32341         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
32343         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
32344         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
32345         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
32346         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
32347         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
32349         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
32350         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
32351         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
32352         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
32353         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
32354         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
32355         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
32356         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
32357         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
32358         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
32360         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
32361         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
32363         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
32364         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
32365         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
32366         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
32367         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
32368         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
32369         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
32370         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
32371         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
32372         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
32373         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
32374         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
32375         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
32376         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
32377         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
32378         Update #include.
32379         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
32380         Likewise.
32381         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
32382         Likewise.
32383         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
32384         Likewise.
32385         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
32386         Likewise.
32387         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
32388         Likewise.
32389         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
32390         Likewise.
32391         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
32392         Likewise.
32393         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
32394         Likewise.
32395         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
32396         Likewise.
32397         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
32398         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
32399         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
32400         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
32401         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
32402         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
32403         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
32404         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
32405         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
32406         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
32407         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
32408         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
32409         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
32410         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
32411         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
32413         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
32414         that was previously under [RESET_PID].
32415         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32416         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
32417         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
32419         * sysdeps/i386/nptl/Implies: New file.
32420         * sysdeps/x86_64/nptl/Implies: New file.
32421         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
32422         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
32423         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
32424         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
32426         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
32427         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32428         (__libc_vfork): New strong alias.
32429         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
32430         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
32432         * sysdeps/unix/sysv/linux/x86_64/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/x86_64/vfork.S: File removed.
32436         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
32438         * sysdeps/unix/sysv/linux/arm/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         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
32442         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
32443         * nptl/pt-vfork.c: New file.
32444         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
32445         (libpthread: GLIBC_2.20): New version set (empty).
32447 2014-05-14  Will Newton  <will.newton@linaro.org>
32449         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
32450         rather than #if.
32452 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
32454         [BZ #16564]
32455         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
32456         arguments with exponent 65 or above.
32457         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
32458         arguments 0x1p113L or above.
32459         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
32460         to arguments 0x1p107L or above.
32461         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
32462         positive arguments with exponent 65 or above.
32463         * math/auto-libm-test-in: Add more tests of log1p.
32464         * math/auto-libm-test-out: Regenerated.
32466         [BZ #16928]
32467         * math/s_cacos.c (__cacos): Ensure zero real part of result from
32468         non-finite arguments is +0.
32469         * math/s_cacosf.c (__cacosf): Likewise.
32470         * math/s_cacosl.c (__cacosl): Likewise.
32471         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
32472         * sysdeps/i386/fpu/libm-test-ulps: Update.
32473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32475         [BZ #16927]
32476         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
32477         value.
32478         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
32479         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
32480         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
32481         for explicit high bit of mantissa when testing for argument equal
32482         to 1.
32483         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
32484         * sysdeps/i386/fpu/libm-test-ulps: Update.
32485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32487         [BZ #16516]
32488         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
32489         (__erf): Scale by 16 instead of 8 in potentially underflowing
32490         case.  Ensure exception if result actually underflows.
32491         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
32492         (__erff): Scale by 16 instead of 8 in potentially underflowing
32493         case.  Ensure exception if result actually underflows.
32494         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
32495         (efx8): Remove variable.
32496         (__erfl): Scale by 16 instead of 8 in potentially underflowing
32497         case.  Ensure exception if result actually underflows.
32498         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
32499         (efx8): Remove variable.
32500         (__erfl): Scale by 16 instead of 8 in potentially underflowing
32501         case.  Ensure exception if result actually underflows.
32502         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
32503         (efx8): Remove variable.
32504         (__erfl): Scale by 16 instead of 8 in potentially underflowing
32505         case.  Ensure exception if result actually underflows.
32506         * math/auto-libm-test-in: Add more tests of erf.
32507         * math/auto-libm-test-out: Regenerated.
32509 2014-05-14  Andreas Schwab  <schwab@suse.de>
32511         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
32512         Remove code conditionalized on USE___THREAD.
32514         * config.h.in (HAVE_PT_CHOWN): Define as 0.
32515         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
32516         not definedness.
32518 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
32520         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
32521         Define unconditionally.
32522         (__ASSUME_O_CLOEXEC): Likewise.
32523         (__ASSUME_SOCK_CLOEXEC): Likewise.
32524         (__ASSUME_IN_NONBLOCK): Likewise.
32525         (__ASSUME_PIPE2): Likewise.
32526         (__ASSUME_EVENTFD2): Likewise.
32527         (__ASSUME_SIGNALFD4): Likewise.
32528         (__ASSUME_DUP3): Likewise.
32529         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32530         (__ASSUME_DUP3): Do not define.
32531         (__ASSUME_EVENTFD2): Likewise.
32532         (__ASSUME_IN_NONBLOCK): Likewise.
32533         (__ASSUME_O_CLOEXEC): Likewise.
32534         (__ASSUME_PIPE2): Likewise.
32535         (__ASSUME_SIGNALFD4): Likewise.
32536         (__ASSUME_SOCK_CLOEXEC): Likewise.
32537         (__ASSUME_UTIMES): Undefine.
32538         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32539         (__ASSUME_UTIMES): Do not define.
32540         (__ASSUME_O_CLOEXEC): Likewise.
32541         (__ASSUME_SOCK_CLOEXEC): Likewise.
32542         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
32543         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
32544         0x020621].
32545         (__ASSUME_PIPE2): Likewise.
32546         (__ASSUME_EVENTFD2): Likewise.
32547         (__ASSUME_SIGNALFD4): Likewise.
32548         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
32549         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
32550         Do not define.
32551         (__ASSUME_EVENTFD2): Likewise.
32552         (__ASSUME_SIGNALFD4): Likewise.
32553         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32554         (__ASSUME_32BITUIDS): Likewise.
32555         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32556         (__ASSUME_IPC64): Likewise.
32557         (__ASSUME_ST_INO_64_BIT): Likewise.
32558         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
32559         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
32560         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32561         (__ASSUME_UTIMES): Do not define.
32562         (__ASSUME_PSELECT): Likewise.
32563         (__ASSUME_PPOLL): Likewise.
32564         (__ASSUME_O_CLOEXEC): Likewise.
32565         (__ASSUME_SOCK_CLOEXEC): Likewise.
32566         (__ASSUME_IN_NONBLOCK): Likewise.
32567         (__ASSUME_PIPE2): Likewise.
32568         (__ASSUME_EVENTFD2): Likewise.
32569         (__ASSUME_SIGNALFD4): Likewise.
32570         (__ASSUME_DUP3): Likewise.
32571         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
32572         (__ASSUME_UTIMES): Likewise.
32573         (__ASSUME_O_CLOEXEC): Likewise.
32574         (__ASSUME_SOCK_CLOEXEC): Likewise.
32575         (__ASSUME_IN_NONBLOCK): Likewise.
32576         (__ASSUME_PIPE2): Likewise.
32577         (__ASSUME_EVENTFD2): Likewise.
32578         (__ASSUME_SIGNALFD4): Likewise.
32579         (__ASSUME_DUP3): Likewise.
32580         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32581         (__ASSUME_UTIMES): Likewise.
32582         (__ASSUME_O_CLOEXEC): Likewise.
32583         (__ASSUME_SOCK_CLOEXEC): Likewise.
32584         (__ASSUME_IN_NONBLOCK): Likewise.
32585         (__ASSUME_PIPE2): Likewise.
32586         (__ASSUME_EVENTFD2): Likewise.
32587         (__ASSUME_SIGNALFD4): Likewise.
32588         (__ASSUME_DUP3): Likewise.
32589         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
32590         Likewise.
32591         (__ASSUME_UTIMES): Likewise.
32592         (__ASSUME_EVENTFD2): Likewise.
32593         (__ASSUME_SIGNALFD4): Likewise.
32594         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32595         (__ASSUME_O_CLOEXEC): Likewise.
32596         (__ASSUME_SOCK_CLOEXEC): Likewise.
32597         (__ASSUME_IN_NONBLOCK): Likewise.
32598         (__ASSUME_PIPE2): Likewise.
32599         (__ASSUME_EVENTFD2): Likewise.
32600         (__ASSUME_SIGNALFD4): Likewise.
32601         (__ASSUME_DUP3): Likewise.
32602         (__ASSUME_UTIMES): Undefine.
32604         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
32605         feclearexcept.  Remove symbol versioning code.
32606         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
32607         symbol versioning code.
32608         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
32609         symbol versioning code.
32610         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
32611         feupdateenv.  Remove symbol versioning code.
32612         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
32613         fegetexceptflag.  Remove symbol versioning code.
32614         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
32615         fesetexceptflag.  Remove symbol versioning code.
32616         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
32617         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
32618         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
32619         (__posix_fadvise64_l32): Remove prototype.
32620         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
32621         code.
32623 2014-05-13  Roland McGrath  <roland@hack.frob.com>
32625         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
32626         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
32627         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
32628         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
32630 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
32632         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
32633         current working directory
32635 2014-05-13  Roland McGrath  <roland@hack.frob.com>
32637         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
32638         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
32639         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
32640         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
32641         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
32642         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
32643         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
32644         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
32645         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
32646         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
32647         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
32648         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
32649         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
32650         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
32651         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
32652         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
32653         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
32654         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
32655         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
32656         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
32657         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
32658         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
32659         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
32660         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
32661         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
32662         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
32663         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
32664         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
32665         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
32666         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
32667         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
32668         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
32669         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
32670         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
32671         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
32672         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
32673         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
32674         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
32675         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
32676         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
32677         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
32678         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
32680         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
32681         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
32683         * sysdeps/unix/sysv/linux/arm/Makefile
32684         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
32685         Add rt-aeabi_unwind_cpp_pr1.
32686         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
32687         Add nptl-aeabi_unwind_cpp_pr1.
32688         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
32689         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
32690         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
32691         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
32692         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
32693         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
32695         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
32696         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
32697         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
32698         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
32700         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
32701         Deconditionalize the code that was previously under [RESET_PID].
32702         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
32704         * sysdeps/generic/exit-thread.h: New file.
32705         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
32706         * include/unistd.h (__exit_thread): Remove declaration.
32707         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
32708         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
32709         * csu/libc-start.c: Include <exit-thread.h>.
32710         (LIBC_START_MAIN): Pass no argument to __exit_thread.
32711         * nptl/pthread_create.c: Include <exit-thread.h>.
32712         (start_thread): Call __exit_thread in place of __exit_thread_inline.
32713         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
32714         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
32715         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
32716         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
32717         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
32718         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
32719         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
32720         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
32721         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
32722         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
32723         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
32724         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
32725         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
32726         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
32727         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
32728         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
32730 2014-05-13  Andreas Schwab  <schwab@suse.de>
32732         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
32734 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
32736         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
32737         (__ASSUME_UTIMES): Do not condition on kernel version.
32738         (__ASSUME_PSELECT): Define unconditionally.
32739         (__ASSUME_PPOLL): Likewise.
32740         (__ASSUME_ATFCTS): Likewise.
32741         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
32742         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
32743         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
32744         (__ASSUME_UTIMENSAT): Define unconditionally.
32745         (__ASSUME_PRIVATE_FUTEX): Likewise.
32746         (__ASSUME_FALLOCATE): Likewise.
32747         (__ASSUME_O_CLOEXEC): Likewise.
32748         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
32749         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
32750         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
32751         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
32752         (__ASSUME_IN_NONBLOCK): Likewise.
32753         (__ASSUME_PIPE2): Likewise.
32754         (__ASSUME_EVENTFD2): Likewise.
32755         (__ASSUME_SIGNALFD4): Likewise.
32756         (__ASSUME_DUP3): Likewise.
32757         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
32758         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
32759         (__ASSUME_AT_RANDOM): Likewise.
32760         (__ASSUME_PREADV): Likewise.
32761         (__ASSUME_PWRITEV): Likewise.
32762         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
32763         (__ASSUME_F_GETOWN_EX): Define unconditionally.
32764         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
32765         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32766         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
32767         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32768         (__ASSUME_O_CLOEXEC): Define unconditionally.
32769         (__ASSUME_PSELECT): Do not undefine conditionally.
32770         (__ASSUME_PPOLL): Likewise.
32771         (__ASSUME_ATFCTS): Likewise.
32772         (__ASSUME_SET_ROBUST_LIST): Likewise.
32773         (__ASSUME_UTIMENSAT): Likewise.
32774         (__ASSUME_FDATASYNC): Define unconditionally.
32775         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32776         (__ASSUME_SIGFRAME_V2): Likewise.
32777         )__ASSUME_EVENTFD2): Likewise.
32778         (__ASSUME_SIGNALFD4): Likewise.
32779         (__ASSUME_PSELECT): Do not undefine conditionally.
32780         (__ASSUME_PPOLL): Likewise.
32781         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32782         (__ASSUME_PSELECT): Define unconditionally.
32783         (__ASSUME_PPOLL): Likewise.
32784         (__ASSUME_O_CLOEXEC): Likewise.
32785         (__ASSUME_SOCK_CLOEXEC): Likewise.
32786         (__ASSUME_IN_NONBLOCK): Likewise.
32787         (__ASSUME_PIPE2): Likewise.
32788         (__ASSUME_EVENTFD2): Likewise.
32789         (__ASSUME_SIGNALFD4): Likewise.
32790         (__ASSUME_DUP3): Likewise.
32791         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
32792         (__ASSUME_O_CLOEXEC): Likewise.
32793         (__ASSUME_SOCK_CLOEXEC): Likewise.
32794         (__ASSUME_IN_NONBLOCK): Likewise.
32795         (__ASSUME_PIPE2): Likewise.
32796         (__ASSUME_EVENTFD2): Likewise.
32797         (__ASSUME_SIGNALFD4): Likewise.
32798         (__ASSUME_DUP3): Likewise.
32799         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32800         (__ASSUME_EVENTFD2): Likewise.
32801         (__ASSUME_SIGNALFD4): Likewise.
32802         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
32804 2014-05-12  Andreas Schwab  <schwab@suse.de>
32806         [BZ #16932]
32807         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
32808         (_nss_nis_gethostbyname4_r): Return error if item length is larger
32809         than maximum RPC packet size.
32810         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
32811         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
32812         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
32813         (_nss_nis_getservbyport_r): Likewise.
32815 2014-05-12  Will Newton  <will.newton@linaro.org>
32817         * malloc/Makefile (tests): Add tst-mallopt.
32818         * malloc/tst-mallopt.c: New file.
32820 2014-05-09  Roland McGrath  <roland@hack.frob.com>
32822         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
32823         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
32825 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32827         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
32828         (tst-tlsmod6.so): Likewise.
32830 2014-05-09  Roland McGrath  <roland@hack.frob.com>
32832         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
32834 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
32836         [BZ #16064]
32837         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
32838         and <dl-procinfo.h>.
32839         (__fegetenv): Save SSE state in envp->__eip if supported.
32840         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
32841         envp->__eip if supported.
32842         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
32843         and <dl-procinfo.h>.
32844         (__fesetenv): Always set __eip, __cs_selector, __opcode,
32845         __data_offset and __data_selector in environment to 0.  Set SSE
32846         state if supported.
32847         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
32848         test-fenv-sse.
32849         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
32850         -mfpmath=sse.
32851         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
32853 2014-05-09  Will Newton  <will.newton@linaro.org>
32855         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
32856         and libc_relro_required for ARM.
32857         * sysdeps/arm/preconfigure: Regenerate.
32859 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
32860             Stefan Liebler  <stli@linux.vnet.ibm.com>
32862         * config.make.in (enable-lock-elision): New Makefile variable.
32863         * configure.ac: Likewise.
32864         * configure: Regenerate.
32865         * sysdeps/s390/configure.ac:
32866         Add check for gcc transactions support.
32867         * sysdeps/s390/configure: Regenerate.
32868         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
32869         Build elision files if enabled.
32870         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
32871         Add lock elision support for s390.
32872         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
32873         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
32874         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
32875         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
32876         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
32877         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
32878         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
32879         Likewise.
32880         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
32881         Likewise.
32882         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
32883         Likewise.
32884         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
32885         Likewise.
32886         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
32887         (__lll_timedlock_elision, __lll_lock_elision)
32888         (__lll_unlock_elision, __lll_trylock_elision)
32889         (lll_timedlock_elision, lll_lock_elision)
32890         (lll_unlock_elision, lll_trylock_elision): Add.
32891         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
32892         (pthread_mutex_t): Add lock elision support for s390.
32894 2014-05-14  Wilco  <wdijkstr@arm.com>
32896         * sysdeps/arm/fclrexcpt.c: Cleanup.
32897         * sysdeps/arm/fedisblxcpt.c: Cleanup.
32898         * sysdeps/arm/feenablxcpt.c: Cleanup.
32899         * sysdeps/arm/fegetenv.c: Cleanup.
32900         * sysdeps/arm/fegetexcept.c: Cleanup.
32901         * sysdeps/arm/fegetround.c: Cleanup.
32902         * sysdeps/arm/feholdexcpt.c: Cleanup.
32903         * sysdeps/arm/fesetenv.c: Cleanup.
32904         * sysdeps/arm/fesetround.c: Cleanup.
32905         * sysdeps/arm/feupdateenv.c: Cleanup.
32906         * sysdeps/arm/fgetexcptflg.c: Cleanup.
32907         * sysdeps/arm/fraiseexcpt.c: Cleanup.
32908         * sysdeps/arm/fsetexcptflg.c: Cleanup.
32909         * sysdeps/arm/ftestexcept.c: Cleanup.
32910         * sysdeps/arm/get-rounding-mode.h: Cleanup.
32911         * sysdeps/arm/setfpucw.c: Cleanup.
32913 2014-05-09  Will Newton  <will.newton@linaro.org>
32915         * sysdeps/arm/armv7/strcmp.S: New file.
32916         * NEWS: Mention addition of ARMv7 optimized strcmp.
32918 2014-05-08  Roland McGrath  <roland@hack.frob.com>
32920         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
32921         look for %.ac rather than %.in.
32923         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
32924         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
32925         * sysdeps/mach/hurd/configure: Regenerated.
32926         * sysdeps/unix/sysv/linux/configure: Regenerated.
32928         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
32930 2014-05-07  Steve Ellcey  <sellcey@mips.com>
32932         [BZ# 16922]
32933         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
32934         (LONG_SUB): Ditto.
32935         (PTR_SUB): Ditto.
32937 2014-05-07  Andreas Schwab  <schwab@suse.de>
32939         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
32940         when skipping over non-matching result from nscd.
32942 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
32944         [BZ #16876]
32945         * nptl/sockperf.c (client): Check socket return value.
32947         [BZ #16877]
32948         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
32949         nscd security class.
32951 2014-05-06  Roland McGrath  <roland@hack.frob.com>
32953         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
32954         * sysdeps/arm/unwind.h: ... here.
32956 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
32958         [BZ# 16916]
32959         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
32960         Define.
32962 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32964         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
32965         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
32966         multiarch strncpy for PPC64.
32967         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
32968         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
32969         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
32970         multiarch optimizations.
32971         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32972         (__libc_ifunc_impl_list): Likewise.
32973         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
32974         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
32975         multiarch stpncpy for PPC64.
32976         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
32977         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
32979 2014-05-06  Andreas Schwab  <schwab@suse.de>
32981         [BZ #16912]
32982         * gmon/mcount.c (_MCOUNT_DECL): Use
32983         atomic_compare_and_exchange_bool_acq instead of
32984         catomic_compare_and_exchange_bool_acq.
32986 2014-05-05  Roland McGrath  <roland@hack.frob.com>
32988         * elf/Makefile (others, install-bin): Remove pldd.
32989         (pldd-modules): Variable removed.
32990         ($(objpfx)pldd): Target removed.
32991         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
32992         (others, install-bin): Append pldd here.
32993         ($(objpfx)pldd): New target.
32995         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
32996         to 0, so the first #if test emitted later doesn't see it undefined.
32997         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
32998         * sysdeps/gnu/errlist.c: Regenerated.
33000 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33002         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
33003         [libc_hidden_builtin_def]: Define to empty value.
33004         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
33005         [libc_hidden_builtin_def]: Likewise.
33006         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
33007         [libc_hidden_builtin_def]: Likewise.
33008         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
33009         [libc_hidden_builtin_def]: Likewise.
33010         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
33011         __redirect_memcpy and define ifunc as default hidden symbol.
33012         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
33013         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
33015 2014-05-04  Adam Conrad  <adconrad@0c3.net>
33017         * locale/iso-4217.def: Reintroduce XDR currency.
33019 2014-05-04  Allan McRae  <allan@archlinux.org>
33021         * po/eo.po: Update Esperanto translation from translation project.
33023 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
33025         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
33026         and FEATURE_INDEX_MAX to 1.
33027         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
33029 2014-05-01  Steve Ellcey  <sellcey@mips.com>
33031         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
33032         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
33033         * iconvdata/big5.c (ONE_DIRECTION): Define.
33034         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
33035         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
33036         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
33037         * iconvdata/cp932.c (ONE_DIRECTION): Define.
33038         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
33039         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
33040         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
33041         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
33042         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
33043         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
33044         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
33045         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
33046         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
33047         * iconvdata/gbk.c (ONE_DIRECTION): Define.
33048         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
33049         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
33050         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
33051         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
33052         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
33053         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
33054         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
33055         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
33056         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
33057         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
33058         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
33059         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
33060         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
33061         * iconvdata/iso646.c (ONE_DIRECTION): Define.
33062         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
33063         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
33064         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
33065         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
33066         * iconvdata/johab.c (ONE_DIRECTION): Define.
33067         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
33068         * iconvdata/sjis.c (ONE_DIRECTION): Define.
33069         * iconvdata/t.61.c (ONE_DIRECTION): Define.
33070         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
33071         * iconvdata/tscii.c (ONE_DIRECTION): Define.
33072         * iconvdata/uhc.c (ONE_DIRECTION): Define.
33073         * iconvdata/unicode.c (ONE_DIRECTION): Define.
33074         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
33075         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
33076         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
33078 2014-05-01  Roland McGrath  <roland@hack.frob.com>
33080         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
33081         (_IO_JUMPS_OFFSET): Define to 0.
33083         * nptl/sysdeps/pthread/bits/libc-lock.h
33084         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
33085         (__libc_lock_define_initialized_recursive): Always define using
33086         initializer.  Modern compilers treat uninitialized (implicit zero) and
33087         explicit zero initializers the same (i.e. put the datum in bss).
33089 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33091         * nscd/nscd-client.h: Include <string.h>.
33093 2014-05-01  David S. Miller  <davem@davemloft.net>
33095         [BZ #16885]
33096         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
33097         multiple zero bytes exist at the end of a string.
33098         Reported by Aurelien Jarno <aurelien@aurel32.net>
33100         * string/test-strcmp.c (check): Add explicit test for situations where
33101         there are multiple zero bytes after the first.
33103 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33105         [BZ #16890]
33106         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
33107         when compiling wprintf.
33108         * stdio-common/tstdiomisc.c (t3): New function.
33109         (main): Call it.
33111 2014-05-01  Steve Ellcey  <sellcey@mips.com>
33113         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
33114         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
33115         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
33116         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
33118 2014-05-01  Steve Ellcey  <sellcey@mips.com>
33120         * stdlib/longlong.h: Updated from GCC.
33122 2014-05-01  Will Newton  <will.newton@linaro.org>
33123             Bernard Ogden  <bernie.ogden@linaro.org>
33125         * NEWS: Update fixed bug list.
33127         [BZ #15119]
33128         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
33130 2014-04-30  David S. Miller  <davem@davemloft.net>
33132         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
33133         (libc_feholdexcept_setround_sparc_ctx): New function.
33134         (libc_fesetenv_sparc_ctx): Likewise.
33135         (libc_feupdateenv_sparc_ctx): Likewise.
33136         (libc_feholdsetround_sparc_ctx): Likewise.
33137         (libc_feholdexcept_setround_ctx): Define.
33138         (libc_feholdexcept_setroundf_ctx): Likewise.
33139         (libc_feholdexcept_setroundl_ctx): Likewise.
33140         (libc_fesetenv_ctx): Likewise.
33141         (libc_fesetenvf_ctx): Likewise.
33142         (libc_fesetenvl_ctx): Likewise.
33143         (libc_feupdateenv_ctx): Likewise.
33144         (libc_feupdateenvf_ctx): Likewise.
33145         (libc_feupdateenvl_ctx): Likewise.
33146         (libc_feresetround_ctx): Likewise.
33147         (libc_feresetroundf_ctx): Likewise.
33148         (libc_feresetroundl_ctx): Likewise.
33149         (libc_feholdsetround_ctx): Likewise.
33150         (libc_feholdsetroundf_ctx): Likewise.
33151         (libc_feholdsetroundl_ctx): Likewise.
33153         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
33154         with __USE_GNU instead of XOPEN cpp guards.
33156         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
33157         0.
33159         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
33160         with XOPEN cpp guards.
33162 2014-04-30  Julian Brown  <julian@codesourcery.com>
33164         [BZ #16888]
33165         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
33166         handling.
33168 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
33170         [BZ #9894]
33171         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
33172         Change to 2.6.32.
33173         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
33174         * sysdeps/unix/sysv/linux/configure: Regenerated.
33175         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
33176         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
33177         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
33178         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
33179         * README: Update reference to required Linux kernel version.
33180         * manual/install.texi (Linux): Update reference to required Linux
33181         kernel headers version.
33182         * INSTALL: Regenerated.
33184         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
33185         header inclusion.
33186         [POSIX] (limits.h): Likewise.
33187         [POSIX] (math.h): Likewise.
33188         [POSIX] (sys/wait.h): Likewise.
33189         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
33190         function.
33191         [POSIX] (stddef.h): Do not allow header inclusion.
33193 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33195         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
33197 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
33199         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
33200         Return immediately after lll_futex_wake.
33202 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33204         [BZ #16791]
33205         * nscd/nscd-client.h (datahead_init_common): Initialize entire
33206         structure.
33207         (datahead_init_pos): Call datahead_init_common early.
33208         (datahead_init_neg): Likewise.
33210         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
33211         datahead_init_neg): New functions.
33212         * nscd/aicache.c (addhstaiX): Use them.
33213         * nscd/grpcache.c (cache_addgr): Likewise.
33214         * nscd/hstcache.c (cache_addhst): Likewise.
33215         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33216         * nscd/netgroupcache.c (do_notfound): Likewise.
33217         (addgetnetgrentX): Likewise.
33218         (addinnetgrX): Likewise.
33219         * nscd/pwdcache.c (cache_addpw): Likewise.
33220         * nscd/servicescache.c (cache_addserv): Likewise.
33222 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33223             Atsushi Onoe  <atsushi@onoe.org>
33225         [BZ #14308]
33226         [BZ #12994]
33227         [BZ #13651]
33228         * resolv/res_query.c (__libc_res_nsearch): Return if at least
33229         one response is valid.
33230         * resolv/res_send.c (send_dg): Check for validity of other
33231         response if the current response is a referral.
33233 2014-04-29  Steve Ellcey  <sellcey@mips.com>
33235         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
33237 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
33239         [BZ #16823]
33240         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
33241         Always divide by positive zero when computing -Inf result.
33242         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
33243         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
33245 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33247         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
33248         FPSCR if value do not change.
33249         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33250         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
33251         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
33252         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
33253         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
33254         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
33255         function.
33257 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
33259         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
33260         * sysdeps/unix/sysv/linux/hppa: Move directory from
33261         ports/systeps/unix/sysv/linux/hppa.
33262         * README: Update listing for hppa-*-linux-gnu.
33264 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
33266         [BZ #16754]
33267         * manual/stdio.texi (Hook functions): Fix types of stream hook
33268         functions.
33269         [BZ #16854]
33270         * socket/sys/socket.h: Fix typo in comment.
33272 2014-04-28  Wilco  <wdijkstr@arm.com>
33274         * sysdeps/arm/fenv_private.h: New file.
33275         * sysdeps/arm/math_private.h: New file.
33276         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
33278 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
33280         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
33281         with __int128_t.
33282         (La_x86_64_retval): Likewise.
33284 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
33286         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
33287         fpsr if value didn't change.
33288         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
33289         to fpcr if value didn't change.
33290         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
33291         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
33292         fpsr or fpcr if value didn't change.
33293         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
33294         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
33295         fpcr if value didn't change.
33296         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
33297         to fpsr if value didn't change.
33299 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
33301         * nptl/tst-sem3.c: Use test-skeleton.c
33302         (main): Rename to do_test.  Use return instead of
33303         exit.
33304         * nptl/tst-sem4.c: Use test-skeleton.c
33305         (main): Rename to do_test.
33307 2014-04-22  David S. Miller  <davem@davemloft.net>
33309         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
33310         (struct sigaction): New struct member __glibc_reserved0, change
33311         type of sa_flags to int.
33313 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
33315         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
33316         (COUNT_LEADING_ZEROS_0): Define for AArch64.
33318 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33320         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
33321         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
33323 2014-04-22  Will Newton  <will.newton@linaro.org>
33324             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
33326         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
33327         (__longjmp): Add longjmp and longjmp_target SystemTap
33328         probes.
33329         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
33330         (__sigsetjmp): Add setjmp SystemTap probe.
33332 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
33334         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
33335         match manual order.
33337 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33339         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
33341         * sysdeps/powerpc/fpu/fenv_private.h
33342         (libc_feholdexcept_setroundl_ctx): Define to
33343         libc_feholdexcept_setround_ppc_ctx.
33344         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
33345         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
33346         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
33347         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
33349 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
33351         * sysdeps/aarch64/math-tests.h: New file.
33353 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
33355         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
33356         New.
33357         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33358         Check and set bit_AVX2_Usable.
33359         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
33360         macro.
33361         (bit_AVX2): Likewise.
33362         (index_AVX2_Usable): Likewise.
33363         (CPUID_AVX2): Likewise.
33364         (HAS_AVX2): Likewise.
33366 2014-04-17  Will Newton  <will.newton@linaro.org>
33368         * manual/setjmp.texi (System V contexts): Add note that
33369         calling setcontext on a context created by a call to a
33370         signal handler is undefined.  Update text to note that
33371         setcontext from a signal handler is possible but not
33372         recommended.
33374         [BZ #16629]
33375         * stdlib/tst-setcontext.c: Include signal.h.
33376         (main): Check that the signal stack before and
33377         after swapcontext is the same.
33379         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
33380         Re-implement to restore registers in user code and avoid
33381         rt_sigreturn system call.
33383 2014-04-17  Wilco  <wdijkstr@arm.com>
33385         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
33386         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
33387         * math/test-fenv.c: Skip exception trap tests on targets which only
33388         support non-stop mode.
33390 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
33391             Wilco Dijkstra  <wilco.dijkstra@arm.com>
33393         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
33394         (libc_feholdsetround_aarch64_ctx)
33395         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
33396         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
33397         (libc_feresetround_ctx, libc_feresetroundf_ctx)
33398         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
33399         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
33400         (libc_feresetround_noexl_ctx): Define.
33402 2014-04-16  Richard Henderson  <rth@redhat.com>
33404         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
33406         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
33407         unwind tables.
33409         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
33410         const from the non-libc, non-ldso copy.
33412         * sysdeps/alpha/libm-test-ulps: Regenerate.
33414 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
33415             Wilco Dijkstra  <wilco.dijkstra@arm.com>
33417         * sysdeps/aarch64/fpu/math_private.h: New file.
33419 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
33421         * sysdeps/aarch64/libm-test-ulps: Regenerate.
33423 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
33425         [BZ #16275]
33426         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
33427         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
33428         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
33429         Intel MPX bound registers before _dl_profile_fixup.
33430         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
33431         registers after _dl_profile_fixup.  Save and restore bound
33432         registers bnd0/bnd1 when calling _dl_call_pltexit.
33433         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
33434         (LR_BND_OFFSET): Likewise.
33435         (LRV_BND0_OFFSET): Likewise.
33436         (LRV_BND1_OFFSET): Likewise.
33438 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33440         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
33441         to...
33442         * sysdeps/mach/hurd/i386/tls.h: ... here.
33443         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
33444         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
33445         fields.
33447 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33449         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
33451 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
33453         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33455 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
33457         [BZ #14770]
33458         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
33459         * sysdeps/s390/configure: Regenerate.
33461         [BZ #16824]
33462         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
33463         Set round-to-nearest internally to reduce error accumulation.
33465 2014-04-16  Alan Modra  <amodra@gmail.com>
33467         [BZ #16740]
33468         [BZ #16619]
33469         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
33470         * math/libm-test.inc (frexp_test_data): Add tests.
33471         * NEWS: Update fixed bug list.
33473 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33475         * benchtests/Makefile: Depend on libraries in build directory.
33476         (bench-math): Separate out math tests.
33477         (bench-pthread): Separate out pthread tests.
33478         (bench): Include math and pthread tests.
33480 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
33482         [BZ #16831]
33483         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
33484         _dl_debug_initialize.
33486         * configure.ac: Remove SELinux header check.
33487         * configure: Regenerate.
33488         * nscd/selinux.c (perms): Array of const char* to permission names.
33489         (nscd_request_avc_has_perm): Call security_deny_unknown to find
33490         default policy. Call string_to_security_class and string_to_av_perm to
33491         translate strings. Enforce default policy and call avs_has_perm with
33492         results of translated strings.
33494 2014-04-13  David S. Miller  <davem@davemloft.net>
33496         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33498 2014-04-12  Allan McRae  <allan@archlinux.org>
33500         [BZ #16838]
33501         * manual/string.texi (Collation Functions): Fix qsort argument
33502         order in example.
33503         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
33505 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
33507         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
33508         Make the test a no-op if there are no exceptions defined.
33510 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
33512         * elf/Makefile (tests): make tst-dlopen-aout conditional on
33513         enable-hardcoded-path-in-tests
33515 2014-04-11  Will Newton  <will.newton@linaro.org>
33517         * benchtests/Makefile (extra-objs): Add json-lib.o.
33518         (bench-func): Tidy up JSON output.
33519         * benchtests/bench-skeleton.c: Include json-lib.h.
33520         (main): Use JSON library functions to do output of
33521         benchmark results.
33522         * benchtests/bench-timing-type.c (main): Output the
33523         timing type simply, leaving formatting to the user.
33524         * benchtests/json-lib.c: New file.
33525         * benchtests/json-lib.h: Likewise.
33527 2014-04-11  Torvald Riegel  <triegel@redhat.com>
33529         [BZ #15215]
33530         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
33531         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
33532         memory barriers.  Add comments.
33533         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
33534         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
33535         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
33536         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
33537         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
33538         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
33540 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
33542         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
33543         * sysdeps/s390/s390-64/configure.ac: ... this ...
33544         * sysdeps/s390/configure.ac: ... to here.
33545         * sysdeps/s390/s390-32/configure: Delete file.
33546         * sysdeps/s390/s390-64/configure: Delete file.
33547         * sysdeps/s390/configure: Regenerate.
33549 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
33551         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
33553 2014-04-11  Will Newton  <will.newton@linaro.org>
33555         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
33556         to zero if it is not defined elsewhere.  (mtrim): Test
33557         the value of MALLOC_DEBUG with #if rather than #ifdef.
33559 2014-04-10 Torvald Riegel  <triegel@redhat.com>
33561         * benchtests/pthread_once-inputs: New file.
33562         * benchtests/pthread_once-source.c: New file.
33563         * benchtests/README: Update documentation.
33565 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
33566             H.J. Lu  <hongjiu.lu@intel.com>
33568         [BZ #16275]
33569         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
33570         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
33571         * sysdeps/x86_64/configure: Regenerated.
33572         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
33573         macro.
33574         (REGISTER_SAVE_RAX): Likewise.
33575         (REGISTER_SAVE_RCX): Likewise.
33576         (REGISTER_SAVE_RDX): Likewise.
33577         (REGISTER_SAVE_RSI): Likewise.
33578         (REGISTER_SAVE_RDI): Likewise.
33579         (REGISTER_SAVE_R8): Likewise.
33580         (REGISTER_SAVE_R9): Likewise.
33581         (REGISTER_SAVE_BND0): Likewise.
33582         (REGISTER_SAVE_BND1): Likewise.
33583         (REGISTER_SAVE_BND2): Likewise.
33584         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
33585         bound registers when calling _dl_fixup.
33587 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33589         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
33590         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
33591         of its definition.
33592         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
33593         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
33594         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
33595         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
33596         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
33597         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
33598         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
33600 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
33602         [BZ #15514]
33603         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
33604         pathconf(_PC_NAME_MAX).
33606 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33608         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
33609         Remove macro usage.
33610         (__PTHREAD_SPINS): Move definition to ...
33611         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
33612         (__PTHREAD_SPINS): ... here.
33613         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
33614         (__PTHREAD_SPIN): Likewise.
33615         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
33616         (__PTHREAD_SPIN): Likewise.
33617         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
33618         (__PTHREAD_SPIN): Likewise.
33619         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
33620         (__PTHREAD_SPIN): Likewise.
33621         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
33622         (__PTHREAD_SPIN): Likewise.
33623         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
33624         (__PTHREAD_SPIN): Likewise.
33625         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
33626         (__PTHREAD_SPIN): Likewise.
33627         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
33628         (__PTHREAD_SPIN): Likewise.
33629         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
33630         (__PTHREAD_SPIN): Likewise.
33631         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
33632         (__PTHREAD_SPIN): Likewise.
33633         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
33634         (__PTHREAD_SPIN): Likewise.
33635         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
33636         (__PTHREAD_SPIN): Likewise.
33638         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
33639         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
33640         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
33641         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
33642         imply folder.
33643         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
33644         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
33645         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
33646         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
33647         correct imply path.
33648         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
33649         strlen symbol for non multi-arch builds.
33650         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
33651         missing hidden_def and weak_alias.
33653 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
33655         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
33657 2014-04-07  Will Newton  <will.newton@linaro.org>
33659         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
33660         and contents.  [!_LIBC] Remove #ifndef and contents.
33661         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
33662         * string/memccpy.c (__memccpy): Use ANSI prototype.
33663         * string/memfrob.c (memfrob): Likewise.
33664         * string/strcoll.c (STRCOLL): Likewise.
33665         * string/strlen.c (strlen): Likewise.
33666         * string/strtok.c (STRTOK): Likewise.
33667         * string/strcat.c: Remove unused #include of memcopy.h.
33668         (strcat): Use ANSI prototype.
33669         * string/strchr.c: Remove unused #include of memcopy.h.
33670         (strchr): Use ANSI prototype.
33671         * string/strcmp.c: Remove unused #include of memcopy.h.
33672         (strcmp): Use ANSI prototype.
33673         * string/strcpy.c: Remove unused #include of memcopy.h.
33674         (strcpy): Use ANSI prototype.
33676 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33678         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
33679         * config.make.in (config-extra-cppflags): Set it from
33680         libc_extra_cppflags.
33681         * configure.ac (libc_extra_cflags): Make it accumulate over
33682         configure fragments.
33683         (libc_extra_cppflags): New flag.
33684         * configure. Regenerate.
33685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
33686         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
33687         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
33688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
33690         [BZ #16815]
33691         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
33692         result for FE_DOWNWARD rounding mode.
33693         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
33694         Likewise.
33695         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33697 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
33699         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
33700         in function argument name.
33702 2014-04-03  David Svoboda  <svoboda@cert.org>
33704         [BZ #5666]
33705         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
33706         explicitly.
33708 2014-04-03  Roland McGrath  <roland@hack.frob.com>
33710         * elf/dl-unmap-segments.h: New file.
33711         * sysdeps/generic/ldsodefs.h
33712         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
33713         * elf/dl-close.c: Include <dl-unmap-segments.h>.
33714         * elf/dl-fptr.c: Likewise.
33715         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
33716         * sysdeps/aarch64/tlsdesc.c: Likewise.
33717         * sysdeps/arm/tlsdesc.c: Likewise.
33718         * sysdeps/i386/tlsdesc.c: Likewise.
33719         * sysdeps/tile/dl-runtime.c: Likewise.
33720         * sysdeps/x86_64/tlsdesc.c: Likewise.
33721         * elf/dl-load.h: New file.
33722         * elf/dl-load.c: Include it.
33723         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
33724         Macros moved to dl-load.h.
33725         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
33726         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
33727         Use _dl_unmap_segments in place of __munmap.
33728         Break out segment-mapping loop into ...
33729         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
33731 2014-04-03  Will Newton  <will.newton@linaro.org>
33733         * elf/dl-lookup.c (do_lookup_x): Remove comment
33734         referring to nested function and move variable
33735         declarations down to before first use.
33737 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
33739         [BZ #16799]
33740         [BZ #16800]
33741         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
33742         with 0 numerator.
33743         * math/s_catanf.c (__catanf): Likewise.
33744         * math/s_catanh.c (__catanh): Likewise.
33745         * math/s_catanhf.c (__catanhf): Likewise.
33746         * math/s_catanhl.c (__catanhl): Likewise.
33747         * math/s_catanl.c (__catanl): Likewise.
33748         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
33749         by positive zero when computing -Inf result.
33750         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
33751         (catanh_test): Likewise.
33752         * sysdeps/i386/fpu/libm-test-ulps: Update.
33753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33755         [BZ #16789]
33756         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
33757         instead of using underflowing value in computing result.
33758         * math/s_clog10.c (__clog10): Likewise.
33759         * math/s_clog10f.c (__clog10f): Likewise.
33760         * math/s_clog10l.c (__clog10l): Likewise.
33761         * math/s_clogf.c (__clogf): Likewise.
33762         * math/s_clogl.c (__clogl): Likewise.
33763         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
33764         (clog10_test): Likewise.
33765         * sysdeps/i386/fpu/libm-test-ulps: Update.
33766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33768 2014-04-02  Alan Modra  <amodra@gmail.com>
33770         [BZ #16739]
33771         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
33772         output when value is near a power of two.  Use int64_t for lx and
33773         remove casts.  Use decimal rather than hex exponent constants.
33774         Don't use long double multiplication when double will suffice.
33775         * math/libm-test.inc (nextafter_test_data): Add tests.
33776         * NEWS: Add 16739 and 16786 to bug list.
33778         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
33780         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
33782 2014-04-01  Will Newton  <will.newton@linaro.org>
33784         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
33785         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
33787 2014-04-01  Florian Weimer  <fweimer@redhat.com>
33789         [BZ #13347]
33790         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
33791         * nptl/tst-setuid2.c: New file.
33792         * nptl/Makefile (xtests): Add tst-setuid2.
33794 2014-04-01  Alan Modra  <amodra@gmail.com>
33796         [BZ #16786]
33797         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
33799 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
33801         [BZ #6803]
33802         [BZ #6804]
33803         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
33804         set errno as appropriate.
33805         * math/w_scalbf.c (__scalbf): Likewise.
33806         * math/w_scalbl.c (__scalbl): Likewise.
33807         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
33808         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
33809         * math/libm-test.inc (scalb_test_data): Add errno expectations.
33810         Add more NaN tests.
33812         [BZ #16349]
33813         * math/w_atan2.c: Include <errno.h>.
33814         (__atan2): Set errno for result underflowing to zero.
33815         * math/w_atan2f.c: Include <errno.h>.
33816         (__atan2f): Set errno for result underflowing to zero.
33817         * math/w_atan2l.c: Include <errno.h>.
33818         (__atan2l): Set errno for result underflowing to zero.
33819         * math/auto-libm-test-in: Don't allow missing errno for some atan2
33820         tests.
33821         * math/auto-libm-test-out: Regenerated.
33823 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33825         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
33826         Encode instruction correctly in little endian.
33827         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
33828         Likewise.
33829         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
33830         Likewise.
33831         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
33832         Likewise.
33833         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
33834         Likewise.
33836 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
33838         [BZ #9894]
33839         * sysdeps/unix/sysv/linux/kernel-features.h
33840         [__sparc__ && !__arch64__ && !__sparc_v9__]
33841         (__ASSUME_SET_ROBUST_LIST): Do not define.
33842         [__sparc__ && !__arch64__ && !__sparc_v9__]
33843         (__ASSUME_FUTEX_LOCK_PI): Likewise.
33844         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
33845         Likewise.
33846         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33847         (__ASSUME_FUTEX_LOCK_PI): Undefine.
33848         (__ASSUME_REQUEUE_PI): Likewise.
33849         (__ASSUME_SET_ROBUST_LIST): Likewise.
33850         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33851         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
33852         Undefine.
33853         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33854         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
33855         Likewise.
33856         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
33857         Likewise.
33858         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
33859         Likewise.
33860         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33861         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
33862         Undefine.
33863         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
33864         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
33865         Likewise.
33867         [BZ #16648]
33868         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33869         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
33870         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
33872 2014-03-31  Will Newton  <will.newton@linaro.org>
33874         * benchtests/Makefile (bench): Add ffs and ffsll to list
33875         of tests.
33876         * benchtests/ffs-inputs: New file.
33877         * benchtests/ffsll-inputs: Likewise.
33879 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
33881         [BZ #16770]
33882         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
33883         too large before casting to int.
33884         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
33885         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
33886         * math/libm-test.inc (scalb_test_data): Add more tests.
33888 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33890         * benchtests/Makefile (DETAILED_OPT): New make option.
33891         (bench-func): Run benchmark program with -d if DETAILED_OPT is
33892         set.
33893         * benchtests/bench-skeleton.c: Include stdbool.h.
33894         (main): Store and print timings per input.
33895         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
33896         member to each argument value.
33897         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
33898         (_print_arg_data): Initialize per-input timing to 0.
33900         * benchtests/Makefile (timing-type): New binary.
33901         (bench-clean): Also remove bench-timing-type.
33902         (bench): New target for timing-type.
33903         (bench-func): Print output in JSON format.
33904         * benchtests/bench-skeleton.c (main): Print output in JSON
33905         format.
33906         * benchtests/bench-timing-type.c: New file.
33907         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
33908         (TIMING_PRINT_STATS): Remove.
33909         * benchtests/scripts/bench.py (_print_arg_data): Store variant
33910         name separately.
33912         * benchtests/bench-modf.c: Remove.
33913         * benchtests/modf-inputs: New inputs file.
33915 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
33917         [BZ #16362]
33918         * math/s_clog10.c (M_PI_LOG10E): New macro.
33919         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
33920         imaginary parts are 0.
33921         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
33922         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
33923         imaginary parts are 0.
33924         * math/s_clog10l.c (M_PI_LOG10El): New macro.
33925         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
33926         imaginary parts are 0.
33927         * math/libm-test.inc (clog10_test_data): Update expected results
33928         for when real and imaginary parts are 0.
33930 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
33932         * elf/dl-load.c: Finish conversion of __builtin_expect into
33933         __glibc_{un}likely.
33935 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
33937         [BZ #16348]
33938         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
33939         1+x for argument with exponent below -67.
33940         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
33941         Likewise.
33942         * math/auto-libm-test-in: Add more tests of exp.
33943         * math/auto-libm-test-out: Regenerated.
33945 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33947         [BZ #16759]
33948         * inet/getnetgrent_r.c (get_nonempty_val): New function.
33949         (nscd_getnetgrent): Use it.
33951         [BZ #16760]
33952         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
33953         of stpcpy.
33955 2014-03-27  Andi Kleen  <ak@linux.intel.com>
33957         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
33958         (lll_robust_lock, lll_cond_lock, lll_timedlock)
33959         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
33960         (lll_robust_unlock): Remove out of line section. Use cfi
33961         intrinsics.
33962         (LLL_STUB_UNWIND_INFO*): Remove.
33963         * nptl/sysdeps/unix/sysv/linux/i386/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.
33970 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33972         [BZ #16758]
33973         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
33974         blank values.
33976 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
33978         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
33980 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
33982         [BZ #16198]
33983         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
33984         fnstenv.
33985         * math/test-fenv-preserve.c: New file.
33986         * math/Makefile (tests): Add test-fenv-preserve.
33988 2014-03-26  Will Newton <will.newton@linaro.org>
33990         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
33992 2014-03-25  Roland McGrath  <roland@hack.frob.com>
33994         * scripts/versionlist.awk: Partition the version sets and emit all
33995         GLIBC_* (sorted) before all others (sorted).
33997 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
33999         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
34000         GLIBC_2.2.5 version.
34002 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34004         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
34005         calls.
34007         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
34008         previous change.
34010         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34012 2014-03-25  Andreas Schwab  <schwab@suse.de>
34014         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
34015         label to be used after in6ailist is initialized.
34017 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34019         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34020         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
34022 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
34024         [BZ #16357]
34025         [BZ #16599]
34026         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
34027         min_plus_half.
34028         (fp_formats): Update initializers.
34029         (init_fp_formats): Initialize new field.
34030         (output_for_one_input_case): Allow underflow for results up to
34031         min_plus_half.
34032         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
34033         * math/auto-libm-test-in: Don't mark some underflows from asin and
34034         atanh as spurious.
34035         * math/auto-libm-test-out: Regenerated.
34036         * sysdeps/i386/fpu/libm-test-ulps: Update.
34037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34039 2014-03-25  Andreas Schwab  <schwab@suse.de>
34041         * libio/Makefile (tst-ftell-partial-wide-ENV)
34042         (tst-ftell-active-handler-ENV): Define.
34044 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
34046         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
34048 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
34050         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
34052 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
34054         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
34055         * sysdeps/x86_64/fpu/multiarch/e_exp.c
34056         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
34058 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
34060         [BZ #16634]
34061         * elf/dl-load.c (open_verify): Add mode parameter.
34062         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
34063         (open_path): Change from boolean 'secure' to complete flag 'mode'
34064         (_dl_map_object): Adjust.
34065         * elf/Makefile (tests): Add tst-dlopen-aout.
34066         * elf/tst-dlopen-aout.c: New test.
34068 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
34070         [BZ #16714]
34071         * sysdeps/unix/sysv/linux/s390/bits/stat.h
34072         (struct stat): Rename member pad0 to __glibc_reserved0.
34074         [BZ #16712]
34075         * sysdeps/s390/s390-32/bits/wordsize.h
34076         (__WORDSIZE32_SIZE_ULONG): New define.
34077         * sysdeps/s390/s390-64/bits/wordsize.h
34078         (__WORDSIZE32_SIZE_ULONG): Likewise.
34079         * sysdeps/generic/stdint.h (SIZE_MAX):
34080         Define as UL if __WORDSIZE32_SIZE_ULONG.
34082         [BZ #16713]
34083         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
34084         (__glibc_reserved0): New variable.
34085         (sa_flags): Change type to int.
34087         * posix/Makefile (before-compile): Use += before-compile instead
34088         of a :=.
34090         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34091         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
34093 2014-03-20  Andreas Schwab  <schwab@suse.de>
34095         [BZ #16743]
34096         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
34097         non-matching result from nscd.
34099 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34101         * scripts/bench.py: Moved to ...
34102         * benchtests/scripts/bench.py: ... here.
34103         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
34105 2014-03-24  Andreas Schwab  <schwab@suse.de>
34107         [BZ #16002]
34108         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
34109         alloca_account and account alloca use for struct in6ailist.
34111 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
34113         [BZ #16284]
34114         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
34115         rounding mode to recompute results that overflow to infinity or
34116         underflow to zero.
34117         * math/auto-libm-test-in: Don't mark tests as expected to fail for
34118         bug 16284.
34119         * math/auto-libm-test-out: Regenerated.
34120         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
34121         (ccosh_test): Likewise.
34122         (csin_test_data): Use plus_oflow.
34123         (csin_test): Use ALL_RM_TEST.
34124         (csinh_test_data): Use plus_oflow.
34125         (csinh_test): Use ALL_RM_TEST.
34126         * sysdeps/i386/fpu/libm-test-ulps: Update.
34127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34129 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
34131         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
34132         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
34133         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
34135         [BZ #16731]
34136         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
34137         when x - 1 is zero.
34138         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
34139         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
34140         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
34141         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
34142         argument is 1.
34143         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
34144         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
34145         zero.
34146         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
34147         * sysdeps/i386/fpu/libm-test-ulps: Update.
34148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34150 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34152         * scripts/bench.pl: Remove file.
34153         * scripts/bench.py: New benchmark script.
34154         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
34155         * benchtests/README: Mention python dependency.
34156         * scripts/pylintrc: New file.
34157         * scripts/pylint: New file.
34159         * bits/mathdef.h: Use #ifdef instead of #if.
34160         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
34161         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
34162         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
34163         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
34164         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
34165         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
34167 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34168             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34170         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
34171         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
34172         and strpbrk-ppc64 objects.
34173         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34174         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
34175         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
34176         multiarch strpbrk for POWER7.
34177         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
34178         multiarch strpbrk for PPC64.
34179         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
34180         ifunc selector.
34181         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
34182         strpbrk for POWER7.
34184 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
34186         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
34187         (atan_test): Likewise.
34188         (atanh_test_data): Use NO_TEST_INLINE for two tests.
34189         (atanh_test): Use ALL_RM_TEST.
34190         (atan2_test_data): Likewise.
34191         (cabs_test): Likewise.
34192         (cacosh_test): Likewise.
34193         (carg_test): Likewise.
34194         (casin_test): Likewise.
34195         (casinh_test): Likewise.
34196         (cbrt_test): Likewise.
34197         (csqrt_test): Likewise.
34198         (erf_test): Likewise.
34199         (erfc_test): Likewise.
34200         (pow10_test): Likewise.
34201         (exp2_test): Likewise.
34202         (hypot_test): Likewise.
34203         (j0_test): Likewise.
34204         (j1_test): Likewise.
34205         (lgamma_test): Likewise.
34206         (gamma_test): Likewise.
34207         (sincos_test): Likewise.
34208         (tanh_test): Likewise.
34209         (y0_test): Likewise.
34210         (y1_test): Likewise.
34211         * sysdeps/i386/fpu/libm-test-ulps: Update.
34212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34214 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34216         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
34217         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
34218         and strcspn-ppc64 objects.
34219         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34220         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
34221         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
34222         multiarch strcspn for POWER7.
34223         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
34224         multiarch strcspn for PPC64.
34225         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
34226         ifunc selector.
34227         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
34228         strcspn for POWER7.
34230 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
34232         * math/gen-libm-test.pl (generate_testfile): Expect only function
34233         name as argument to AUTO_TESTS_* and pass results for all rounding
34234         modes to parse_args.
34235         (parse_auto_input): Separate inputs of automatic tests from
34236         outputs before storing in %auto_tests.
34237         * math/libm-test.inc (acos_test_data): Update call to
34238         AUTO_TESTS_f_f.
34239         (acos_test): Use ALL_RM_TEST.
34240         (acos_tonearest_test_data): Remove.
34241         (acos_test_tonearest): Likewise.
34242         (acos_towardzero_test_data): Likewise.
34243         (acos_test_towardzero): Likewise.
34244         (acos_downward_test_data): Likewise.
34245         (acos_test_downward): Likewise.
34246         (acos_upward_test_data): Likewise.
34247         (acos_test_upward): Likewise.
34248         (acosh_test_data): Update call to AUTO_TESTS_f_f.
34249         (asin_test_data): Likewise.
34250         (asin_test): Use ALL_RM_TEST.
34251         (asin_tonearest_test_data): Remove.
34252         (asin_test_tonearest): Likewise.
34253         (asin_towardzero_test_data): Likewise.
34254         (asin_test_towardzero): Likewise.
34255         (asin_downward_test_data): Likewise.
34256         (asin_test_downward): Likewise.
34257         (asin_upward_test_data): Likewise.
34258         (asin_test_upward): Likewise.
34259         (asinh_test_data): Update call to AUTO_TESTS_f_f.
34260         (atan_test_data): Likewise.
34261         (atanh_test_data): Likewise.
34262         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
34263         (cabs_test_data): Update call to AUTO_TESTS_c_f.
34264         (carg_test_data): Likewise.
34265         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
34266         (ccos_test_data): Update call to AUTO_TESTS_c_c.
34267         (ccosh_test_data): Likewise.
34268         (cexp_test_data): Likewise.
34269         (clog_test_data): Likewise.
34270         (clog10_test_data): Likewise.
34271         (cos_test_data): Update call to AUTO_TESTS_f_f.
34272         (cos_test): Use ALL_RM_TEST.
34273         (cos_tonearest_test_data): Remove.
34274         (cos_test_tonearest): Likewise.
34275         (cos_towardzero_test_data): Likewise.
34276         (cos_test_towardzero): Likewise.
34277         (cos_downward_test_data): Likewise.
34278         (cos_test_downward): Likewise.
34279         (cos_upward_test_data): Likewise.
34280         (cos_test_upward): Likewise.
34281         (cosh_test_data): Update call to AUTO_TESTS_f_f.
34282         (cosh_test): Use ALL_RM_TEST.
34283         (cosh_tonearest_test_data): Remove.
34284         (cosh_test_tonearest): Likewise.
34285         (cosh_towardzero_test_data): Likewise.
34286         (cosh_test_towardzero): Likewise.
34287         (cosh_downward_test_data): Likewise.
34288         (cosh_test_downward): Likewise.
34289         (cosh_upward_test_data): Likewise.
34290         (cosh_test_upward): Likewise.
34291         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
34292         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
34293         (ctan_test_data): Likewise.
34294         (ctan_test): Use ALL_RM_TEST.
34295         (ctan_tonearest_test_data): Remove.
34296         (ctan_test_tonearest): Likewise.
34297         (ctan_towardzero_test_data): Likewise.
34298         (ctan_test_towardzero): Likewise.
34299         (ctan_downward_test_data): Likewise.
34300         (ctan_test_downward): Likewise.
34301         (ctan_upward_test_data): Likewise.
34302         (ctan_test_upward): Likewise.
34303         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
34304         (ctanh_test): Use ALL_RM_TEST.
34305         (ctanh_tonearest_test_data): Remove.
34306         (ctanh_test_tonearest): Likewise.
34307         (ctanh_towardzero_test_data): Likewise.
34308         (ctanh_test_towardzero): Likewise.
34309         (ctanh_downward_test_data): Likewise.
34310         (ctanh_test_downward): Likewise.
34311         (ctanh_upward_test_data): Likewise.
34312         (ctanh_test_upward): Likewise.
34313         (erf_test_data): Update call to AUTO_TESTS_f_f.
34314         (erfc_test_data): Likewise.
34315         (exp_test_data): Likewise.
34316         (exp_test): Use ALL_RM_TEST.
34317         (exp_tonearest_test_data): Remove.
34318         (exp_test_tonearest): Likewise.
34319         (exp_towardzero_test_data): Likewise.
34320         (exp_test_towardzero): Likewise.
34321         (exp_downward_test_data): Likewise.
34322         (exp_test_downward): Likewise.
34323         (exp_upward_test_data): Likewise.
34324         (exp_test_upward): Likewise.
34325         (exp10_test_data): Update call to AUTO_TESTS_f_f.
34326         (exp10_test): Use ALL_RM_TEST.
34327         (exp10_tonearest_test_data): Remove.
34328         (exp10_test_tonearest): Likewise.
34329         (exp10_towardzero_test_data): Likewise.
34330         (exp10_test_towardzero): Likewise.
34331         (exp10_downward_test_data): Likewise.
34332         (exp10_test_downward): Likewise.
34333         (exp10_upward_test_data): Likewise.
34334         (exp10_test_upward): Likewise.
34335         (exp2_test_data): Update call to AUTO_TESTS_f_f.
34336         (expm1_test_data): Likewise.
34337         (expm1_test): Use ALL_RM_TEST.
34338         (expm1_tonearest_test_data): Remove.
34339         (expm1_test_tonearest): Likewise.
34340         (expm1_towardzero_test_data): Likewise.
34341         (expm1_test_towardzero): Likewise.
34342         (expm1_downward_test_data): Likewise.
34343         (expm1_test_downward): Likewise.
34344         (expm1_upward_test_data): Likewise.
34345         (expm1_test_upward): Likewise.
34346         (fma_test_data): Update call to AUTO_TESTS_fff_f.
34347         (fma_test): Use ALL_RM_TEST.
34348         (fma_towardzero_test_data): Remove.
34349         (fma_test_towardzero): Likewise.
34350         (fma_downward_test_data): Likewise.
34351         (fma_test_downward): Likewise.
34352         (fma_upward_test_data): Likewise.
34353         (fma_test_upward): Likewise.
34354         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
34355         (j0_test_data): Update call to AUTO_TESTS_f_f.
34356         (j1_test_data): Likewise.
34357         (jn_test_data): Update call to AUTO_TESTS_if_f.
34358         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
34359         (log_test_data): Update call to AUTO_TESTS_f_f.
34360         (log10_test_data): Likewise.
34361         (log1p_test_data): Likewise.
34362         (log2_test_data): Likewise.
34363         (pow_test_data): Update call to AUTO_TESTS_ff_f.
34364         (pow_tonearest_test_data): Likewise.
34365         (sin_test_data): Update call to AUTO_TESTS_f_f.
34366         (sin_test): Use ALL_RM_TEST.
34367         (sin_tonearest_test_data): Remove.
34368         (sin_test_tonearest): Likewise.
34369         (sin_towardzero_test_data): Likewise.
34370         (sin_test_towardzero): Likewise.
34371         (sin_downward_test_data): Likewise.
34372         (sin_test_downward): Likewise.
34373         (sin_upward_test_data): Likewise.
34374         (sin_test_upward): Likewise.
34375         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
34376         (sinh_test_data): Update call to AUTO_TESTS_f_f.
34377         (sinh_test): Use ALL_RM_TEST.
34378         (sinh_tonearest_test_data): Remove.
34379         (sinh_test_tonearest): Likewise.
34380         (sinh_towardzero_test_data): Likewise.
34381         (sinh_test_towardzero): Likewise.
34382         (sinh_downward_test_data): Likewise.
34383         (sinh_test_downward): Likewise.
34384         (sinh_upward_test_data): Likewise.
34385         (sinh_test_upward): Likewise.
34386         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
34387         (sqrt_test): Use ALL_RM_TEST.
34388         (sqrt_tonearest_test_data): Remove.
34389         (sqrt_test_tonearest): Likewise.
34390         (sqrt_towardzero_test_data): Likewise.
34391         (sqrt_test_towardzero): Likewise.
34392         (sqrt_downward_test_data): Likewise.
34393         (sqrt_test_downward): Likewise.
34394         (sqrt_upward_test_data): Likewise.
34395         (sqrt_test_upward): Likewise.
34396         (tan_test_data): Update call to AUTO_TESTS_f_f.
34397         (tan_test): Use ALL_RM_TEST.
34398         (tan_tonearest_test_data): Remove.
34399         (tan_test_tonearest): Likewise.
34400         (tan_towardzero_test_data): Likewise.
34401         (tan_test_towardzero): Likewise.
34402         (tan_downward_test_data): Likewise.
34403         (tan_test_downward): Likewise.
34404         (tan_upward_test_data): Likewise.
34405         (tan_test_upward): Likewise.
34406         (tanh_test_data): Update call to AUTO_TESTS_f_f.
34407         (tgamma_test_data): Likewise.
34408         (y0_test_data): Likewise.
34409         (y1_test_data): Likewise.
34410         (yn_test_data): Update call to AUTO_TESTS_if_f.
34411         (main): Do not call removed functions.
34413 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
34415         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
34416         (ldexp_test_data): Remove.
34417         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
34418         scalbn_test_data.
34419         (scalb_test): Use ALL_RM_TEST.
34421 2014-03-19  Andreas Schwab  <schwab@suse.de>
34423         * nscd/nscd.service: Also invalidate netgroup cache on reload.
34425 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
34427         [BZ #16649]
34428         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34429         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
34430         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
34431         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34432         (__ASSUME_PREADV): Undefine.
34433         (__ASSUME_PWRITEV): Likewise.
34435 2014-03-18  Roland McGrath  <roland@hack.frob.com>
34437         * bits/mman-linux.h: Add comment about non-Linux use.
34438         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
34439         bits/mman-linux.h resting place.
34441         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
34442         * bits/mman-linux.h: ... here.
34444 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34446         * conform/conformtest.pl: Add standard definition when calling C
34447         preprocessor on data files.
34448         (checknamespace): Remove unused variable.
34450 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
34452         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
34453         minus_oflow, plus_uflow and minus_uflow in expected results.
34454         * math/libm-test.inc (scalbn_test_data): Add more tests of
34455         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
34456         minus_uflow.
34457         (scalbn_test): Use ALL_RM_TEST.
34458         (scalbln_test_data): Add more tests of negative arguments.  Use
34459         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
34460         (scalbln_test): Use ALL_RM_TEST.
34462 2014-03-18  Roland McGrath  <roland@hack.frob.com>
34464         * scripts/abilist.awk: Ignore symbols marked with .hidden.
34466 2014-03-18  Will Newton  <will.newton@linaro.org>
34468         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
34469         inaccurate comment.
34471 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
34473         * Makerules [!subdir] (check-abi): Exit with error status if a
34474         test failed.
34476 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
34478         * math/libm-test.inc (nearbyint_test_data): Include all tests used
34479         for rint.  Include results for all rounding modes.
34480         (nearbyint_test): Use ALL_RM_TEST.
34481         (rint_test_data): Include all tests used for nearbyint.
34483 2014-03-17  Will Newton  <will.newton@linaro.org>
34485         * nptl/sysdeps/pthread/pthread.h: Revert previous
34486         change.
34488         * sysdeps/generic/ldsodefs.h: Revert previous
34489         change.
34491         * libio/genops.c: Revert previous change.
34492         * libio/libioP.h: Likewise.
34493         * stdio-common/vfprintf.c: Likewise.
34495         * sysdeps/generic/math_private.h: Revert previous
34496         change.
34498         * sysdeps/generic/math_private.h: Check whether
34499         HAVE_RM_CTX is defined with #ifdef rather
34500         than #if.
34502         * argp/argp-fmtstream.h: Check whether
34503         __STRICT_ANSI__ is defined with #ifdef rather
34504         than #if.
34505         * argp/argp.h: Likewise.
34507         * libio/genops.c: Check whether
34508         _IO_JUMPS_OFFSET is defined with #ifdef rather
34509         than #if.
34510         * libio/libioP.h: Likewise.
34511         * stdio-common/vfprintf.c: Likewise.
34513         * sysdeps/generic/ldsodefs.h: Check whether
34514         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
34515         than #if.
34517         * nptl/sysdeps/pthread/pthread.h: Check
34518         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
34519         its value.
34521 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34523         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
34524         setting O_APPEND.
34525         * libio/tst-ftell-active-handler.c (do_append_test): Add a
34526         test case.
34528         [BZ #16680]
34529         * libio/fileops.c (_IO_file_open): Seek to end of file but
34530         don't cache the offset.
34531         (get_file_offset): Remove function.
34532         (do_ftell): Use cached offset when available.
34533         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
34534         don't cache the offset.
34535         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
34536         case.
34537         (do_one_test): Call it.
34538         (do_ftell_test): Fix up expected old offset for a+ mode.
34539         * libio/wfileops.c (do_ftell_wide): Used cached offset when
34540         available.
34542         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
34543         up test status with function return status.
34544         (do_write_test): Likewise.
34545         (do_append_test): Likewise.
34547         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
34548         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
34549         Remove.
34551 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
34553         * math/gen-libm-test.pl (parse_args): Handle results specified for
34554         each rounding mode separately.
34555         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
34556         tests and results from lrint_tonearest_test_data,
34557         lrint_towardzero_test_data, lrint_downward_test_data and
34558         lrint_upward_test_data.
34559         (lrint_test): Use ALL_RM_TEST.
34560         (lrint_tonearest_test_data): Remove.
34561         (lrint_test_tonearest): Likewise.
34562         (lrint_towardzero_test_data): Likewise.
34563         (lrint_test_towardzero): Likewise.
34564         (lrint_downward_test_data): Likewise.
34565         (lrint_test_downward): Likewise.
34566         (lrint_upward_test_data): Likewise.
34567         (lrint_test_upward): Likewise.
34568         (llrint_test_data): Merge in per-rounding-mode tests and results
34569         from llrint_tonearest_test_data, llrint_towardzero_test_data,
34570         llrint_downward_test_data and llrint_upward_test_data.
34571         (llrint_test): Use ALL_RM_TEST.
34572         (llrint_tonearest_test_data): Remove.
34573         (llrint_test_tonearest): Likewise.
34574         (llrint_towardzero_test_data): Likewise.
34575         (llrint_test_towardzero): Likewise.
34576         (llrint_downward_test_data): Likewise.
34577         (llrint_test_downward): Likewise.
34578         (llrint_upward_test_data): Likewise.
34579         (llrint_test_upward): Likewise.
34580         (rint_test_data): Merge in per-rounding-mode tests and results
34581         from rint_tonearest_test_data, rint_towardzero_test_data,
34582         rint_downward_test_data and rint_upward_test_data.  Add
34583         per-rounding-mode results for tests not in those arrays.
34584         (rint_test): Use ALL_RM_TEST.
34585         (rint_tonearest_test_data): Remove.
34586         (rint_test_tonearest): Likewise.
34587         (rint_towardzero_test_data): Likewise.
34588         (rint_test_towardzero): Likewise.
34589         (rint_downward_test_data): Likewise.
34590         (rint_test_downward): Likewise.
34591         (rint_upward_test_data): Likewise.
34592         (rint_test_upward): Likewise.
34593         (main): Don't call removed functions.
34595 2014-03-14  Roland McGrath  <roland@hack.frob.com>
34597         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
34598         "Compiled on ..." crapola.  It is anti-useful.
34600 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
34602         * scripts/evaluate-test.sh: Handle fourth argument to determine
34603         whether test run should stop on failure.
34604         * Makeconfig (stop-on-test-failure): New variable.
34605         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
34606         $(stop-on-test-failure).
34607         * Makefile (tests): Give a summary of results from testing and
34608         exit with failure status if they include an ERROR or FAIL.
34609         (xtests): Likewise.
34610         * manual/install.texi (Configuring and compiling): Mention
34611         stop-on-test-failure=y.
34612         * INSTALL: Regenerated.
34614 2014-03-14  Roland McGrath  <roland@hack.frob.com>
34616         * scripts/versionlist.awk: New file.
34617         * Makerules [$(build-shared) = yes]
34618         (postclean-generated): Add Versions.def, not Versions.def.v and
34619         Versions.def.v.i.
34620         ($(common-objpfx)Versions.def.v.i): Target removed.
34621         ($(common-objpfx)Versions.def): New target.
34622         ($(common-objpfx)Versions.all): Depend on that rather that
34623         $(common-objpfx)Versions.def.v.
34624         * Versions.def: File removed.
34626         * Makeconfig (+gccwarn): Add -Wundef.
34627         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
34628         a dl-sysdep.h breaking its contract.
34629         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
34630         * include/stackinfo.h: New file.
34631         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
34632         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
34633         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
34634         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
34635         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
34636         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
34637         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34638         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34639         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34640         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34641         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34642         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
34643         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34644         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34645         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34647 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34649         [BZ #16707]
34650         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
34651         implementation.
34652         * math/libm-test.inc (round_test_data): Add more tests.
34654         [BZ #16706]
34655         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
34656         implementation.
34657         * math/libm-test.inc (nearbyint_test_data): Add more tests.
34659         [BZ #16701]
34660         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
34661         implementation.
34662         * math/libm-test.inc (ceil_test_data): Add more tests.
34664         * math/libm-test.inc (trunc_test_data): Add more tests related to
34665         BZ#16414.
34667 2014-03-14  Roland McGrath  <roland@hack.frob.com>
34669         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
34670         with #if rather than #ifdef.
34671         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
34673 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
34675         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
34676         first.  Disable AVX-512 GCC support if assembler doesn't support
34677         it.
34678         * sysdeps/x86_64/configure: Regenerated.
34680 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
34682         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
34683         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
34684         (__old_pthread_attr_setstack): Likewise.
34685         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
34686         [!_STACK_GROWS_DOWN]: Likewise.
34688 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
34690         * config.make.in (have-bash2): Delete.
34691         * configure.ac (libc_cv_have_bash2): Delete.
34692         * configure: Regenerate.
34693         * elf/Makefile (common-ldd-rewrite): Rename to ...
34694         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
34695         (sh-ldd-rewrite): Delete.
34696         (bash-ldd-rewrite): Delete.
34697         (have-bash2): Delete checks.
34698         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
34699         ldd-rewrite.
34701         * config.make.in (have-ksh): Delete.
34702         (KSH): Delete.
34703         * configure.ac (libc_cv_have_ksh): Delete.
34704         * configure: Regenerate.
34706         * elf/Makefile: Delete $(have-ksh) check.
34707         ($(objpfx)sotruss): Change KSH to BASH.
34708         * elf/sotruss.ksh: Rename to ...
34709         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
34710         function style to match POSIX.  Drop ksh vim mode setting.
34712         * manual/time.texi (Specifying the Time Zone with TZ): Change
34713         Tuesday to Thursday.
34715         * debug/tst-longjmp_chk2.c: Update header comment.
34716         (stackoverflow_handler): Add comment.  Call assert on pass value.
34718 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
34720         [BZ #16194]
34721         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
34722         (HAVE_AVX512_ASM_SUPPORT): Likewise.
34723         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
34724         (La_x86_64_vector): Add zmm.
34725         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
34726         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
34727         ($(objpfx)tst-audit10): New target.
34728         ($(objpfx)tst-audit10.out): Likewise.
34729         (tst-audit10-ENV): New.
34730         (AVX512-CFLAGS): Likewise.
34731         (CFLAGS-tst-audit10.c): Likewise.
34732         (CFLAGS-tst-auditmod10a.c): Likewise.
34733         (CFLAGS-tst-auditmod10b.c): Likewise.
34734         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
34735         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
34736         * sysdeps/x86_64/configure: Regenerated.
34737         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
34738         AVX-512 zmm register support.
34739         (_dl_x86_64_save_sse): Likewise.
34740         (_dl_x86_64_restore_sse): Likewise.
34741         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
34742         size vector registers.
34743         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
34744         (ZMM_SIZE): Likewise.
34745         * sysdeps/x86_64/tst-audit10.c: New file.
34746         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
34747         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
34749 2014-03-13  Roland McGrath  <roland@hack.frob.com>
34751         * configure.ac (HAVE_EHDR_START): New check.
34752         * configure: Regenerated.
34753         * config.h.in (HAVE_EHDR_START): New #undef.
34754         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
34755         assuming the lowest-addressed segment maps the start of the file.
34757 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
34759         * INSTALL: Regenerated.
34761 2014-03-13  Will Newton  <will.newton@linaro.org>
34763         * manual/setjmp.texi (System V contexts): Improve
34764         clarity and grammar of documentation.
34766 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
34768         [BZ #16381]
34769         * elf/Makefile (tests): Add tst-pie2.
34770         (tests-pie): Add tst-pie2.
34771         * elf/tst-pie2.c: New file.
34772         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
34773         for ET_EXEC.
34774         * elf/rtld.c (map_doit): Load executable as lt_executable.
34775         (dl_main): Likewise.
34777 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
34779         [BZ #16642]
34780         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34781         (__ASSUME_PSELECT): Undefine.
34783 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34785         [BZ #16689]
34786         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
34787         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
34788         static build.
34789         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
34790         selector for static builds.
34792 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34794         [BZ #16695]
34795         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
34796         key in the buffer.
34798 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34800         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
34801         IFUNC selector for static builds.
34803 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
34805         * sysdeps/mips/math_private.h [__mips_hard_float]
34806         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
34807         libc_feresetround_mips_ctx.
34808         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
34809         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
34810         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
34812         [BZ #16677]
34813         * math/s_nextafter.c (__nextafter): Do not return value from
34814         overflowing computation.
34815         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
34816         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
34817         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
34818         Likewise.
34819         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
34820         Likewise.
34821         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
34822         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
34824 2014-03-11  Roland McGrath  <roland@hack.frob.com>
34826         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
34827         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
34828         Move sfi_sp use from the load-multiple (that no longer sets sp) to
34829         the new mov targetting sp.
34831 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34833         [BZ #16683]
34834         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
34835         Define it for static builds as well.
34836         (NO_BZERO_IMPL): Likewise.
34838 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34840         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
34841         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
34842         multiarch strspn for PPC64.
34843         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
34844         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
34845         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34846         (__libc_ifunc_impl_list): Likewise.
34847         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
34848         multiarch optimizations
34849         * string/strspn.c (strspn): Using macro to redefine symbol name.
34851 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34852             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34854         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
34855         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
34856         multiarch strncat for PPC64.
34857         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
34858         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
34859         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34860         (__libc_ifunc_impl_list): Likewise.
34861         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
34862         multiarch optimizations
34864 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34866         [BZ #16639]
34867         * nscd/nscd.service: Make service type forking.
34869 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34871         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
34872         sign in non default rounding modes.
34873         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
34875 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
34877         * math/libm-test.inc (ALL_RM_TEST): New macro.
34878         (ceil_test): Use ALL_RM_TEST.
34879         (cimag_test): Likewise.
34880         (conj_test): Likewise.
34881         (copysign_test): Likewise.
34882         (cproj_test): Likewise.
34883         (creal_test): Likewise.
34884         (fabs_test): Likewise.
34885         (floor_test): Likewise.
34886         (fmax_test): Likewise.
34887         (fmin_test): Likewise.
34888         (fmod_test): Likewise.
34889         (fpclassify_test): Likewise.
34890         (frexp_test): Likewise.
34891         (ilogb_test): Likewise.
34892         (isfinite_test): Likewise.
34893         (finite_test): Likewise.
34894         (isgreater_test): Likewise.
34895         (isgreaterequal_test): Likewise.
34896         (isinf_test): Likewise.
34897         (isless_test): Likewise.
34898         (islessequal_test): Likewise.
34899         (islessgreater_test): Likewise.
34900         (isnan_test): Likewise.
34901         (isnormal_test): Likewise.
34902         (issignaling_test): Likewise.
34903         (isunordered_test): Likewise.
34904         (logb_test): Likewise.
34905         (logb_downward_test_data): Remove.
34906         (logb_test_downward): Likewise.
34907         (lround_test): Use ALL_RM_TEST.
34908         (llround_test): Likewise.
34909         (modf_test): Likewise.
34910         (nexttoward_test): Likewise.
34911         (remainder_test): Likewise.
34912         (drem_test): Likewise.
34913         (remainder_tonearest_test_data): Likewise.
34914         (remainder_test_tonearest): Likewise.
34915         (drem_test_tonearest): Likewise.
34916         (remainder_towardzero_test_data): Likewise.
34917         (remainder_test_towardzero): Likewise.
34918         (drem_test_towardzero): Likewise.
34919         (remainder_downward_test_data): Likewise.
34920         (remainder_test_downward): Likewise.
34921         (drem_test_downward): Likewise.
34922         (remainder_upward_test_data): Likewise.
34923         (remainder_test_upward): Likewise.
34924         (drem_test_upward): Likewise.
34925         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
34926         (round_test): Use ALL_RM_TEST.
34927         (signbit_test): Likewise.
34928         (trunc_test): Likewise.
34929         (significand_test): Likewise.
34930         (main): Don't call removed functions.
34932 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
34934         [BZ #16674]
34935         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
34936         || __USE_XOPEN2K8].
34937         (ILL_ILLOPN): Likewise.
34938         (ILL_ILLADR): Likewise.
34939         (ILL_ILLTRP): Likewise.
34940         (ILL_PRVOPC): Likewise.
34941         (ILL_PRVREG): Likewise.
34942         (ILL_COPROC): Likewise.
34943         (ILL_BADSTK): Likewise.
34944         (FPE_INTDIV): Likewise.
34945         (FPE_INTOVF): Likewise.
34946         (FPE_FLTDIV): Likewise.
34947         (FPE_FLTOVF): Likewise.
34948         (FPE_FLTUND): Likewise.
34949         (FPE_FLTRES): Likewise.
34950         (FPE_FLTINV): Likewise.
34951         (FPE_FLTSUB): Likewise.
34952         (SEGV_MAPERR): Likewise.
34953         (SEGV_ACCERR): Likewise.
34954         (BUS_ADRALN): Likewise.
34955         (BUS_ADRERR): Likewise.
34956         (BUS_OBJERR): Likewise.
34957         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34958         (TRAP_TRACE): Likewise.
34959         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34960         __USE_XOPEN2K8].
34961         (CLD_KILLED): Likewise.
34962         (CLD_DUMPED): Likewise.
34963         (CLD_TRAPPED): Likewise.
34964         (CLD_STOPPED): Likewise.
34965         (CLD_CONTINUED): Likewise.
34966         (POLL_IN): Likewise.
34967         (POLL_OUT): Likewise.
34968         (POLL_MSG): Likewise.
34969         (POLL_ERR): Likewise.
34970         (POLL_PRI): Likewise.
34971         (POLL_HUP): Likewise.
34972         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
34973         Likewise.
34974         (ILL_ILLOPN): Likewise.
34975         (ILL_ILLADR): Likewise.
34976         (ILL_ILLTRP): Likewise.
34977         (ILL_PRVOPC): Likewise.
34978         (ILL_PRVREG): Likewise.
34979         (ILL_COPROC): Likewise.
34980         (ILL_BADSTK): Likewise.
34981         (FPE_INTDIV): Likewise.
34982         (FPE_INTOVF): Likewise.
34983         (FPE_FLTDIV): Likewise.
34984         (FPE_FLTOVF): Likewise.
34985         (FPE_FLTUND): Likewise.
34986         (FPE_FLTRES): Likewise.
34987         (FPE_FLTINV): Likewise.
34988         (FPE_FLTSUB): Likewise.
34989         (SEGV_MAPERR): Likewise.
34990         (SEGV_ACCERR): Likewise.
34991         (BUS_ADRALN): Likewise.
34992         (BUS_ADRERR): Likewise.
34993         (BUS_OBJERR): Likewise.
34994         (BUS_MCEERR_AR): Likewise.
34995         (BUS_MCEERR_AO): Likewise.
34996         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34997         (TRAP_TRACE): Likewise.
34998         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34999         __USE_XOPEN2K8].
35000         (CLD_KILLED): Likewise.
35001         (CLD_DUMPED): Likewise.
35002         (CLD_TRAPPED): Likewise.
35003         (CLD_STOPPED): Likewise.
35004         (CLD_CONTINUED): Likewise.
35005         (POLL_IN): Likewise.
35006         (POLL_OUT): Likewise.
35007         (POLL_MSG): Likewise.
35008         (POLL_ERR): Likewise.
35009         (POLL_PRI): Likewise.
35010         (POLL_HUP): Likewise.
35011         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
35012         (ILL_ILLOPN): Likewise.
35013         (ILL_ILLADR): Likewise.
35014         (ILL_ILLTRP): Likewise.
35015         (ILL_PRVOPC): Likewise.
35016         (ILL_PRVREG): Likewise.
35017         (ILL_COPROC): Likewise.
35018         (ILL_BADSTK): Likewise.
35019         (FPE_INTDIV): Likewise.
35020         (FPE_INTOVF): Likewise.
35021         (FPE_FLTDIV): Likewise.
35022         (FPE_FLTOVF): Likewise.
35023         (FPE_FLTUND): Likewise.
35024         (FPE_FLTRES): Likewise.
35025         (FPE_FLTINV): Likewise.
35026         (FPE_FLTSUB): Likewise.
35027         (SEGV_MAPERR): Likewise.
35028         (SEGV_ACCERR): Likewise.
35029         (BUS_ADRALN): Likewise.
35030         (BUS_ADRERR): Likewise.
35031         (BUS_OBJERR): Likewise.
35032         (BUS_MCEERR_AR): Likewise.
35033         (BUS_MCEERR_AO): Likewise.
35034         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35035         (TRAP_TRACE): Likewise.
35036         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35037         __USE_XOPEN2K8].
35038         (CLD_KILLED): Likewise.
35039         (CLD_DUMPED): Likewise.
35040         (CLD_TRAPPED): Likewise.
35041         (CLD_STOPPED): Likewise.
35042         (CLD_CONTINUED): Likewise.
35043         (POLL_IN): Likewise.
35044         (POLL_OUT): Likewise.
35045         (POLL_MSG): Likewise.
35046         (POLL_ERR): Likewise.
35047         (POLL_PRI): Likewise.
35048         (POLL_HUP): Likewise.
35049         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
35050         Likewise.
35051         (ILL_ILLOPN): Likewise.
35052         (ILL_ILLADR): Likewise.
35053         (ILL_ILLTRP): Likewise.
35054         (ILL_PRVOPC): Likewise.
35055         (ILL_PRVREG): Likewise.
35056         (ILL_COPROC): Likewise.
35057         (ILL_BADSTK): Likewise.
35058         (ILL_BADIADDR): Likewise.
35059         (ILL_BREAK): Likewise.
35060         (FPE_INTDIV): Likewise.
35061         (FPE_INTOVF): Likewise.
35062         (FPE_FLTDIV): Likewise.
35063         (FPE_FLTOVF): Likewise.
35064         (FPE_FLTUND): Likewise.
35065         (FPE_FLTRES): Likewise.
35066         (FPE_FLTINV): Likewise.
35067         (FPE_FLTSUB): Likewise.
35068         (FPE_DECOVF): Likewise.
35069         (FPE_DECDIV): Likewise.
35070         (FPE_DECERR): Likewise.
35071         (FPE_INVASC): Likewise.
35072         (FPE_INVDEC): Likewise.
35073         (SEGV_MAPERR): Likewise.
35074         (SEGV_ACCERR): Likewise.
35075         (SEGV_PSTKOVF): Likewise.
35076         (BUS_ADRALN): Likewise.
35077         (BUS_ADRERR): Likewise.
35078         (BUS_OBJERR): Likewise.
35079         (BUS_MCEERR_AR): Likewise.
35080         (BUS_MCEERR_AO): Likewise.
35081         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35082         (TRAP_TRACE): Likewise.
35083         (TRAP_BRANCH): Likewise.
35084         (TRAP_HWBKPT): Likewise.
35085         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35086         __USE_XOPEN2K8].
35087         (CLD_KILLED): Likewise.
35088         (CLD_DUMPED): Likewise.
35089         (CLD_TRAPPED): Likewise.
35090         (CLD_STOPPED): Likewise.
35091         (CLD_CONTINUED): Likewise.
35092         (POLL_IN): Likewise.
35093         (POLL_OUT): Likewise.
35094         (POLL_MSG): Likewise.
35095         (POLL_ERR): Likewise.
35096         (POLL_PRI): Likewise.
35097         (POLL_HUP): Likewise.
35098         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
35099         (ILL_ILLOPN): Likewise.
35100         (ILL_ILLADR): Likewise.
35101         (ILL_ILLTRP): Likewise.
35102         (ILL_PRVOPC): Likewise.
35103         (ILL_PRVREG): Likewise.
35104         (ILL_COPROC): Likewise.
35105         (ILL_BADSTK): Likewise.
35106         (FPE_INTDIV): Likewise.
35107         (FPE_INTOVF): Likewise.
35108         (FPE_FLTDIV): Likewise.
35109         (FPE_FLTOVF): Likewise.
35110         (FPE_FLTUND): Likewise.
35111         (FPE_FLTRES): Likewise.
35112         (FPE_FLTINV): Likewise.
35113         (FPE_FLTSUB): Likewise.
35114         (SEGV_MAPERR): Likewise.
35115         (SEGV_ACCERR): Likewise.
35116         (BUS_ADRALN): Likewise.
35117         (BUS_ADRERR): Likewise.
35118         (BUS_OBJERR): Likewise.
35119         (BUS_MCEERR_AR): Likewise.
35120         (BUS_MCEERR_AO): Likewise.
35121         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35122         (TRAP_TRACE): Likewise.
35123         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35124         __USE_XOPEN2K8].
35125         (CLD_KILLED): Likewise.
35126         (CLD_DUMPED): Likewise.
35127         (CLD_TRAPPED): Likewise.
35128         (CLD_STOPPED): Likewise.
35129         (CLD_CONTINUED): Likewise.
35130         (POLL_IN): Likewise.
35131         (POLL_OUT): Likewise.
35132         (POLL_MSG): Likewise.
35133         (POLL_ERR): Likewise.
35134         (POLL_PRI): Likewise.
35135         (POLL_HUP): Likewise.
35136         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
35137         (ILL_ILLOPN): Likewise.
35138         (ILL_ILLADR): Likewise.
35139         (ILL_ILLTRP): Likewise.
35140         (ILL_PRVOPC): Likewise.
35141         (ILL_PRVREG): Likewise.
35142         (ILL_COPROC): Likewise.
35143         (ILL_BADSTK): Likewise.
35144         (FPE_INTDIV): Likewise.
35145         (FPE_INTOVF): Likewise.
35146         (FPE_FLTDIV): Likewise.
35147         (FPE_FLTOVF): Likewise.
35148         (FPE_FLTUND): Likewise.
35149         (FPE_FLTRES): Likewise.
35150         (FPE_FLTINV): Likewise.
35151         (FPE_FLTSUB): Likewise.
35152         (SEGV_MAPERR): Likewise.
35153         (SEGV_ACCERR): Likewise.
35154         (BUS_ADRALN): Likewise.
35155         (BUS_ADRERR): Likewise.
35156         (BUS_OBJERR): Likewise.
35157         (BUS_MCEERR_AR): Likewise.
35158         (BUS_MCEERR_AO): Likewise.
35159         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35160         (TRAP_TRACE): Likewise.
35161         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35162         __USE_XOPEN2K8].
35163         (CLD_KILLED): Likewise.
35164         (CLD_DUMPED): Likewise.
35165         (CLD_TRAPPED): Likewise.
35166         (CLD_STOPPED): Likewise.
35167         (CLD_CONTINUED): Likewise.
35168         (POLL_IN): Likewise.
35169         (POLL_OUT): Likewise.
35170         (POLL_MSG): Likewise.
35171         (POLL_ERR): Likewise.
35172         (POLL_PRI): Likewise.
35173         (POLL_HUP): Likewise.
35174         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
35175         (ILL_ILLOPN): Likewise.
35176         (ILL_ILLADR): Likewise.
35177         (ILL_ILLTRP): Likewise.
35178         (ILL_PRVOPC): Likewise.
35179         (ILL_PRVREG): Likewise.
35180         (ILL_COPROC): Likewise.
35181         (ILL_BADSTK): Likewise.
35182         (FPE_INTDIV): Likewise.
35183         (FPE_INTOVF): Likewise.
35184         (FPE_FLTDIV): Likewise.
35185         (FPE_FLTOVF): Likewise.
35186         (FPE_FLTUND): Likewise.
35187         (FPE_FLTRES): Likewise.
35188         (FPE_FLTINV): Likewise.
35189         (FPE_FLTSUB): Likewise.
35190         (SEGV_MAPERR): Likewise.
35191         (SEGV_ACCERR): Likewise.
35192         (BUS_ADRALN): Likewise.
35193         (BUS_ADRERR): Likewise.
35194         (BUS_OBJERR): Likewise.
35195         (BUS_MCEERR_AR): Likewise.
35196         (BUS_MCEERR_AO): Likewise.
35197         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35198         (TRAP_TRACE): Likewise.
35199         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35200         __USE_XOPEN2K8].
35201         (CLD_KILLED): Likewise.
35202         (CLD_DUMPED): Likewise.
35203         (CLD_TRAPPED): Likewise.
35204         (CLD_STOPPED): Likewise.
35205         (CLD_CONTINUED): Likewise.
35206         (POLL_IN): Likewise.
35207         (POLL_OUT): Likewise.
35208         (POLL_MSG): Likewise.
35209         (POLL_ERR): Likewise.
35210         (POLL_PRI): Likewise.
35211         (POLL_HUP): Likewise.
35212         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
35213         (ILL_ILLOPN): Likewise.
35214         (ILL_ILLADR): Likewise.
35215         (ILL_ILLTRP): Likewise.
35216         (ILL_PRVOPC): Likewise.
35217         (ILL_PRVREG): Likewise.
35218         (ILL_COPROC): Likewise.
35219         (ILL_BADSTK): Likewise.
35220         (ILL_DBLFLT): Likewise.
35221         (ILL_HARDWALL): Likewise.
35222         (FPE_INTDIV): Likewise.
35223         (FPE_INTOVF): Likewise.
35224         (FPE_FLTDIV): Likewise.
35225         (FPE_FLTOVF): Likewise.
35226         (FPE_FLTUND): Likewise.
35227         (FPE_FLTRES): Likewise.
35228         (FPE_FLTINV): Likewise.
35229         (FPE_FLTSUB): Likewise.
35230         (SEGV_MAPERR): Likewise.
35231         (SEGV_ACCERR): Likewise.
35232         (BUS_ADRALN): Likewise.
35233         (BUS_ADRERR): Likewise.
35234         (BUS_OBJERR): Likewise.
35235         (BUS_MCEERR_AR): Likewise.
35236         (BUS_MCEERR_AO): Likewise.
35237         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35238         (TRAP_TRACE): Likewise.
35239         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35240         __USE_XOPEN2K8].
35241         (CLD_KILLED): Likewise.
35242         (CLD_DUMPED): Likewise.
35243         (CLD_TRAPPED): Likewise.
35244         (CLD_STOPPED): Likewise.
35245         (CLD_CONTINUED): Likewise.
35246         (POLL_IN): Likewise.
35247         (POLL_OUT): Likewise.
35248         (POLL_MSG): Likewise.
35249         (POLL_ERR): Likewise.
35250         (POLL_PRI): Likewise.
35251         (POLL_HUP): Likewise.
35252         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
35253         (ILL_ILLOPN): Likewise.
35254         (ILL_ILLADR): Likewise.
35255         (ILL_ILLTRP): Likewise.
35256         (ILL_PRVOPC): Likewise.
35257         (ILL_PRVREG): Likewise.
35258         (ILL_COPROC): Likewise.
35259         (ILL_BADSTK): Likewise.
35260         (FPE_INTDIV): Likewise.
35261         (FPE_INTOVF): Likewise.
35262         (FPE_FLTDIV): Likewise.
35263         (FPE_FLTOVF): Likewise.
35264         (FPE_FLTUND): Likewise.
35265         (FPE_FLTRES): Likewise.
35266         (FPE_FLTINV): Likewise.
35267         (FPE_FLTSUB): Likewise.
35268         (SEGV_MAPERR): Likewise.
35269         (SEGV_ACCERR): Likewise.
35270         (BUS_ADRALN): Likewise.
35271         (BUS_ADRERR): Likewise.
35272         (BUS_OBJERR): Likewise.
35273         (BUS_MCEERR_AR): Likewise.
35274         (BUS_MCEERR_AO): Likewise.
35275         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35276         (TRAP_TRACE): Likewise.
35277         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35278         __USE_XOPEN2K8].
35279         (CLD_KILLED): Likewise.
35280         (CLD_DUMPED): Likewise.
35281         (CLD_TRAPPED): Likewise.
35282         (CLD_STOPPED): Likewise.
35283         (CLD_CONTINUED): Likewise.
35284         (POLL_IN): Likewise.
35285         (POLL_OUT): Likewise.
35286         (POLL_MSG): Likewise.
35287         (POLL_ERR): Likewise.
35288         (POLL_PRI): Likewise.
35289         (POLL_HUP): Likewise.
35290         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
35291         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
35293         [BZ #16670]
35294         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
35295         before #include of <time.h>.
35296         [!__USE_XOPEN2K] (__need_timespec): Likewise.
35297         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
35298         (test-xfail-UNIX98/sched.h/conform): Likewise.
35300 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
35302         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
35303         error absence of trapping exception support.
35304         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
35306 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
35308         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
35309         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
35310         * timezone/Makefile (testdata): Move definition above include of
35311         Rules.
35312         (test-zones): New variable.
35313         (tests-special): Add zone files.
35314         (build-testdata): Use $(evaluate-test).
35316         * elf/Makefile (tests-special): Rename tests to end with .out.
35317         ($(objpfx)noload-mem): Likewise.
35318         ($(objpfx)tst-leaks1-mem): Likewise.
35319         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
35320         * iconv/Makefile (xtests-special): Change test-iconvconfig to
35321         $(objpfx)test-iconvconfig.out.
35322         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
35323         set -e inside subshell and redirect output to file.
35324         * iconvdata/Makefile (generated): Rename tests to end with .out.
35325         Correct type.
35326         (tests-special): Rename tests to end with .out.
35327         ($(objpfx)mtrace-tst-loading): Likewise.
35328         * intl/Makefile (generated): Likewise.
35329         (tests-special): Likewise.
35330         ($(objpfx)mtrace-tst-gettext): Likewise.
35331         * misc/Makefile (generated): Likewise.
35332         (tests-special): Likewise.
35333         ($(objpfx)tst-error1-mem): Likewise.
35334         * nptl/Makefile (tests-special): Likewise.
35335         ($(objpfx)tst-stack3-mem): Likewise.
35336         (generated): Likewise.
35337         * posix/Makefile (generated): Likewise.
35338         (tests-special): Likewise.
35339         (xtests-special): Likewise.
35340         ($(objpfx)tst-fnmatch-mem): Likewise.
35341         ($(objpfx)bug-regex2-mem): Likewise.
35342         ($(objpfx)bug-regex14-mem): Likewise.
35343         ($(objpfx)bug-regex21-mem): Likewise.
35344         ($(objpfx)bug-regex31-mem): Likewise.
35345         ($(objpfx)tst-vfork3-mem): Likewise.
35346         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
35347         ($(objpfx)tst-pcre-mem): Likewise.
35348         ($(objpfx)tst-boost-mem): Likewise.
35349         ($(objpfx)bug-ga2-mem): Likewise.
35350         ($(objpfx)bug-glob2-mem): Likewise.
35351         * resolv/Makefile (generate): Likewise.
35352         (tests-special): Likewise.
35353         (xtests-special): Likewise.
35354         (generated): Likewise.
35355         ($(objpfx)mtrace-tst-leaks): Likewise.
35356         ($(objpfx)mtrace-tst-leaks2): Likewise.
35358         * scripts/merge-test-results.sh: New file.
35359         * Makefile (tests-special-notdir): New variable.
35360         (tests): Run merge-test-results.sh.
35361         (xtests): Likewise.
35362         * Rules (tests-special-notdir): New variable.
35363         (xtests-special-notdir): Likewise.
35364         (tests): Run merge-test-results.sh
35365         (xtests): Likewise.
35367         * Makeconfig (test-xfail-name): New variable.
35368         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
35369         compute variable name for expected failures.
35370         * conform/Makefile (conformtest-headers-data): New variable.
35371         (conformtest-standards): Likewise.
35372         (conformtest-headers-ISO): Likewise.
35373         (conformtest-headers-ISO99): Likewise.
35374         (conformtest-headers-ISO11): Likewise.
35375         (conformtest-headers-POSIX): Likewise.
35376         (conformtest-headers-XPG3): Likewise.
35377         (conformtest-headers-XPG4): Likewise.
35378         (conformtest-headers-UNIX98): Likewise.
35379         (conformtest-headers-XOPEN2K): Likewise.
35380         (conformtest-headers-POSIX2008): Likewise.
35381         (conformtest-headers-XOPEN2K8): Likewise.
35382         (conformtest-header-list-base): Likewise.
35383         (conformtest-header-list-tests): Likewise.
35384         (conformtest-header-base): Likewise.
35385         (conformtest-header-tests): Likewise.
35386         (tests-special): Add $(conformtest-header-list-tests).  If
35387         [$(fast-check) && !$(cross-compiling)], add
35388         $(conformtest-header-tests) instead of
35389         $(objpfx)run-conformtest.out.
35390         (generated): Add $(conformtest-header-list-base).  If
35391         [$(fast-check) && !$(cross-compiling)], add
35392         $(conformtest-header-base).  Remove previous setting.
35393         ($(conformtest-header-list-tests)): New target.
35394         (test-xfail-run-conformtest): Remove variable.
35395         ($(objpfx)run-conformtest.out): Remove target.
35396         (test-xfail-ISO11/complex.h/conform): New variable.
35397         (test-xfail-ISO11/stdalign.h/conform): Likewise.
35398         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
35399         (test-xfail-XPG3/varargs.h/conform): Likewise.
35400         (test-xfail-XPG4/varargs.h/conform): Likewise.
35401         (test-xfail-UNIX98/varargs.h/conform): Likewise.
35402         (test-xfail-XPG4/ndbm.h/conform): Likewise.
35403         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
35404         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
35405         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
35406         (test-xfail-XPG3/fcntl.h/conform): Likewise.
35407         (test-xfail-XPG3/ftw.h/conform): Likewise.
35408         (test-xfail-XPG3/grp.h/conform): Likewise.
35409         (test-xfail-XPG3/langinfo.h/conform): Likewise.
35410         (test-xfail-XPG3/limits.h/conform): Likewise.
35411         (test-xfail-XPG3/pwd.h/conform): Likewise.
35412         (test-xfail-XPG3/search.h/conform): Likewise.
35413         (test-xfail-XPG3/signal.h/conform): Likewise.
35414         (test-xfail-XPG3/stdio.h/conform): Likewise.
35415         (test-xfail-XPG3/stdlib.h/conform): Likewise.
35416         (test-xfail-XPG3/string.h/conform): Likewise.
35417         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
35418         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
35419         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
35420         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
35421         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
35422         (test-xfail-XPG3/sys/types.h/conform): Likewise.
35423         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
35424         (test-xfail-XPG3/termios.h/conform): Likewise.
35425         (test-xfail-XPG3/time.h/conform): Likewise.
35426         (test-xfail-XPG3/unistd.h/conform): Likewise.
35427         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
35428         (test-xfail-XPG4/fcntl.h/conform): Likewise.
35429         (test-xfail-XPG4/langinfo.h/conform): Likewise.
35430         (test-xfail-XPG4/netdb.h/conform): Likewise.
35431         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
35432         (test-xfail-XPG4/signal.h/conform): Likewise.
35433         (test-xfail-XPG4/stdio.h/conform): Likewise.
35434         (test-xfail-XPG4/stdlib.h/conform): Likewise.
35435         (test-xfail-XPG4/stropts.h/conform): Likewise.
35436         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
35437         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
35438         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
35439         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
35440         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
35441         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
35442         (test-xfail-XPG4/sys/time.h/conform): Likewise.
35443         (test-xfail-XPG4/sys/types.h/conform): Likewise.
35444         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
35445         (test-xfail-XPG4/termios.h/conform): Likewise.
35446         (test-xfail-XPG4/ucontext.h/conform): Likewise.
35447         (test-xfail-XPG4/unistd.h/conform): Likewise.
35448         (test-xfail-XPG4/utmpx.h/conform): Likewise.
35449         (test-xfail-POSIX/sched.h/conform): Likewise.
35450         (test-xfail-POSIX/signal.h/conform): Likewise.
35451         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
35452         (test-xfail-POSIX/tar.h/conform): Likewise.
35453         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
35454         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
35455         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
35456         (test-xfail-UNIX98/netdb.h/conform): Likewise.
35457         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
35458         (test-xfail-UNIX98/sched.h/conform): Likewise.
35459         (test-xfail-UNIX98/signal.h/conform): Likewise.
35460         (test-xfail-UNIX98/stdio.h/conform): Likewise.
35461         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
35462         (test-xfail-UNIX98/stropts.h/conform): Likewise.
35463         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
35464         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
35465         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
35466         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
35467         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
35468         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
35469         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
35470         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
35471         (test-xfail-UNIX98/unistd.h/conform): Likewise.
35472         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
35473         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
35474         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
35475         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
35476         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
35477         (test-xfail-XOPEN2K/math.h/conform): Likewise.
35478         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
35479         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
35480         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
35481         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
35482         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
35483         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
35484         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
35485         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
35486         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
35487         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
35488         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
35489         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
35490         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
35491         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
35492         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
35493         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
35494         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
35495         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
35496         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
35497         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
35498         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
35499         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
35500         (test-xfail-POSIX2008/signal.h/conform): Likewise.
35501         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
35502         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
35503         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
35504         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
35505         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
35506         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
35507         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
35508         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
35509         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
35510         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
35511         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
35512         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
35513         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
35514         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
35515         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
35516         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
35517         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
35518         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
35519         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
35520         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
35521         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
35522         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
35523         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
35524         (conformtest-cc-flags): Likewise.
35525         ($(conformtest-header-tests): New target.
35526         * conform/check-header-lists.sh: New file.
35527         * conform/run-conformtest.sh: Remove.
35529         * conform/conformtest.pl: Allow ' and \ in values given for
35530         constants.
35531         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
35532         inclusion.
35533         [POSIX] (sys/types.h): Likewise.
35534         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
35535         inclusion.
35536         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
35537         inclusion.
35538         * conform/data/signal.h-data (SIGIO): Remove expectation.
35539         [XPG3] (SIGBUS): Do not expect.
35540         [POSIX || XPG3] (SIGPOLL): Likewise.
35541         [POSIX || XPG3] (SIGPROF): Likewise.
35542         [POSIX || XPG3] (SIGSYS): Likewise.
35543         [XPG3] (SIGTRAP): Likewise.
35544         [POSIX || XPG3] (SIGURG): Likewise.
35545         [POSIX || XPG3] (SIGVTALRM): Likewise.
35546         [POSIX || XPG3] (SIGXCPU): Likewise.
35547         [POSIX || XPG3] (SIGXFSZ): Likewise.
35548         [POSIX] (SA_SIGINFO): Expect.
35549         [XPG3] (siginfo_t): Do not expect type or contents.
35550         [POSIX] (si_pid): Do not expect element.
35551         [POSIX] (si_uid): Likewise.
35552         [POSIX] (si_addr): Likewise.
35553         [POSIX] (si_status): Likewise.
35554         [POSIX] (si_band): Likewise.
35555         [XPG4] (si_value): Likewise.
35556         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
35557         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
35558         [POSIX || XPG3] (ILL_ILLADR): Likewise.
35559         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
35560         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
35561         [POSIX || XPG3] (ILL_PRVREG): Likewise.
35562         [POSIX || XPG3] (ILL_COPROC): Likewise.
35563         [POSIX || XPG3] (ILL_BADSTK): Likewise.
35564         [POSIX || XPG3] (FPE_INTDIV): Likewise.
35565         [POSIX || XPG3] (FPE_INTOVF): Likewise.
35566         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
35567         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
35568         [POSIX || XPG3] (FPE_FLTUND): Likewise.
35569         [POSIX || XPG3] (FPE_FLTRES): Likewise.
35570         [POSIX || XPG3] (FPE_FLTINV): Likewise.
35571         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
35572         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
35573         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
35574         [POSIX || XPG3] (BUS_ADRALN): Likewise.
35575         [POSIX || XPG3] (BUS_ADRERR): Likewise.
35576         [POSIX || XPG3] (BUS_OBJERR): Likewise.
35577         [POSIX || XPG3] (CLD_EXITED): Likewise.
35578         [POSIX || XPG3] (CLD_KILLED): Likewise.
35579         [POSIX || XPG3] (CLD_DUMPED): Likewise.
35580         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
35581         [POSIX || XPG3] (CLD_STOPPED): Likewise.
35582         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
35583         [POSIX || XPG3] (POLL_IN): Likewise.
35584         [POSIX || XPG3] (POLL_OUT): Likewise.
35585         [POSIX || XPG3] (POLL_MSG): Likewise.
35586         [POSIX || XPG3] (POLL_ERR): Likewise.
35587         [POSIX || XPG3] (POLL_PRI): Likewise.
35588         [POSIX || XPG3] (POLL_HUP): Likewise.
35589         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
35590         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
35591         (SIG*): Do not allow.
35592         [XPG3] (si_*): Likewise.
35593         [XPG3] (SI_*): Likewise.
35594         [XPG3 || XPG4] (sigev_*): Likewise.
35595         [XPG3 || XPG4] (SIGEV_*): Likewise.
35596         [XPG3 || XPG4] (sival_*): Likewise.
35597         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
35598         [POSIX || XPG3] (BUS_*): Likewise.
35599         [POSIX || XPG3] (CLD_*): Likewise.
35600         [POSIX || XPG3] (FPE_*): Likewise.
35601         [POSIX || XPG3] (ILL_*): Likewise.
35602         [POSIX || XPG3] (POLL_*): Likewise.
35603         [POSIX || XPG3] (SEGV_*): Likewise.
35604         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
35605         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
35606         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
35607         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
35608         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
35609         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
35610         Specify type and value.
35611         (TVERSLEN): Likewise.
35612         (REGTYPE): Likewise.
35613         (AREGTYPE): Likewise.
35614         (LNKTYPE): Likewise.
35615         (SYMTYPE): Likewise.
35616         (CHRTYPE): Likewise.
35617         (BLKTYPE): Likewise.
35618         (DIRTYPE): Likewise.
35619         (FIFOTYPE): Likewise.
35620         (CONTTYPE): Likewise.
35621         (TSUID): Likewise.
35622         (TSGID): Likewise.
35623         (TSVTX): Likewise.
35624         (TUREAD): Likewise.
35625         (TUWRITE): Likewise.
35626         (TUEXEC): Likewise.
35627         (TGREAD): Likewise.
35628         (TGWRITE): Likewise.
35629         (TGEXEC): Likewise.
35630         (TOREAD): Likewise.
35631         (TOWRITE): Likewise.
35632         (TOEXEC): Likewise.
35633         [POSIX] (TSVTX): Expect constant.
35635 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
35637         * Makefile (tests): Change dependencies to ....
35638         (tests-special): ... additions to this variable.
35639         (tests): Depend on $(tests-special).
35640         * Makerules (check-abi-list): New variable.
35641         (check-abi): Depend on $(check-abi-list).
35642         [$(subdir) = elf] (tests-special): Add
35643         $(objpfx)check-abi-libc.out.
35644         [$(build-shared) = yes && subdir] (tests-special): Add
35645         $(check-abi-list).
35646         [$(build-shared) = yes && subdir] (tests): Do not depend on
35647         check-abi.
35648         * Rules (tests): Depend on $(tests-special).
35649         (xtests): Depend on $(xtests-special).
35650         * catgets/Makefile (tests): Change dependencies to ....
35651         (tests-special): ... additions to this variable.
35652         * conform/Makefile (tests): Change dependencies to ....
35653         (tests-special): ... additions to this variable.
35654         * elf/Makefile (tests): Change dependencies to ....
35655         (tests-special): ... additions to this variable.
35656         * grp/Makefile (tests): Change dependencies to ....
35657         (tests-special): ... additions to this variable.
35658         * iconv/Makefile (xtests): Change dependencies to ....
35659         (xtests-special): ... additions to this variable.
35660         * iconvdata/Makefile (tests): Change dependencies to ....
35661         (tests-special): ... additions to this variable.
35662         * intl/Makefile (tests): Change dependencies to ....
35663         (tests-special): ... additions to this variable.  Also add
35664         $(objpfx)tst-gettext.out.
35665         * io/Makefile (tests): Change dependencies to ....
35666         (tests-special): ... additions to this variable.
35667         * libio/Makefile (tests): Change dependencies to ....
35668         (tests-special): ... additions to this variable.
35669         * malloc/Makefile (tests): Change dependencies to ....
35670         (tests-special): ... additions to this variable.
35671         * misc/Makefile (tests): Change dependencies to ....
35672         (tests-special): ... additions to this variable.
35673         * nptl/Makefile (tests): Change dependencies to ....
35674         (tests-special): ... additions to this variable.
35675         * nptl_db/Makefile (tests): Change dependencies to ....
35676         (tests-special): ... additions to this variable.
35677         * posix/Makefile (tests): Change dependencies to ....
35678         (tests-special): ... additions to this variable.
35679         (xtests): Change dependencies to ....
35680         (xtests-special): ... additions to this variable.
35681         * resolv/Makefile (tests): Change dependencies to ....
35682         (tests-special): ... additions to this variable.
35683         (xtests): Change dependencies to ....
35684         (xtests-special): ... additions to this variable.
35685         * stdio-common/Makefile (tests): Change dependencies to ....
35686         (tests-special): ... additions to this variable.
35687         (do-tst-unbputc): Remove target.
35688         (do-tst-printf): Likewise.
35689         * stdlib/Makefile (tests): Change dependencies to ....
35690         (tests-special): ... additions to this variable.
35691         * string/Makefile (tests): Change dependencies to ....
35692         (tests-special): ... additions to this variable.
35693         * sysdeps/x86/Makefile (tests): Change dependencies to ....
35694         (tests-special): ... additions to this variable.
35696         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
35697         whole file.
35698         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
35699         whole file.
35700         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
35701         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
35703         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
35704         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
35705         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
35706         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
35707         * conform/data/libgen.h-data [XPG3]: Likewise.
35708         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
35709         * conform/data/ndbm.h-data [XPG3]: Likewise.
35710         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
35711         * conform/data/netdb.h-data [XPG3]: Likewise.
35712         * conform/data/netinet/in.h-data [XPG3]: Likewise.
35713         * conform/data/poll.h-data [XPG3]: Likewise.
35714         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
35715         * conform/data/strings.h-data [XPG3]: Likewise.
35716         * conform/data/stropts.h-data [XPG3]: Likewise.
35717         * conform/data/sys/mman.h-data [XPG3]: Likewise.
35718         * conform/data/sys/resource.h-data [XPG3]: Likewise.
35719         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
35720         Likewise.
35721         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
35722         * conform/data/sys/time.h-data [XPG3]: Likewise.
35723         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
35724         * conform/data/sys/uio.h-data [XPG3]: Likewise.
35725         * conform/data/sys/un.h-data [XPG3]: Likewise.
35726         * conform/data/syslog.h-data [XPG3]: Likewise.
35727         * conform/data/ucontext.h-data [XPG3]: Likewise.
35728         * conform/data/utmpx.h-data [XPG3]: Likewise.
35729         * conform/data/varargs.h-data [UNIX98]: Enable file.
35731         * manual/Makefile (INSTALL_INFO): Remove variable setting.
35733         * math/libm-test.inc (struct test_f_f_data): Move expected results
35734         into structure for each rounding mode.
35735         (struct test_ff_f_data): Likewise.
35736         (struct test_ff_f_data_nexttoward): Likewise.
35737         (struct test_fi_f_data): Likewise.
35738         (struct test_fl_f_data): Likewise.
35739         (struct test_if_f_data): Likewise.
35740         (struct test_fff_f_data): Likewise.
35741         (struct test_c_f_data): Likewise.
35742         (struct test_f_f1_data): Likewise.
35743         (struct test_fF_f1_data): Likewise.
35744         (struct test_ffI_f1_data): Likewise.
35745         (struct test_c_c_data): Likewise.
35746         (struct test_cc_c_data): Likewise.
35747         (struct test_f_i_data): Likewise.
35748         (struct test_ff_i_data): Likewise.
35749         (struct test_f_l_data): Likewise.
35750         (struct test_f_L_data): Likewise.
35751         (struct test_fFF_11_data): Likewise.
35752         (RM_): New macro.
35753         (RM_FE_DOWNWARD): Likewise.
35754         (RM_FE_TONEAREST): Likewise.
35755         (RM_FE_TOWARDZERO): Likewise.
35756         (RM_FE_UPWARD): Likewise.
35757         (RUN_TEST_LOOP_f_f): Update references to expected results.
35758         (RUN_TEST_LOOP_2_f): Likewise.
35759         (RUN_TEST_LOOP_fff_f): Likewise.
35760         (RUN_TEST_LOOP_c_f): Likewise.
35761         (RUN_TEST_LOOP_f_f1): Likewise.
35762         (RUN_TEST_LOOP_fF_f1): Likewise.
35763         (RUN_TEST_LOOP_fI_f1): Likewise.
35764         (RUN_TEST_LOOP_ffI_f1): Likewise.
35765         (RUN_TEST_LOOP_c_c): Likewise.
35766         (RUN_TEST_LOOP_cc_c): Likewise.
35767         (RUN_TEST_LOOP_f_i): Likewise.
35768         (RUN_TEST_LOOP_f_i_tg): Likewise.
35769         (RUN_TEST_LOOP_ff_i_tg): Likewise.
35770         (RUN_TEST_LOOP_f_b): Likewise.
35771         (RUN_TEST_LOOP_f_b_tg): Likewise.
35772         (RUN_TEST_LOOP_f_l): Likewise.
35773         (RUN_TEST_LOOP_f_L): Likewise.
35774         (RUN_TEST_LOOP_fFF_11): Likewise.
35775         * math/gen-libm-test.pl (parse_args): Output four copies of
35776         expected results for each test.
35778         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35779         (__ASSUME_UTIMES): Remove.
35780         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35781         (__ASSUME_UTIMES): Likewise.
35783         * math/gen-auto-libm-tests.c: Update comment on output format.
35784         (output_for_one_input_case): Generate before-rounding and
35785         after-rounding information as conditions on output flags not
35786         floating-point format.
35787         * math/auto-libm-test-out: Regenerated.
35788         * math/gen-libm-test.pl (cond_value): New function.
35789         (or_cond_value): Use cond_value.
35790         (generate_testfile): Handle conditional exceptions.
35792 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
35794         * math/libm-test.inc (max_valid_error): New variable.
35795         (init_max_error): Take new argument specifying whether function
35796         results are exactly determined.  Set max_valid_error and bound
35797         other variables for errors based on this argument.
35798         (set_max_error): Do not record results above max_valid_error.
35799         (check_float_internal): Only accept errors of up to 0.5ulps if
35800         also at most max_valid_error.
35801         (START): Take new argument EXACT and pass it to init_max_error.
35802         (acos_test): Update call to START.
35803         (acos_test_tonearest): Likewise.
35804         (acos_test_towardzero): Likewise.
35805         (acos_test_downward): Likewise.
35806         (acos_test_upward): Likewise.
35807         (acosh_test): Likewise.
35808         (asin_test): Likewise.
35809         (asin_test_tonearest): Likewise.
35810         (asin_test_towardzero): Likewise.
35811         (asin_test_downward): Likewise.
35812         (asin_test_upward): Likewise.
35813         (asinh_test): Likewise.
35814         (atan_test): Likewise.
35815         (atanh_test): Likewise.
35816         (atan2_test): Likewise.
35817         (cabs_test): Likewise.
35818         (cacos_test): Likewise.
35819         (cacosh_test): Likewise.
35820         (carg_test): Likewise.
35821         (casin_test): Likewise.
35822         (casinh_test): Likewise.
35823         (catan_test): Likewise.
35824         (catanh_test): Likewise.
35825         (cbrt_test): Likewise.
35826         (ccos_test): Likewise.
35827         (ccosh_test): Likewise.
35828         (ceil_test): Likewise.
35829         (cexp_test): Likewise.
35830         (cimag_test): Likewise.
35831         (clog_test): Likewise.
35832         (clog10_test): Likewise.
35833         (conj_test): Likewise.
35834         (copysign_test): Likewise.
35835         (cos_test): Likewise.
35836         (cos_test_tonearest): Likewise.
35837         (cos_test_towardzero): Likewise.
35838         (cos_test_downward): Likewise.
35839         (cos_test_upward): Likewise.
35840         (cosh_test): Likewise.
35841         (cosh_test_tonearest): Likewise.
35842         (cosh_test_towardzero): Likewise.
35843         (cosh_test_downward): Likewise.
35844         (cosh_test_upward): Likewise.
35845         (cpow_test): Likewise.
35846         (cproj_test): Likewise.
35847         (creal_test): Likewise.
35848         (csin_test): Likewise.
35849         (csinh_test): Likewise.
35850         (csqrt_test): Likewise.
35851         (ctan_test): Likewise.
35852         (ctan_test_tonearest): Likewise.
35853         (ctan_test_towardzero): Likewise.
35854         (ctan_test_downward): Likewise.
35855         (ctan_test_upward): Likewise.
35856         (ctanh_test): Likewise.
35857         (ctanh_test_tonearest): Likewise.
35858         (ctanh_test_towardzero): Likewise.
35859         (ctanh_test_downward): Likewise.
35860         (ctanh_test_upward): Likewise.
35861         (erf_test): Likewise.
35862         (erfc_test): Likewise.
35863         (exp_test): Likewise.
35864         (exp_test_tonearest): Likewise.
35865         (exp_test_towardzero): Likewise.
35866         (exp_test_downward): Likewise.
35867         (exp_test_upward): Likewise.
35868         (exp10_test): Likewise.
35869         (exp10_test_tonearest): Likewise.
35870         (exp10_test_towardzero): Likewise.
35871         (exp10_test_downward): Likewise.
35872         (exp10_test_upward): Likewise.
35873         (pow10_test): Likewise.
35874         (exp2_test): Likewise.
35875         (expm1_test): Likewise.
35876         (expm1_test_tonearest): Likewise.
35877         (expm1_test_towardzero): Likewise.
35878         (expm1_test_downward): Likewise.
35879         (expm1_test_upward): Likewise.
35880         (fabs_test): Likewise.
35881         (fdim_test): Likewise.
35882         (floor_test): Likewise.
35883         (fma_test): Likewise.
35884         (fma_test_towardzero): Likewise.
35885         (fma_test_downward): Likewise.
35886         (fma_test_upward): Likewise.
35887         (fmax_test): Likewise.
35888         (fmin_test): Likewise.
35889         (fmod_test): Likewise.
35890         (fpclassify_test): Likewise.
35891         (frexp_test): Likewise.
35892         (hypot_test): Likewise.
35893         (ilogb_test): Likewise.
35894         (isfinite_test): Likewise.
35895         (finite_test): Likewise.
35896         (isgreater_test): Likewise.
35897         (isgreaterequal_test): Likewise.
35898         (isinf_test): Likewise.
35899         (isless_test): Likewise.
35900         (islessequal_test): Likewise.
35901         (islessgreater_test): Likewise.
35902         (isnan_test): Likewise.
35903         (isnormal_test): Likewise.
35904         (issignaling_test): Likewise.
35905         (isunordered_test): Likewise.
35906         (j0_test): Likewise.
35907         (j1_test): Likewise.
35908         (jn_test): Likewise.
35909         (ldexp_test): Likewise.
35910         (lgamma_test): Likewise.
35911         (gamma_test): Likewise.
35912         (lrint_test): Likewise.
35913         (lrint_test_tonearest): Likewise.
35914         (lrint_test_towardzero): Likewise.
35915         (lrint_test_downward): Likewise.
35916         (lrint_test_upward): Likewise.
35917         (llrint_test): Likewise.
35918         (llrint_test_tonearest): Likewise.
35919         (llrint_test_towardzero): Likewise.
35920         (llrint_test_downward): Likewise.
35921         (llrint_test_upward): Likewise.
35922         (log_test): Likewise.
35923         (log10_test): Likewise.
35924         (log1p_test): Likewise.
35925         (log2_test): Likewise.
35926         (logb_test): Likewise.
35927         (logb_test_downward): Likewise.
35928         (lround_test): Likewise.
35929         (llround_test): Likewise.
35930         (modf_test): Likewise.
35931         (nearbyint_test): Likewise.
35932         (nextafter_test): Likewise.
35933         (nexttoward_test): Likewise.
35934         (pow_test): Likewise.
35935         (pow_test_tonearest): Likewise.
35936         (pow_test_towardzero): Likewise.
35937         (pow_test_downward): Likewise.
35938         (pow_test_upward): Likewise.
35939         (remainder_test): Likewise.
35940         (drem_test): Likewise.
35941         (remainder_test_tonearest): Likewise.
35942         (drem_test_tonearest): Likewise.
35943         (remainder_test_towardzero): Likewise.
35944         (drem_test_towardzero): Likewise.
35945         (remainder_test_downward): Likewise.
35946         (drem_test_downward): Likewise.
35947         (remainder_test_upward): Likewise.
35948         (drem_test_upward): Likewise.
35949         (remquo_test): Likewise.
35950         (rint_test): Likewise.
35951         (rint_test_tonearest): Likewise.
35952         (rint_test_towardzero): Likewise.
35953         (rint_test_downward): Likewise.
35954         (rint_test_upward): Likewise.
35955         (round_test): Likewise.
35956         (scalb_test): Likewise.
35957         (scalbn_test): Likewise.
35958         (scalbln_test): Likewise.
35959         (signbit_test): Likewise.
35960         (sin_test): Likewise.
35961         (sin_test_tonearest): Likewise.
35962         (sin_test_towardzero): Likewise.
35963         (sin_test_downward): Likewise.
35964         (sin_test_upward): Likewise.
35965         (sincos_test): Likewise.
35966         (sinh_test): Likewise.
35967         (sinh_test_tonearest): Likewise.
35968         (sinh_test_towardzero): Likewise.
35969         (sinh_test_downward): Likewise.
35970         (sinh_test_upward): Likewise.
35971         (sqrt_test): Likewise.
35972         (sqrt_test_tonearest): Likewise.
35973         (sqrt_test_towardzero): Likewise.
35974         (sqrt_test_downward): Likewise.
35975         (sqrt_test_upward): Likewise.
35976         (tan_test): Likewise.
35977         (tan_test_tonearest): Likewise.
35978         (tan_test_towardzero): Likewise.
35979         (tan_test_downward): Likewise.
35980         (tan_test_upward): Likewise.
35981         (tanh_test): Likewise.
35982         (tgamma_test): Likewise.
35983         (trunc_test): Likewise.
35984         (y0_test): Likewise.
35985         (y1_test): Likewise.
35986         (yn_test): Likewise.
35987         (significand_test): Likewise.
35989         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
35990         individual tests in comment.
35991         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
35992         (prev_max_error): New variable.
35993         (prev_real_max_error): Likewise.
35994         (prev_imag_max_error): Likewise.
35995         (compare_ulp_data): Don't refer to test names in comment.
35996         (find_test_ulps): Remove function.
35997         (find_function_ulps): Likewise.
35998         (find_complex_function_ulps): Likewise.
35999         (init_max_error): Take function name as argument.  Look up ulps
36000         for that function.
36001         (print_ulps): Remove function.
36002         (print_max_error): Use prev_max_error instead of calling
36003         find_function_ulps.
36004         (print_complex_max_error): Use prev_real_max_error and
36005         prev_imag_max_error instead of calling find_complex_function_ulps.
36006         (check_float_internal): Take max_ulp parameter instead of calling
36007         find_test_ulps.  Don't call print_ulps.
36008         (check_float): Update call to check_float_internal.
36009         (check_complex): Update calls to check_float_internal.
36010         (START): Pass argument to init_max_error.
36011         * math/gen-libm-test.pl (%results): Don't include "kind"
36012         information.
36013         (parse_ulps): Don't handle ulps of individual tests.
36014         (print_ulps_file): Likewise.
36015         (output_ulps): Likewise.
36016         * math/README.libm-test: Update.
36017         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
36018         individual tests.
36019         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
36020         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
36021         * sysdeps/arm/libm-test-ulps: Likewise.
36022         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
36023         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
36024         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
36025         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
36026         * sysdeps/microblaze/libm-test-ulps: Likewise.
36027         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
36028         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
36029         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36030         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
36031         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36032         * sysdeps/sh/libm-test-ulps: Likewise.
36033         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36034         * sysdeps/tile/libm-test-ulps: Likewise.
36035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36037 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
36039         * math/libm-test.inc (print_complex_max_error): Check separately
36040         whether real and imaginary errors are within allowed range and
36041         pass 0 to print_complex_function_ulps instead of value within
36042         allowed range.
36044 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36046         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
36047         formatting.
36048         (get_handles_fopen): Likewise.
36049         (do_write_test): Likewise.
36051         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
36053         * libio/fileops.c (do_ftell): Use cached offset when
36054         available.
36055         * libio/iofwide.c (do_ftell_wide): Likewise.
36056         * libio/iofdopen.c (_IO_new_fdopen): Don't use
36057         _IO_file_attach.
36058         * libio/wfileops.c (_IO_fwide): Don't cache offset.
36060         [BZ #16532]
36061         * libio/libioP.h (get_file_offset): New function.
36062         * libio/fileops.c (get_file_offset): Likewise.
36063         (do_ftell): Likewise.
36064         (_IO_new_file_seekoff): Split out ftell logic.
36065         * libio/wfileops.c (do_ftell_wide): Likewise.
36066         (_IO_wfile_seekoff): Split out ftell logic.
36067         * libio/tst-ftell-active-handler.c: New test case.
36068         * libio/Makefile (tests): Add it.
36070 2014-03-03  Roland McGrath  <roland@hack.frob.com>
36072         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
36073         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
36075 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36077         [BZ #16639]
36078         * nscd/connections.c (nscd_init): Call do_exit.
36079         (start_threads): Call do_exit and notify_parent.
36080         (begin_drop_privileges): Call do_exit.
36081         (finish_drop_privileges): Likewise.
36082         * nscd/selinux.c (preserve_capabilities): Likewise.
36083         (install_real_capabilities): Likewise.
36084         (nscd_selinux_enabled): Likewise.
36085         (avc_create_thread): Likewise.
36086         (avc_alloc_lock): Likewise.
36087         (nscd_avc_init): Likewise.
36088         * nscd/nscd.c (parent_fd): New static variable.
36089         (main): Create a pipe between parent and child processes.
36090         Skip closing parent_fd.
36091         (monitor_child): New function.
36092         (do_exit): Likewise.
36093         (notify_parent): Likewise.
36094         * nscd/nscd.h (notify_parent): Likewise.
36095         (do_exit): Likewise.
36097 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
36099         * malloc/malloc.c (__libc_calloc): Revert last change.
36101 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36103         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36105 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
36107         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
36108         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
36109         implementation.
36110         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36111         (__libc_ifunc_impl_list): Likewise.
36112         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
36113         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
36114         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
36115         * string/strrchr.c: Define STRRCHR.
36117 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
36119         * benchtest/bench-strtok.c (simple_strtok): Delete.
36120         (strtok_string): Use as benchmark.
36121         * string/strtok (STRTOK): New macro.
36123 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
36125         * manual/threads.texi: Add header and standard comments to all
36126         functions.
36128         * elf/dl-lookup.c (check_match): New function.
36129         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
36130         (do_lookup_x): Remove nested function check_match. Use non-nested
36131         function check_match.
36133 2014-02-28  Roland McGrath  <roland@hack.frob.com>
36135         * csu/Makefile (generated, before-compile): Use += rather than =.
36136         * catgets/Makefile (generated, generated-dirs): Likewise.
36137         * debug/Makefile (generated): Likewise.
36138         * dlfcn/Makefile (generated): Likewise.
36139         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
36140         * iconvdata/Makefile (before-compile, generated): Likewise.
36141         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
36142         * libio/Makefile (generated): Likewise.
36143         * malloc/Makefile (generated): Likewise.
36144         * manual/Makefile (generated, generated-dirs): Likewise.
36145         * misc/Makefile (generated): Likewise.
36146         * posix/Makefile (generated): Likewise.
36147         * resolv/Makefile (generated): Likewise.
36148         * sunrpc/Makefile (generated, generated-dirs): Likewise.
36149         * timezone/Makefile (generated, generated-dirs): Likewise.
36151         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
36153 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36155         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
36156         power8 implementation.
36157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
36158         file: POWER8 llround ifunc implementation.
36159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
36160         (__lllround): Add POWER8 implementation.
36161         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
36162         POWER8 llround implementation.
36164         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
36165         power8 implementation.
36166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
36167         file: POWER8 llrint ifunc implementation.
36168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
36169         Add POWER8 implementation.
36170         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
36171         POWER8 llrint implementation.
36173         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
36174         power8 implementation.
36175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
36176         file: POWER8 finite ifunc implementation.
36177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
36178         Add POWER8 implementation.
36179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
36180         Likewise.
36181         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
36182         POWER8 finite implementation.
36183         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
36185         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
36186         power8 implementation.
36187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
36188         file: POWER8 isinf ifunc implementation.
36189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
36190         POWER8 implementation.
36191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
36192         Likewise.
36193         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
36194         isinf implementation.
36195         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
36197         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
36198         (INIT_ARCH): Add hwcap2 initialization.
36199         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
36200         power8 implementation.
36201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
36202         file: POWER8 isnan ifunc implementation.
36203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
36204         POWER8 implementation.
36205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
36206         Likewise.
36207         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
36208         isnan implementation.
36209         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
36211 2014-02-27  Joey Ye  <joey.ye@arm.com>
36213         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
36214         (_FP_NANFRAC_Q): Set to zero.
36216 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36218         [BZ #16623]
36219         * math/auto-libm-test-in: New test inputs.
36220         * math/auto-libm-test-out: Regenerate.
36221         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
36222         and DA.
36223         (__cos): Likewise.
36224         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
36226 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
36228         * scripts/evaluate-test.sh: Take new argument indicating whether
36229         failure is expected.
36230         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
36231         indicating whether failure is expected.
36232         * conform/Makefile (test-xfail-run-conformtest): New variable.
36233         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
36234         level.
36235         * posix/Makefile (test-xfail-annexc): New variable.
36236         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
36238 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
36240         * argp/Makefile: Include Makeconfig immediately after defining
36241         subdir.
36242         * assert/Makefile: Likewise.
36243         * benchtests/Makefile: Likewise.
36244         * catgets/Makefile: Likewise.
36245         * conform/Makefile: Likewise.
36246         * crypt/Makefile: Likewise.
36247         * csu/Makefile: Likewise.
36248         (all): Remove target.
36249         * ctype/Makefile: Include Makeconfig immediately after defining
36250         subdir.
36251         * debug/Makefile: Likewise.
36252         * dirent/Makefile: Likewise.
36253         * dlfcn/Makefile: Likewise.
36254         * gmon/Makefile: Likewise.
36255         * gnulib/Makefile: Likewise.
36256         * grp/Makefile: Likewise.
36257         * gshadow/Makefile: Likewise.
36258         * hesiod/Makefile: Likewise.
36259         * hurd/Makefile: Likewise.
36260         (all): Remove target.
36261         * iconvdata/Makefile: Include Makeconfig immediately after
36262         defining subdir.
36263         * inet/Makefile: Likewise.
36264         * intl/Makefile: Likewise.
36265         * io/Makefile: Likewise.
36266         * libio/Makefile: Likewise.
36267         (all): Remove target.
36268         * locale/Makefile: Include Makeconfig immediately after defining
36269         subdir.
36270         * login/Makefile: Likewise.
36271         * mach/Makefile: Likewise.
36272         (all): Remove target.
36273         * malloc/Makefile: Include Makeconfig immediately after defining
36274         subdir.
36275         (all): Remove target.
36276         * manual/Makefile: Include Makeconfig immediately after defining
36277         subdir.
36278         * math/Makefile: Likewise.
36279         * misc/Makefile: Likewise.
36280         * nis/Makefile: Likewise.
36281         * nss/Makefile: Likewise.
36282         * po/Makefile: Likewise.
36283         (all): Remove target.
36284         * posix/Makefile: Include Makeconfig immediately after defining
36285         subdir.
36286         * pwd/Makefile: Likewise.
36287         * resolv/Makefile: Likewise.
36288         * resource/Makefile: Likewise.
36289         * rt/Makefile: Likewise.
36290         * setjmp/Makefile: Likewise.
36291         * shadow/Makefile: Likewise.
36292         * signal/Makefile: Likewise.
36293         * socket/Makefile: Likewise.
36294         * soft-fp/Makefile: Likewise.
36295         * stdio-common/Makefile: Likewise.
36296         * stdlib/Makefile: Likewise.
36297         * streams/Makefile: Likewise.
36298         * string/Makefile: Likewise.
36299         * sunrpc/Makefile: Likewise.
36300         (all): Remove target.
36301         * sysvipc/Makefile: Include Makeconfig immediately after defining
36302         subdir.
36303         * termios/Makefile: Likewise.
36304         * time/Makefile: Likewise.
36305         * timezone/Makefile: Likewise.
36306         (all): Remove target.
36307         * wcsmbs/Makefile: Include Makeconfig immediately after defining
36308         subdir.
36309         * wctype/Makefile: Likewise.
36311 2014-02-26  Steve Ellcey  <sellcey@mips.com>
36313         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
36314         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
36315         (libc_feholdexcept_setround_mips): Ditto.
36316         (libc_feholdsetround): New.
36317         (libc_feholdsetroundf): New.
36318         (libc_feholdsetroundl): New.
36319         (libc_feupdateenv_test_mips): New.
36320         (libc_feupdateenv_test): New.
36321         (libc_feupdateenv_testf): New.
36322         (libc_feupdateenv_testl): New.
36323         (libc_feresetround): New.
36324         (libc_feresetroundf): New.
36325         (libc_feresetroundl): New.
36326         (libc_fetestexcept_mips): New.
36327         (libc_fetestexcept): New.
36328         (libc_fetestexceptf): New.
36329         (libc_fetestexceptl): New.
36330         (HAVE_RM_CTX): New.
36331         (libc_feholdexcept_setround_mips_ctx): New.
36332         (libc_feholdexcept_setround_ctx): New.
36333         (libc_feholdexcept_setroundf_ctx): New.
36334         (libc_feholdexcept_setroundl_ctx): New.
36335         (libc_fesetenv_mips_ctx): New.
36336         (libc_fesetenv_ctx): New.
36337         (libc_fesetenv_ctxf): New.
36338         (libc_fesetenv_ctxl): New.
36339         (libc_feupdateenv_mips_ctx): New.
36340         (libc_feupdateenv_ctx): New.
36341         (libc_feupdateenvf_ctx): New.
36342         (libc_feupdateenvl_ctx): New.
36343         (libc_feholdsetround_mips_ctx): New.
36344         (libc_feholdsetround_ctx): New.
36345         (libc_feholdsetroundf_ctx): New.
36346         (libc_feholdsetroundl_ctx): New.
36347         (libc_feresetround_mips_ctx): New.
36348         (libc_feresetround_ctx): New.
36349         (libc_feresetroundf_ctx): New.
36350         (libc_feresetroundl_ctx): New.
36352 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
36354         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
36356         * manual/ipc.texi: New file.
36357         * manual/Makefile (chapters): Add ipc.
36358         * manual/job.texi: Add "Inter-Process Communication" to next.
36359         * manual/process.texi: Add "Inter-Process Communication" to prev.
36361 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36363         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36365 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
36367         * malloc/malloc.c (__libc_calloc): Simplify implementation.
36369         * manual/arith.texi: Fix spaces after sentences.
36370         * manual/charset.texi: Likewise.
36371         * manual/errno.texi: Likewise.
36372         * manual/install.texi: Likewise.
36373         * manual/llio.texi: Likewise.
36374         * manual/locale.texi: Likewise.
36375         * manual/maint.texi: Likewise.
36376         * manual/math.texi: Likewise.
36377         * manual/memory.texi: Likewise.
36378         * manual/message.texi: Likewise.
36379         * manual/probes.texi: Likewise.
36380         * manual/resource.texi: Likewise.
36381         * manual/signal.texi: Likewise.
36382         * manual/socket.texi: Likewise.
36383         * manual/stdio.texi: Likewise.
36384         * manual/string.texi: Likewise.
36385         * manual/time.texi: Likewise.
36386         * manual/users.texi: Likewise.
36388 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
36390         [BZ #16632]
36391         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
36392         _DEFAULT_SOURCE is defined.
36394 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
36395             Carlos O'Donell  <carlos@redhat.com>
36397         [BZ #16613]
36398         * elf/dl-tls.c (_dl_count_modids): New function.
36399         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
36400         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
36401         audit library and increment generation counter.
36402         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
36403         * elf/tst-audit9.c: New file.
36404         * elf/tst-auditmod9a.c: New file.
36405         * elf/tst-auditmod9b.c: New file.
36406         * elf/Makefile: Add rules to build and run tst-audit9.
36408 2014-02-25  Florian Weimer  <fweimer@redhat.com>
36410         [BZ #15347]
36411         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
36413 2014-02-25  Will Newton  <will.newton@linaro.org>
36415         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
36416         (__longjmp): Restore sp and lr before restoring callee
36417         saved registers.  Add longjmp and longjmp_target
36418         SystemTap probe point.
36419         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
36420         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
36421         Define to zero to match jmpbuf layout.
36422         * sysdeps/arm/setjmp.S: Include stap-probe.h.
36423         (__sigsetjmp): Save sp and lr before saving callee
36424         saved registers.  Add setjmp SystemTap probe point.
36426 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
36428         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36430 2014-02-24  Andreas Schwab  <schwab@suse.de>
36432         [BZ #15804]
36433         * elf/pldd.c (wait_for_ptrace_stop): New function.
36434         (main): Call it after attaching.
36436 2014-02-22  Roland McGrath  <roland@hack.frob.com>
36438         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
36439         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
36440         Versions files is now verboten.
36441         * hurd/Versions (libc: GLIBC_2.0):
36442         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
36443         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
36444         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
36445         * mach/Versions: Likewise.
36447         * csu/Versions: Remove unused %include.
36448         * resolv/Versions: Likewise.
36450 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
36452         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
36453         ($(objpfx)check-local-headers.out): Likewise.
36454         ($(objpfx)begin-end-check.out): Likewise.
36455         * Makerules (check-abi-%.out): Likewise.
36456         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
36457         ($(objpfx)test2.cat): Likewise.
36458         ($(objpfx)de/libc.cat): Likewise.
36459         ($(objpfx)test-gencat.out): Likewise.
36460         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
36461         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
36462         ($(objpfx)noload-mem): Likewise.
36463         ($(objpfx)tst-pathopt.out): Likewise.
36464         ($(objpfx)tst-rtld-load-self.out): Likewise.
36465         ($(objpfx)tst-array1-cmp.out): Likewise.
36466         ($(objpfx)tst-array1-static-cmp.out): Likewise.
36467         ($(objpfx)tst-array2-cmp.out): Likewise.
36468         ($(objpfx)tst-array3-cmp.out): Likewise.
36469         ($(objpfx)tst-array4-cmp.out): Likewise.
36470         ($(objpfx)tst-array5-cmp.out): Likewise.
36471         ($(objpfx)tst-array5-static-cmp.out): Likewise.
36472         ($(objpfx)check-textrel.out): Likewise.
36473         ($(objpfx)check-execstack.out): Likewise.
36474         ($(objpfx)check-localplt.out): Likewise.
36475         ($(objpfx)order2-cmp.out): Likewise.
36476         ($(objpfx)tst-leaks1-mem): Likewise.
36477         ($(objpfx)tst-leaks1-static-mem): Likewise.
36478         ($(objpfx)tst-initorder-cmp.out): Likewise.
36479         ($(objpfx)tst-initorder2-cmp.out): Likewise.
36480         ($(objpfx)tst-unused-dep.out): Likewise.
36481         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
36482         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
36483         * iconv/Makefile (test-iconvconfig): Likewise.
36484         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
36485         ($(objpfx)iconv-test.out): Likewise.
36486         ($(objpfx)tst-tables.out): Likewise.
36487         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
36488         ($(objpfx)tst-gettext.out): Likewise.
36489         ($(objpfx)tst-translit.out): Likewise.
36490         ($(objpfx)tst-gettext2.out): Likewise.
36491         ($(objpfx)tst-gettext4.out): Likewise.
36492         ($(objpfx)tst-gettext6.out): Likewise.
36493         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
36494         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
36495         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
36496         ($(objpfx)tst-fopenloc-mem.out): Likewise.
36497         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
36498         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
36499         * posix/Makefile ($(objpfx)globtest.out): Likewise.
36500         ($(objpfx)wordexp-tst.out): Likewise.
36501         ($(objpfx)annexc.out): Likewise.
36502         ($(objpfx)tst-fnmatch-mem): Likewise.
36503         ($(objpfx)bug-regex2-mem): Likewise.
36504         ($(objpfx)bug-regex14-mem): Likewise.
36505         ($(objpfx)bug-regex21-mem): Likewise.
36506         ($(objpfx)bug-regex31-mem): Likewise.
36507         ($(objpfx)tst-vfork3-mem): Likewise.
36508         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
36509         ($(objpfx)tst-pcre-mem): Likewise.
36510         ($(objpfx)tst-boost-mem): Likewise.
36511         ($(objpfx)tst-getconf.out): Likewise.
36512         ($(objpfx)bug-ga2-mem): Likewise.
36513         ($(objpfx)bug-glob2-mem): Likewise.
36514         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
36515         ($(objpfx)mtrace-tst-leaks2): Likewise.
36516         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
36517         ($(objpfx)tst-printf.out): Likewise.
36518         ($(objpfx)tst-setvbuf1.out): Likewise.
36519         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
36520         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
36521         ($(objpfx)tst-fmtmsg.out): Likewise.
36522         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
36523         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
36525         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
36526         * bits/sigaction.h [__USE_MISC]: Likewise.
36527         * bits/waitstatus.h: Update #endif comments.
36528         * ctype/ctype.h: Likewise.
36529         * dirent/dirent.h: Likewise.
36530         [__USE_MISC]: Remove redundant conditionals.
36531         * grp/grp.h: Update #endif comments.
36532         [__USE_GNU]: Remove redundant conditionals.
36533         [__USE_MISC]: Likewise.
36534         * inet/netinet/in.h [__USE_GNU]: Likewise.
36535         * io/sys/stat.h [__USE_MISC]: Likewise.
36536         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
36537         * libio/bits/stdio.h: Update #endif comments.
36538         [__USE_MISC]: Remove redundant conditionals.
36539         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
36540         * libio/stdio.h: Update #endif comments.
36541         [__USE_MISC]: Remove redundant conditionals.
36542         * math/bits/math-finite.h [__USE_MISC]: Likewise.
36543         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
36544         * math/math.h: Update #else and #endif comments.
36545         [__USE_MISC]: Remove redundant conditionals.
36546         * misc/sys/uio.h: Update #endif comments.
36547         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
36548         * posix/glob.h [__USE_MISC]: Likewise.
36549         * posix/sys/types.h: Update #endif comments.
36550         [__USE_MISC]: Remove redundant conditionals.
36551         * posix/sys/wait.h: Update #endif comments.
36552         [__USE_MISC]: Remove redundant conditionals.
36553         * posix/unistd.h: Update #endif comments.
36554         [__USE_MISC]: Remove redundant conditionals.
36555         * pwd/pwd.h [__USE_GNU]: Likewise.
36556         [__USE_MISC]: Likewise.
36557         * resolv/netdb.h [__USE_GNU]: Likewise.
36558         * signal/signal.h: Update #endif comments.
36559         [__USE_MISC]: Remove redundant conditionals.
36560         * stdlib/stdlib.h: Update #else and #endif comments.
36561         [__USE_MISC]: Remove redundant conditionals.
36562         [__USE_GNU]: Likewise.
36563         * string/bits/string2.h [__USE_MISC]: Likewise.
36564         * string/string.h: Update #endif comments.
36565         [__USE_MISC]: Remove redundant conditionals.
36566         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
36567         Likewise.
36568         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
36569         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
36570         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
36571         Likewise.
36572         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
36573         Likewise.
36574         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
36575         comments.
36576         [__USE_MISC]: Remove redundant conditionals.
36577         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
36578         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
36579         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
36580         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
36581         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
36582         Likewise.
36583         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
36584         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
36585         Likewise.
36586         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
36587         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
36588         Likewise.
36589         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
36590         Likewise.
36591         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
36592         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
36593         Likewise.
36594         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
36595         Likewise.
36596         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
36597         * sysdeps/x86/bits/string.h: Update #endif comments.
36598         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
36599         conditionals.
36600         * time/sys/time.h: Update #endif comments.
36601         * time/time.h: Likewise.
36602         [__USE_MISC]: Remove redundant conditionals.
36604 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
36606         [BZ #16600]
36607         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
36609 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
36611         * Versions.def (librt): Add GLIBC_2.17.
36613 2014-02-21  Adam Conrad  <adconrad@0c3.net>
36615         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
36616         synonym for _SYS_AUXV_H to allow direct inclusion.
36617         * sysdeps/sparc/bits/hwcap.h: Likewise.
36618         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
36619         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
36620         * sysdeps/sparc/sysdep.h: Likewise.
36622 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36624         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
36626 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36628         * benchtests/bench-strrchr.c: Print length instead of position.
36630 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
36632         [BZ #16611]
36633         * sysdeps/unix/sysv/linux/kernel-features.h
36634         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
36635         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
36636         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
36637         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
36638         Likewise.
36639         [__i386__ || __powerpc__ || __sh__ || __sparc__]
36640         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36641         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
36642         (__ASSUME_SENDMMSG): Define instead of using previous
36643         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
36644         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36645         (__ASSUME_SENDMMSG_SYSCALL): Define.
36646         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36647         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
36648         Likewise.
36649         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36650         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
36651         Likewise.
36652         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36653         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
36654         Likewise.
36655         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
36656         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
36657         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
36658         [__ASSUME_SENDMMSG]: Change conditionals to
36659         [__ASSUME_SENDMMSG_SOCKETCALL].
36660         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36661         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
36662         Define.
36663         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36664         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
36665         Likewise.
36666         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
36667         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
36668         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
36669         [!__ASSUME_SENDMMSG]: Change conditional to
36670         [!__ASSUME_SENDMMSG_SOCKETCALL].
36671         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36672         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
36673         Define.
36675         [BZ #16610]
36676         * sysdeps/unix/sysv/linux/kernel-features.h
36677         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
36678         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
36679         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
36680         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
36681         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36682         [__i386__ || __sparc__]
36683         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36684         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
36685         (__ASSUME_RECVMMSG): Define instead of using previous
36686         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
36687         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36688         (__ASSUME_RECVMMSG_SYSCALL): Define.
36689         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36690         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36691         Likewise.
36692         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36693         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36694         Likewise.
36695         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36696         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36697         Likewise.
36698         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
36699         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
36700         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
36701         [__ASSUME_RECVMMSG]: Change condition to
36702         [__ASSUME_RECVMMSG_SOCKETCALL].
36703         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36704         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36705         Define.
36706         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36707         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36708         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36709         Likewise.
36710         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
36711         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
36712         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
36713         [!__ASSUME_RECVMMSG]: Change condition to
36714         [!__ASSUME_RECVMMSG_SOCKETCALL].
36715         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36716         (__ASSUME_RECVMMSG_SYSCALL): Define.
36718         [BZ #16609]
36719         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
36720         __powerpc__ || __s390__ || __sh__ || __sparc__]
36721         (__ASSUME_SOCKETCALL): Define.
36722         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
36723         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
36724         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
36725         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
36726         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36727         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
36728         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
36729         (__ASSUME_ACCEPT4): Define instead of using previous
36730         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
36731         __powerpc__ || __sparc__ || __s390__)] condition.
36732         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36733         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
36734         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
36735         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
36736         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
36737         [!__ASSUME_ACCEPT4]: Change condition to
36738         [!__ASSUME_ACCEPT4_SOCKETCALL].
36739         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36740         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
36741         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
36742         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36743         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
36744         __ASSUME_ACCEPT4_SYSCALL.
36745         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
36746         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
36747         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36748         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
36749         __ASSUME_ACCEPT4_SYSCALL.
36750         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
36751         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
36752         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
36753         [__ASSUME_ACCEPT4]: Change condition to
36754         [__ASSUME_ACCEPT4_SOCKETCALL].
36755         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36756         (__ASSUME_SOCKETCALL): Define.
36757         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
36758         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36759         (__ASSUME_SOCKETCALL): Define.
36760         (__ASSUME_ACCEPT4): Remove.
36761         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
36762         Define.
36763         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36764         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
36765         Likewise.
36766         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36767         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
36769         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
36770         macro.
36771         (HWCAP_ARM_LPAE): Likewise.
36772         (HWCAP_ARM_EVTSTRM): Likewise.
36773         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
36774         Add vpfd32, lpae and evtstrm.
36775         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
36776         Increase to 22.
36778 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
36780         * math/auto-libm-test-in: Add tests of clog10.
36781         * math/auto-libm-test-out: Regenerated.
36782         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
36783         * sysdeps/i386/fpu/libm-test-ulps: Update.
36784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36786 2014-02-18  Andreas Schwab  <schwab@suse.de>
36788         [BZ #16574]
36789         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
36790         Store non-zero if the second buffer was newly allocated.
36791         (send_dg): Likewise.
36792         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
36793         to send_vc and send_dg.
36794         (res_nsend): Pass NULL for ansp2_malloced.
36795         * resolv/res_query.c (__libc_res_nquery): Add parameter
36796         answerp2_malloced and pass it down to __libc_res_nsend.
36797         (res_nquery): Pass additional NULL to __libc_res_nquery.
36798         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
36799         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
36800         second answer buffer if answerp2_malloced was set.
36801         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
36802         (__libc_res_nquerydomain): Add parameter
36803         answerp2_malloced and pass it down to __libc_res_nquery.
36804         (res_nquerydomain): Pass additional NULL to
36805         __libc_res_nquerydomain.
36806         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
36807         additional NULL to __libc_res_nsend and __libc_res_nquery.
36808         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
36809         additional NULL to __libc_res_nsearch.
36810         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
36811         parameter of __libc_res_nsearch to check for separately allocated
36812         second buffer.
36813         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
36814         __libc_res_nquery.
36815         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
36816         additional NULL to __libc_res_nquery.
36817         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
36818         __libc_res_nsearch.
36819         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
36820         * include/resolv.h: Update prototypes of __libc_res_nquery,
36821         __libc_res_nsearch, __libc_res_nsend.
36823 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
36825         * math/auto-libm-test-in: Add tests of fma.
36826         * math/auto-libm-test-out: Regenerated.
36827         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
36828         (fma_towardzero_test_data): Likewise.
36829         (fma_downward_test_data): Likewise.
36830         (fma_upward_test_data): Likewise.
36831         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
36832         mpc_mode.
36833         (rounding_modes): Add values for new field.
36834         (func_calc_method): Add value mpfr_fff_f.
36835         (func_calc_desc): Add mpfr_fff_f union field.
36836         (test_function): Add field exact_args.
36837         (FUNC): Add macro argument EXACT_ARGS.
36838         (FUNC_mpfr_f_f): Update call to FUNC.
36839         (FUNC_mpfr_f_f): Likewise.
36840         (FUNC_mpfr_ff_f): Likewise.
36841         (FUNC_mpfr_if_f): Likewise.
36842         (FUNC_mpc_c_f): Likewise.
36843         (FUNC_mpc_c_c): Likewise.
36844         (test_functions): Add fma.  Update calls to FUNC.
36845         (handle_input_arg): Add argument exact_args.
36846         (add_test): Update call to handle_input_arg.
36847         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
36848         (output_for_one_input_case): Update call to calc_generic_results.
36849         Recalculate exact zero results in each rounding mode.
36851         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
36852         non-negative before setting low bit.
36853         * math/auto-libm-test-in: Mark one asin test possibly having
36854         spurious underflow.
36855         * math/auto-libm-test-out: Regenerated.
36856         * sysdeps/i386/fpu/libm-test-ulps: Update.
36857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36859 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
36861         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
36862         * sysdeps/unix/sysv/linux/microblaze: Move directory from
36863         ports/sysdeps/unix/sysv/linux/microblaze.
36864         * README: Add missing listing for microblaze*-*-linux-gnu.
36866 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
36868         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
36869         duplicate code
36871 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
36873         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
36874         * sysdeps/unix/sysv/linux/ia64: Move directory from
36875         ports/sysdeps/unix/sysv/linux/ia64.
36876         * README: Update listing for ia64-*-linux-gnu.
36878 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
36879             Joseph Myers  <joseph@codesourcery.com>
36881         * Makeconfig (test-name): New variable.
36882         (evaluate-test): Likewise.
36883         * Makerules (do-test-clean): Remove .test-result files.
36884         (common-mostlyclean): Likewise.
36885         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
36886         * scripts/evaluate-test.sh: New file.
36888 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
36890         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
36891         separate $(objpfx)tst-fopenloc-cmp.out and
36892         $(objpfx)tst-fopenloc-mem.out targets.
36893         (tests): Update dependencies.
36894         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
36895         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
36896         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
36897         (tst-rxspencer-no-utf8-ARGS): New variable.
36898         (tst-rxspencer-no-utf8-ENV): Likewise.
36899         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
36900         instead of $(objpfx)tst-rxspencer-mem.
36901         ($(objpfx)tst-rxspencer-mem): Change target to
36902         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
36903         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
36904         * posix/tst-rxspencer-no-utf8.c: New file.
36906         * elf/Makefile ($(objpfx)order.out): Remove rule.
36907         [$(run-built-tests) = yes] (tests): Depend on
36908         $(objpfx)order-cmp.out.
36909         ($(objpfx)order-cmp.out): New rule.
36910         [$(run-built-tests) = yes] (tests): Depend on
36911         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
36912         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
36913         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
36914         $(objpfx)tst-array5-static-cmp.out.
36915         ($(objpfx)tst-array1.out): Remove rule.
36916         ($(objpfx)tst-array1-cmp.out): New rule.
36917         ($(objpfx)tst-array1-static.out): Remove rule.
36918         ($(objpfx)tst-array1-static-cmp.out): New rule.
36919         ($(objpfx)tst-array2.out): Remove rule.
36920         ($(objpfx)tst-array2-cmp.out): New rule.
36921         ($(objpfx)tst-array3.out): Remove rule.
36922         ($(objpfx)tst-array3-cmp.out): New rule.
36923         ($(objpfx)tst-array4.out): Remove rule.
36924         ($(objpfx)tst-array4-cmp.out): New rule.
36925         ($(objpfx)tst-array5.out): Remove rule.
36926         ($(objpfx)tst-array5-cmp.out): New rule.
36927         ($(objpfx)tst-array5-static.out): Remove rule.
36928         ($(objpfx)tst-array5-static-cmp.out): New rule.
36929         [$(run-built-tests) = yes] (tests): Depend on
36930         $(objpfx)order2-cmp.out.
36931         ($(objpfx)order2.out): Remove rule.
36932         ($(objpfx)order2-cmp.out): New rule.
36933         ($(objpfx)tst-initorder.out): Remove rule.
36934         [$(run-built-tests) = yes] (tests): Depend on
36935         $(objpfx)tst-initorder-cmp.out.
36936         ($(objpfx)tst-initorder-cmp.out): New rule.
36937         ($(objpfx)tst-initorder2.out): Remove rule.
36938         [$(run-built-tests) = yes] (tests): Depend on
36939         $(objpfx)tst-initorder2-cmp.out.
36940         ($(objpfx)tst-initorder2-cmp.out): New rule.
36941         [$(run-built-tests) = yes] (tests): Depend on
36942         $(objpfx)tst-unused-dep-cmp.out.
36943         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
36944         ($(objpfx)tst-unused-dep-cmp.out): New rule.
36945         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
36946         on $(objpfx)tst-setvbuf1-cmp.out.
36947         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
36948         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
36949         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
36950         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
36951         ($(objpfx)tst-svc.out): Remove rule.
36952         ($(objpfx)tst-svc-cmp.out): New rule.
36954 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
36956         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
36957         * ctype/ctype.h [__USE_MISC]: Likewise.
36958         * dirent/dirent.h [__USE_MISC]: Likewise.
36959         * grp/grp.h [__USE_MISC]: Likewise.
36960         * io/fcntl.h [__USE_MISC]: Likewise.
36961         * io/sys/stat.h [__USE_MISC]: Likewise.
36962         * libio/stdio.h [__USE_MISC]: Likewise.
36963         * posix/unistd.h [__USE_MISC]: Likewise.
36964         * pwd/pwd.h [__USE_MISC]: Likewise.
36965         * stdlib.h [__USE_MISC]: Likewise.
36966         * string/bits/string2.h [__USE_MISC]: Likewise.
36967         * string/string.h [__USE_MISC]: Likewise.
36968         * time/time.h [__USE_MISC]: Likewise.
36970 2014-02-13  Andreas Schwab  <schwab@suse.de>
36972         [BZ #16574]
36973         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
36974         second answer buffer if it was separately allocated.
36976 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
36978         * sysdeps/mips/math-tests.h: Include <features.h>.
36979         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
36980         (ROUNDING_TESTS_long_double): Do not define.
36981         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
36982         (EXCEPTION_TESTS_long_double): Likewise.
36983         * sysdeps/mips/mips64/libm-test-ulps: Update.
36985         * include/features.h (__USE_BSD): Remove macro definitions.
36986         (__USE_SVID): Likewise.
36987         (_BSD_SOURCE): Likewise.
36988         (_SVID_SOURCE): Likewise.
36989         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
36990         from definition of _DEFAULT_SOURCE.
36991         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
36992         [_DEFAULT_SOURCE].
36993         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
36994         * bits/mman.h [__USE_BSD]: Likewise.
36995         * bits/termios.h [__USE_BSD]: Likewise.
36996         * bits/waitstatus.h [__USE_BSD]: Likewise.
36997         * ctype/ctype.h [__USE_SVID]: Likewise.
36998         * dirent/dirent.h [__USE_BSD]: Likewise.
36999         * grp/grp.h [__USE_SVID]: Likewise.
37000         [__USE_BSD]: Likewise.
37001         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
37002         * io/fcntl.h [__USE_BSD]: Likewise.
37003         * io/ftw.h [__USE_BSD]: Likewise.
37004         * io/sys/stat.h [__USE_BSD]: Likewise.
37005         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
37006         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
37007         * libio/stdio.h [__USE_SVID]: Likewise.
37008         [__USE_BSD]: Likewise.
37009         * math/math.h [__USE_SVID]: Likewise.
37010         [__USE_BSD]: Likewise.
37011         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
37012         * misc/bits/syslog.h [__USE_BSD]: Likewise.
37013         * misc/search.h [__USE_SVID]: Likewise.
37014         * misc/sys/mman.h [__USE_BSD]: Likewise.
37015         * misc/sys/syslog.h [__USE_BSD]: Likewise.
37016         * misc/sys/uio.h [__USE_BSD]: Likewise.
37017         * posix/bits/unistd.h [__USE_BSD]: Likewise.
37018         * posix/glob.h [__USE_BSD]: Likewise.
37019         * posix/regex.h [__USE_BSD]: Likewise.
37020         * posix/sys/types.h [__USE_BSD]: Likewise.
37021         [__USE_SVID]: Likewise.
37022         * posix/sys/utsname.h [__USE_SVID]: Likewise.
37023         * posix/sys/wait.h [__USE_BSD]: Likewise.
37024         [__USE_SVID]: Likewise.
37025         * posix/unistd.h [__USE_BSD]: Likewise.
37026         [__USE_SVID]: Likewise.
37027         * pwd/pwd.h [__USE_SVID]: Likewise.
37028         * resolv/netdb.h [__USE_BSD]: Likewise.
37029         * setjmp/setjmp.h [__USE_BSD]: Likewise.
37030         * signal/signal.h [__USE_BSD]: Likewise.
37031         [__USE_SVID]: Likewise.
37032         * socket/sys/socket.h [__USE_BSD]: Likewise.
37033         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
37034         * stdlib/stdlib.h [__USE_BSD]: Likewise.
37035         [__USE_SVID]: Likewise.
37036         * string/bits/string2.h [__USE_BSD]: Likewise.
37037         [__USE_SVID]: Likewise.
37038         * string/bits/string3.h [__USE_BSD]: Likewise.
37039         * string/endian.h [__USE_BSD]: Likewise.
37040         * string/string.h [__USE_SVID]: Likewise.
37041         [__USE_BSD]: Likewise.
37042         * string/strings.h [__USE_BSD]: Likewise.
37043         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
37044         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
37045         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
37046         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
37047         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
37048         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
37049         Likewise.
37050         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
37051         Likewise.
37052         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
37053         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
37054         Likewise.
37055         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
37056         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
37057         Likewise.
37058         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
37059         Likewise.
37060         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
37061         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
37062         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
37063         Likewise.
37064         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
37065         Likewise.
37066         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
37067         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
37068         * termios/termios.h [__USE_BSD]: Likewise.
37069         * time/sys/time.h [__USE_BSD]: Likewise.
37070         * time/time.h [__USE_BSD]: Likewise.
37071         [__USE_SVID]: Likewise.
37073         * Makefile (subdir_targets): Remove subdir_lint.out.
37075         * stdio-common/Makefile (do-tst-unbputc): Remove target.
37076         (do-tst-printf): Likewise.
37077         (tests): Depend directly on $(objpfx)tst-unbputc.out and
37078         $(objpfx)tst-printf.out.
37080         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
37082         * Makerules (check-abi-%): Change target to
37083         $(objpfx)check-abi-%.out.
37084         (check-abi target): Update dependencies.
37085         (check-abi-pattern variable): Redirect output of diff to $@.
37086         (check-abi variable): Likewise.
37087         * elf/Makefile (check-abi): Update dependencies.
37089         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
37090         unused.
37091         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
37092         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
37093         subnormal range.
37094         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
37095         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
37096         value has largest subnormal exponent.
37097         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
37098         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
37099         * sysdeps/aarch64/soft-fp/sfp-machine.h
37100         (_FP_TININESS_AFTER_ROUNDING): New macro.
37101         * sysdeps/alpha/soft-fp/sfp-machine.h
37102         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37103         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
37104         Likewise.
37105         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
37106         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37107         * sysdeps/mips/soft-fp/sfp-machine.h
37108         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37109         * sysdeps/powerpc/soft-fp/sfp-machine.h
37110         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37111         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
37112         Likewise.
37113         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
37114         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37115         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
37116         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37117         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
37118         Likewise.
37120 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
37122         [BZ #16545]
37123         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
37124         model 1.
37126 2014-02-12  Richard Henderson  <rth@redhat.com>
37128         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
37129         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
37130         * sysdeps/unix/sysv/linux/alpha: Move directory from
37131         ports/sysdeps/unix/sysv/linux/alpha.
37132         * README: Update listing for alpha-*-linux-gnu.
37134 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
37136         * include/features.h: Update comment documenting feature test
37137         macros.
37138         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
37139         _DEFAULT_SOURCE.
37140         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
37141         (_SVID_SOURCE): Likewise.
37142         (_DEFAULT_SOURCE): Update description of default features.
37143         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
37144         with _GNU_SOURCE.
37145         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
37146         (S_ISVTX): Likewise.
37147         * manual/math.texi (Mathematical Constants): Likewise.
37148         * manual/signal.texi (Interrupted Primitives): Likewise.
37149         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
37150         * math/test-matherr.c (_SVID_SOURCE): Do not define.
37151         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
37152         Don't refer to _SVID_SOURCE in warning text.
37154         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37156         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
37157         already defined.
37158         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
37159         * sysdeps/mips/dl-lookup.c: Remove.
37160         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
37162 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37164         [BZ #16447]
37165         * math/auto-libm-test-in: Add testcase for expl.
37166         * math/auto-libm-test-out: Regenerate.
37167         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
37168         calculation of unsafe.
37169         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
37171 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37173         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
37174         * sysdeps/unix/sysv/linux/aarch64: Move directory from
37175         ports/sysdeps/unix/sysv/linux/aarch64.
37176         * README: Update listing for aarch64*-*-linux-gnu.
37178 2014-02-11  Will Newton  <will.newton@linaro.org>
37180         * manual/probes.texi (Mathematical Function Probes): Use
37181         "triggered" instead of "hit".
37183         * manual/probes.texi (Internal Probes): Add documentation
37184         of setjmp, longjmp and longjmp_target probes.
37186         * include/stap-probe.h: Add comment about probe argument
37187         format.
37189         * malloc/mtrace.c (attribute_hidden): Remove unused macro
37190         definition.  (tr_where, tr_freehook, tr_mallochook,
37191         tr_reallochook, tr_memalignhook): Use ANSI protoype.
37193 2014-02-11  David S. Miller  <davem@davemloft.net>
37195         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
37196         processing int_tests.
37198 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
37200         * sysdeps/mips: Move directory from ports/sysdeps/mips.
37201         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
37202         * sysdeps/unix/sysv/linux/mips: Move directory from
37203         ports/sysdeps/unix/sysv/linux/mips.
37204         * README: Update listing for mips-*-linux-gnu and
37205         mips64-*-linux-gnu.
37207 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
37209         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
37210         * sysdeps/unix/sysv/linux/m68k: Move directory from
37211         ports/sysdeps/unix/sysv/linux/m68k.
37212         * README: Update listing for m68k-*-linux-gnu.
37214 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
37216         * sysdeps/tile: Move directory from ports/sysdeps/tile.
37217         * sysdeps/unix/sysv/linux/generic: Move directory from
37218         ports/sysdeps/unix/sysv/linux/generic.
37219         * sysdeps/unix/sysv/linux/tile: Move directory from
37220         ports/sysdeps/unix/sysv/linux/tile.
37221         * README: Update listing for tile*-*-linux-gnu.
37223 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
37225         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
37226         __builtin_expect.
37227         * benchtests/bench-memmem.c (simple_memmem): Likewise.
37228         * catgets/open_catalog.c (__open_catalog): Likewise.
37229         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
37230         * debug/confstr_chk.c: Likewise.
37231         * debug/fread_chk.c (__fread_chk): Likewise.
37232         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
37233         * debug/getgroups_chk.c: Likewise.
37234         * debug/mbsnrtowcs_chk.c: Likewise.
37235         * debug/mbsrtowcs_chk.c: Likewise.
37236         * debug/mbstowcs_chk.c: Likewise.
37237         * debug/memcpy_chk.c: Likewise.
37238         * debug/memmove_chk.c: Likewise.
37239         * debug/mempcpy_chk.c: Likewise.
37240         * debug/memset_chk.c: Likewise.
37241         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
37242         * debug/strcat_chk.c (__strcat_chk): Likewise.
37243         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
37244         * debug/strncat_chk.c (__strncat_chk): Likewise.
37245         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
37246         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
37247         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
37248         * debug/wcpncpy_chk.c: Likewise.
37249         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
37250         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
37251         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
37252         * debug/wcsncpy_chk.c: Likewise.
37253         * debug/wcsnrtombs_chk.c: Likewise.
37254         * debug/wcsrtombs_chk.c: Likewise.
37255         * debug/wcstombs_chk.c: Likewise.
37256         * debug/wmemcpy_chk.c: Likewise.
37257         * debug/wmemmove_chk.c: Likewise.
37258         * debug/wmempcpy_chk.c: Likewise.
37259         * debug/wmemset_chk.c: Likewise.
37260         * dirent/scandirat.c (SCANDIRAT): Likewise.
37261         * dlfcn/dladdr1.c (dladdr1): Likewise.
37262         * dlfcn/dladdr.c (dladdr): Likewise.
37263         * dlfcn/dlclose.c (dlclose_doit): Likewise.
37264         * dlfcn/dlerror.c (__dlerror): Likewise.
37265         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
37266         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
37267         * dlfcn/dlopen.c (dlopen_doit): Likewise.
37268         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
37269         * dlfcn/dlsym.c (dlsym_doit): Likewise.
37270         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
37271         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
37272         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
37273         Likewise.
37274         * elf/dl-conflict.c: Likewise.
37275         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
37276         * elf/dl-dst.h: Likewise.
37277         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
37278         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
37279         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
37280         * elf/dl-init.c (call_init, _dl_init): Likewise.
37281         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
37282         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
37283         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
37284         Likewise.
37285         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
37286         Likewise.
37287         * elf/dl-minimal.c (__libc_memalign): Likewise.
37288         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
37289         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
37290         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
37291         * elf/dl-sym.c (do_sym): Likewise.
37292         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
37293         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
37294         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
37295         * elf/dl-writev.h (_dl_writev): Likewise.
37296         * elf/ldconfig.c (search_dir): Likewise.
37297         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
37298         (dl_main): Likewise.
37299         * elf/setup-vdso.h (setup_vdso): Likewise.
37300         * grp/compat-initgroups.c (compat_call): Likewise.
37301         * grp/fgetgrent.c (fgetgrent): Likewise.
37302         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
37303         * grp/putgrent.c (putgrent): Likewise.
37304         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
37305         Likewise.
37306         * hurd/hurdinit.c: Likewise.
37307         * iconvdata/8bit-gap.c (struct): Likewise.
37308         * iconvdata/ansi_x3.110.c : Likewise.
37309         * iconvdata/big5.c : Likewise.
37310         * iconvdata/big5hkscs.c : Likewise.
37311         * iconvdata/cp1255.c: Likewise.
37312         * iconvdata/cp1258.c : Likewise.
37313         * iconvdata/cp932.c : Likewise.
37314         * iconvdata/euc-cn.c: Likewise.
37315         * iconvdata/euc-jisx0213.c : Likewise.
37316         * iconvdata/euc-jp.c: Likewise.
37317         * iconvdata/euc-jp-ms.c : Likewise.
37318         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
37319         * iconvdata/gb18030.c : Likewise.
37320         * iconvdata/gbbig5.c (const): Likewise.
37321         * iconvdata/gbgbk.c: Likewise.
37322         * iconvdata/gbk.c : Likewise.
37323         * iconvdata/ibm1364.c : Likewise.
37324         * iconvdata/ibm930.c : Likewise.
37325         * iconvdata/ibm932.c: Likewise.
37326         * iconvdata/ibm933.c : Likewise.
37327         * iconvdata/ibm935.c : Likewise.
37328         * iconvdata/ibm937.c : Likewise.
37329         * iconvdata/ibm939.c : Likewise.
37330         * iconvdata/ibm943.c: Likewise.
37331         * iconvdata/iso_11548-1.c: Likewise.
37332         * iconvdata/iso-2022-cn.c : Likewise.
37333         * iconvdata/iso-2022-cn-ext.c : Likewise.
37334         * iconvdata/iso-2022-jp-3.c: Likewise.
37335         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
37336         * iconvdata/iso-2022-kr.c : Likewise.
37337         * iconvdata/iso646.c (gconv_end): Likewise.
37338         * iconvdata/iso_6937-2.c : Likewise.
37339         * iconvdata/iso_6937.c : Likewise.
37340         * iconvdata/iso8859-1.c: Likewise.
37341         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
37342         * iconvdata/shift_jisx0213.c : Likewise.
37343         * iconvdata/sjis.c : Likewise.
37344         * iconvdata/t.61.c : Likewise.
37345         * iconvdata/tcvn5712-1.c : Likewise.
37346         * iconvdata/tscii.c: Likewise.
37347         * iconvdata/uhc.c : Likewise.
37348         * iconvdata/unicode.c (gconv_end): Likewise.
37349         * iconvdata/utf-16.c (gconv_end): Likewise.
37350         * iconvdata/utf-32.c (gconv_end): Likewise.
37351         * iconvdata/utf-7.c (base64): Likewise.
37352         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
37353         * iconv/gconv_close.c (__gconv_close): Likewise.
37354         * iconv/gconv_open.c (__gconv_open): Likewise.
37355         * iconv/gconv_simple.c (internal_ucs4_loop_single)
37356         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
37357         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
37358         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
37359         (ucs4le_internal_loop_single): Likewise.
37360         * iconv/iconv.c (iconv): Likewise.
37361         * iconv/iconv_close.c: Likewise.
37362         * iconv/loop.c (SINGLE): Likewise.
37363         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
37364         * include/atomic.h: Likewise.
37365         * inet/inet6_option.c (option_alloc): Likewise.
37366         * intl/bindtextdom.c (set_binding_values): Likewise.
37367         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
37368         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
37369         * intl/localealias.c (read_alias_file): Likewise.
37370         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
37371         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
37372         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
37373         * libio/fmemopen.c (fmemopen): Likewise.
37374         * libio/iofgets.c (_IO_fgets): Likewise.
37375         * libio/iofgets_u.c (fgets_unlocked): Likewise.
37376         * libio/iofgetws.c (fgetws): Likewise.
37377         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
37378         * libio/iogetdelim.c (_IO_getdelim): Likewise.
37379         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
37380         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
37381         * locale/findlocale.c (_nl_find_locale): Likewise.
37382         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
37383         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
37384         Likewise.
37385         * locale/setlocale.c (setlocale): Likewise.
37386         * login/programs/pt_chown.c (main): Likewise.
37387         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
37388         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
37389         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
37390         (mmap, mmap64, mremap, munmap): Likewise.
37391         * math/e_exp2l.c: Likewise.
37392         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
37393         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
37394         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
37395         * math/s_catan.c (__catan): Likewise.
37396         * math/s_catanf.c (__catanf): Likewise.
37397         * math/s_catanh.c (__catanh): Likewise.
37398         * math/s_catanhf.c (__catanhf): Likewise.
37399         * math/s_catanhl.c (__catanhl): Likewise.
37400         * math/s_catanl.c (__catanl): Likewise.
37401         * math/s_ccosh.c (__ccosh): Likewise.
37402         * math/s_ccoshf.c (__ccoshf): Likewise.
37403         * math/s_ccoshl.c (__ccoshl): Likewise.
37404         * math/s_cexp.c (__cexp): Likewise.
37405         * math/s_cexpf.c (__cexpf): Likewise.
37406         * math/s_cexpl.c (__cexpl): Likewise.
37407         * math/s_clog10.c (__clog10): Likewise.
37408         * math/s_clog10f.c (__clog10f): Likewise.
37409         * math/s_clog10l.c (__clog10l): Likewise.
37410         * math/s_clog.c (__clog): Likewise.
37411         * math/s_clogf.c (__clogf): Likewise.
37412         * math/s_clogl.c (__clogl): Likewise.
37413         * math/s_csin.c (__csin): Likewise.
37414         * math/s_csinf.c (__csinf): Likewise.
37415         * math/s_csinh.c (__csinh): Likewise.
37416         * math/s_csinhf.c (__csinhf): Likewise.
37417         * math/s_csinhl.c (__csinhl): Likewise.
37418         * math/s_csinl.c (__csinl): Likewise.
37419         * math/s_csqrt.c (__csqrt): Likewise.
37420         * math/s_csqrtf.c (__csqrtf): Likewise.
37421         * math/s_csqrtl.c (__csqrtl): Likewise.
37422         * math/s_ctan.c (__ctan): Likewise.
37423         * math/s_ctanf.c (__ctanf): Likewise.
37424         * math/s_ctanh.c (__ctanh): Likewise.
37425         * math/s_ctanhf.c (__ctanhf): Likewise.
37426         * math/s_ctanhl.c (__ctanhl): Likewise.
37427         * math/s_ctanl.c (__ctanl): Likewise.
37428         * math/w_pow.c: Likewise.
37429         * math/w_powf.c: Likewise.
37430         * math/w_powl.c: Likewise.
37431         * math/w_scalb.c (sysv_scalb): Likewise.
37432         * math/w_scalbf.c (sysv_scalbf): Likewise.
37433         * math/w_scalbl.c (sysv_scalbl): Likewise.
37434         * misc/error.c (error_tail): Likewise.
37435         * misc/pselect.c (__pselect): Likewise.
37436         * nis/nis_callback.c (__nis_create_callback): Likewise.
37437         * nis/nis_call.c (__nisfind_server): Likewise.
37438         * nis/nis_creategroup.c (nis_creategroup): Likewise.
37439         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
37440         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
37441         * nis/nis_getservlist.c (nis_getservlist): Likewise.
37442         * nis/nis_lookup.c (nis_lookup): Likewise.
37443         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
37444         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
37445         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
37446         * nis/nis_xdr.c (xdr_endpoint): Likewise.
37447         * nis/nss_compat/compat-grp.c (getgrent_next_file)
37448         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
37449         * nis/nss_compat/compat-initgroups.c (add_group)
37450         (internal_getgrent_r): Likewise.
37451         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
37452         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
37453         * nis/nss_compat/compat-spwd.c (getspent_next_file)
37454         (internal_getspnam_r): Likewise.
37455         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
37456         (_nss_nis_getaliasbyname_r): Likewise.
37457         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
37458         (_nss_nis_getntohost_r): Likewise.
37459         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
37460         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
37461         (_nss_nis_getgrgid_r): Likewise.
37462         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
37463         (internal_nis_gethostent_r, internal_gethostbyname2_r)
37464         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
37465         (_nss_nis_gethostbyname4_r): Likewise.
37466         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
37467         (initgroups_netid): Likewise.
37468         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
37469         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
37470         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
37471         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
37472         (_nss_nis_getprotobynumber_r): Likewise.
37473         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
37474         (_nss_nis_getsecretkey): Likewise.
37475         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
37476         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
37477         (_nss_nis_getpwuid_r): Likewise.
37478         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
37479         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
37480         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
37481         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
37482         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
37483         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
37484         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
37485         Likewise.
37486         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
37487         (_nss_nisplus_getntohost_r): Likewise.
37488         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
37489         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
37490         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
37491         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
37492         Likewise.
37493         * nis/nss_nisplus/nisplus-initgroups.c
37494         (_nss_nisplus_initgroups_dyn): Likewise.
37495         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
37496         (_nss_nisplus_getnetbyaddr_r): Likewise.
37497         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
37498         (_nss_nisplus_getprotobynumber_r): Likewise.
37499         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
37500         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
37501         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
37502         Likewise.
37503         * nis/nss_nisplus/nisplus-service.c
37504         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
37505         (_nss_nisplus_getservbyport_r): Likewise.
37506         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
37507         (_nss_nisplus_getspnam_r): Likewise.
37508         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
37509         Likewise.
37510         * nscd/aicache.c (addhstaiX): Likewise.
37511         * nscd/cache.c (cache_search, prune_cache): Likewise.
37512         * nscd/connections.c (register_traced_file, send_ro_fd)
37513         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
37514         (main_loop_epoll): Likewise.
37515         * nscd/grpcache.c (addgrbyX): Likewise.
37516         * nscd/hstcache.c (addhstbyX): Likewise.
37517         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37518         * nscd/mem.c (gc, mempool_alloc): Likewise.
37519         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
37520         (addinnetgrX): Likewise.
37521         * nscd/nscd-client.h (__nscd_acquire_maplock)
37522         (__nscd_drop_map_ref): Likewise.
37523         * nscd/nscd_getai.c (__nscd_getai): Likewise.
37524         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
37525         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
37526         Likewise.
37527         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
37528         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
37529         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
37530         (__nscd_get_map_ref): Likewise.
37531         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
37532         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
37533         Likewise.
37534         * nscd/pwdcache.c (addpwbyX): Likewise.
37535         * nscd/selinux.c (preserve_capabilities): Likewise.
37536         * nscd/servicescache.c (addservbyX): Likewise.
37537         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
37538         * posix/fnmatch.c (fnmatch): Likewise.
37539         * posix/getopt.c (_getopt_internal_r): Likewise.
37540         * posix/glob.c (glob, glob_in_dir): Likewise.
37541         * posix/wordexp.c (exec_comm_child): Likewise.
37542         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
37543         (getanswer_r, gaih_getanswer_slice): Likewise.
37544         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
37545         * resolv/res_init.c: Likewise.
37546         * resolv/res_mkquery.c (res_nmkquery): Likewise.
37547         * resolv/res_query.c (__libc_res_nquery): Likewise.
37548         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
37549         Likewise.
37550         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
37551         * stdio-common/perror.c (perror): Likewise.
37552         * stdio-common/printf_fp.c (___printf_fp): Likewise.
37553         * stdio-common/tmpnam.c (tmpnam): Likewise.
37554         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
37555         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
37556         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
37557         Likewise.
37558         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
37559         * stdlib/putenv.c (putenv): Likewise.
37560         * stdlib/setenv.c (__add_to_environ): Likewise.
37561         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
37562         * stdlib/strtol_l.c (INTERNAL): Likewise.
37563         * string/memmem.c (memmem): Likewise.
37564         * string/strerror.c (strerror): Likewise.
37565         * string/strnlen.c (__strnlen): Likewise.
37566         * string/test-memmem.c (simple_memmem): Likewise.
37567         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
37568         * sunrpc/pm_getport.c (__get_socket): Likewise.
37569         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
37570         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
37571         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
37572         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
37573         Likewise.
37574         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
37575         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
37576         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
37577         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
37578         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
37579         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
37580         Likewise.
37581         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
37582         Likewise.
37583         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
37584         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
37585         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37586         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
37587         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
37588         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
37589         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
37590         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
37591         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
37592         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
37593         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37594         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
37595         Likewise.
37596         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
37597         Likewise.
37598         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
37599         Likewise.
37600         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
37601         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37602         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
37603         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
37604         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
37605         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
37606         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
37607         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
37608         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
37609         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
37610         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
37611         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37612         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
37613         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
37614         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37615         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
37616         Likewise.
37617         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
37618         Likewise.
37619         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
37620         Likewise.
37621         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
37622         Likewise.
37623         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37624         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37625         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
37626         Likewise.
37627         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
37628         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
37629         * sysdeps/posix/opendir.c (__opendirat): Likewise.
37630         * sysdeps/posix/sleep.c: Likewise.
37631         * sysdeps/posix/tempname.c: Likewise.
37632         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
37633         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
37634         Likewise.
37635         * sysdeps/powerpc/powerpc32/dl-machine.h
37636         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
37637         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
37638         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
37639         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
37640         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
37641         Likewise.
37642         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
37643         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
37644         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
37645         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
37646         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
37647         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
37648         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
37649         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
37650         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
37651         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
37652         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
37653         (elf_machine_lazy_rel): Likewise.
37654         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
37655         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
37656         (elf_machine_lazy_rel): Likewise.
37657         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
37658         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
37659         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
37660         * sysdeps/unix/grantpt.c (grantpt): Likewise.
37661         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
37662         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
37663         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
37664         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37665         Likewise.
37666         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
37667         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
37668         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
37669         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
37670         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
37671         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
37672         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
37673         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
37674         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
37675         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
37676         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
37677         Likewise.
37678         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
37679         (__posix_fallocate64_l64): Likewise.
37680         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
37681         (posix_fallocate): Likewise.
37682         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
37683         Likewise.
37684         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37685         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
37686         (getifaddrs_internal): Likewise.
37687         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
37688         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
37689         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
37690         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
37691         * sysdeps/unix/sysv/linux/posix_fallocate64.c
37692         (__posix_fallocate64_l64): Likewise.
37693         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
37694         Likewise.
37695         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
37696         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
37697         (__get_clockfreq): Likewise.
37698         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
37699         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
37700         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
37701         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37702         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37703         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
37704         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
37705         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
37706         Likewise.
37707         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
37708         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
37709         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
37710         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
37711         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37712         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
37713         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
37714         Likewise.
37715         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37716         (posix_fallocate): Likewise.
37717         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37718         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
37719         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
37720         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
37721         (elf_machine_rela, elf_machine_rela_relative)
37722         (elf_machine_lazy_rel): Likewise.
37723         * time/asctime.c (asctime_internal): Likewise.
37724         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
37725         * time/tzset.c (__tzset_parse_tz): Likewise.
37726         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
37727         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
37728         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
37729         * wcsmbs/wcsmbsload.h: Likewise.
37731         [BZ #15894]
37732         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
37734         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
37735         (arena_get2): Remove THREAD_STATS conditionals.
37736         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
37737         (__malloc_stats, int): Likewise.
37739 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
37741         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
37742         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
37744         * manual/setjmp.texi: Fix typos/grammar errors.
37746         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
37747         Only return early when n is <= 0.  Delete unused return statement.
37749         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
37750         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
37751         * debug/tst-longjmp_chk3.c: New file.
37753         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
37754         (test_main): Replace code with set_fortify_handler call.
37755         * debug/test-strcpy_chk.c: Likewise.
37756         * debug/tst-chk1.c: Likewise.
37757         * debug/tst-longjmp_chk.c: Likewise.
37758         * test-skeleton.c: Include fcntl.h & paths.h
37759         (set_fortify_handler): Define.
37761         * debug/tst-longjmp_chk.c: Add header comment and include
37762         ../test-skeleton.c.
37763         (do_test): Mark static.
37764         (TEST_FUNCTION): Define.
37766         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
37767         (IP_PMTUDISC_INTERFACE): Likewise.
37768         (IP_MULTICAST_IF): Likewise.
37769         (IP_MULTICAST_TTL): Likewise.
37770         (IP_MULTICAST_LOOP): Likewise.
37771         (IP_ADD_MEMBERSHIP): Likewise.
37772         (IP_DROP_MEMBERSHIP): Likewise.
37773         (IP_UNBLOCK_SOURCE): Likewise.
37774         (IP_BLOCK_SOURCE): Likewise.
37775         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
37776         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
37777         (IP_MSFILTER): Likewise.
37778         (MCAST_JOIN_GROUP): Likewise.
37779         (MCAST_BLOCK_SOURCE): Likewise.
37780         (MCAST_UNBLOCK_SOURCE): Likewise.
37781         (MCAST_LEAVE_GROUP): Likewise.
37782         (MCAST_JOIN_SOURCE_GROUP): Likewise.
37783         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
37784         (MCAST_MSFILTER): Likewise.
37785         (IP_MULTICAST_ALL): Likewise.
37786         (IP_UNICAST_IF): Likewise.
37788         * timezone/Makefile: Delete $(have-ksh) check.
37789         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
37790         * timezone/tzselect.ksh: Add +x mode bits.
37792         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
37793         (ANON_INODE_FS_MAGIC): Likewise.
37794         (BDEVFS_MAGIC): Likewise.
37795         (BINFMTFS_MAGIC): Likewise.
37796         (BTRFS_TEST_MAGIC): Likewise.
37797         (CRAMFS_MAGIC_WEND): Likewise.
37798         (DEBUGFS_MAGIC): Likewise.
37799         (ECRYPTFS_SUPER_MAGIC): Likewise.
37800         (EXT3_SUPER_MAGIC): Likewise.
37801         (EXT4_SUPER_MAGIC): Likewise.
37802         (FUTEXFS_SUPER_MAGIC): Likewise.
37803         (HOSTFS_SUPER_MAGIC): Likewise.
37804         (HUGETLBFS_MAGIC): Likewise.
37805         (MINIX3_SUPER_MAGIC): Likewise.
37806         (MTD_INODE_FS_MAGIC): Likewise.
37807         (NILFS_SUPER_MAGIC): Likewise.
37808         (OPENPROM_SUPER_MAGIC): Likewise.
37809         (PIPEFS_MAGIC): Likewise.
37810         (PSTOREFS_MAGIC): Likewise.
37811         (QNX6_SUPER_MAGIC): Likewise.
37812         (RAMFS_MAGIC): Likewise.
37813         (REISERFS_SUPER_MAGIC_STRING): Likewise.
37814         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
37815         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
37816         (SECURITYFS_MAGIC): Likewise.
37817         (SELINUX_MAGIC): Likewise.
37818         (SMACK_MAGIC): Likewise.
37819         (SOCKFS_MAGIC): Likewise.
37820         (SQUASHFS_MAGIC): Likewise.
37821         (STACK_END_MAGIC): Likewise.
37822         (TMPFS_MAGIC): Likewise.
37823         (USBDEVICE_SUPER_MAGIC): Likewise.
37824         (V9FS_MAGIC): Likewise.
37825         (XENFS_SUPER_MAGIC): Likewise.
37826         (CRAMFS_MAGIC): Fix typo in comment.
37827         (EXT2_SUPER_MAGIC): Update comment.
37828         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
37830 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
37832         * sysdeps/arm: Move directory from ports/sysdeps/arm.
37833         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
37834         * sysdeps/unix/sysv/linux/arm: Move directory from
37835         ports/sysdeps/unix/sysv/linux/arm.
37836         * README: Update listing for arm-*-linux-gnueabi.
37838         * README: Remove mention of am33.
37840 2014-02-07  Roland McGrath  <roland@hack.frob.com>
37842         * bits/sigset.h (__sigemptyset): Use a statement expression rather
37843         than the comma operator, to avoid "rhs of comma has no effect"
37844         compiler warnings.
37845         (__sigfillset, __sigandset, __sigorset): Likewise.
37846         * include/signal.h (__sigemptyset): Likewise.
37847         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
37849 2014-02-07  Allan McRae  <allan@archlinux.org>
37851         * version.h (RELEASE): Set to "development".
37852         (VERSION): Set to "2.19.90"
37853         * NEWS: Add 2.20 section.
37855 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
37857         [BZ #16529]
37858         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
37860 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
37862         * manual/contrib.texi: Update entry for Carlos O'Donell,
37863         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
37865 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
37867         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
37869         * sysdeps/unix/sysv/linux/kernel-features.h
37870         [__LINUX_KERNEL_VERSION >= 0x020621]
37871         (__ASSUME_PROC_PID_TASK_COMM): Define.
37873 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37875         [BZ #16398]
37876         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
37877         conversion when destination buffer does not have enough space.
37878         * libio/tst-ftell-partial-wide.c: New test case.
37879         * libio/Makefile (tests): Add tst-ftell-partial-wide.
37881         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
37882         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
37883         Leonard and Allan McRae.
37885 2014-02-04  David S. Miller  <davem@davemloft.net>
37887         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
37888         32-bit.
37890 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
37893         New file
37894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
37895         New file
37896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
37897         New file.
37898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
37899         New file.
37900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
37901         New file.
37902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
37903         New file.
37904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
37905         New file.
37906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
37907         New file.
37908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
37909         New file.
37910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
37911         New file.
37912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
37913         New file.
37914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
37915         New file.
37916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
37917         New file.
37919 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37921         * nptl/shlib-versions: Change powerpc*le start to 2.17.
37922         * shlib-versions: Likewise.
37924 2014-02-04  Roland McGrath  <roland@hack.frob.com>
37925             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37927         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
37928         (abilist-pattern): New variable, set to %-le.abilist.
37930         * Makerules (abilist-pattern): New variable.
37931         (vpath): Use $(abilist-pattern) in place of %.abilist.
37932         (check-abi-% pattern rule): Likewise.
37933         (check-abi, update-abi): Likewise.
37935 2014-02-04  Eric Wong  <normalperson@yhbt.net>
37937         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37939 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
37941         * manual/startup.texi: Add next, previous, and top entries for
37942         the `Program Arguments' and `Environment Variables' nodes.
37944 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
37946         * manual/macros.texi: Add comments before MTASC-safety macros.
37948         * manual/users.texi: Document MTASC-safety properties.
37950         * manual/threads.texi (pthread_key_create, pthread_key_delete)
37951         (pthread_getspecific, pthread_setspecific): Format with
37952         @deftypefun, and add @safety note.
37953         * manual/signal.texi: Move comments that analyze the above
37954         functions to their home place.
37956 2014-02-03  Allan McRae  <allan@archlinux.org>
37958         * po/sl.po: Update Slovenian translation from translation project.
37960 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
37962         * manual/time.texi (timegm): Add missing blank after @c.
37963         Reported by Joseph Myers <joseph@codesourcery.com>.
37965 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
37967         * manual/check-safety.sh: New.
37968         * manual/Makefile ($(objpfx)stamp-summary): Run it.
37970         * manual/terminal.texi: Document MTASC-safety properties.
37972         * manual/filesys.texi: Document MTASC-safety properties.
37974         * manual/errno.texi: Document MTASC-safety properties.
37976         * manual/intro.texi: Document safety identifiers and
37977         conditionals.
37979         * manual/string.texi (wcstok): Fix prototype.
37980         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
37982         * manual/time.texi: Document MTASC-safety properties.
37984         * manual/string.texi: Document MTASC-safety properties.
37986         * manual/threads.texi: Document MTASC-safety properties.
37988         * manual/stdio.texi: Document MTASC-safety properties.
37990         * manual/syslog.texi: Document MTASC-safety properties.
37992         * manual/sysinfo.texi: Document MTASC-safety properties.
37994         * manual/startup.texi: Document MTASC-safety properties.
37996         * manual/socket.texi: Document MTASC-safety properties.
37998         * manual/signal.texi: Document MTASC-safety properties.
38000 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
38002         * manual/setjmp.texi: Document MTASC-safety properties.
38004         * manual/search.texi: Document MTASC-safety properties.
38006         * manual/resource.texi: Document MTASC-safety properties.
38008         * manual/process.texi: Document MTASC-safety properties.
38010         * manual/platform.texi: Document MTASC-safety properties.
38012         * manual/pipe.texi: Document MTASC-safety properties.
38014         * manual/pattern.texi: Document MTASC-safety properties.
38016         * manual/message.texi: Document MTASC-safety properties.
38018         [BZ #12751]
38019         * manual/memory.texi: Document MTASC-safety properties.
38021         * manual/math.texi: Document MTASC-safety properties.
38023         * manual/locale.texi: Document MTASC-safety properties.
38025         * manual/llio.texi: Document MTASC-safety properties.
38027         * manual/libdl.texi: New.
38029         * manual/lang.texi: Document MTASC-safety properties.
38031         * manual/job.texi: Document MTASC-safety properties.
38033         * manual/getopt.texi: Document MTASC-safety properties.
38035         * manual/ctype.texi: Document MTASC-safety properties.
38037 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
38039         [BZ #16046]
38040         * csu/libc-tls.c (static_map): Remove variable.
38041         (__libc_setup_tls): Use main executable's link map for TLS data.
38042         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
38043         casing for LM_ID_BASE and GL(dl_nns).
38044         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
38045         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
38046         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
38047         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
38048         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
38049         member.
38050         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
38051         l_phnum members.
38053 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
38055         * manual/debug.texi: Document MTASC-safety properties.
38057 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
38059         [BZ #16510]
38060         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
38061         of __x86_64__ when disabling x87 inline functions.
38063 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
38065         * manual/charset.texi: Document MTASC-safety properties.
38067         * manual/crypt.texi: Document MTASC-safety properties.
38069         * manual/conf.texi: Document MTASC-safety properties.
38071         * manual/arith.texi: Document MTASC-safety properties.
38073         * manual/argp.texi: Document MTASC-safety properties.
38075         * manual/macros.texi: Introduce macros to document multi
38076         thread, asynchronous signal and asynchronous cancellation
38077         safety properties.
38078         * manual/intro.texi: Introduce the properties themselves.
38080 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38082         * sysdeps/sh/sh4/Makefile: New file.
38084 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
38086         * math/gen-libm-test.pl ($srcdir): New variable.
38087         ($auto_input): Use it.
38089 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38091         [BZ #16506]
38092         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
38093         access beyond array bounds when parsing netgroups file.
38095         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
38096         the old buffer before realloc.
38098 2014-01-27  Allan McRae  <allan@archlinux.org>
38100         * po/fr.po: Update French translation from translation project.
38102 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38104         * sysdeps/sh/libm-test-ulps: Regenerate.
38106 2014-01-24  David S. Miller  <davem@davemloft.net>
38108         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
38110 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38112         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
38113         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
38115 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38117         [BZ #16474]
38118         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
38119         string pointers after reallocation.
38121 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38123         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
38124         __SH4A__ instead of __SH_FPU_ANY__.
38126 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38128         * sysdeps/sh/fpu_control.h: New file.
38129         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
38130         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
38131         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
38132         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
38133         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
38134         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
38135         * sysdeps/sh/sys/ucontext.h: Remove.
38136         * sysdeps/sh/sys: Remove directory.
38138 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38140         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
38141         s390/sys/ucontext.h.
38142         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
38143         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
38145 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
38147         [BZ #15605]
38148         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
38150 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38152         [BZ#16431]
38153         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
38154         Adjust the vDSO correctly for internal calls.
38155         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
38157 2014-01-20  Allan McRae  <allan@archlinux.org>
38159         * po/ca.po: Update Catalan translation from translation project.
38161 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
38163         * sysdeps/s390/sotruss-lib.c: New file.
38165 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38167         [BZ#16430]
38168         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
38169         (__GI___gettimeofday): Alias for a different internal symbol to avoid
38170         local calls issues by not having a PLT stub required for IFUNC calls.
38171         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
38173 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
38175         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
38176         * math/test-fpucw-static.c: Likewise.
38178 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38180         [BZ #16453]
38181         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
38183 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38185         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
38186         implementation for powerpc.
38188 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
38190         [BZ #14782]
38191         * sysdeps/posix/system.c (__libc_system): Do not enable
38192         asynchronous cancellation.
38194 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38196         [BZ #16427]
38197         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
38198         handling only for numbers special also in the IEEE case.
38200 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38202         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38204 2014-01-11  Allan McRae  <allan@archlinux.org>
38206         * po/bg.po: Update Bulgarian translation from translation project.
38208         * po/de.po: Update German translation from translation project.
38210 2014-01-10  Roland McGrath  <roland@hack.frob.com>
38212         * sysdeps/generic/gcc-compat.h: New file.
38214 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38216         * benchtests/asin-inputs: Correct slow inputs.
38217         * benchtests/acos-inputs: Likewise.
38219 2014-01-10  Allan McRae  <allan@archlinux.org>
38221         * po:sv.po: Update Swedish translation from translation project.
38223         * po/vi.po: Update Vietnamese translation from translation project.
38225         * po/eo.po: Update Esperanto translation from translation project.
38227         * po/cs.po: Update Czech translation from translation project.
38229         * po/nl.po: Update Dutch translation from translation project.
38231         * po/pl.po: Update Polish translation from translation project.
38233         * po/ru.po: Update Russian translation from translation project.
38235         * po/uk.po: Update Ukrainian translation from translation project.
38237 2014-01-08  Brooks Moses  <bmoses@google.com>
38239         * elf/dl-load.c: Fix comment typo.
38241 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
38243         * po/header.pot: Rename to...
38244         * po/pot.header: ... this.
38245         * po/Makefile: Use pot.header.
38247 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
38248             Maxim Kuvyrkov  <maxim@kugelworks.com>
38250         [BZ #16394]
38251         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
38252         SRC and DEST against LEN.
38254 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38256         [BZ #16414]
38257         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
38258         implementation.
38259         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
38261 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38263         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38265 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
38267         [BZ #16408]
38268         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
38269         for large positive arguments.
38271 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
38273         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
38275         * math/auto-libm-test-in: Mark various tests with
38276         xfail-rounding:ldbl-128ibm.
38277         * math/auto-libm-test-out: Regenerated.
38279         [BZ #16407]
38280         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
38281         Increase overflow threshold.
38283 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
38285         [BZ #14286]
38286         * stdio-common/vfprintf.c: Check for integer overflow.
38288 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38290         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
38291         the first argument and return value of __tls_get_addr_internal.
38293 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38295         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
38296         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
38298 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38300         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
38301         * sysdeps/s390/rtld-global-offsets.sym: New file.
38302         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
38303         GLIBC_2.19 symbol.
38304         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
38305         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
38306         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
38307         ... this.
38308         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
38309         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
38310         ... this.
38311         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38312         Regenerate.
38313         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38314         Regenerate.
38315         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
38316         halfs of GPRs for high_gprs contexts.
38317         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
38318         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
38319         field.
38320         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
38321         uc_flags field.
38322         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
38323         64 bit versions:
38324         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
38325         for high GPRs (uc_high_gprs) and for future extensions
38326         (__reserved).
38327         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
38328         for future extensions (__reserved).
38329         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
38330         64 bit versions:
38331         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
38332         SC_HIGHGPRS offset definition.
38333         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
38334         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
38336         * Versions.def: Add GLIBC_2.19 for libpthread.
38337         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
38338         siglongjmp for libpthread with GLIBC_2.19 symver.
38339         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
38340         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
38341         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
38342         * sysdeps/s390/__longjmp.c: New file.
38343         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
38344         * sysdeps/s390/longjmp.c: New file.
38345         * sysdeps/s390/setjmp.S: New file.
38346         * sysdeps/s390/sigjmp.S: New file.
38347         * sysdeps/s390/v1-longjmp.c: New file.
38348         * sysdeps/s390/v1-setjmp.h: New file.
38349         * sysdeps/s390/v1-sigjmp.c: New file.
38350         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
38351         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
38352         GLIBC_2.19 version.
38353         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
38354         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
38355         versioned symbols for ____longjmp_chk.
38356         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
38357         Likewise.
38358         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38359         Regenerate.
38360         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38361         Regenerate.
38362         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38363         Regenerate.
38364         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38365         Regenerate.
38366         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
38367         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
38368         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
38369         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
38370         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
38371         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
38372         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
38373         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
38374         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
38375         * sysdeps/s390/rtld-__longjmp.c: New file.
38376         * sysdeps/s390/rtld-setjmp.S: New file.
38378 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
38380         [BZ #16400]
38381         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
38382         Return -__logl (x) for small positive arguments without evaluating
38383         a polynomial.
38385 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
38387         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
38388         Rename to ...
38389         (__ptrace_peeksiginfo_args): ... this.
38390         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38391         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38392         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38394 2014-01-06  Allan McRae  <allan@archlinux.org>
38396         * inet/netinet/in.h: Fix typo in comment.
38398 2014-01-05  Andreas Jaeger  <aj@suse.de>
38400         * sysdeps/i386/fpu/libm-test-ulps: Update.
38402 2014-01-05  Allan McRae  <allan@archlinux.org>
38404         * po/libc.pot: Regenerated.
38406         * malloc/memusagestat.c: Fix gettext call formatting.
38408 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
38410         * nscd/nscd.c: Improve usage() output.
38412 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
38414         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
38415         * sysdeps/unix/sysv/linux/configure: Regenerated.
38416         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
38417         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
38419 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
38421         [BZ #16390]
38422         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
38423         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
38425 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38427         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
38428         extra tokens at end of #undef directive.
38429         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
38430         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
38431         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
38433 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
38435         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
38437         * math/auto-libm-test-in: Mark various tests with
38438         xfail-rounding:ldbl-128ibm.
38439         * math/auto-libm-test-out: Regenerated.
38441 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
38443         [BZ #16386]
38444         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
38445         numbers with subnormal high part when calculating exponent.
38447         [BZ #16385]
38448         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
38449         fabs.
38451         [BZ #16384]
38452         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
38453         M_LN2l.
38454         (__ieee754_acoshl): Use __log1pl not __log1p.
38456 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
38458         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
38459         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
38460         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
38461         (grow_heap, heap_trim, _int_new_arena, get_free_list)
38462         (reused_arena, arena_get2): Convert to GNU style.
38463         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
38464         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
38465         (memalign_check, __malloc_set_state): Likewise.
38466         * malloc/mallocbug.c (main): Likewise.
38467         * malloc/malloc.c (__malloc_assert, malloc_init_state)
38468         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
38469         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
38470         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
38471         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
38472         (__posix_memalign, malloc_info): Likewise.
38473         * malloc/malloc.h: Likewise.
38474         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
38475         (mallochook, memalignhook, reallochook, mabort): Likewise.
38476         * malloc/mcheck.h: Likewise.
38477         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
38478         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
38479         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
38480         * malloc/morecore.c (__default_morecore): Likewise.
38481         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
38482         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
38483         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
38484         (print_and_abort): Likewise.
38485         * malloc/obstack.h: Likewise.
38486         * malloc/set-freeres.c (__libc_freeres): Likewise.
38487         * malloc/tst-mallocstate.c (main): Likewise.
38488         * malloc/tst-mtrace.c (main): Likewise.
38489         * malloc/tst-realloc.c (do_test): Likewise.
38491 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38493         [BZ #16366]
38494         * nscd/netgroupcache.c (do_notfound): New function.
38495         (addgetnetgrentX): Use it.
38497         [BZ # 16365]
38498         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
38499         NSS_STATUS_NOTFOUND.
38501 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
38503         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
38504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38506 2014-01-01  Allan McRae  <allan@archlinux.org>
38508         * scripts/update-copyrights: Update configure input file suffix.
38510         * NEWS: Update copyright year.
38511         * catgets/gencat.c: Likewise.
38512         * csu/version.c: Likewise.
38513         * debug/catchsegv.sh: Likewise.
38514         * debug/pcprofiledump.c: Likewise.
38515         * debug/xtrace.sh: Likewise.
38516         * elf/ldconfig.c: Likewise.
38517         * elf/ldd.bash.in: Likewise.
38518         * elf/pldd.c: Likewise.
38519         * elf/sotruss.ksh: Likewise.
38520         * elf/sprof.c: Likewise.
38521         * iconv/iconv_prog.c: Likewise.
38522         * iconv/iconvconfig.c: Likewise.
38523         * locale/programs/locale.c: Likewise.
38524         * locale/programs/localedef.c: Likewise.
38525         * login/programs/pt_chown.c: Likewise.
38526         * malloc/memusage.sh: Likewise.
38527         * malloc/memusagestat.c: Likewise.
38528         * malloc/mtrace.pl: Likewise.
38529         * manual/libc.texinfo: Likewise.
38530         * nscd/nscd.c: Likewise.
38531         * nss/getent.c: Likewise.
38532         * nss/makedb.c: Likewise.
38533         * posix/getconf.c: Likewise.
38534         * scripts/test-installation.pl: Likewise.
38536         * All files with FSF copyright notices: Update copyright dates
38537         using scripts/update-copyrights.
38538         * intl/plural.c: Regenerated.
38539         * locale/programs/charmap-kw.h: Likewise.
38540         * locale/programs/locfile-kw.h: Likewise.
38542 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
38544         * sysdeps/unix/sysv/linux/configure: Regenerated.
38545         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
38546         the linux/fanotify.h header.
38547         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
38548         HAVE_LINUX_FANOTIFY_H is defined.
38550 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38552         * benchtests/cos-inputs: New inputs.
38553         * benchtests/sin-inputs: Likewise.
38555         * benchtests/atan-inputs: New inputs. Fix name of multiple
38556         precision fallback inputs.
38558         * benchtests/atanh-inputs: New inputs.
38559         * benchtests/tanh-inputs: Likewise.
38561         * benchtests/acosh-inputs: New inputs.
38562         * benchtests/asinh-inputs: Likewise.
38564         * benchtests/cosh-inputs: New inputs.
38565         * benchtests/sinh-inputs: Likewise.
38567         * benchtests/acos-inputs: Add more inputs.
38568         * benchtests/asin-inputs: Likewise.
38570 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
38572         [BZ #16375]
38573         * manual/arith.texi: Fix spelling.
38574         * manual/charset.texi: Likewise.
38575         * manual/errno.texi: Likewise.
38576         * manual/filesys.texi: Likewise.
38577         * manual/lang.texi: Likewise.
38578         * manual/llio.texi: Likewise.
38579         * manual/locale.texi: Likewise.
38580         * manual/message.texi: Likewise.
38581         * manual/resource.texi: Likewise.
38582         * manual/search.texi: Likewise.
38583         * manual/setjmp.texi: Likewise.
38584         * manual/stdio.texi: Likewise.
38585         * manual/string.texi: Likewise.
38586         * manual/sysinfo.texi: Likewise.
38587         * manual/time.texi: Likewise.
38589 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
38591         * po/sl.po: New file.
38593 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
38595         * .gitignore: Add core/.gdbinit/.gdb_history.
38597 2013-12-27  Allan McRae  <allan@archlinux.org>
38599         [BZ #16369]
38600         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
38601         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
38603 2013-12-24  Brooks Moses  <bmoses@google.com>
38605         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
38606         all compilers that claim C++98 compliance, not just GCC.
38607         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
38608         Likewise.
38610 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
38612         * NEWS: Restore accidentally deleted bug-fix entries.
38614 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
38615             Ondřej Bílka  <neleai@seznam.cz>
38617         [BZ #15073]
38618         * malloc/malloc.c (_int_free): Perform sanity check only if we
38619         have_lock.
38621 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
38623         [BZ #12986]
38624         * manual/stdio.texi (String Input Conversions): Clarify that character
38625         classes are not supported.
38627 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38629         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38631 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
38633         [BZ #16337]
38634         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
38635         Calculate results for small negative arguments directly rather
38636         than using reflection formula with special underflow handling.
38638         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
38639         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
38640         sysdeps/unix/bsd/bsd4.4/syscalls.list.
38641         (fchflags): Likewise.
38642         (revoke): Likewise.
38643         (setlogin): Likewise.
38644         (sigaltstack): Likewise.
38645         (wait4): Likewise.
38646         (sigblock): Remove.
38647         (sigsetmask): Likewise.
38648         (wait3): Likewise.
38649         (waitpid): Likewise.
38650         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
38651         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
38652         file.
38653         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
38654         * sysdeps/unix/bsd/Makefile: ... here.
38655         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
38656         * sysdeps/unix/bsd/Versions: ... here.
38657         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
38658         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
38659         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
38660         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
38661         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
38662         * sysdeps/unix/bsd/sigblock.c: ... here.
38663         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
38664         * sysdeps/unix/bsd/sigsetmask.c: ... here.
38665         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
38666         * sysdeps/unix/bsd/sigvec.c: ... here.
38667         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
38668         * sysdeps/unix/bsd/tcdrain.c: ... here.
38669         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
38670         * sysdeps/unix/bsd/tcgetattr.c: ... here.
38671         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
38672         * sysdeps/unix/bsd/tcsetattr.c: ... here.
38673         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
38674         * sysdeps/unix/bsd/wait.c: ... here.
38675         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
38676         * sysdeps/unix/bsd/wait3.c: ... here.
38677         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
38678         * sysdeps/unix/bsd/waitpid.c: ... here.
38680 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
38682         [BZ #16356]
38683         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
38684         round-to-nearest for [!USE_AS_EXPM1L].
38685         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
38686         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
38687         more tests of exp and exp10.  Expect some exp10 tests to miss
38688         exceptions or fail in directed rounding modes.
38689         * math/auto-libm-test-out: Regenerated.
38690         * math/libm-test.inc (exp10_tonearest_test_data): New array.
38691         (exp10_test_tonearest): New function.
38692         (exp10_towardzero_test_data): New array.
38693         (exp10_test_towardzero): New function.
38694         (exp10_downward_test_data): New array.
38695         (exp10_test_downward): New function.
38696         (exp10_upward_test_data): New array.
38697         (exp10_test_upward): New function.
38698         (main): Call the new functions.
38699         * sysdeps/i386/fpu/libm-test-ulps: Update.
38700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38702 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
38704         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
38705         asinh, atan, atan2, atanh, cbrt, cos and cosh.
38706         * math/auto-libm-test-out: Regenerated.
38707         * math/libm-test.inc (acosh_test_data): Add more tests.
38708         (atanh_test_data): Likewise.
38709         (ceil_test_data): Likewise.
38710         (copysign_test_data): Likewise.
38711         * sysdeps/i386/fpu/libm-test-ulps: Update.
38712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38714         * timezone/checktab.awk: Update from tzcode 2013i.
38715         * timezone/private.h: Likewise.
38716         * timezone/scheck.c: Likewise.
38717         * timezone/tzfile.h: Likewise.
38718         * timezone/tzselect.ksh: Likewise.
38719         * timezone/zdump.c: Likewise.
38720         * timezone/zic.c: Likewise.
38722         * math/auto-libm-test-in: Add tests of cpow.
38723         * math/auto-libm-test-out: Regenerated.
38724         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
38725         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38726         mpc_cc_c.
38727         (func_calc_desc): Add mpc_cc_c union field.
38728         (test_functions): Add cpow.
38729         (special_fill_2pi): New function.
38730         (special_real_inputs): Add 2pi.
38731         (calc_generic_results): Handle mpc_cc_c.
38732         * sysdeps/i386/fpu/libm-test-ulps: Update.
38733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38735         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
38736         csqrt, ctan and ctanh.
38737         * math/auto-libm-test-out: Regenerated.
38738         * math/libm-test.inc (TEST_COND_x86_64): New macro.
38739         (TEST_COND_x86): Likewise.
38740         (ccos_test_data): Use AUTO_TESTS_c_c.
38741         (ccosh_test_data): Likewise.
38742         (cexp_test_data): Likewise.
38743         (clog_test_data): Likewise.
38744         (csqrt_test_data): Likewise.
38745         (ctan_test_data): Likewise.
38746         (ctan_tonearest_test_data): Likewise.
38747         (ctan_towardzero_test_data): Likewise.
38748         (ctan_downward_test_data): Likewise.
38749         (ctan_upward_test_data): Likewise.
38750         (ctanh_test_data): Likewise.
38751         (ctanh_tonearest_test_data): Likewise.
38752         (ctanh_towardzero_test_data): Likewise.
38753         (ctanh_downward_test_data): Likewise.
38754         (ctanh_upward_test_data): Likewise.
38755         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38756         mpc_c_c.
38757         (func_calc_desc): Add mpc_c_c union field.
38758         (FUNC_mpc_c_c): New macro.
38759         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
38760         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
38761         ctanh.
38762         (special_fill_min_subnorm_p120): New function.
38763         (special_real_inputs): Add min_subnorm_p120.
38764         (calc_generic_results): Handle mpc_c_c.
38765         * sysdeps/i386/fpu/libm-test-ulps: Update.
38766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38768 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38770         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
38771         (do_sin_slow): New functions.
38772         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
38773         (cslow2, csloww1, csloww2): Use the new functions.
38775         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
38776         Use M to change sign of result instead of X.  Assume X is
38777         positive.
38778         (csloww1): Likewise.
38779         (__sin): Adjust.
38780         (__cos): Adjust.
38782         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
38783         arguments A and DA.
38784         (__sin): Adjust.
38785         (__cos): Likewise.
38787         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
38788         (__cos): Likewise.
38789         (sloww1): Don't adjust sign of DX.
38790         (csloww1): Likewise.
38791         (sloww2): Use X directly and don't adjust sign of DX.
38792         (csloww2): Likewise.
38794 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
38796         * math/auto-libm-test-in: Add tests of cabs and carg.
38797         * math/auto-libm-test-out: Regenerated.
38798         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
38799         (carg_test_data): Likewise.
38800         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38801         mpc_c_f.
38802         (func_calc_desc): Add mpc_c_f union field.
38803         (test_functions): Add cabs and carg.
38804         (calc_generic_results): Handle mpc_c_f.
38806         * sysdeps/powerpc/powerpc32/libgcc-compat.S
38807         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
38808         as a macro and a compat symbol.
38809         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
38810         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
38811         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
38812         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
38813         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
38814         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
38815         not use .hidden.
38816         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
38817         Likewise.
38818         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
38819         Likewise.
38820         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
38821         Likewise.
38822         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
38823         Likewise.
38824         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
38825         Likewise.
38826         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
38827         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
38828         from GLIBC_2.3.2.
38830 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38832         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38834 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
38836         * manual/texinfo.tex: Update to version 2013-11-26.10 with
38837         trailing whitespace removed.
38838         * scripts/config.guess: Update to version 2013-11-29.
38839         * scripts/config.sub: Update to version 2013-10-01.
38841         * math/auto-libm-test-in: Add tests of sincos.
38842         * math/auto-libm-test-out: Regenerated.
38843         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
38844         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38845         mpfr_f_11.
38846         (func_calc_desc): Add mpfr_f_11 union field.
38847         (test_functions): Add sincos.
38848         (calc_generic_results): Handle mpfr_f_11.
38849         * sysdeps/i386/fpu/libm-test-ulps: Update.
38850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38852 2013-12-19  Andreas Schwab  <schwab@suse.de>
38854         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
38855         CALL_MCOUNT.
38856         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
38857         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
38858         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
38860 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
38862         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
38863         * sysdeps/i386/fpu/libm-test-ulps: Update.
38864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38866         [BZ #16293]
38867         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
38868         round-to-nearest mode when using frndint.
38869         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
38870         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
38871         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
38872         Likewise.
38873         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
38874         sinh test to fail.
38875         * math/auto-libm-test-out: Regenerated.
38876         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
38877         (TEST_COND_x86): Likewise.
38878         (expm1_tonearest_test_data): New array.
38879         (expm1_test_tonearest): New function.
38880         (expm1_towardzero_test_data): New array.
38881         (expm1_test_towardzero): New function.
38882         (expm1_downward_test_data): New array.
38883         (expm1_test_downward): New function.
38884         (expm1_upward_test_data): New array.
38885         (expm1_test_upward): New function.
38886         (main): Run the new test functions.
38887         * sysdeps/i386/fpu/libm-test-ulps: Update.
38888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38890         * include/features.h: Update comment documenting feature test
38891         macros.  Mention _DEFAULT_SOURCE in comment.
38892         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
38893         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
38894         _BSD_SOURCE and _SVID_SOURCE.
38895         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
38896         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
38897         !_SVID_SOURCE]: Likewise.
38898         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38899         (__USE_POSIX_IMPLICITLY): Define.
38900         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38901         (_POSIX_SOURCE): Undefine and redefine.
38902         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38903         (_POSIX_C_SOURCE): Likewise.
38904         * manual/creature.texi (_DEFAULT_SOURCE): Document.
38905         (Feature Test Macros): Update documentation of default features.
38907 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38909         * benchtests/Makefile: Add bench-strtok.
38910         * benchtests/bench-strtok.c: New file: strtok benchtest.
38912 2013-12-19  Allan McRae  <allan@archlinux.org>
38914         * manual/install.texi: Suppress menu for plain text output.
38915         * INSTALL: Regenerated.
38917 2013-12-18  Brooks Moses  <bmoses@google.com>
38919         [BZ #15846]
38920         * misc/getauxval.c: Include errno.h.
38921         (__getauxval): Set errno to ENOENT if the requested type is not
38922         found.
38923         * misc/sys/auxv.h (getauxval): Document that it may set errno;
38924         don't declare with __attribute_const__.
38925         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
38926         * manual/startup.texi: Document that getauxval sets errno.
38928 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
38930         * math/auto-libm-test-in: Add tests of jn and yn.
38931         * math/auto-libm-test-out: Regenerated.
38932         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
38933         (yn_test_data): Likewise.
38934         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38935         mpfr_if_f.
38936         (func_calc_desc): Add mpfr_if_f union field.
38937         (FUNC_mpfr_if_f): New macro.
38938         (test_functions): Add jn and yn.
38939         (calc_generic_results): Assert type of second input for
38940         mpfr_ff_f.  Handle mpfr_if_f.
38941         (output_for_one_input_case): Disable all checking for arguments
38942         fitting floating-point types in case of an integer argument.
38943         * sysdeps/i386/fpu/libm-test-ulps: Update.
38944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38947         Don't expect fegetround reference in libm.so.
38949 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38951         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
38952         $(config-cflags-nofma).
38954 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
38956         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
38957         * math/auto-libm-test-out: Regenerated.
38959         [BZ #16338]
38960         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
38961         to determine exponent and adjust argument to have exponent of -1.
38962         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
38963         log2.
38964         * math/auto-libm-test-out: Regenerated.
38965         * sysdeps/i386/fpu/libm-test-ulps: Update.
38966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38968 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
38970         * manual/probes.texi: Remove cases when per-thread arenas are
38971         disabled.
38973 2013-12-18  Andreas Schwab  <schwab@suse.de>
38975         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
38976         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
38977         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
38978         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
38979         * sysdeps/i386/i686/multiarch/Makefile: Update.
38980         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
38982 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
38984         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
38985         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
38987 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
38989         [BZ #15968]
38990         Support TZ transition times < 00:00:00.
38991         This is needed for version-3 tz-format files; it supports time
38992         stamps past 2037 for America/Godthab (the only entry in the tz
38993         database for which this change is relevant).
38994         * manual/time.texi (TZ Variable): Document transition times
38995         from -167:59:59 through -00:00:01.
38996         * time/tzset.c (tz_rule): Time of day is now signed.
38997         (__tzset_parse_tz): Parse negative time of day.
38999         Document TZ transition times >= 25:00:00.
39000         * manual/time.texi (TZ Variable): Document transition times from
39001         25:00:00 through 167:59:59.  These are already supported, and this
39002         support will help with version-3 tz-format files.
39004         * manual/time.texi (TZ Variable): Modernize North America example
39005         to reflect current (i.e., 2007-and-later) daylight saving rules.
39007         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
39009 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
39011         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
39012         * sysdeps/unix/bsd/bits/stat.h: Likewise.
39013         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
39014         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
39015         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
39016         * sysdeps/unix/bsd/bsdstat.h: Likewise.
39017         * sysdeps/unix/bsd/clock.c: Likewise.
39018         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
39019         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
39020         * sysdeps/unix/bsd/init-posix.c: Likewise.
39021         * sysdeps/unix/bsd/poll.c: Likewise.
39022         * sysdeps/unix/bsd/ptsname.c: Likewise.
39023         * sysdeps/unix/bsd/seekdir.c: Likewise.
39024         * sysdeps/unix/bsd/setegid.c: Likewise.
39025         * sysdeps/unix/bsd/seteuid.c: Likewise.
39026         * sysdeps/unix/bsd/setgid.c: Likewise.
39027         * sysdeps/unix/bsd/setrgid.c: Likewise.
39028         * sysdeps/unix/bsd/setruid.c: Likewise.
39029         * sysdeps/unix/bsd/setsid.c: Likewise.
39030         * sysdeps/unix/bsd/setuid.c: Likewise.
39031         * sysdeps/unix/bsd/sigaction.c: Likewise.
39032         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
39033         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
39034         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
39035         * sysdeps/unix/bsd/telldir.c: Likewise.
39036         * sysdeps/unix/bsd/times.c: Likewise.
39037         * sysdeps/unix/bsd/usleep.c: Likewise.
39039         * misc/Makefile (install-lib): Remove libbsd-compat.a.
39040         ($(objpfx)libbsd-compat.a): Remove rule.
39042         * include/features.h (__FAVOR_BSD): Do not define.
39043         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
39044         features conflicting with POSIX.
39045         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
39046         (_BSD_SOURCE): Remove description of not being a subset of other
39047         feature test macros.
39048         * manual/job.texi (getpgrp): Do not document BSD version.
39049         (getpgid): Do not document by reference to BSD getpgrp.
39050         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
39051         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
39052         * signal/signal.h [__FAVOR_BSD]: Likewise.
39053         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
39054         instead of making contents conditional on [__FAVOR_BSD].
39055         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
39057 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39059         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39061 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
39063         [BZ #16314]
39064         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
39065         values below 2**-450, not 2**-500.
39066         * math/auto-libm-test-in: Don't allow spurious underflow from
39067         hypot.
39068         * math/auto-libm-test-out: Regenerated.
39070         [BZ #16316]
39071         [BZ #16330]
39072         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
39073         values of ha and hb and sort them after adjusting subnormal
39074         arguments.
39075         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
39076         Likewise.
39077         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
39078         values of ea and eb and sort them after adjusting subnormal
39079         arguments.
39080         * math/auto-libm-test-in: Do not expect some hypot tests of
39081         subnormals to fail.  Add more hypot tests.
39082         * math/auto-libm-test-out: Regenerated.
39084 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39086         [BZ #13304]
39087         * sysdeps/sh/s_fma.c: New file.
39088         * sysdeps/sh/s_fmaf.c: New file.
39089         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
39090         version.
39091         * sysdeps/sh/Implies: Add sh/soft-fp.
39093 2013-12-16  Roland McGrath  <roland@hack.frob.com>
39095         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
39096         level of indirection to members `objname', `errstring', `malloced'.
39097         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
39098         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
39099         it as the __longjmp argument (just pass 1 instead).
39100         (_dl_catch_error): Initialize C with argument pointers and address of
39101         volatile local ERRCODE rather than copying values out of C at return.
39103 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
39105         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
39106         * math/auto-libm-test-out: Regenerated.
39107         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
39108         (hypot_test_data): Likewise.
39109         (pow_test_data): Likewise.
39110         (pow_tonearest_test_data): Likewise.
39111         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39112         mpfr_ff_f.
39113         (func_calc_desc): Add mpfr_ff_f union field.
39114         (FUNC_mpfr_ff_f): New macro.
39115         (test_functions): Add atan2, hypot and pow.
39116         (special_fill_min): New function.
39117         (special_fill_minus_min): Likewise.
39118         (special_fill_min_subnorm): Likewise.
39119         (special_fill_minus_min_subnorm): Likewise.
39120         (special_real_inputs): Add min, -min, min_subnorm and
39121         -min_subnorm.
39122         (calc_generic_results): Handle mpfr_ff_f.
39123         * sysdeps/i386/fpu/libm-test-ulps: Update.
39124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39126 2013-12-16  Will Newton  <will.newton@linaro.org>
39128         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
39129         (Aligned Memory Blocks): Add documentation for aligned_alloc
39130         and suggest it as an alternative to posix_memalign.
39131         (Hooks for Malloc): Document __memalign_hook is also called
39132         for aligned_alloc.  (Summary of Malloc): Add summary for
39133         aligned alloc.  Document __memalign_hook is also called
39134         for aligned_alloc.
39136 2013-12-16  Will Newton  <will.newton@linaro.org>
39138         * manual/memory.texi (Malloc Examples): Clarify default
39139         alignment documentation.  Suggest posix_memalign rather
39140         than memalign or valloc.
39141         (Aligned Memory Blocks): Remove suggestion to use memalign
39142         or valloc.  Remove obsolete comment about BSD.
39143         Document memalign errno values and mark the function obsolete.
39144         Document posix_memalign returned error codes.  Mark valloc
39145         as obsolete.  (Hooks for Malloc): __memalign_hook is also
39146         called for posix_memalign and valloc.
39147         (Summary of Malloc): Add posix_memalign to function summary.
39148         __memalign_hook is also called for posix_memalign and valloc.
39150 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39152         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
39153         TAYLOR_SIN.
39154         (__sin): Adjust.
39155         (__cos): Likewise.
39156         (sloww): Use mynumber union.  Expand ternary operator into
39157         if-else statements.
39158         (cslow): use mynumber union.
39160 2013-12-16  Allan McRae  <allan@archlinux.org>
39162         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
39163         * configure: Regenerated.
39165         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
39167         [BZ #14120]
39168         * configure.ac: Added --enable-maintainer-mode. Check for
39169         autoconf when enabled.
39170         * configure: Regenerated.
39172         * nscd/nscd.service: New file.
39173         * nscd/nscd.tmpfiles: New file.
39175 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
39177         [BZ #12100]
39178         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
39179         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
39180         * sysdeps/x86_64/multiarch/strstr.c: ... here.
39181         (strstr): Add __strstr_sse2_unaligned ifunc.
39182         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
39183         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
39184         (strcasestr): Remove __strcasestr_sse42 ifunc.
39185         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
39186         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
39187         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
39189 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39191         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
39192         * sysdeps/sh/bits/fenv.h: ... here.
39193         * sysdeps/sh/sh4/fpu/bits: Remove directory.
39195 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39197         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
39199         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
39200         hypotf multiarch implementations.
39201         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
39202         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
39203         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
39204         multiarch hypot for PPC64.
39205         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
39206         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
39207         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
39208         multiarch hypotf for PPC64.
39210         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
39211         modff multiarch implementations.
39212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
39213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
39214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
39215         multiarch modf for PPC64.
39216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
39217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
39218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
39219         multiarch modff for PPC64.
39221         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
39222         and logl multiarch implementations.
39223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
39224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
39225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
39226         multiarch logb for PPC64.
39227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
39228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
39229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
39230         multiarch logb for PPC64.
39231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
39232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
39233         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
39234         multiarch logb for PPC64.
39236         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
39237         isinff multiarch implementation.
39238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
39239         file.
39240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
39241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
39242         multiarch isinf for PPC64.
39243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
39244         file.
39245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
39246         multiarch isinff for PPC64.
39248         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
39249         finitef multiarch implementation.
39250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
39251         file.
39252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
39253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
39254         multiarch finite for PPC64.
39255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
39256         file.
39257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
39258         multiarch finitef for PPC64.
39260         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
39261         lrint multiarch implementation.
39262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
39263         file.
39264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
39265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
39266         multiarch llrint for PPC64.
39267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
39268         multiarch lrint for PPC64.
39270         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
39271         copysignf multiarch implementation.
39272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
39273         file.
39274         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
39275         file.
39276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
39277         multiarch copysign for PPC64.
39278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
39279         multiarch copysignf for PPC64.
39281         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
39282         multiarch implementation.
39283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
39284         file.
39285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
39286         file.
39287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
39288         file.
39289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
39290         file.
39291         multiarch llround for PPC64.
39292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
39293         multiarch trunc for PPC64.
39294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
39295         multiarch truncf for PPC64.
39297         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
39298         multiarch implementation.
39299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
39300         file.
39301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
39302         file.
39303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
39304         file.
39305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
39306         file.
39307         multiarch llround for PPC64.
39308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
39309         multiarch round for PPC64.
39310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
39311         multiarch roundf for PPC64.
39313         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
39314         multiarch implementation.
39315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
39316         file.
39317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
39318         file.
39319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
39320         file.
39321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
39322         file.
39323         multiarch llround for PPC64.
39324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
39325         multiarch floor for PPC64.
39326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
39327         multiarch floorf for PPC64.
39329         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
39330         multiarch implementation.
39331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
39332         file.
39333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
39334         file.
39335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
39336         file.
39337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
39338         file.
39339         multiarch llround for PPC64.
39340         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
39341         multiarch ceil for PPC64.
39342         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
39343         multiarch ceilf for PPC64.
39345         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
39346         multiarch implementation.
39347         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
39348         file.
39349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
39350         file.
39351         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
39352         file.
39353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
39354         multiarch llround for PPC64.
39355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
39356         multiarch lround for PPC64.
39358         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
39359         multiarch implementation.
39360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
39361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
39362         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
39363         file.
39364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
39365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
39366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
39367         multiarch isnan for PPC64.
39368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
39369         multiarch isnanf for PPC64.
39371         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
39372         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
39373         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
39374         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
39375         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
39376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
39378         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
39379         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39380         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39381         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39383         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
39384         multiarch implementations.
39385         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39386         (__libc_ifunc_impl_list): Likewise.
39387         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
39388         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
39389         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
39390         multiarch stpcpy for PPC64.
39392         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
39393         multiarch implementations.
39394         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39395         (__libc_ifunc_impl_list): Likewise.
39396         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
39397         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
39398         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
39399         multiarch strcpy for PPC64.
39401         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
39402         redefine function name.
39403         (_wordcopy_fwd_dest_aligned): Likewise.
39404         (_wordcopy_bwd_aligned): Likewise.
39405         (_wordcopy_bwd_dest_aligned): Likewise.
39406         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
39407         multiarch implementations.
39408         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39409         (__libc_ifunc_impl_list): Likewise.
39410         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
39411         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
39412         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
39413         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
39414         multiarch wcscpy for PPC64.
39416         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
39417         multiarch implementations.
39418         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39419         (__libc_ifunc_impl_list): Likewise.
39420         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
39421         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
39422         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
39423         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
39424         multiarch wcscpy for PPC64.
39426         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
39427         multiarch implementations.
39428         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39429         (__libc_ifunc_impl_list): Likewise.
39430         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
39431         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
39432         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
39433         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
39434         multiarch wcsrchr for PPC64.
39436         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
39437         multiarch implementations.
39438         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39439         (__libc_ifunc_impl_list): Likewise.
39440         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
39441         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
39442         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
39443         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
39444         multiarch wcschr for PPC64.
39446         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
39447         multiarch implementations.
39448         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39449         (__libc_ifunc_impl_list): Likewise.
39450         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
39451         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
39452         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
39453         multiarch strchrnul for PPC64.
39455         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
39456         implementations.
39457         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39458         (__libc_ifunc_impl_list): Likewise.
39459         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
39460         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
39461         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
39462         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
39463         strchr for PPC64.
39465         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
39466         implementations.
39467         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39468         (__libc_ifunc_impl_list): Likewise.
39469         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
39470         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
39471         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
39472         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
39473         strncmp for PPC64.
39475         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
39476         multiarch implementations.
39477         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39478         (__libc_ifunc_impl_list): Likewise.
39479         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
39480         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
39481         strncasecmp for PPC64.
39482         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
39483         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
39484         multiarch strncasecmp_l for PPC64.
39486         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
39487         multiarch implementations.
39488         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39489         (__libc_ifunc_impl_list): Likewise.
39490         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
39491         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
39492         multiarch strcasecmp for PPC64.
39493         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
39494         file.
39495         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
39496         multiarch strcasecmp_l for PPC64.
39498         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
39499         implementations.
39500         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39501         (__libc_ifunc_impl_list): Likewise.
39502         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
39503         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
39504         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
39505         strnlen for PPC64.
39507         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
39508         implementations.
39509         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39510         (__libc_ifunc_impl_list): Likewise.
39511         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
39512         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
39513         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
39514         strlen for PPC64.
39516         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
39517         implementations.
39518         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39519         (__libc_ifunc_impl_list): Likewise.
39520         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
39521         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
39522         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
39523         rawmemrchr for PPC64.
39525         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
39526         implementation.
39527         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39528         (__libc_ifunc_impl_list): Likewise.
39529         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
39530         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
39531         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
39532         memrchr for PPC64.
39534         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
39535         implementation.
39536         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39537         (__libc_ifunc_impl_list): Likewise.
39538         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
39539         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
39540         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
39541         memchr for PPC64.
39543         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
39544         implementation.
39545         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39546         (__libc_ifunc_impl_list): Likewise.
39547         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
39548         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
39549         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
39550         mempcpy for PPC64.
39552         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
39553         avoid cretion of __bzero symbol.
39554         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
39555         Likewise.
39556         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
39557         Likewise.
39558         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
39559         Likewise.
39560         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
39561         multiarch implementations.
39562         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39563         (__libc_ifunc_impl_list): Likewise.
39564         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
39565         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
39566         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
39567         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
39568         bzero for PPC32.
39569         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
39570         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
39571         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
39572         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
39573         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
39574         memset for PPC64.
39575         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
39577         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
39578         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
39579         implementations.
39580         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39581         (__libc_ifunc_impl_list): Likewise.
39582         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
39583         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
39584         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
39585         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
39586         memcmp for PPC64.
39588         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
39589         multiarch for POWER/PPC64.
39590         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
39591         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
39592         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
39593         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
39594         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
39595         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
39596         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
39597         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
39598         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
39599         memcpy for PPC64.
39601         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
39602         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
39603         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
39604         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
39605         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
39606         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
39607         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
39608         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
39609         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
39610         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
39611         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
39612         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
39613         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
39614         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
39615         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
39616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
39617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
39618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
39619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
39620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
39621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
39622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
39624 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39626         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
39628 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39630         * benchtests/Makefile (bench): Add exp2 and log2.
39631         (LDLIBS-bench-exp2): Add -lm.
39632         (LDLIBS-bench-log2): Likewise.
39633         * benchtests/exp2-inputs: New inputs file.
39634         * benchtests/log2-inputs: New inputs file.
39635         * benchtests/log-inputs: Add new inputs.
39636         * benchtests/tan-inputs: Likewise.
39638 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39640         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
39641         definition...
39642         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
39643         (csloww2): ... from here.
39645         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
39646         instead of structures.
39647         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
39648         (POLYNOMIAL): Likewise.
39649         (TAYLOR_SLOW): Likewise.
39650         (__sin): Likewise.
39651         (__cos): Likewise.
39652         (slow1): Likewise.
39653         (slow2): Likewise.
39654         (sloww): Likewise.
39655         (sloww1); Likewise.
39656         (sloww2): Likewise.
39657         (bsloww1): Likewise.
39658         (bsloww2): Likewise.
39659         (cslow2): Likewise.
39660         (csloww): Likewise.
39661         (csloww1): Likewise.
39662         (csloww2): Likewise.
39664 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
39666         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
39667         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
39668         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
39669         * malloc/hooks.c (realloc_check): Likewise.
39671         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
39672         * malloc/arena.c: Remove PER_THREAD conditional.
39673         [!PER_THREAD]: Remove code.
39674         (ptmalloc_unlock_all2): Likewise.
39675         (ptmalloc_init): Likewise.
39676         (_int_new_arena): Likewise.
39677         (arena_get2): Likewise.
39678         * malloc/hooks.c (__malloc_get_state): Likewise.
39679         (__malloc_set_state): Likewise.
39680         * malloc/malloc.c: Likewise.
39681         (struct malloc_state): Likewise.
39682         (struct malloc_par): Likewise.
39683         (__libc_realloc): Likewise.
39684         (__libc_mallopt): Likewise.
39686 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39688         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
39690 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
39692         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
39693         macro to a function.  Check for zero perturb_byte.
39694         (_int_malloc, _int_free): Remove zero perturb_byte checks.
39696         * malloc/malloc.c: (force_reg): Remove.
39697         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
39698         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
39699         force_reg by atomic_forced_read.
39700         * malloc/arena.c (ptmalloc_init): Likewise.
39701         * malloc/hooks.c (top_check): Likewise.
39703 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39705         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39707 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
39709         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39711 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
39713         * math/auto-libm-test-in: Add tests of lgamma.
39714         * math/auto-libm-test-out: Regenerated.
39715         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
39716         (M_LOG_2_SQRT_PIl): Likewise.
39717         (lgamma_test_data): Use AUTO_TESTS_f_f1.
39718         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39719         mpfr_f_f1.
39720         (func_calc_desc): Add mpfr_f_f1 union field.
39721         (ARGS1): New macro.
39722         (ARGS2): Likewise.
39723         (ARGS3): Likewise.
39724         (ARGS4): Likewise.
39725         (RET1): Likewise.
39726         (RET2): Likewise.
39727         (CALC): Likewise.
39728         (FUNC): Likewise.
39729         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
39730         (test_functions): Add lgamma.
39731         (calc_generic_results): Handle mpfr_f_f1.
39732         * sysdeps/i386/fpu/libm-test-ulps: Update.
39733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39735 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39737         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
39738         __mpn_add_n for PowerPC64/POWER7.
39739         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
39740         __mpn_sub_n for PowerPC64/POWER7.
39742         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
39743         __mpn_addmul_1 for PowerPC64.
39744         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
39745         __mpn_submul_1 for PowerPC64.
39746         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
39747         for PowerPC64.
39748         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
39749         for PowerPC64.
39751 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
39753         [BZ #15089]
39754         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
39756 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39758         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
39760         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
39761         add multiarch folders.
39762         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
39763         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
39764         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
39765         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
39766         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
39767         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
39768         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
39769         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
39770         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
39771         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
39772         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
39773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
39774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
39775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
39776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
39777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
39778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
39780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
39781         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
39782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
39783         New file.
39784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
39785         New file.
39786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
39787         multiarch __ieee754_hypot for PowerPC32.
39788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
39789         New file.
39790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
39791         New file.
39792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
39793         multiarch __ieee754_hypotf for PowerPC32.
39795         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
39796         long_double_symbol only if __logbl is defined.
39797         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
39798         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
39799         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
39800         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
39801         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
39802         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
39803         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
39804         path for implementation.
39805         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
39806         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
39807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
39808         logb, and logbl multiarch implementations for PowerPC32.
39809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
39810         file.
39811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
39812         file.
39813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
39814         multiarch logb for PowerPC32.
39815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
39816         file.
39817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
39818         file.
39819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
39820         multiarch logbf for PowerPC32.
39821         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
39822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
39823         file.
39824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
39825         multiarch logbl implementation for PowerPC32.
39827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
39828         and modff multiarch implementations.
39829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
39830         New file.
39831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
39832         New file.
39833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
39834         multiarch modf for PowerPC32.
39835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
39836         New file.
39837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
39838         New file.
39839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
39840         multiarch modff for PowerPC32.
39842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
39843         and lrintf multiarch implementations.
39844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
39845         New file.
39846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
39847         New file.
39848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
39849         multiarch lrint for PowerPC32.
39850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
39851         file: multiarch lrintf for PowerPC32.
39853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
39854         and lroundf multiarch implementations.
39855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
39856         New file.
39857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
39858         New file.
39859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
39860         New file.
39861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
39862         multiarch lround for PowerPC32.
39863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
39864         file: multiarch lroundf for PowerPC32.
39866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
39867         copysign and copysignf multiarch implementations.
39868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
39869         New file.
39870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
39871         New file.
39872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
39873         file: multiarch copysign for PowerPC32.
39874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
39875         file: multiarch copysignf for PowerPC32.
39877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
39878         and truncf multiarch implementations.
39879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
39880         New file.
39881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
39882         file.
39883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
39884         multiarch trunc for PowerPC32.
39885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
39886         New file.
39887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
39888         New file.
39889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
39890         multiarch truncf for PowerPC32.
39892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
39893         and roundf multiarch implementations.
39894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
39895         New file.
39896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
39897         file.
39898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
39899         multiarch round for PowerPC32.
39900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
39901         New file.
39902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
39903         New file.
39904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
39905         multiarch roundf for PowerPC32.
39907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
39908         and floorf multiarch implementations.
39909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
39910         New file.
39911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
39912         file.
39913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
39914         multiarch floor for PowerPC32.
39915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
39916         New file.
39917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
39918         New file.
39919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
39920         multiarch floorf for PowerPC32.
39922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
39923         and ceilf multiarch implementations.
39924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
39925         New file.
39926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
39927         file.
39928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
39929         multiarch ceil for PowerPC32.
39930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
39931         New file.
39932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
39933         file.
39934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
39935         multiarch ceilf for PowerPC32.
39937         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
39938         is defined.
39939         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
39940         FINITEF is defined.
39941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
39942         and finitef multiarch implementations.
39943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
39944         New file.
39945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
39946         file.
39947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
39948         multiarch finite for PowerPC32.
39949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
39950         New file.
39951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
39952         file: multiarch finitef for PowerPC32.
39954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
39955         and isinff multiarch implementations.
39956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
39957         file.
39958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
39959         file.
39960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
39961         multiarch isinf for PowerPC32.
39962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
39963         New file.
39964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
39965         multiarch isinff for PowerPC32.
39967         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
39968         alias when __isnan is defined.
39969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
39970         and isnanf multiarch implementations.
39971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
39972         file.
39973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
39974         file.
39975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
39976         file.
39977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
39978         file.
39979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
39980         multiarch isnan for PowerPC32.
39981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
39982         New file.
39983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
39984         New file.
39985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
39986         multiarch isnanf for PowerPC32.
39988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
39989         and sqrtf multiarch implementations.
39990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
39991         file.
39992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
39993         file.
39994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
39995         multiarch sqrt for PowerPC32.
39996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
39997         file.
39998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
39999         file.
40000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
40001         multiarch sqrtf for PowerPC32.
40003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
40004         and llroundf multiarch implementations.
40005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
40006         New file.
40007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
40008         New file.
40009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
40010         New file.
40011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
40012         file: multiarch llround for PowerPC32.
40013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
40014         file: multiarch llroundf for PowerPC32.
40016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
40017         multiarch PowerPC32 fpu implementations.
40018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
40019         New file.
40020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
40021         New file.
40022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
40023         multiarch llrint for PowerPC32.
40024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
40025         New file.
40026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
40027         New file.
40028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
40029         file.
40031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
40033         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
40034         file.
40035         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
40036         file.
40037         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
40038         file.
40039         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
40040         multiarch wordcopy for PPC32.
40041         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
40042         wordcopy objects.
40043         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40044         (__libc_ifunc_impl_list): Likewise.
40045         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
40046         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
40047         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
40048         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
40049         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
40050         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
40052         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
40053         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
40054         file.
40055         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
40056         file.
40057         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
40058         file.
40059         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
40060         multiarch wcscpy for PPC32.
40061         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
40062         multiarch objects.
40063         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40064         (__libc_ifunc_impl_list): Likewise.
40065         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
40066         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
40067         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
40068         sysdeps/powerpc/power6/wcscpy.c.
40070         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
40071         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
40072         file.
40073         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
40074         file.
40075         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
40076         file.
40077         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
40078         multiarch wcsrchr for PPC32.
40079         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
40080         multiarch objects.
40081         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40082         (__libc_ifunc_impl_list): Likewise.
40083         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
40084         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
40085         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
40086         sysdeps/powerpc/power6/wcsrchr.c.
40088         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
40089         file.
40090         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
40091         file.
40092         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
40093         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
40094         multiarch wcschr for PPc32.
40095         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
40096         multiarch objects.
40097         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40098         (__libc_ifunc_impl_list): Likewise.
40099         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
40100         * sysdeps/powerpc/power6/wcschr.c: ... to here.
40101         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
40102         sysdeps/powerpc/power6/wcschr.c.
40104         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
40105         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
40106         file.
40107         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
40108         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
40109         file: multiarch strchr for PPC32.
40110         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
40111         multiarch objects.
40112         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40113         (__libc_ifunc_impl_list): Likewise.
40115         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
40116         name.
40117         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
40118         file.
40119         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
40120         file.
40121         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
40122         multiarch strchrnul for PPC32.
40123         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
40124         multiarch objects.
40125         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40126         (__libc_ifunc_impl_list): Likewise.
40128         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
40129         file.
40130         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
40131         multiarch strncasecmp for PPC32.
40132         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
40133         file.
40134         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
40135         multiarch strncasecmp_l for PPC32.
40136         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
40137         strncasecmp multiarch objects.
40138         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40139         (__libc_ifunc_impl_list): Likewise.
40141         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
40142         file.
40143         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
40144         multiarch strncasecmp for PPC32.
40145         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
40146         New file.
40147         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
40148         multiarch strcasecmp_l for PPC32.
40149         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
40150         multiarch objects.
40151         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40152         (__libc_ifunc_impl_list): Likewise.
40154         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
40155         file.
40156         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
40157         file.
40158         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
40159         multiarch strncmp for PPC32.
40160         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
40161         multiarch objects.
40162         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40163         (__libc_ifunc_impl_list): Likewise.
40165         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
40166         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
40167         file.
40168         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
40169         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
40170         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
40171         multiarch objects.
40172         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40173         (__libc_ifunc_impl_list): Likewise.
40175         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
40176         file.
40177         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
40178         file.
40179         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
40180         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
40181         multiarch objects.
40182         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40183         (__libc_ifunc_impl_list): Likewise.
40185         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
40186         file.
40187         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
40188         file.
40189         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
40190         multiarch rawmemchr for PPC32.
40191         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
40192         multiarch objects.
40193         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40194         (__libc_ifunc_impl_list): Likewise.
40196         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
40197         file.
40198         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
40199         file.
40200         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
40201         file: memrchr multiarch for PPC32.
40202         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
40203         multiarch objects.
40204         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40205         (__libc_ifunc_impl_list): Likewise.
40207         * string/memchr.c (__memchr): Using macro to redefine symbol name.
40208         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
40209         file.
40210         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
40211         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
40212         multiarch memchr for PPC32.
40213         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
40214         multiarch objects.
40215         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40216         (__libc_ifunc_impl_list): Likewise.
40218         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
40219         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
40220         file.
40221         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
40222         file.
40223         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
40224         file: multiarch mempcpy for PPC32.
40225         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
40226         multiarch objects.
40227         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40228         (__libc_ifunc_impl_list): Likewise.
40230         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
40231         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
40232         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
40233         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
40234         multiarch bzero for PPC32.
40235         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
40236         file.
40237         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
40238         file.
40239         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
40240         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
40241         file: multiarch memset for PPC32.
40242         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
40243         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
40244         memset multiarch objects.
40245         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40246         (__libc_ifunc_impl_list): Likewise.
40248         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
40249         file.
40250         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
40251         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
40252         memcmp for PPC32.
40253         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
40254         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
40255         multiarch objects.
40256         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40257         (__libc_ifunc_impl_list): Likewise.
40259         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
40260         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
40261         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
40262         file.
40263         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
40264         file.
40265         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
40266         file.
40267         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
40268         multiarch memcpy for PPC32.
40269         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
40270         multiarch objects.
40271         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40272         (__libc_ifunc_impl_list): Likewise.
40274         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
40275         support multiarch for POWER/PPC32.
40276         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
40277         Likewise.
40278         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
40279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
40280         Implies file to make multiarch folder appers before the fpu and
40281         default folder for power4 configuration.
40283 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40285         * scripts/bench.pl: Append volatile keyword to type.
40287 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40289         * sysdeps/sh/sotruss-lib.c: New file.
40290         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
40292 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40294         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40296 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
40298         [BZ #6810]
40299         * math/w_tgamma.c: Include <errno.h>.
40300         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
40301         * math/w_tgammaf.c: Include <errno.h>.
40302         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
40303         * math/w_tgammal.c: Include <errno.h>.
40304         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
40305         * math/auto-libm-test-in: Do not allow missing errno on tgamma
40306         underflow.  Add more tgamma tests.
40307         * math/auto-libm-test-out: Regenerated.
40308         * sysdeps/i386/fpu/libm-test-ulps: Update.
40309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40311         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
40312         sin, sinh, tan, tanh, tgamma, y0 and y1.
40313         * math/auto-libm-test-out: Regenerated.
40314         * math/libm-test.inc (TEST_COND_x86_64): New macro.
40315         (TEST_COND_x86): Likewise.
40316         (M_E2l): Remove macro.
40317         (M_E3l): Likewise.
40318         (M_2_SQRT_PIl): Likewise.
40319         (M_SQRT_PIl): Likewise.
40320         (M_1_DIV_El): Likewise.
40321         (log_test_data): Use AUTO_TESTS_f_f.
40322         (log10_test_data): Likewise.
40323         (log1p_test_data): Likewise.
40324         (log2_test_data): Likewise.
40325         (sin_test_data): Likewise.
40326         (sin_tonearest_test_data): Likewise.
40327         (sin_towardzero_test_data): Likewise.
40328         (sin_downward_test_data): Likewise.
40329         (sin_upward_test_data): Likewise.
40330         (sinh_test_data): Likewise.
40331         (sinh_tonearest_test_data): Likewise.
40332         (sinh_towardzero_test_data): Likewise.
40333         (sinh_downward_test_data): Likewise.
40334         (sinh_upward_test_data): Likewise.
40335         (tan_test_data): Likewise.
40336         (tan_tonearest_test_data): Likewise.
40337         (tan_towardzero_test_data): Likewise.
40338         (tan_downward_test_data): Likewise.
40339         (tan_upward_test_data): Likewise.
40340         (tanh_test_data): Likewise.
40341         (tgamma_test_data): Likewise.
40342         (y0_test_data): Likewise.
40343         (y1_test_data): Likewise.
40344         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
40345         (special_real_inputs): Add pi/4.
40346         * sysdeps/i386/fpu/libm-test-ulps: Update.
40347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40349 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40351         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
40352         "longjmp_target" static probes.
40353         (__longjmp): Rename to __longjmp_symbol.
40354         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40355         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
40356         on which longjmp to generate.
40357         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
40358         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
40359         probe.
40360         (__sigsetjmp): Rename to __sigsetjmp_symbol.
40361         (__sigjmp_save): Rename to __sigjmp_save_symbol.
40362         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
40363         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
40364         and __sigjmp_save_symbol based on which sigsetjmp to generated.
40365         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
40366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
40367         __longjmp_symbol based on which __longjmp to generate.
40368         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
40369         probe.
40370         (setjmp): Rename to setjmp_symbol.
40371         (__sigsetjmp): Rename to __sigsetjmp_symbol.
40372         (_setjmp): Rename to _setjmp_symbol.
40373         (__sigsetjmp): Rename to __sigsetjmp_symbol.
40374         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
40375         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
40376         which setjmp to generate.
40377         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
40378         "longjmp_target" static probes.
40380 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40382         * benchtests/README: Add note about output arguments.
40383         * benchtests/bench-sincos.c: Remove file.
40384         * benchtests/sincos-inputs: New file.
40385         * scripts/bench.pl: Identify output arguments and define
40386         static variables for them.
40388         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
40390         [BZ #15941]
40391         * Makefile (INSTALL): Add install-plain.texi as the primary
40392         dependency.
40393         * manual/install-plain.texi: New file.
40394         * manual/install.texi: Include node directive only for
40395         non-plaintext output.
40397 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
40399         * stdlib/longlong.h: Update from GCC.
40401         [BZ #6807]
40402         [BZ #15901]
40403         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
40404         * math/w_j0f.c (y0f): Likewise.
40405         * math/w_j0l.c (__y0l): Likewise.
40406         * math/w_j1.c (y1): Likewise.
40407         * math/w_j1f.c (y1f): Likewise.
40408         * math/w_j1l.c (__y1l): Likewise.
40409         * math/w_jn.c (yn): Likewise.
40410         * math/w_jnf.c (ynf): Likewise.
40411         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
40412         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
40413         value for Bessel function domain errors outside _SVID_ mode.
40414         Adjust sign of return value for yn (negative integer, 0).
40415         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
40416         by zero in return for negative x and set sign appropriately for
40417         negative n.
40418         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
40419         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40420         * math/libm-test.inc (y0_test_data): Add more tests and adjust
40421         expectations in error cases.
40422         (y1_test_data): Likewise.
40423         (yn_test_data): Likewise.
40424         * sysdeps/i386/fpu/libm-test-ulps: Update.
40425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40427 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40429         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
40430         "64" to "64-v1".  Add "64-v2".
40431         (abi-64-options): Rename to ...
40432         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
40433         (abi-64-condition): Rename to ...
40434         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
40435         (abi-64-ld-soname): Rename to ...
40436         (abi-64-v1-ld-soname): ... this.
40437         (abi-64-v2-options): Define.
40438         (abi-64-v2-condition): Likewise.
40439         (abi-64-v2-ld-soname): Likewise.
40440         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
40441         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
40442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
40443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
40444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
40446 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40447             Alan Modra  <amodra@gmail.com>
40449         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
40450         New versions for use with the ELFv2 ABI.
40451         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
40452         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
40453         declaration.
40454         (struct La_ppc64v2_retval): Likewise.
40455         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
40456         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
40457         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
40458         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
40459         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
40460         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
40461         Do not save or restore CR.
40462         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
40463         (_dl_profile_resolve): Do no save or restore CR.  Support extended
40464         return values for ELFv2 ABI.  Fix location of FPR return registers.
40465         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
40466         updated values for _CALL_ELF == 2.
40467         (La_regs, La_retval, int_retval): Likewise.
40469 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40471         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
40472         (FRAME_MIN_SIZE_PARM): Likewise.
40473         (FRAME_BACKCHAIN): Likewise.
40474         (FRAME_CR_SAVE): Likewise.
40475         (FRAME_LR_SAVE): Likewise.
40476         (FRAME_TOC_SAVE): Likewise.
40477         (FRAME_PARM_SAVE): Likewise.
40478         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
40479         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
40480         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
40481         (call_mcount_parm_offset): New macro.
40482         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
40483         (PROF): Use symbolic stack frame offsets.
40484         (TAIL_CALL_SYSCALL_ERROR): Likewise.
40485         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
40486         Redefine in terms of FRAME_MIN_SIZE.
40487         (_dl_runtime_resolve): Use symbolic stack frame offsets.
40488         (_dl_profile_resolve): Likewise.  Update comment.
40489         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
40490         symbols stack frame offsets.
40491         (__sigsetjmp): Likewise.
40492         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
40493         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
40494         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
40495         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
40497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
40498         (FRAME_BACKCHAIN): Remove.
40499         (FRAME_CR_SAVE): Likewise.
40500         (FRAME_LR_SAVE): Likewise.
40501         (FRAME_COMPILER_DW): Likewise.
40502         (FRAME_LINKER_DW): Likewise.
40503         (FRAME_TOC_SAVE): Likewise.
40504         (FRAME_PARM_SAVE): Likewise.
40505         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
40506         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
40507         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
40508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
40509         (CHECK_SP): Use symbolic stack frame offsets.
40510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
40511         zone" instead of caller's parameter save area for temp storage.
40512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
40513         Likewise.  Also, use symbolic stack frame offsets.
40514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
40515         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
40516         our own stack frame instead of the caller's.
40517         (__socket): Use symbolic stack frame offsets.
40519 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40520             Alan Modra  <amodra@gmail.com>
40522         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
40523         Define.
40524         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
40525         (PPC64_LOCAL_ENTRY_OFFSET): Define.
40526         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
40527         New function.
40528         (elf_machine_fixup_plt): Call it.
40529         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
40530         reloc arguments.
40531         (elf_machine_rela): Update call to elf_machine_plt_conflict.
40532         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
40533         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
40534         r2 before calling target.
40536 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40537             Alan Modra  <amodra@gmail.com>
40539         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
40540         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
40541         versions of macros to support ELFv2 ABI.
40542         (LOCALENTRY): New macro.
40543         (ENTRY, EALIGN): Use it.
40544         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
40545         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
40546         fall through into ENTRY entry point.
40547         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
40548         Only define if _CALL_ELF != 2.
40550         (elf_machine_matches_host): Verify ABI version matches.
40551         (RTLD_START): Use LOCALENTRY.
40552         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
40553         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
40554         (PLT_ENTRY_WORDS): New macro.
40555         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
40556         (elf_machine_runtime_setup): Support ELFv2 ABI.
40557         (elf_machine_fixup_plt): Likewise.
40558         (elf_machine_plt_conflict): Likewise.
40559         (resolve_ifunc): Likewise.
40560         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
40561         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
40562         Likewise.
40563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
40564         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
40565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40566         (makecontext): Support ELFv2 ABI.
40567         * elf/elf.h (EF_PPC64_ABI): Define.
40569 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40571         * sysdeps/powerpc/powerpc64/sysdep.h
40572         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
40573         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
40574         (ENTRY) [ASSEMBLER]: ... but instead here ...
40575         (EALIGN) [ASSEMBLER]: ... and here.
40576         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
40577         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
40578         (ENTRY_2) [!ASSEMBLER]: Use it.
40579         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
40580         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
40581         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
40582         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
40583         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
40584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
40585         Use PPC64_LOAD_FUNCPTR.
40587         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
40589 2013-12-04  Alan Modra  <amodra@gmail.com>
40591         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
40592         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
40593         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
40594         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
40596         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
40597         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
40598         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
40599         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
40600         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
40601         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
40603 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40606         (__makecontext): Fix incorrect CFI when backtracing out of
40607         context created via makecontext.
40608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
40609         (__setcontext): Fix incorrect CFI during switch to new context.
40610         (__novec_setcontext): Likewise.
40612 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
40614         [BZ #4772]
40615         * time/strptime_l.c (__strptime_internal): Allow modifiers
40616         in strptime.
40617         * time/tst-strptime.c (day_tests): Add testcase.
40619 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40621         * scripts/bench.pl: Skip over blank lines.
40623 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
40625         [BZ #926]
40626         * manual/time.texi (Calendar Time): Clarify what timezone functions
40627         use.
40629 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40631         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40633 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
40635         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
40636         implementation.
40637         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
40638         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
40639         * debug/memset_chk.c (__memset_chk): Likewise.
40640         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
40641         * debug/strncpy_chk.c: Likewise.
40643 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
40645         [BZ #15268]
40646         [BZ #15425]
40647         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
40648         (__ieee754_exp): For possibly underflowing results, check size of
40649         result and force underflow exception if required.
40650         * math/auto-libm-test-in: Add more tests of exp.
40651         * math/auto-libm-test-out: Regenerated.
40652         * sysdeps/i386/fpu/libm-test-ulps: Update.
40653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40655         [BZ #16283]
40656         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
40657         * math/w_exp2f.c (__exp2f): Likewise.
40658         * math/w_exp2l.c (__exp2l): Likewise.
40659         * math/auto-libm-test-in: Do not allow missing errno on exp2
40660         underflow.
40661         * math/auto-libm-test-out: Regenerated.
40663 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
40665         [BZ #16274]
40666         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
40667         handle filename validation.
40668         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
40669         (do_open): Delete.
40671 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
40673         [BZ #6786]
40674         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
40675         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
40676         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
40677         <float.h>.
40678         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
40679         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
40680         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
40681         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
40682         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
40683         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
40684         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
40685         * math/auto-libm-test-in: Don't allow missing errno from erfc.
40686         Add more erfc tests.
40687         * math/auto-libm-test-out: Regenerated.
40688         * sysdeps/i386/fpu/libm-test-ulps: Update.
40689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40691         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
40692         exp2, expm1, j0 and j1.
40693         * math/auto-libm-test-out: Regenerated.
40694         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
40695         (erfc_test_data): Likewise.
40696         (exp_test_data): Likewise.
40697         (exp_tonearest_test_data): Likewise.
40698         (exp_towardzero_test_data): Likewise.
40699         (exp_downward_test_data): Likewise.
40700         (exp_upward_test_data): Likewise.
40701         (exp10_test_data): Likewise.
40702         (exp2_test_data): Likewise.
40703         (expm1_test_data): Likewise.
40704         (j0_test_data): Likewise.
40705         (j1_test_data): Likewise.
40706         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
40707         (input_flag_type): Add flag_xfail_rounding.
40708         (input_flags): Add xfail-rounding.
40709         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
40710         (output_for_one_input_case): Handle flag_xfail_rounding.
40711         * sysdeps/i386/fpu/libm-test-ulps: Update.
40712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40714 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
40716         [BZ #16289]
40717         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
40718         division by 0.
40720 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
40722         [BZ #16195]
40723         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
40724         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
40725         (STAP_PROBE0): New macro.
40726         (STAP_PROBE1): Likewise.
40727         (STAP_PROBE2): Likewise.
40728         (STAP_PROBE3): Likewise.
40729         (STAP_PROBE4): Likewise.
40731 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
40733         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
40735 2013-12-02  Steve Ellcey  <sellcey@mips.com>
40737         * benchtests/Makefile (bench): Add sqrt.
40738         (LDLIBS-bench-sqrt): New.
40739         * benchtests/sqrt-input: New.
40741 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
40743         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
40744         (GAIH_EAI): Likewise.
40745         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
40746         (gaih_inet): Likewise.
40747         (getaddrinfo): Don't use GAIH_EAI.
40749         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
40750         (struct gaih): Remove definition.
40752 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40754         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
40755         Use HERRNOP directly.
40757 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40759         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40761 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
40763         * math/gen-auto-libm-tests.c (test_functions): Add more
40764         single-argument functions.
40765         (special_fill_pi_2): New function.
40766         (special_fill_minus_pi_2): Likewise.
40767         (special_fill_pi_6): Likewise.
40768         (special_fill_minus_pi_6): Likewise.
40769         (special_fill_pi_3): Likewise.
40770         (special_fill_2pi_3): Likewise.
40771         (special_fill_e): Likewise.
40772         (special_fill_1_e): Likewise.
40773         (special_fill_e_minus_1): Likewise.
40774         (special_real_inputs): Add more special inputs.
40775         (output_for_one_input_case): Do not require ERANGE on underflow to
40776         zero if round-to-nearest result does not underflow to zero, unless
40777         exact results required.
40778         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
40779         atan, atanh, cbrt, cos and cosh.
40780         * math/auto-libm-test-out: Regenerated.
40781         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
40782         (acos_tonearest_test_data): Likewise.
40783         (acos_towardzero_test_data): Likewise.
40784         (acos_downward_test_data): Likewise.
40785         (acos_upward_test_data): Likewise.
40786         (acosh_test_data): Likewise.
40787         (asin_test_data): Likewise.
40788         (asin_tonearest_test_data): Likewise.
40789         (asin_towardzero_test_data): Likewise.
40790         (asin_upward_test_data): Likewise.
40791         (asinh_test_data): Likewise.
40792         (atan_test_data): Likewise.
40793         (atanh_test_data): Likewise.
40794         (cbrt_test_data): Likewise.
40795         (cos_test_data): Likewise.
40796         (cos_tonearest_test_data): Likewise.
40797         (cos_towardzero_test_data): Likewise.
40798         (cos_downward_test_data): Likewise.
40799         (cos_upward_test_data): Likewise.
40800         (cosh_test_data): Likewise.
40801         (cosh_tonearest_test_data): Likewise.
40802         (cosh_towardzero_test_data): Likewise.
40803         (cosh_downward_test_data): Likewise.
40804         (cosh_upward_test_data): Likewise.
40805         * sysdeps/i386/fpu/libm-test-ulps: Update.
40806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40808 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
40810         [BZ #6787]
40811         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
40812         * math/w_exp10f.c (__exp10f): Likewise.
40813         * math/w_exp10l.c (__exp10l): Likewise.
40814         * math/libm-test.inc (exp10_test_data): Add more tests and expect
40815         errno settings in existing tests.
40817         [BZ #14032]
40818         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
40819         precision control set to double precision.
40820         * sysdeps/i386/fpu/w_sqrt.c: New file.
40821         * math/auto-libm-test-in: Add more tests.
40822         * math/auto-libm-test-out: Update.
40824         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
40825         (sqrt_test_tonearest): New function.
40826         (sqrt_towardzero_test_data): New variable.
40827         (sqrt_test_towardzero): New function.
40828         (sqrt_downward_test_data): New variable.
40829         (sqrt_test_downward): New function.
40830         (sqrt_upward_test_data): New variable.
40831         (sqrt_test_upward): New function.
40832         (main): Call the new functions.
40834         * math/gen-auto-libm-tests.c: New file.
40835         * math/auto-libm-test-in: Likewise.
40836         * math/auto-libm-test-out: New generated file.
40837         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
40838         variables.
40839         (%beautify): Add generated representations of zero.
40840         (top level): Set $auto_input and call parse_auto_input.
40841         (beautify): Remove trailing "f" from hex float constants.
40842         (parse_args): Handle XFAIL_TEST.
40843         (convert_condition): New function.
40844         (or_value): Likewise.
40845         (or_cond_value): Likewise.
40846         (generate_testfile): Handle AUTO_TESTS_* lines.
40847         (parse_auto_input): New function.
40848         * math/libm-test.inc (XFAIL_TEST): New macro.
40849         (ERRNO_UNCHANGED): Update value.
40850         (ERRNO_EDOM): Likewise.
40851         (ERRNO_ERANGE): Likewise.
40852         (IGNORE_RESULT): Likewise.
40853         (TEST_COND_flt_32): New macro.
40854         (TEST_COND_dbl_64): Likewise.
40855         (TEST_COND_ldbl_96_intel): Likewise.
40856         (TEST_COND_ldbl_96_m68k): Likewise.
40857         (TEST_COND_ldbl_128): Likewise.
40858         (TEST_COND_ldbl_128ibm): Likewise.
40859         (TEST_COND_long32): Likewise.
40860         (TEST_COND_long64): Likewise.
40861         (TEST_COND_before_rounding): Likewise.
40862         (TEST_COND_after_rounding): Likewise.
40863         (enable_test): Handle XFAIL_TEST flag.
40864         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
40865         with finite results.
40866         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
40867         auto-libm-test-out.
40869 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40870             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40872         [BZ #16214]
40873         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
40874         __tls_get_addr_internal instead of __tls_get_offset in order to
40875         avoid GOT pointer dependency.  Make rtld export
40876         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
40877         __tls_get_addr since we are a __tls_get_offset platform.
40878         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
40879         GOT pointer being set up before.
40880         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
40882 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
40884         * manual/math.texi (Errors in Math Functions): Document accuracy
40885         goals.
40887         [BZ #15004]
40888         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
40889         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
40890         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40891         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40892         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40893         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40894         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40895         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40896         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40897         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40898         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40899         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40900         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40901         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40902         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40903         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40905         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
40906         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
40907         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
40908         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
40909         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
40910         Likewise.
40911         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
40912         Likewise.
40913         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
40914         Likewise.
40915         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
40916         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
40917         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
40918         atomic-feupdateenv and flt-rounds.
40919         * sysdeps/powerpc/nofpu/Versions (libc): Add
40920         __atomic_feholdexcept, __atomic_feclearexcept,
40921         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
40922         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
40923         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
40924         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
40925         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
40926         here.
40927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
40928         Update.
40930         * manual/arith.texi (FP Exceptions): Document that exceptions may
40931         not be raised when matherr is used.
40932         (Math Error Reporting): Document overflow in directed rounding
40933         modes.  Document that errno may not be set when finite values are
40934         returned on overflow.  Document intent to set errno on underflow
40935         only for underflow to zero.
40937         [BZ #16271]
40938         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
40939         round-to-nearest then adjust result for other rounding modes.
40940         * include/fenv.h (fegetround): Use libm_hidden_proto.
40941         * math/fegetround.c (fegetround): Use libm_hidden_def.
40942         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
40943         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
40944         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
40945         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
40946         Likewise.
40947         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
40948         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40949         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
40950         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
40952 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40954         [BZ #16077]
40955         * nss/Versions (libnss_files): Add
40956         _nss_files_gethostbyname3_r.
40957         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
40958         New function.
40959         (HOST_DB_LOOKUP): Remove macro.
40960         (_nss_files_gethostbyname_r): Implement function without the
40961         HOST_DB_LOOKUP macro.
40962         (_nss_files_gethostbyname2_r): Likewise.
40964 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
40966         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
40968 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
40970         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
40971         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
40972         warning.
40974 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40976         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
40977         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
40978         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
40979         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
40980         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
40981         __fe_nomask_env_priv and attribute_hidden.
40982         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
40983         (libc_feupdateenv_test_ppc): Likewise.
40984         (libc_feresetround_ppc): Likewise.
40985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40986         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
40987         compat_symbol macro.
40988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40989         (__fe_nomask_env): Likewise.
40990         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
40992 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40994         * string/Makefile: Remove ifunc tests.
40995         * string/test-string.h: Define TEST_IFUNC.
40996         * string/test-bcopy-ifunc.c: Remove.
40997         * string/test-bzero-ifunc.c: Likewise.
40998         * string/test-memccpy-ifunc.c: Likewise.
40999         * string/test-memchr-ifunc.c: Likewise.
41000         * string/test-memcmp-ifunc.c: Likewise.
41001         * string/test-memcpy-ifunc.c: Likewise.
41002         * string/test-memmem-ifunc.c: Likewise.
41003         * string/test-memmove-ifunc.c: Likewise.
41004         * string/test-mempcpy-ifunc.c: Likewise.
41005         * string/test-memrchr-ifunc.c: Likewise.
41006         * string/test-memset-ifunc.c: Likewise.
41007         * string/test-rawmemchr-ifunc.c: Likewise.
41008         * string/test-stpcpy-ifunc.c: Likewise.
41009         * string/test-stpncpy-ifunc.c: Likewise.
41010         * string/test-strcasecmp-ifunc.c: Likewise.
41011         * string/test-strcasestr-ifunc.c: Likewise.
41012         * string/test-strcat-ifunc.c: Likewise.
41013         * string/test-strchr-ifunc.c: Likewise.
41014         * string/test-strchrnul-ifunc.c: Likewise.
41015         * string/test-strcmp-ifunc.c: Likewise.
41016         * string/test-strcpy-ifunc.c: Likewise.
41017         * string/test-strcspn-ifunc.c: Likewise.
41018         * string/test-strlen-ifunc.c: Likewise.
41019         * string/test-strncasecmp-ifunc.c: Likewise.
41020         * string/test-strncat-ifunc.c: Likewise.
41021         * string/test-strncmp-ifunc.c: Likewise.
41022         * string/test-strncpy-ifunc.c: Likewise.
41023         * string/test-strnlen-ifunc.c: Likewise.
41024         * string/test-strpbrk-ifunc.c: Likewise.
41025         * string/test-strrchr-ifunc.c: Likewise.
41026         * string/test-strspn-ifunc.c: Likewise.
41027         * string/test-strstr-ifunc.c: Likewise.
41029 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41031         * benchtests/Makefile: Remove ifunc tests.
41032         * benchtests/bench-string.h: Define TEST_IFUNC.
41033         * benchtests/bench-bcopy-ifunc.c: Remove.
41034         * benchtests/bench-bzero-ifunc.c: Likewise.
41035         * benchtests/bench-memccpy-ifunc.c: Likewise.
41036         * benchtests/bench-memchr-ifunc.c: Likewise.
41037         * benchtests/bench-memcmp-ifunc.c: Likewise.
41038         * benchtests/bench-memcpy-ifunc.c: Likewise.
41039         * benchtests/bench-memmem-ifunc.c: Likewise.
41040         * benchtests/bench-memmove-ifunc.c: Likewise.
41041         * benchtests/bench-mempcpy-ifunc.c: Likewise.
41042         * benchtests/bench-memrchr-ifunc.c: Likewise.
41043         * benchtests/bench-memset-ifunc.c: Likewise.
41044         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
41045         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
41046         * benchtests/bench-stpcpy-ifunc.c: Likewise.
41047         * benchtests/bench-stpncpy-ifunc.c: Likewise.
41048         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
41049         * benchtests/bench-strcasestr-ifunc.c: Likewise.
41050         * benchtests/bench-strcat-ifunc.c: Likewise.
41051         * benchtests/bench-strchr-ifunc.c: Likewise.
41052         * benchtests/bench-strchrnul-ifunc.c: Likewise.
41053         * benchtests/bench-strcmp-ifunc.c: Likewise.
41054         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
41055         * benchtests/bench-strcpy-ifunc.c: Likewise.
41056         * benchtests/bench-strcspn-ifunc.c: Likewise.
41057         * benchtests/bench-strlen-ifunc.c: Likewise.
41058         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
41059         * benchtests/bench-strncat-ifunc.c: Likewise.
41060         * benchtests/bench-strncmp-ifunc.c: Likewise.
41061         * benchtests/bench-strncpy-ifunc.c: Likewise.
41062         * benchtests/bench-strnlen-ifunc.c: Likewise.
41063         * benchtests/bench-strpbrk-ifunc.c: Likewise.
41064         * benchtests/bench-strrchr-ifunc.c: Likewise.
41065         * benchtests/bench-strsep-ifunc.c: Likewise.
41066         * benchtests/bench-strspn-ifunc.c: Likewise.
41067         * benchtests/bench-strstr-ifunc.c: Likewise.
41069 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41071         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
41073 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41075         * resolv/netdb.h: Use __glibc_reserved instead __unused.
41076         * rt/aio.h: Likewise.
41077         * sysdeps/gnu/bits/utmp.h: Likewise.
41078         * sysdeps/gnu/bits/utmpx.h: Likewise.
41079         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
41080         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
41081         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
41082         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
41083         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
41084         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
41085         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
41086         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
41087         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
41088         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
41089         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
41090         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
41091         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
41092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
41093         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
41094         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
41095         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
41096         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
41097         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
41098         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
41099         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
41100         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
41101         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
41102         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41103         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
41104         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41105         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
41106         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
41107         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
41108         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
41109         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
41110         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
41111         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
41112         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
41113         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
41114         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
41115         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
41116         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
41117         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
41118         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
41119         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
41120         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
41122 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
41124         [BZ #16245]
41125         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
41126         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
41128 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
41130         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
41131         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
41132         Likewise.
41134 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41136         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
41137         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
41138         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
41139         (__fesetround): Remove define.
41140         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
41141         rounding and exceptions handling.
41142         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
41143         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
41144         (__fe_nomask_env): Likewise.
41145         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
41146         __fegetround instead of fegetround.
41147         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
41148         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
41150 2013-11-21  Roland McGrath  <roland@hack.frob.com>
41152         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
41153         it's there.
41155         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
41157 2013-11-21  Meador Inge  <meadori@codesourcery.com>
41159         [BZ #11157]
41160         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
41161         (encrypt_r): Likewise.
41162         * malloc/obstack.h (obstack_free): Likewise.
41163         * posix/unistd.h (encrypt): Likewise.
41165 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
41167         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
41168         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
41169         DL_CALL_DT_FINI() that call the functions directly.
41170         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
41171         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
41172         * elf/dl-fini.c: Likewise.
41174 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
41176         * malloc/hooks.c (memalign_check): Add alignment rounding.
41177         * malloc/malloc.c (_mid_memalign): New function.
41178         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
41179         Implement by calling _mid_memalign.
41180         * manual/probes.texi (Memory Allocation Probes): Remove
41181         memory_valloc_retry and memory_pvalloc_retry.
41183 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41185         * locale/programs/locarchive.c (open_archive): Add const
41186         qualifier to ARCHIVEFNAME and copy default fname to
41187         DEFAULT_FNAME.
41189         [BZ #15601]
41190         * libio/tst-widetext.input: Rename Oriya to Odia.
41191         * locale/iso-639.def: Likewise.
41193         * manual/probes.texi (Mathematical Function Probes): Add
41194         documentation for sin, cos, asin and acos probes.
41195         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
41196         (__sin32): Add slowasin probe.
41197         (__cos32): Add slowacos probe.
41198         (__mpsin): Add slowsin probe.
41199         (__mpcos): Add slowcos probe.
41201 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
41203         [BZ #15483]
41204         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
41205         thread-local __sim_exceptions_thread and global
41206         __sim_exceptions_global.
41207         (__sim_disabled_exceptions): Change to thread-local
41208         __sim_disabled_exceptions_thread and global
41209         __sim_disabled_exceptions_global.
41210         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
41211         and global __sim_round_mode_global.
41212         (__simulate_exceptions): Use thread-local floating-point state and
41213         set global state from it as needed.
41214         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
41215         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
41216         __sim_round_mode_thread.
41217         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
41218         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
41219         and global __sim_exceptions_global.
41220         (__sim_disabled_exceptions): Change to thread-local
41221         __sim_disabled_exceptions_thread and global
41222         __sim_disabled_exceptions_global.
41223         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
41224         and global __sim_round_mode_global.
41225         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
41226         (SIM_SET_GLOBAL): Likewise.
41227         * sysdeps/powerpc/soft-fp/sfp-machine.h
41228         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
41229         __sim_round_mode_thread.
41230         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
41231         __sim_disabled_exceptions_thread.
41232         (__sim_exceptions): Change to __sim_exceptions_thread.
41233         (__sim_disabled_exceptions): Change to
41234         __sim_disabled_exceptions_thread.
41235         (__sim_round_mode): Change to __sim_round_mode_thread.
41236         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
41237         thread-local floating-point state and set global state from it as
41238         needed.
41239         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
41240         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
41241         (__sim_disabled_exceptions): Remove extern declaration.
41242         (feenableexcept): Use thread-local floating-point state and set
41243         global state from it as needed.
41244         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
41245         extern declaration.
41246         (__sim_disabled_exceptions): Likewise.
41247         (__sim_round_mode): Likewise.
41248         (__fegetenv): Use thread-local floating-point state.
41249         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
41250         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
41251         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
41252         floating-point state and set global state from it as needed.
41253         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
41254         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
41255         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
41256         Likewise.
41257         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
41258         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
41259         Likewise.
41260         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
41261         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
41262         Use __sim_round_mode_thread.
41263         * math/test-fenv-tls.c: New file.
41264         * math/Makefile (tests): Add test-fenv-tls.
41265         ($(objpfx)test-fenv-tls): Depend on
41266         $(common-objpfx)nptl/libpthread.so.
41268 2013-11-19  Andreas Schwab  <schwab@suse.de>
41270         * locale/programs/locale.c (show_info): Decode wordarray elements.
41271         * locale/categories.def (LC_MONETARY): Add element for
41272         _NL_MONETARY_CRNCYSTR.
41273         * locale/C-monetary.c (conversion_rate): New variable.
41274         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
41275         element.
41277 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
41279         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
41280         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
41282 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
41284         * elf/Makefile (tst-auxv): New test.
41285         * elf/tst-auxv.c: New
41286         * elf/rtld.c (dl_main): Adjust AT_EXECFN
41288 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
41290         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
41291         (hidden_proto): Caller changed.
41292         (hidden_tls_proto): New macro.
41293         (libc_hidden_tls_proto): Likewise.
41294         (rtld_hidden_tls_proto): Likewise.
41295         (libm_hidden_tls_proto): Likewise.
41296         (libresolv_hidden_tls_proto): Likewise.
41297         (librt_hidden_tls_proto): Likewise.
41298         (libdl_hidden_tls_proto): Likewise.
41299         (libnss_files_hidden_tls_proto): Likewise.
41300         (libnsl_hidden_tls_proto): Likewise.
41301         (libnss_nisplus_hidden_tls_proto): Likewise.
41302         (libutil_hidden_tls_proto): Likewise.
41304 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
41306         [BZ #10253]
41307         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
41308         (decompose_rpath): Defer expansion to fillin_rpath.
41309         (_dl_init_paths): Pass linkmap to fillin_rpath.
41311 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41313         * benchtests/Makefile: Add strsep.
41314         * benchtests/bench-strsep.c: New file: strsep benchtest.
41315         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
41317 2013-11-18  Andreas Schwab  <schwab@suse.de>
41319         * locale/programs/locale.c (show_info) [case byte]: Check for
41320         '\377' instead of '\177'.
41321         * locale/C-monetary.c (not_available): Always use "\377".
41322         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
41323         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
41324         detect unavailable sign_posn locale elements.
41325         * locale/localeconv.c (__localeconv): For grouping and
41326         mon_grouping handle "\177" and "\377" like no grouping.
41327         (INT_ELEM): New macro.  Use it to set all numeric members.
41328         * locale/programs/ld-monetary.c (monetary_read)
41329         <tok_mon_grouping>: Normalize single -1 to the empty string.
41330         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
41331         Likewise.
41333 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
41335         [BZ #16055]
41336         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
41337         when we match (nil).
41338         * stdio-common/tst-sscanf.c (struct test): Add testcase.
41340 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
41342         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
41343         (NO_TEST_INLINE): Update value.
41344         (ERRNO_UNCHANGED): Likewise.
41345         (ERRNO_EDOM): Likewise.
41346         (ERRNO_ERANGE): Likewise.
41347         (IGNORE_RESULT): Likewise.
41348         (check_float_internal): Check signs of NaN results if
41349         TEST_NAN_SIGN used.
41350         (check_complex): Pass TEST_NAN_SIGN flag through to second
41351         check_float_internal call.
41352         (copysign_test_data): Add tests with quiet NaNs as second
41353         argument.  Use TEST_NAN_SIGN.
41354         (fabs_test_data): Add test of negative quiet NaN argument.  Use
41355         TEST_NAN_SIGN.
41356         (signbit_test_data): Add tests of quiet NaN argument.
41357         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
41359         * math/gen-libm-test.pl (show_exceptions): Take extra argument
41360         $ignore_result.
41361         (parse_args): Handle function results specified as IGNORE.
41362         * math/libm-test.inc (IGNORE_RESULT): New macro.
41363         (check_float_internal): Do not check numerical result if flag
41364         IGNORE_RESULT set.
41365         (check_complex): Pass through IGNORE_RESULT to second
41366         check_float_internal call.
41367         (check_int): Do not check numerical result if flag IGNORE_RESULT
41368         set.
41369         (check_long): Likewise.
41370         (check_bool): Likewise.
41371         (check_longlong): Likewise.
41372         (lrint_test_data): Add tests of infinite and NaN arguments.
41373         (lrint_tonearest_test_data): Likewise.
41374         (lrint_towardzero_test_data): Likewise.
41375         (lrint_downward_test_data): Likewise.
41376         (lrint_upward_test_data): Likewise.
41377         (llrint_test_data): Likewise.
41378         (llrint_tonearest_test_data): Likewise.
41379         (llrint_towardzero_test_data): Likewise.
41380         (llrint_downward_test_data): Likewise.
41381         (llrint_upward_test_data): Likewise.
41382         (lround_test_data): Likewise.
41383         (llround_test_data): Likewise.
41385         * math/libm-test.inc (NO_TEST_INLINE): New macro.
41386         (ERRNO_UNCHANGED): Update value.
41387         (ERRNO_EDOM): Likewise.
41388         (ERRNO_ERANGE): Likewise.
41389         (NO_TEST_INLINE_FLOAT): New macro.
41390         (NO_TEST_INLINE_DOUBLE): Likewise.
41391         (enable_test): New function.
41392         (RUN_TEST_f_f): Check enable_test before running test.
41393         (RUN_TEST_2_f): Likewise.
41394         (RUN_TEST_fff_f): Likewise.
41395         (RUN_TEST_c_f): Likewise.
41396         (RUN_TEST_f_f1): Likewise.
41397         (RUN_TEST_fF_f1): Likewise.
41398         (RUN_TEST_fI_f1): Likewise.
41399         (RUN_TEST_ffI_f1): Likewise.
41400         (RUN_TEST_c_c): Likewise.
41401         (RUN_TEST_cc_c): Likewise.
41402         (RUN_TEST_f_i): Likewise.
41403         (RUN_TEST_f_i_tg): Likewise.
41404         (RUN_TEST_ff_i_tg): Likewise.
41405         (RUN_TEST_f_b): Likewise.
41406         (RUN_TEST_f_b_tg): Likewise.
41407         (RUN_TEST_f_l): Likewise.
41408         (RUN_TEST_f_L): Likewise.
41409         (RUN_TEST_fFF_11): Likewise.
41410         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
41411         conditionals.
41412         (cosh_test_data): Likewise.
41413         (exp_test_data): Likewise.
41414         (expm1_test_data): Likewise.
41415         (hypot_test_data): Likewise.
41416         (pow_test_data): Likewise.
41417         (sinh_test_data): Likewise.
41418         (tanh_test_data): Likewise.
41419         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
41420         flags argument.
41422         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
41423         tests with quiet NaN input and output.
41424         (acosh_test_data): Likewise.
41425         (asin_test_data): Likewise.
41426         (asinh_test_data): Likewise.
41427         (atan_test_data): Likewise.
41428         (atanh_test_data): Likewise.
41429         (atan2_test_data): Likewise.
41430         (cbrt_test_data): Likewise.
41431         (cos_test_data): Likewise.
41432         (cosh_test_data): Likewise.
41433         (erf_test_data): Likewise.
41434         (erfc_test_data): Likewise.
41435         (exp_test_data): Likewise.
41436         (exp10_test_data): Likewise.
41437         (exp2_test_data): Likewise.
41438         (expm1_test_data): Likewise.
41439         (hypot_test_data): Likewise.
41440         (j0_test_data): Likewise.
41441         (j1_test_data): Likewise.
41442         (jn_test_data): Likewise.
41443         (lgamma_test_data): Likewise.
41444         (log_test_data): Likewise.
41445         (log10_test_data): Likewise.
41446         (log1p_test_data): Likewise.
41447         (log2_test_data): Likewise.
41448         (pow_test_data): Likewise.
41449         (scalb_test_data): Likewise.
41450         (sin_test_data): Likewise.
41451         (sincos_test_data): Likewise.
41452         (sinh_test_data): Likewise.
41453         (tan_test_data): Likewise.
41454         (tanh_test_data): Likewise.
41455         (tgamma_test_data): Likewise.
41456         (y0_test_data): Likewise.
41457         (y1_test_data): Likewise.
41458         (yn_test_data): Likewise.
41460         [BZ #16167]
41461         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
41462         argument being NaN and avoid computations with second argument in
41463         that case.
41464         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41465         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
41466         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
41468 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
41470         * locale/iso-639.def: Add Chitwani Tharu (the).
41472 2013-11-14  Andreas Schwab  <schwab@suse.de>
41474         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
41475         word instead of empty string.
41477 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41480         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
41481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41482         (__fe_nomask_env): Likewise.
41484 2013-11-13  Steve Ellcey  <sellcey@mips.com>
41486         * benchtests/bench-timing.h: Include time.h.
41488 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
41490         [BZ #15997]
41491         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
41492         to 3.4.0 for x32.
41493         * sysdeps/unix/sysv/linux/configure: Regenerated.
41495 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
41497         [BZ #16151]
41498         * stdlib/strtod_l.c (round_and_return): Do not consider
41499         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
41500         exponent one less than half the least subnormal exponent.
41501         * stdlib/test-strtod-round-data: Add more tests.
41502         * stdlib/tst-strtod-round.c (tests): Regenerated.
41504 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41506         [BZ #14143]
41507         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
41508         (__fe_mask_env): Likewise.
41509         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
41510         libm_hidden_proto and add function prototype.
41511         (__fe_mask_env): Add function prototype.
41512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41513         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
41514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
41515         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
41516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41517         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
41519 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41521         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
41522         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
41524 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41526         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
41527         of htab_find_slot().
41529 2013-11-11  David S. Miller  <davem@davemloft.net>
41531         [BZ #16150]
41532         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
41533         symbol in the non-vis3 case in static builds.
41534         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
41535         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
41536         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
41537         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
41539 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
41541         [BZ #387]
41542         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
41543         it is empty.
41545 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41547         * benchtests/Makefile: Add bench-strtod.
41548         * benchtests/bench-strtod.c: New file: strtod benchtest
41550 2013-11-11  Andreas Schwab  <schwab@suse.de>
41552         [BZ #16153]
41553         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
41554         terminating NUL in key length.
41556 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41558         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
41559         Add artificial ODP entry for vDSO symbol for PPC64.
41560         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
41561         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
41563 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
41565         [BZ #15374]
41566         * nss/getent.c (services_keys): Recognize services starting with digit.
41568 2013-11-06  David S. Miller  <davem@davemloft.net>
41570         [BZ #15985]
41571         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
41572         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
41574 2013-11-06  Will Newton  <will.newton@linaro.org>
41576         * manual/memory.texi (Malloc Examples): Remove register
41577         keyword from examples.
41579 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
41581         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
41583 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
41585         [BZ #6981]
41586         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
41587         depending on [__GCC_IEC_559 > 0].
41588         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
41589         depending on [__GCC_IEC_559_COMPLEX > 0].
41591 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
41593         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
41594         to iso-639.def.
41596 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
41598         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
41600 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
41602         [BZ #16112]
41603         * malloc/malloc (malloc_info): Do not handle first bin as
41604         special case.
41606 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
41608         * locale/iso-639.def: Add Central Nahuatl (nhn).
41610 2013-11-01  Bruno Haible  <bruno@clisp.org>
41612         [BZ #7003]
41613         * manual/math.texi (BSD Random): Specify range upper bound as
41614         in POSIX.
41616 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
41618         * locale/iso-639.def: Add Meadow Mari (mhr).
41620 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
41622         [BZ #14752], [BZ #15763]
41623         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
41624         Validate name.
41625         * rt/tst_shm.c: Add test for escaping directory.
41627 2013-10-31  Andreas Schwab  <schwab@suse.de>
41629         [BZ #15917]
41630         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
41631         followed by 'x' as part of digit sequence.
41632         * stdio-common/tst-sscanf.c (double_tests2): New tests.
41634 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
41636         [BZ #16037]
41637         * configure.ac: allow GNU Make 4.0 and greater.
41638         * configure: Regenerated.
41640 2013-10-30  Will Newton  <will.newton@linaro.org>
41642         [BZ #16038]
41643         * malloc/hooks.c (memalign_check): Limit alignment to the
41644         maximum representable power of two.
41645         * malloc/malloc.c (__libc_memalign): Likewise.
41646         * malloc/tst-memalign.c (do_test): Add test for very
41647         large alignment values.
41648         * malloc/tst-posix_memalign.c (do_test): Likewise.
41650 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
41652         [BZ #11087]
41653         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
41654         (munmap_chunk): Likewise.
41655         (mremap_chunk): Likewise.
41657 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
41659         [BZ #15799]
41660         * stdlib/div.c (div): Remove obsolete code.
41661         * stdlib/ldiv.c (ldiv): Likewise.
41662         * stdlib/lldiv.c (lldiv): Likewise.
41664 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41666         [BZ #16071]
41667         * nss/nss_files/files-XXX.c (get_contents_ret): New
41668         enumerator.
41669         (get_contents): New function.
41670         (internal_getent): Use it.  Expand size of LINEBUFLEN.
41672 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
41674         * configure.in: Moved to ...
41675         * configure.ac: ... here. Change reference to configure.in
41676         to configure.ac.
41677         * sysdeps/arm/preconfigure.ac: ... here.
41678         configure.in to configure.ac.
41679         * sysdeps/gnu/configure.in: Moved to ...
41680         * sysdeps/gnu/configure.ac: ... here.
41681         * sysdeps/i386/configure.in: Moved to ...
41682         * sysdeps/i386/configure.ac: ... here.
41683         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
41684         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
41685         * sysdeps/mach/configure.in: Moved to ...
41686         * sysdeps/mach/configure.ac: ... here.
41687         * sysdeps/mach/hurd/configure.in: Moved to ...
41688         * sysdeps/mach/hurd/configure.ac: ... here.
41689         * sysdeps/powerpc/configure.in: Moved to ...
41690         * sysdeps/powerpc/configure.ac: ... here.
41691         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
41692         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
41693         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
41694         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
41695         * sysdeps/s390/s390-32/configure.in: Moved to ...
41696         * sysdeps/s390/s390-32/configure.ac: ... here.
41697         * sysdeps/s390/s390-64/configure.in: Moved to ...
41698         * sysdeps/s390/s390-64/configure.ac: ... here.
41699         * sysdeps/sh/configure.in: Moved to ...
41700         * sysdeps/sh/configure.ac: ... here.
41701         * sysdeps/sparc/configure.in: Moved to ...
41702         * sysdeps/sparc/configure.ac: ... here.
41703         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
41704         * sysdeps/unix/sysv/linux/configure.ac: ... here.
41705         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
41706         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
41707         * sysdeps/x86_64/configure.in: Moved to ...
41708         * sysdeps/x86_64/configure.ac: ... here.
41709         * sysdeps/x86_64/preconfigure.in: Moved to ...
41710         * sysdeps/x86_64/preconfigure.ac: ... here.
41711         * aclocal.m4: Change reference to configure.in to configure.ac.
41712         * config.h.in: Likewise.
41713         * manual/install.texi: Likewise.
41714         * manual/maint.texi: Likewise.
41715         * Makefile: Likewise.
41716         * malloc/Makefile: Likewise.
41717         * nscd/Makefile: Likewise.
41718         * Makeconfig: Change reference to configure.in and
41719         preconfigure.in to configure.ac and preconfigure.ac
41720         respectively.
41721         * INSTALL: Regenerated.
41722         * configure: Likewise.
41723         * sysdeps/gnu/configure: Likewise.
41724         * sysdeps/i386/configure: Likewise.
41725         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
41726         * sysdeps/mach/configure: Likewise.
41727         * sysdeps/mach/hurd/configure: Likewise.
41728         * sysdeps/powerpc/configure: Likewise.
41729         * sysdeps/powerpc/powerpc32/configure: Likewise.
41730         * sysdeps/powerpc/powerpc64/configure: Likewise.
41731         * sysdeps/s390/s390-32/configure: Likewise.
41732         * sysdeps/s390/s390-64/configure: Likewise.
41733         * sysdeps/sh/configure: Likewise.
41734         * sysdeps/sparc/configure: Likewise.
41735         * sysdeps/unix/sysv/linux/configure: Likewise.
41736         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
41737         * sysdeps/x86_64/configure: Likewise.
41738         * sysdeps/x86_64/preconfigure: Likewise.
41740 2013-10-29  Andreas Schwab  <schwab@suse.de>
41742         * stdio-common/Makefile (tst-swscanf-ENV): Define.
41744 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41746         * benchtests/pow-inputs: Add new inputs.
41748         * benchtests/exp-inputs: Add new inputs.
41750         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
41751         conditional check for return value.
41752         (__cos32): Likewise.
41754 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41756         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
41757         to provide a boost for large inputs with word alignment.
41758         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
41759         implementation based on optimized PPC64 strcpy.
41760         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
41761         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
41762         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
41763         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
41765 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
41767         [BZ #2801]
41768         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
41770 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
41772         [BZ #14876]
41773         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
41774         * time/tst-strptime.c (day_tests): Add testcase.
41776 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
41778         [BZ #14029]
41779         * manual/pattern.texi: Acknowledge that fnmatch can fail.
41781 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
41783         [BZ #16074]
41784         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
41785         MAP_FAILED on error.
41787 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
41789         [BZ #16072]
41790         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
41791         heap for large requests.
41793 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
41795         [BZ #9954]
41796         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
41797         result if the result has no associated interface.
41798         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
41799         interface for all 127.X.Y.Z addresses.
41801 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
41803         * locale/iso-639.def: Add Ligurian (lij)
41805 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
41807         [BZ #15825]
41808         * sunrpc/rpc_main.c: Document rpcgen -5.
41810 2013-10-19  Michael Stahl  <mstahl@redhat.com>
41812         * elf/rtld.c (do_preload): Print the reason why preloading failed.
41814 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
41816         [BZ #10278]
41817         * posix/glob.c: Match only directories when trailing slash is present.
41818         * posix/tst-gnuglob.c (my_opendir): Do not open files.
41819         (main): Add testcase.
41821 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
41823         [BZ #15670]
41824         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
41826 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
41828         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
41829         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
41830         AUTH_DES and cindex for FIPS 140-2.
41831         (DES Encryption): Add cindex FIPS 46-3.
41833         * locale/locarchive.h (struct locarhandle): Add fname.
41834         * locale/programs/localedef.c (main): Pass ARGV[remaining]
41835         if an optional argument was specified to --list-archive,
41836         otherwise NULL.
41837         * locale/programs/locarchive.c (show_archive_content): Take new
41838         argument fname and pass it via ah.fname to open_archive.
41839         * locale/programs/localedef.h: Update decl.
41840         (open_archive): If AH->fname is non-null, open that file
41841         rather than the default file name, and don't ignore ENOENT.
41842         (create_archive): Set AH.fname to NULL.
41843         (delete_locales_from_archive): Likewise.
41844         (add_locales_to_archive): Likewise.
41845         * locale/programs/locfile.c (write_all_categories): Likewise.
41847 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
41848             Aldy Hernandez  <aldyh@redhat.com>
41850         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
41851         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
41852         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
41853         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
41854         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
41855         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
41856         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
41857         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
41858         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
41859         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
41860         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
41861         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
41862         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
41863         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
41864         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
41865         Likewise.
41866         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
41867         Likewise.
41868         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
41869         Likewise.
41870         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
41871         Likewise.
41872         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
41873         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
41874         Likewise.
41875         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
41876         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
41877         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
41878         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
41879         Likewise.
41880         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
41881         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
41882         * sysdeps/powerpc/preconfigure: Likewise.
41883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
41884         Likewise.
41885         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
41886         Replace contents of file by #include of <fenv_libc.h>.
41887         * sysdeps/powerpc/soft-fp/sfp-machine.h
41888         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
41889         and <sys/prctl.h>.
41890         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
41891         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
41892         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
41893         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
41894         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
41895         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
41896         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
41897         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
41898         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
41899         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
41900         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
41901         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
41902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
41903         Allow copysignl PLT reference to be missing.
41905 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
41906             Joseph Myers  <joseph@codesourcery.com
41908         [BZ #15948]
41909         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
41910         single character.
41911         (add_to_tablewc): Assert sequence of wide characters is nonempty.
41913 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
41915         * elf/tst-tls-dlinfo.c: Don't include tls.h.
41916         * elf/tst-tls1.c: Likewise.
41917         * elf/tst-tls10.h: Likewise.
41918         * elf/tst-tls14.c: Likewise.
41919         * elf/tst-tls2.c: Likewise.
41920         * elf/tst-tls3.c: Likewise.
41921         * elf/tst-tls4.c: Likewise.
41922         * elf/tst-tls5.c: Likewise.
41923         * elf/tst-tls6.c: Likewise.
41924         * elf/tst-tls7.c: Likewise.
41925         * elf/tst-tls8.c: Likewise.
41926         * elf/tst-tls9.c: Likewise.
41927         * elf/tst-tlsmod1.c: Likewise.
41928         * elf/tst-tlsmod13.c: Likewise.
41929         * elf/tst-tlsmod13a.c: Likewise.
41930         * elf/tst-tlsmod14a.c: Likewise.
41931         * elf/tst-tlsmod16a.c: Likewise.
41932         * elf/tst-tlsmod16b.c: Likewise.
41933         * elf/tst-tlsmod2.c: Likewise.
41934         * elf/tst-tlsmod3.c: Likewise.
41935         * elf/tst-tlsmod4.c: Likewise.
41936         * elf/tst-tlsmod5.c: Likewise.
41937         * elf/tst-tlsmod6.c: Likewise.
41939 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
41941         [BZ #12486]
41942         * malloc/malloc.c: remove checks for statistics.
41944 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
41946         [BZ #15277]
41947         * inet/inet_net.c (inet_network): Detect additional invalid strings.
41948         * inet/tst-network.c: Add testcase.
41950 2013-10-17  Andreas Schwab  <schwab@suse.de>
41952         [BZ #15218]
41953         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
41954         to determine canonical name.
41956 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
41958         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
41959         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
41960         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41961         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41962         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41963         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41964         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41965         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41966         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41967         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41968         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
41969         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41970         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41971         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41972         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41973         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41974         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41975         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41976         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
41977         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41978         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41979         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41980         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41981         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
41982         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
41983         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41984         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41985         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
41986         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41987         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
41988         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41989         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41990         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
41991         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41992         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41993         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41994         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41995         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41996         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41997         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41998         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41999         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42000         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42001         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42002         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42003         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42004         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42005         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42006         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42007         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42008         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42009         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42010         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42011         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42012         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42013         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42014         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42015         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42017 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
42019         [BZ #16041]
42020         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
42021         make result into a quiet NaN.
42023 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
42025         * soft-fp/adddf3.c: Fix horizontal whitespace.
42026         * soft-fp/addsf3.c: Likewise.
42027         * soft-fp/addtf3.c: Likewise.
42028         * soft-fp/divdf3.c: Likewise.
42029         * soft-fp/divsf3.c: Likewise.
42030         * soft-fp/divtf3.c: Likewise.
42031         * soft-fp/double.h: Likewise.
42032         * soft-fp/eqdf2.c: Likewise.
42033         * soft-fp/eqsf2.c: Likewise.
42034         * soft-fp/eqtf2.c: Likewise.
42035         * soft-fp/extenddftf2.c: Likewise.
42036         * soft-fp/extended.h: Likewise.
42037         * soft-fp/extendsfdf2.c: Likewise.
42038         * soft-fp/extendsftf2.c: Likewise.
42039         * soft-fp/extendxftf2.c: Likewise.
42040         * soft-fp/fixdfdi.c: Likewise.
42041         * soft-fp/fixdfsi.c: Likewise.
42042         * soft-fp/fixdfti.c: Likewise.
42043         * soft-fp/fixsfdi.c: Likewise.
42044         * soft-fp/fixsfsi.c: Likewise.
42045         * soft-fp/fixsfti.c: Likewise.
42046         * soft-fp/fixtfdi.c: Likewise.
42047         * soft-fp/fixtfsi.c: Likewise.
42048         * soft-fp/fixtfti.c: Likewise.
42049         * soft-fp/fixunsdfdi.c: Likewise.
42050         * soft-fp/fixunsdfsi.c: Likewise.
42051         * soft-fp/fixunsdfti.c: Likewise.
42052         * soft-fp/fixunssfdi.c: Likewise.
42053         * soft-fp/fixunssfsi.c: Likewise.
42054         * soft-fp/fixunssfti.c: Likewise.
42055         * soft-fp/fixunstfdi.c: Likewise.
42056         * soft-fp/fixunstfsi.c: Likewise.
42057         * soft-fp/fixunstfti.c: Likewise.
42058         * soft-fp/floatdidf.c: Likewise.
42059         * soft-fp/floatdisf.c: Likewise.
42060         * soft-fp/floatditf.c: Likewise.
42061         * soft-fp/floatsidf.c: Likewise.
42062         * soft-fp/floatsisf.c: Likewise.
42063         * soft-fp/floatsitf.c: Likewise.
42064         * soft-fp/floattidf.c: Likewise.
42065         * soft-fp/floattisf.c: Likewise.
42066         * soft-fp/floattitf.c: Likewise.
42067         * soft-fp/floatundidf.c: Likewise.
42068         * soft-fp/floatundisf.c: Likewise.
42069         * soft-fp/floatunditf.c: Likewise.
42070         * soft-fp/floatunsidf.c: Likewise.
42071         * soft-fp/floatunsisf.c: Likewise.
42072         * soft-fp/floatunsitf.c: Likewise.
42073         * soft-fp/floatuntidf.c: Likewise.
42074         * soft-fp/floatuntisf.c: Likewise.
42075         * soft-fp/floatuntitf.c: Likewise.
42076         * soft-fp/fmadf4.c: Likewise.
42077         * soft-fp/fmasf4.c: Likewise.
42078         * soft-fp/fmatf4.c: Likewise.
42079         * soft-fp/gedf2.c: Likewise.
42080         * soft-fp/gesf2.c: Likewise.
42081         * soft-fp/getf2.c: Likewise.
42082         * soft-fp/ledf2.c: Likewise.
42083         * soft-fp/lesf2.c: Likewise.
42084         * soft-fp/letf2.c: Likewise.
42085         * soft-fp/muldf3.c: Likewise.
42086         * soft-fp/mulsf3.c: Likewise.
42087         * soft-fp/multf3.c: Likewise.
42088         * soft-fp/negdf2.c: Likewise.
42089         * soft-fp/negsf2.c: Likewise.
42090         * soft-fp/negtf2.c: Likewise.
42091         * soft-fp/op-1.h: Likewise.
42092         * soft-fp/op-2.h: Likewise.
42093         * soft-fp/op-4.h: Likewise.
42094         * soft-fp/op-8.h: Likewise.
42095         * soft-fp/op-common.h: Likewise.
42096         * soft-fp/quad.h: Likewise.
42097         * soft-fp/single.h: Likewise.
42098         * soft-fp/soft-fp.h: Likewise.
42099         * soft-fp/sqrtdf2.c: Likewise.
42100         * soft-fp/sqrtsf2.c: Likewise.
42101         * soft-fp/sqrttf2.c: Likewise.
42102         * soft-fp/subdf3.c: Likewise.
42103         * soft-fp/subsf3.c: Likewise.
42104         * soft-fp/subtf3.c: Likewise.
42105         * soft-fp/truncdfsf2.c: Likewise.
42106         * soft-fp/trunctfdf2.c: Likewise.
42107         * soft-fp/trunctfsf2.c: Likewise.
42108         * soft-fp/trunctfxf2.c: Likewise.
42109         * soft-fp/unorddf2.c: Likewise.
42110         * soft-fp/unordsf2.c: Likewise.
42111         * soft-fp/unordtf2.c: Likewise.
42113 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
42115         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
42116         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
42118 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
42120         * elf/dl-libc.c: Clear initfini list after freeing.
42122 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
42124         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
42125         * soft-fp/addsf3.c: Likewise.
42126         * soft-fp/addtf3.c: Likewise.
42127         * soft-fp/divdf3.c: Likewise.
42128         * soft-fp/divsf3.c: Likewise.
42129         * soft-fp/divtf3.c: Likewise.
42130         * soft-fp/double.h: Likewise.
42131         * soft-fp/eqdf2.c: Likewise.
42132         * soft-fp/eqsf2.c: Likewise.
42133         * soft-fp/eqtf2.c: Likewise.
42134         * soft-fp/extenddftf2.c: Likewise.
42135         * soft-fp/extended.h: Likewise.
42136         * soft-fp/extendsfdf2.c: Likewise.
42137         * soft-fp/extendsftf2.c: Likewise.
42138         * soft-fp/extendxftf2.c: Likewise.
42139         * soft-fp/fixdfdi.c: Likewise.
42140         * soft-fp/fixdfsi.c: Likewise.
42141         * soft-fp/fixdfti.c: Likewise.
42142         * soft-fp/fixsfdi.c: Likewise.
42143         * soft-fp/fixsfsi.c: Likewise.
42144         * soft-fp/fixsfti.c: Likewise.
42145         * soft-fp/fixtfdi.c: Likewise.
42146         * soft-fp/fixtfsi.c: Likewise.
42147         * soft-fp/fixtfti.c: Likewise.
42148         * soft-fp/fixunsdfdi.c: Likewise.
42149         * soft-fp/fixunsdfsi.c: Likewise.
42150         * soft-fp/fixunsdfti.c: Likewise.
42151         * soft-fp/fixunssfdi.c: Likewise.
42152         * soft-fp/fixunssfsi.c: Likewise.
42153         * soft-fp/fixunssfti.c: Likewise.
42154         * soft-fp/fixunstfdi.c: Likewise.
42155         * soft-fp/fixunstfsi.c: Likewise.
42156         * soft-fp/fixunstfti.c: Likewise.
42157         * soft-fp/floatdidf.c: Likewise.
42158         * soft-fp/floatdisf.c: Likewise.
42159         * soft-fp/floatditf.c: Likewise.
42160         * soft-fp/floatsidf.c: Likewise.
42161         * soft-fp/floatsisf.c: Likewise.
42162         * soft-fp/floatsitf.c: Likewise.
42163         * soft-fp/floattidf.c: Likewise.
42164         * soft-fp/floattisf.c: Likewise.
42165         * soft-fp/floattitf.c: Likewise.
42166         * soft-fp/floatundidf.c: Likewise.
42167         * soft-fp/floatundisf.c: Likewise.
42168         * soft-fp/floatunsidf.c: Likewise.
42169         * soft-fp/floatunsisf.c: Likewise.
42170         * soft-fp/floatuntidf.c: Likewise.
42171         * soft-fp/floatuntisf.c: Likewise.
42172         * soft-fp/floatuntitf.c: Likewise.
42173         * soft-fp/fmadf4.c: Likewise.
42174         * soft-fp/fmasf4.c: Likewise.
42175         * soft-fp/fmatf4.c: Likewise.
42176         * soft-fp/gedf2.c: Likewise.
42177         * soft-fp/gesf2.c: Likewise.
42178         * soft-fp/getf2.c: Likewise.
42179         * soft-fp/ledf2.c: Likewise.
42180         * soft-fp/lesf2.c: Likewise.
42181         * soft-fp/letf2.c: Likewise.
42182         * soft-fp/muldf3.c: Likewise.
42183         * soft-fp/mulsf3.c: Likewise.
42184         * soft-fp/multf3.c: Likewise.
42185         * soft-fp/negdf2.c: Likewise.
42186         * soft-fp/negsf2.c: Likewise.
42187         * soft-fp/negtf2.c: Likewise.
42188         * soft-fp/op-1.h: Likewise.
42189         * soft-fp/op-2.h: Likewise.
42190         * soft-fp/op-4.h: Likewise.
42191         * soft-fp/op-8.h: Likewise.
42192         * soft-fp/op-common.h: Likewise.
42193         * soft-fp/quad.h: Likewise.
42194         * soft-fp/single.h: Likewise.
42195         * soft-fp/soft-fp.h: Likewise.
42196         * soft-fp/sqrtdf2.c: Likewise.
42197         * soft-fp/sqrtsf2.c: Likewise.
42198         * soft-fp/sqrttf2.c: Likewise.
42199         * soft-fp/subdf3.c: Likewise.
42200         * soft-fp/subsf3.c: Likewise.
42201         * soft-fp/subtf3.c: Likewise.
42202         * soft-fp/truncdfsf2.c: Likewise.
42203         * soft-fp/trunctfdf2.c: Likewise.
42204         * soft-fp/trunctfsf2.c: Likewise.
42205         * soft-fp/trunctfxf2.c: Likewise.
42206         * soft-fp/unorddf2.c: Likewise.
42207         * soft-fp/unordsf2.c: Likewise.
42208         * soft-fp/unordtf2.c: Likewise.
42210 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
42212         [BZ #15672]
42213         * misc/error.c (error_tail): Fix possible buffer overflow.
42215 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
42217         [BZ #13028]
42218         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
42219         address.
42221 2013-10-14  P. J. McDermott  <pj@pehjota.net>
42223         [BZ #832]
42224         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
42225         testing pipefail option.
42227 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
42229         * soft-fp/double.h: Indent preprocessor directives inside #if.
42230         * soft-fp/extended.h: Likewise.
42231         * soft-fp/op-2.h: Likewise.
42232         * soft-fp/op-4.h: Likewise.
42233         * soft-fp/op-common.h: Likewise.
42234         * soft-fp/quad.h: Likewise.
42235         * soft-fp/single.h: Likewise.
42236         * soft-fp/soft-fp.h: Likewise.
42238 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
42240         * iconv/iconv_prog.c: Fix typos.
42241         * stdio-common/psiginfo-data.h: Likewise.
42243 2013-10-12   Reuben Thomas <rrt@sc3d.org>
42245         [BZ #15764]
42246         * locale/setlocale.c: Fix typo.
42248 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
42250         [BZ #16036]
42251         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
42252         signaling NaN arguments.
42253         * soft-fp/unordsf2.c (__unordsf2): Likewise.
42254         * soft-fp/unordtf2.c (__unordtf2): Likewise.
42256         [BZ #14910]
42257         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
42258         unordered operands.
42259         * soft-fp/gesf2.c (__gesf2): Likewise.
42260         * soft-fp/getf2.c (__getf2): Likewise.
42261         * soft-fp/ledf2.c (__ledf2): Likewise.
42262         * soft-fp/lesf2.c (__lesf2): Likewise.
42263         * soft-fp/letf2.c (__letf2): Likewise.
42265         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
42266         * soft-fp/eqsf2.c (__eqsf2): Likewise.
42267         * soft-fp/eqtf2.c (__eqtf2): Likewise.
42268         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
42269         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
42270         * soft-fp/fixdfti.c (__fixdfti): Likewise.
42271         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
42272         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
42273         * soft-fp/fixsfti.c (__fixsfti): Likewise.
42274         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
42275         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
42276         * soft-fp/fixtfti.c (__fixtfti): Likewise.
42277         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
42278         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
42279         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
42280         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
42281         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
42282         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
42283         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
42284         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
42285         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
42286         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
42287         * soft-fp/floatdisf.c (__floatdisf): Likewise.
42288         * soft-fp/floatsisf.c (__floatsisf): Likewise.
42289         * soft-fp/floattidf.c (__floattidf): Likewise.
42290         * soft-fp/floattisf.c (__floattisf): Likewise.
42291         * soft-fp/floattitf.c (__floattitf): Likewise.
42292         * soft-fp/floatundidf.c (__floatundidf): Likewise.
42293         * soft-fp/floatundisf.c (__floatundisf): Likewise.
42294         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
42295         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
42296         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
42297         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
42298         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
42299         * soft-fp/gesf2.c (__gesf2): Likewise.
42300         * soft-fp/getf2.c (__getf2): Likewise.
42301         * soft-fp/ledf2.c (__ledf2): Likewise.
42302         * soft-fp/lesf2.c (__lesf2): Likewise.
42303         * soft-fp/letf2.c (__letf2): Likewise.
42305         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
42306         Undefine and redefine.
42307         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
42308         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
42309         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
42310         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
42311         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42312         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
42313         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42314         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
42315         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42316         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
42317         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42318         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
42319         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42320         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
42321         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42323         [BZ #16032]
42324         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
42325         without decrementing exponent if mantissa >= that for the
42326         denominator, not >.
42327         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
42328         denominator, not >.  Decrement exponent in < case instead of
42329         incrementing in >= case.
42330         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
42331         without decrementing exponent if mantissa >= that for the
42332         denominator, not >.
42334         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
42335         computing saturated result for unsigned overflow.
42337 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42338             Jeff Law  <law@redhat.com>
42340         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
42341         (atan2Mp): Add systemtap probe marker.
42342         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
42343         (__ieee754_log): Add systemtap probe marker.
42344         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
42345         (atanMp): Add systemtap probe marker.
42346         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
42347         (tanMp): Add systemtap probe marker.
42348         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
42349         (__slowexp): Add systemtap probe marker.
42350         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
42351         (__slowpow): Add systemtap probe marker.
42352         * manual/probes.texi: Document probes.
42354 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
42356         [BZ #15362]
42357         * libio/fileops.c (_IO_new_file_write): Return count of bytes
42358         written.
42359         (_IO_new_file_xsputn): Don't return EOF if nothing has been
42360         written.
42361         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
42362         written to buffer but not flushed.
42363         * libio/iofwrite_u.c:  Likewise.
42364         * libio/iopadn.c:  Return bytes returned even if EOF was
42365         encountered.
42366         * libio/iowpadn.c:  Likewise.
42367         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
42368         if _IO_padn does not write the whole buffer.
42369         [!COMPILE_WPRINTF] (PAD): Likewise.
42371 2013-10-10  David S. Miller  <davem@davemloft.net>
42373         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
42374         directory block.
42376 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
42378         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
42379         instead of FSF address.
42380         * soft-fp/fixdfti.c: Likewise.
42381         * soft-fp/fixsfti.c: Likewise.
42382         * soft-fp/fixtfti.c: Likewise.
42383         * soft-fp/fixunsdfti.c: Likewise.
42384         * soft-fp/fixunssfti.c: Likewise.
42385         * soft-fp/fixunstfti.c: Likewise.
42386         * soft-fp/floattidf.c: Likewise.
42387         * soft-fp/floattisf.c: Likewise.
42388         * soft-fp/floattitf.c: Likewise.
42389         * soft-fp/floatuntidf.c: Likewise.
42390         * soft-fp/floatuntisf.c: Likewise.
42391         * soft-fp/floatuntitf.c: Likewise.
42392         * soft-fp/trunctfxf2.c: Likewise.
42394         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
42395         * soft-fp/fixdfti.c: Likewise.
42396         * soft-fp/fixsfti.c: Likewise.
42397         * soft-fp/fixtfti.c: Likewise.
42398         * soft-fp/fixunsdfti.c: Likewise.
42399         * soft-fp/fixunssfti.c: Likewise.
42400         * soft-fp/fixunstfti.c: Likewise.
42401         * soft-fp/floattidf.c: Likewise.
42402         * soft-fp/floattisf.c: Likewise.
42403         * soft-fp/floattitf.c: Likewise.
42404         * soft-fp/floatuntidf.c: Likewise.
42405         * soft-fp/floatuntisf.c: Likewise.
42406         * soft-fp/floatuntitf.c: Likewise.
42407         * soft-fp/trunctfxf2.c: Likewise.
42409 2013-10-10  David S. Miller  <davem@davemloft.net>
42411         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42413 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
42415         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
42416         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
42417         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
42418         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
42419         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
42420         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
42421         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
42423         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
42424         for NaNs before doing comparisons on argument.
42425         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
42426         Likewise.
42428 2013-10-10  Will Newton  <will.newton@linaro.org>
42430         * malloc/hooks.c (memalign_check): Ensure the value of bytes
42431         passed to _int_memalign does not overflow.
42433 2013-10-10  Torvald Riegel  <triegel@redhat.com>
42435         * scripts/bench.pl: Add include-sources directive.
42436         * benchtests/README: Update documentation.
42438 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
42440         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
42441         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
42442         instead of FP_INIT_ROUNDMODE.
42443         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
42444         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
42446         [BZ #16034]
42447         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
42448         copy class of input value.
42449         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
42450         not handle exceptions.
42451         * soft-fp/negsf2.c (__negsf2): Likewise.
42452         * soft-fp/negtf2.c (__negtf2): Likewise.
42453         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
42455 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
42457         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
42458         semicolon.  From Linux kernel.
42460 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
42462         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
42464 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
42466         [BZ #156]
42467         * manual/socket.texi: Added statement about buffer
42468         for gethostbyname2_r.
42470 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
42472         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
42473         Use .p2align directive instead, throughout.
42474         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
42475         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
42476         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
42477         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42478         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42479         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
42480         * sysdeps/x86_64/strchr.S: Likewise.
42481         * sysdeps/x86_64/strrchr.S: Likewise.
42483 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
42485         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
42487         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
42489         * sysdeps/generic/math_private.h (__mpsin1): Remove
42490         declaration.
42491         (__mpcos1): Likewise.
42492         (__mpsin): New argument __range_reduce.
42493         (__mpcos): Likewise.
42494         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42495         (slow): Use __mpsin and __mpcos.
42496         (slow1): Likewise.
42497         (slow2): Likewise.
42498         (sloww): Likewise.
42499         (sloww1): Likewise.
42500         (sloww2): Likewise.
42501         (bsloww): Likewise.
42502         (bsloww1): Likewise.
42503         (bsloww2): Likewise.
42504         (cslow2): Likewise.
42505         (csloww): Likewise.
42506         (csloww1): Likewise.
42507         (csloww2): Likewise.
42508         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
42509         range_reduce.  Merge in __mpsin1.
42510         (__mpcos): Likewise.
42511         (__mpsin1): Remove.
42512         (__mpcos1): Likewise.
42514 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
42516         * locale/loadlocale.c (_nl_intern_locale_data): Use
42517         LOCFILE_ALIGNED_P.
42518         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
42519         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
42520         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
42521         obstack data is appropriately aligned.
42522         (obstack_int32_grow_fast): Likewise.
42523         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
42524         * locale/programs/locfile.c (add_locale_uint32): Likewise.
42525         (add_locale_uint32_array): Likewise.
42527 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
42529         * benchtests/Makefile: Remove ARGLIST and RET variables.
42530         ($(objpfx)bench-%.c): Pass only function name to the script.
42531         * benchtests/README: Update documentation.
42532         * benchtests/acos-inputs: Add new directives.
42533         * benchtests/acosh-inputs: Likewise.
42534         * benchtests/asin-inputs: Likewise.
42535         * benchtests/asinh-inputs: Likewise.
42536         * benchtests/atan-inputs: Likewise.
42537         * benchtests/atanh-inputs: Likewise.
42538         * benchtests/cos-inputs: Likewise.
42539         * benchtests/cosh-inputs: Likewise.
42540         * benchtests/exp-inputs: Likewise.
42541         * benchtests/log-inputs: Likewise.
42542         * benchtests/pow-inputs: Likewise.
42543         * benchtests/rint-inputs: Likewise.
42544         * benchtests/sin-inputs: Likewise.
42545         * benchtests/sinh-inputs: Likewise.
42546         * benchtests/tan-inputs: Likewise.
42547         * benchtests/tanh-inputs: Likewise.
42548         * scripts/bench.pl: Add support for new directives.
42550 2013-10-07  Alan Modra  <amodra@gmail.com>
42552         * README: Fix careless merge.
42554 2013-10-05  Alan Modra  <amodra@gmail.com>
42556         * NEWS: Mention powerpc64le support and bugs fixed.
42557         * README: Both big-endian and little-endian powerpc64 supported.
42559 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42561         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
42562         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
42563         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
42564         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
42566 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
42568         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
42569         match prototype.
42571 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
42573         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
42574         Move -mhard-float appending from
42575         ports/sysdeps/powerpc/powerpc32/Makefile.
42576         [$(with-fp) = yes] (ASFLAGS): Likewise.
42577         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
42578         * sysdeps/powerpc/nofpu: Move directory from
42579         ports/sysdeps/powerpc/nofpu.
42580         * sysdeps/powerpc/soft-fp: Move directory from
42581         ports/sysdeps/powerpc/soft-fp.
42582         * sysdeps/powerpc/powerpc32/405: Move directory from
42583         ports/sysdeps/powerpc/powerpc32/405.
42584         * sysdeps/powerpc/powerpc32/440: Move directory from
42585         ports/sysdeps/powerpc/powerpc32/440.
42586         * sysdeps/powerpc/powerpc32/464: Move directory from
42587         ports/sysdeps/powerpc/powerpc32/464.
42588         * sysdeps/powerpc/powerpc32/476: Move directory from
42589         ports/sysdeps/powerpc/powerpc32/476.
42590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
42591         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
42592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
42593         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
42594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
42595         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
42596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
42597         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
42598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
42599         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
42600         * README: Update for powerpc-*-linux-gnu software floating point
42601         support in libc.
42603         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
42604         case to powerpc/powerpc32*.
42605         * sysdeps/unix/sysv/linux/configure: Regenerated.
42607         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
42608         (_FPU_MASK_OM): Define as 0x04.
42609         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
42610         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
42611         0x00c10080.
42612         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
42613         0x0000003c.
42614         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
42616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
42617         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
42618         getcontext_e500.
42619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
42620         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
42621         setcontext_e500.
42622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
42623         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
42624         and setcontext_e500.
42626 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
42628         * locale/iso-3166.def: Update iso-1366.def and related occurrences
42630 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42632         * manual/threads.texi (Default Thread Attributes): Fix typo.
42634 2013-10-04  Will Newton  <will.newton@linaro.org>
42636         * malloc/Makefile: Add tst-memalign.
42637         * malloc/tst-memalign.c: New file.
42639         * malloc/tst-posix_memalign.c: Add comments.
42640         (do_test): Add comments and call free on all potentially
42641         allocated pointers. Add space after cast.
42643         * malloc/tst-pvalloc.c: Add comments.
42644         (do_test): Add comments and call free on all potentially
42645         allocated pointers. Remove duplicate check for NULL pointer.
42646         Add space after cast.
42648         * malloc/tst-valloc.c: Add comments.
42649         (do_test): Add comments and call free on all potentially
42650         allocated pointers. Remove duplicate check for NULL pointer.
42651         Add space after cast.
42653 2013-10-04  Alan Modra  <amodra@gmail.com>
42655         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
42656         Use stdint types in rather than __attribute__((mode())).
42657         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
42659 2013-10-04  Alan Modra  <amodra@gmail.com>
42661         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
42662         Correct handling of unaligned relocs for little-endian.
42663         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
42665 2013-10-04  Alan Modra  <amodra@gmail.com>
42667         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
42668         * configure: Regenerate.
42669         * nptl/shlib-versions: Powerpc*le starts at 2.18.
42670         * shlib-versions: Likewise.
42672 2013-10-04  Alan Modra  <amodra@gmail.com>
42674         * string/tester.c (test_memrchr): Increment reported test cycle.
42676 2013-10-04  Alan Modra  <amodra@gmail.com>
42678         * string/test-memcpy.c (do_one_test): When reporting errors, print
42679         string address and don't overrun end of string.
42681 2013-10-04  Alan Modra  <amodra@gmail.com>
42683         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
42684         insrdi.  Make better use of reg selection to speed exit slightly.
42685         Schedule entry path a little better.  Remove useless "are we done"
42686         checks on entry to main loop.  Handle wrapping around zero address.
42687         Correct main loop count.  Handle single left-over word from main
42688         loop inline rather than by using loop_small.  Remove extra word
42689         case in loop_small caused by wrong loop count.  Add little-endian
42690         support.
42691         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
42692         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
42693         cache hint.
42694         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
42695         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
42696         support.  Avoid rlwimi.
42697         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
42699 2013-10-04  Alan Modra  <amodra@gmail.com>
42701         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
42702         insrdi.  Formatting.
42703         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
42704         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
42705         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
42706         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
42707         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
42708         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
42710 2013-10-04  Alan Modra  <amodra@gmail.com>
42712         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
42713         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42714         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
42715         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
42716         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
42717         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
42718         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
42719         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42720         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
42721         use of regs.  Use power7 mtocrf.  Tidy function tails.
42723 2013-10-04  Alan Modra  <amodra@gmail.com>
42725         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
42726         Formatting.  Consistently use rXXX register defines or rN defines.
42727         Use early exit labels that avoid restoring unused non-volatile regs.
42728         Make cr field use more consistent with rWORDn compares.  Rename
42729         regs used as shift registers for unaligned loop, using rN defines
42730         for short lifetime/multiple use regs.
42731         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
42732         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
42733         addi 1,1,64 to pop stack frame.  Simplify return value code.
42734         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42736 2013-10-04  Alan Modra  <amodra@gmail.com>
42738         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
42739         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
42740         rather than rlwimi.
42741         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
42742         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
42743         little-endian support.  Correct typos.
42744         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
42745         rather than rlwimi.
42746         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
42747         in loop and entry code to keep "and." results.
42748         (strchr): Add little-endian support.  Comment.  Move cntlzd
42749         earlier in tail.
42750         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
42752 2013-10-04  Alan Modra  <amodra@gmail.com>
42754         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
42755         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
42756         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
42757         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
42759 2013-10-04  Alan Modra  <amodra@gmail.com>
42761         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
42762         (rTMP): Define as r11.
42763         (strcmp): Add little-endian support.  Optimise tail.
42764         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
42765         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
42766         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
42767         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42768         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
42769         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42770         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42772 2013-10-04  Alan Modra  <amodra@gmail.com>
42774         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
42775         little-endian support.  Remove unnecessary "are we done" tests.
42776         Handle "s" wrapping around zero and extremely large "size".
42777         Correct main loop count.  Handle single left-over word from main
42778         loop inline rather than by using small_loop.  Correct comments.
42779         Delete "zero" tail, use "end_max" instead.
42780         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
42782 2013-10-04  Alan Modra  <amodra@gmail.com>
42784         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
42785         support.  Don't branch over align.
42786         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
42787         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
42788         support.  Rearrange tmp reg use to suit.  Comment.
42789         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
42791 2013-10-04  Alan Modra  <amodra@gmail.com>
42793         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
42795 2013-10-04  Alan Modra  <amodra@gmail.com>
42797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
42798         conditional form of branch and link when obtaining pc.
42799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
42801 2013-10-04  Alan Modra  <amodra@gmail.com>
42803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
42804         HIWORD/LOWORD.
42805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
42806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
42808 2013-10-04  Alan Modra  <amodra@gmail.com>
42810         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
42811         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
42812         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
42813         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
42814         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
42815         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
42816         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
42817         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
42818         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
42819         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
42821 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42822             Alistair Popple <alistair@ozlabs.au.ibm.com>
42823             Alan Modra <amodra@gmail.com>
42825         [BZ #15723]
42826         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
42827         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
42828         _dl_hwcap access for little-endian.
42829         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
42830         destroy vmx regs when saving unaligned.
42831         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
42832         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
42833         destroy vmx regs when saving unaligned.
42835 2013-10-04  Alan Modra  <amodra@gmail.com>
42837         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
42838         Don't use a union to pack hi/low value.
42840 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42842         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
42843         for little-endian.
42844         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
42845         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
42846         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
42847         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
42848         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
42850 2013-10-04  Alan Modra  <amodra@gmail.com>
42852         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
42853         constants to usual value for .cst8 section, and remove redundant
42854         high address load.
42855         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
42856         constant for 0x1p52.  Load little-endian words of double from
42857         correct stack offsets.
42859 2013-10-04  Alan Modra  <amodra@gmail.com>
42861         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
42862         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
42863         words of double from correct stack offsets.
42864         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
42865         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
42866         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
42867         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
42868         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
42869         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
42870         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
42871         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
42872         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
42873         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
42874         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
42875         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
42876         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42877         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42878         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42879         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
42880         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
42882 2013-10-04  Alan Modra  <amodra@gmail.com>
42884         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
42885         64-bit int/double union.
42886         (_FPU_SETCW): Likewise.
42887         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
42888         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
42890 2013-10-04  Alan Modra  <amodra@gmail.com>
42892         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
42893         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
42895 2013-10-04  Alan Modra  <amodra@gmail.com>
42897         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
42898         use vector int constants.
42899         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
42901 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42903         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
42904         array with long long.
42905         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
42906         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
42907         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
42908         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
42909         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
42910         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
42911         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
42912         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
42913         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
42914         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
42915         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
42916         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
42917         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
42919 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42921         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
42922         (__signbit): Likewise.  Correct for little-endian.
42923         (__signbitl): Call __signbit.
42924         (lrint): Correct for little-endian.
42925         (lrintf): Call lrint.
42927 2013-10-04  Alan Modra  <amodra@gmail.com>
42929         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
42930         union 32-bit int array member with 64-bit int array.
42931         (t515, tm256): Double rather than long double.
42932         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
42934 2013-10-04  Alan Modra  <amodra@gmail.com>
42936         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
42937         Delete.
42938         (IEEE854_LONG_DOUBLE_BIAS): Delete.
42939         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
42940         version of math_ldbl.h.
42942 2013-10-04  Alan Modra  <amodra@gmail.com>
42944         [BZ #15734], [BZ #15735]
42945         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
42946         all uses of ieee875 long double macros and unions.  Simplify test
42947         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
42948         ldbl_extract_mantissa value for ix,iy exponents.  Properly
42949         normalize after ldbl_extract_mantissa, and don't add hidden bit
42950         already handled.  Don't treat low word of ieee854 mantissa like
42951         low word of IBM long double and mask off bit when testing for
42952         zero.
42953         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
42954         all uses of ieee875 long double macros and unions.  Simplify tests
42955         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
42956         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
42957         two1022, instead use their values.  Recognise that tests for large
42958         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
42959         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
42960         Rewrite all uses of ieee875 long double macros and unions.  Simplify
42961         test for 0.0L and nan.  Correct negation.
42962         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
42963         ieee875 long double macros and unions.  Correct output for large
42964         magnitude x.  Correct absolute value calculation.
42965         (__erfcl): Likewise.
42966         * math/libm-test.inc: Add tests for errors discovered in IBM long
42967         double versions of fmodl, remainderl, erfl and erfcl.
42969 2013-10-04  Alan Modra  <amodra@gmail.com>
42971         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
42972         all uses of ieee854 long double macros and unions.  Simplify tests
42973         for long doubles that are fully specified by the high double.
42974         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
42975         Likewise.
42976         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
42977         Remove dead code too.
42978         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
42979         (__ieee754_ynl): Likewise.
42980         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
42981         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
42982         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
42983         Remove dead code too.
42984         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
42985         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
42986         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
42987         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
42988         Simplify.
42989         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
42990         Simplify.
42991         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
42992         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
42993         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
42994         Comment on variable precision.
42995         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
42996         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
42997         Likewise.
42998         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
42999         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43000         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43001         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
43002         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
43004 2013-10-04  Alan Modra  <amodra@gmail.com>
43006         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
43007         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
43008         all uses of ieee854 long double macros and unions.
43009         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
43010         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43011         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
43012         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
43013         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
43014         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
43015         Likewise.
43016         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
43017         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
43018         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
43019         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
43020         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
43021         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
43022         Simplify sign and nan test too.
43023         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
43024         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
43025         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
43026         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
43027         Likewise.
43028         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
43029         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
43030         Likewise.
43031         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43032         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
43033         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
43034         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
43035         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
43036         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
43038 2013-10-04  Alan Modra  <amodra@gmail.com>
43040         * stdio-common/printf_size.c (__printf_size): Don't use
43041         union ieee854_long_double in fpnum union.
43042         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
43043         signbit macro to retrieve sign from long double.
43044         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
43045         retrieve sign from long double.
43046         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
43047         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
43048         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
43049         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
43050         * math/test-misc.c (main): Don't use union ieee854_long_double.
43052 2013-10-04  Alan Modra  <amodra@gmail.com>
43054         [BZ #15680]
43055         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
43056         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
43057         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
43058         calculation.  Remove unnecessary test for denormal exponent.
43059         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
43060         Correct handling of denormals.  Avoid undefined shift behaviour.
43061         Correct normalisation of low mantissa when low double is denormal.
43062         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
43063         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
43064         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
43065         Correct normalisation of low mantissa.  Test for overflow of high
43066         mantissa and normalise.
43067         (ldbl_nearbyint): Use more readable constant for two52.
43068         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
43069         (__mpn_construct_long_double): Fix test for overflow of high
43070         mantissa and correct normalisation.  Avoid undefined shift.
43072 2013-10-04  Alan Modra  <amodra@gmail.com>
43074         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
43075         (union ibm_extended_long_double): Define as an array of ieee754_double.
43076         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
43077         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
43078         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
43079         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43080         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43081         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
43082         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
43083         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
43084         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
43085         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
43086         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
43088 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
43090         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
43091         page size instead of calling getpagesize.
43093         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
43094         (LOCFILE_ALIGN_MASK): Likewise.
43095         (LOCFILE_ALIGN_UP): Likewise.
43096         (LOCFILE_ALIGNED_P): Likewise.
43097         * locale/programs/ld-collate.c (collate_output): Use the new
43098         macros instead of __alignof__ (int32_t).
43099         * locale/weight.h (findidx): Likewise.
43101 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
43103         [BZ #431]
43104         * manual/string.texi: Fix strncat and wcsncat.
43106 2013-10-03  Brooks Moses  <bmoses@google.com>
43108         [BZ #15915]
43109         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
43110         * Makerules: ...here, and adjust associated comments.
43112 2013-10-02  Will Newton  <will.newton@linaro.org>
43114         * malloc/Makefile: Add tst-pvalloc.
43115         * malloc/tst-pvalloc.c: New file.
43117 2013-10-02  Will Newton  <will.newton@linaro.org>
43119         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
43120         improve test coverage.
43122 2013-10-02  Will Newton  <will.newton@linaro.org>
43124         * malloc/Makefile: Add tst-posix_memalign.
43125         * malloc/tst-posix_memalign.c: New file.
43127 2013-10-01  Eric Blake  <eblake@redhat.com>
43129         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
43130         Use __THROWNL rather than __THROW on static functions.
43132 2013-09-30  Petr Machata  <pmachata@redhat.com>
43134         * elf/elf.h (R_AARCH64_ABS16): New macro.
43135         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
43136         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
43137         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
43138         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
43139         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
43140         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
43141         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
43142         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
43143         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
43144         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
43145         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
43146         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
43147         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
43148         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
43149         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
43150         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
43151         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
43152         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
43153         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
43154         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
43155         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
43156         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
43157         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
43158         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
43159         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
43160         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
43161         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
43162         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
43163         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
43164         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
43165         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
43166         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
43167         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
43168         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
43169         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
43170         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
43171         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
43172         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
43173         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
43174         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
43175         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
43176         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
43177         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
43178         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
43179         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
43180         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
43181         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
43182         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
43183         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
43184         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
43185         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
43186         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
43187         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
43188         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
43189         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
43190         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
43191         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
43192         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
43193         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
43194         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
43195         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
43196         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
43197         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
43198         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
43199         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
43200         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
43201         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
43202         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
43203         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
43204         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
43205         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
43206         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
43207         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
43208         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
43209         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
43210         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
43211         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
43212         (R_AARCH64_TLSDESC_LDR): Likewise.
43213         (R_AARCH64_TLSDESC_ADD): Likewise.
43214         (R_AARCH64_TLSDESC_CALL): Likewise.
43216 2013-09-30  Andreas Schwab  <schwab@suse.de>
43218         [BZ #15048]
43219         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
43220         the nss database lookup.
43221         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43222         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43224 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
43226         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
43228 2013-09-28  P. J. McDermott  <pj@pehjota.net>
43230         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
43231         ${Bash-specific parameter/pattern/string} parameter expansion.
43232         * sysdeps/unix/make-syscalls.sh: Likewise.
43234 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43236         * sysdeps/sh/stackguard-macros.h: New file.
43238 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
43240         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
43241         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
43242         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
43243         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
43244         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43245         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
43247 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43249         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
43250         Fix thread ID register.
43252 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
43254         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
43255         [POSIX || UNIX98]: Require rather than permitting all symbols from
43256         <time.h>.
43257         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
43258         element of struct sched_param.
43259         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
43260         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
43261         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
43262         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
43263         constant.
43265 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
43267         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
43268         argument calculation.
43270 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
43272         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
43273         Expect macro.
43274         [POSIX] (pthread_attr_t): Do not require type.
43275         [POSIX] (pthread_cond_t): Likewise.
43276         [POSIX] (pthread_condattr_t): Likewise.
43277         [POSIX] (pthread_key_t): Likewise.
43278         [POSIX] (pthread_mutex_t): Likewise.
43279         [POSIX] (pthread_mutexattr_t): Likewise.
43280         [POSIX] (pthread_once_t): Likewise.
43281         [POSIX] (pthread_t): Likewise.
43282         [POSIX-based standards] (pthread_atfork): Expect function.
43284 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
43285             Richard Sandiford  <richard@codesourcery.com>
43287         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
43288         (swap_endianness_p): New extern variable.
43289         (set_big_endian): New inline function.
43290         (maybe_swap_uint32): Likewise.
43291         (maybe_swap_uint32_array): Likewise.
43292         (maybe_swap_uint32_obstack): Likewise.
43293         * locale/programs/locfile.c: Include <stdbool.h>.
43294         (swap_endianness_p): New variable.
43295         (add_locale_uint32): Call maybe_swap_uint32.
43296         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
43297         (write_locale_data): Call maybe_swap_uint32_array.
43298         * locale/programs/ld-collate.c (obstack_int32_grow): Call
43299         maybe_swap_uint32.
43300         (obstack_int32_grow_fast): Likewise.
43301         (output_weightwc): Call maybe_swap_uint32_obstack.
43302         (collate_output): Likewise.
43303         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
43304         (OPT_LITTLE_ENDIAN): Likewise.
43305         (options): Add --little-endian and --big-endian options.
43306         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
43307         * locale/programs/locarchive.c: Include "locfile.h".
43308         (GET): New macro.
43309         (SET): Likewise.
43310         (INC): Likewise.
43311         (create_archive): Use the new macros to access fields of
43312         structures directly mapped from or written to locale archives.
43313         (oldlocrecentcmp): Likewise.
43314         (enlarge_archive): Likewise.
43315         (insert_name): Likewise.
43316         (add_alias): Likewise.
43317         (add_locale): Likewise.
43318         (delete_locales_from_archive): Likewise.
43319         (show_archive_content): Likewise.
43320         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
43321         locale data.
43323 2013-09-24  Roland McGrath  <roland@hack.frob.com>
43325         * manual/freemanuals.texi: Updated from (newly) canonical copy at
43326         http://www.gnu.org/doc/freemanuals.texi.
43327         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
43329 2013-09-24  Will Newton  <will.newton@linaro.org>
43331         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
43332         macro.
43334 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
43336         * locale/hashval.h (compute_hashval): Interpret bytes of key as
43337         unsigned char.
43339 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
43341         * manual/threads.texi (POSIX Threads): Fix a typo.
43343 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
43345         [BZ #14547]
43346         * string/tst-strcoll-overflow.c: New test case.
43347         * string/Makefile (xtests): Add tst-strcoll-overflow.
43348         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
43349         cache if string sizes may cause integer overflow.
43351         [BZ #14547]
43352         * string/strcoll_l.c (coll_seq): New members rule, idx,
43353         save_idx and back_us.
43354         (get_next_seq_nocache): New function.
43355         (do_compare_nocache): New function.
43356         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
43357         when malloc fails.
43359 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
43361         [BZ #15754]
43362         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
43363         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
43364         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
43366         [BZ #15754]
43367         * elf/Makefile (tests): Add tst-ptrguard1.
43368         (tests-static): Add tst-ptrguard1-static.
43369         (tst-ptrguard1-ARGS): Define.
43370         (tst-ptrguard1-static-ARGS): Define.
43371         * elf/tst-ptrguard1.c: New file.
43372         * elf/tst-ptrguard1-static.c: New file.
43373         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
43374         * sysdeps/i386/stackguard-macros.h: Likewise.
43375         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43376         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43377         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43378         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43379         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43380         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43382 2013-09-23  Hector Marco  <hecmargi@upv.es>
43383             Ismael Ripoll  <iripoll@disca.upv.es>
43384             Carlos O'Donell  <carlos@redhat.com>
43386         [BZ #15754]
43387         * sysdeps/generic/stackguard-macros.h: Define
43388         __pointer_chk_guard_local and POINTER_CHK_GUARD.
43389         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
43390         Define __pointer_chk_guard_local.
43391         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
43392         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
43394 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
43396         [BZ #15859]
43397         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
43399 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
43401         * include/string.h (__ffs): Declare as hidden.
43402         * string/ffs.c (__ffs): Define as hidden.
43403         * sysdeps/i386/ffs.c (__ffs): Likewise.
43404         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
43405         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
43406         * sysdeps/s390/ffs.c (__ffs): Likewise.
43407         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
43409 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
43411         * NEWS: Mention malloc probes.
43413         * malloc/arena.c (new_heap): New memory_heap_new probe.
43414         (grow_heap): New memory_heap_more probe.
43415         (shrink_heap): New memory_heap_less probe.
43416         (heap_trim): New memory_heap_free probe.
43417         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
43418         (systrim): New memory_sbrk_less probe.
43419         * manual/probes.texi: Document them.
43421         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
43422         * manual/probes.texi: Document it.
43424         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
43425         (__libc_realloc): Add memory_realloc_retry probe.
43426         (__libc_memalign): Add memory_memalign_retry probe.
43427         (__libc_valloc): Add memory_valloc_retry probe.
43428         (__libc_pvalloc): Add memory_pvalloc_retry probe.
43429         (__libc_calloc): Add memory_calloc_retry probe.
43430         * manual/probes.texi: Document them.
43432         * malloc/arena.c (get_free_list): Add probe
43433         memory_arena_reuse_free_list.
43434         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
43435         and memory_arena_reuse.
43436         (arena_get2) [!PER_THREAD]: Likewise.
43437         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
43438         memory_arena_reuse_realloc.
43439         * manual/probes.texi: Document them.
43441         * malloc/malloc.c (__libc_free): Add
43442         memory_mallopt_free_dyn_thresholds probe.
43443         (__libc_mallopt): Add multiple memory_mallopt probes.
43444         * manual/probes.texi: Document them.
43446         * malloc/malloc.c: Include stap-probe.h.
43447         (__libc_mallopt): Add memory_mallopt probe.
43448         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
43449         * manual/probes.texi: New.
43450         * manual/Makefile (chapters): Add probes.
43451         * manual/threads.texi: Set next node.
43453 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
43455         [BZ #15963, #13985]
43456         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
43457         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
43458         Add `Chinese' to `nan' entry name.
43460 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43462         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
43463         (POLYNOMIAL): Likewise.
43464         (TAYLOR_SINCOS): Likewise.
43465         (TAYLOR_SLOW): Likewise.
43466         (__sin): Use TAYLOR_SINCOS.
43467         (__cos): Likewise.
43468         (slow): Use TAYLOR_SLOW.
43469         (sloww): Likewise.
43470         (bsloww): Likewise.
43471         (csloww): Likewise.
43473 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43475         * stdlib/strtod_l.c: Fix buffer overrun.
43477 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43479         * benchtests/Makefile (bench): Add sincos.
43480         * benchtests/bench-sincos.c: New file.
43482         * math/libm-test.inc (cos_test_data): New test inputs.
43483         (sin_test_data): Likewise.
43485         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
43486         macro.
43487         (__sin): Use it.
43488         (__cos): Likewise.
43489         (slow1): Likewise.
43490         (slow2): Likewise.
43491         (sloww1): Likewise.
43492         (sloww2): Likewise.
43493         (bsloww1): Likewise.
43494         (bsloww2): Likewise.
43495         (cslow2): Likewise.
43496         (csloww1): Likewise.
43497         (csloww2): Likewise.
43499         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
43500         function.
43501         (__sin): Use it.
43502         (__cos): Likewise.
43504         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
43505         gotos.
43506         (__cos): Likewise.
43508 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
43510         * config.h.in (HAVE_MIPS_NAN2008): New macro.
43511         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
43512         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
43513         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
43514         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
43515         * elf/cache.c (print_entry): Handle the new cache flags.
43517 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
43518             Aldy Hernandez  <aldyh@redhat.com>
43520         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
43521         Change condition to [_SOFT_FLOAT].
43522         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
43523         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
43524         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
43525         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
43526         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
43527         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
43528         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
43529         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
43530         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
43531         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
43532         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
43533         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
43534         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
43535         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
43536         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
43537         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
43538         declaration.
43540 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
43542         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
43543         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
43544         (__longjmp): Use LOAD_GP to load saved GPRs.
43545         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
43546         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
43547         (__sigsetjmp): Use SAVE_GP to save GPRs.
43549         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
43550         Do not append -msoft-float.
43551         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
43553 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43555         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
43557 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
43559         [BZ #15966]
43560         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
43561         (_FPU_GETCW): Use initial "__" on variable and field names but not
43562         on macro parameter name.
43563         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
43564         parentheses around reference to macro parameter.
43566 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
43568         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
43569         prototype.
43570         (ctype_startup): Use uint32_t in cast and sizeof for
43571         ctype->charnames.
43573 2013-09-11  Jia Liu  <proljc@gmail.com>
43575         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
43576         __daddr_t_defined.
43577         [__FreeBSD__]: Likewise.
43579 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
43581         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
43582         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
43583         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
43584         (strchr): Remove __strchr_sse42 ifunc selection.
43585         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
43586         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
43588 2013-09-11  Will Newton  <will.newton@linaro.org>
43590         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
43591         parameter to RES. Remove hardcoded 1000 value.
43592         * benchtests/bench-skeleton.c (main): Pass RES parameter
43593         to TIMING_INIT and multiply result by 1000.
43595 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43597         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43599 2013-09-11  Andreas Schwab  <schwab@suse.de>
43601         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
43602         if not defined.
43603         (O_TMPFILE) [__USE_GNU]: Define.
43604         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
43605         Define.
43607 2013-09-11  Will Newton  <will.newton@linaro.org>
43609         [BZ #15857]
43610         * malloc/malloc.c (__libc_memalign): Check the value of bytes
43611         does not overflow.
43613 2013-09-11  Will Newton  <will.newton@linaro.org>
43615         [BZ #15856]
43616         * malloc/malloc.c (__libc_valloc): Check the value of bytes
43617         does not overflow.
43619 2013-09-11  Will Newton  <will.newton@linaro.org>
43621         [BZ #15855]
43622         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
43623         does not overflow.
43625 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
43627         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
43628         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43629         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43630         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43631         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43633 2013-09-10  Allan McRae  <allan@archlinux.org>
43635         [BZ #15748]
43636         * manual/arith.texi (Parsing of Floats): Clarify
43637         cross-reference.
43639         [BZ #15849]
43640         * manual/install.texi (Running make install): Mention
43641         --enable-pt-chown.
43642         * INSTALL: Regenerated.
43644 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
43646         * csu/init-first.c (_init): Remove the !SHARED condition around
43647         FPU control word initialization.
43648         * elf/dl-support.c (_dl_fpu_control): New variable.
43649         (_dl_aux_init) <AT_FPUCW>: Initialize it.
43650         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
43651         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
43652         * math/test-fpucw-static.c: New file.
43653         * math/test-fpucw-ieee.c: New file.
43654         * math/test-fpucw-ieee-static.c: New file.
43655         * math/Makefile (tests): Add `test-fpucw-ieee' and
43656         `$(tests-static)'.
43657         (tests-static): New variable.
43658         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
43659         dependency to...
43660         [($(build-shared),yes)]
43661         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
43662         ... this.
43663         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
43664         New dependency.
43666 2013-09-09  Allan McRae  <allan@archlinux.org>
43668         [BZ #15939]
43669         * manual/string.texi (Collation Functions): Fix typo in
43670         strcoll example.
43671         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
43673         [BZ #15893]
43674         * stdlib/isomac.c (get_null_defines): Fix memory leak.
43676         [BZ #15892]
43677         * libio/memstream.c (open_memstream): Fix memory leak.
43678         * libio/wmemstream.c (open_wmemstream): Likewise.
43680         [BZ #15895]
43681         * nscd/netgroupcache.c: Fix nesting of ifdefs.
43683 2013-09-09  Will Newton  <will.newton@linaro.org>
43685         * malloc/Makefile: Add tst-realloc to tests.
43686         * malloc/tst-realloc.c: New file.
43688 2013-09-09  Allan McRae  <allan@archlinux.org>
43690         [BZ #15844]
43691         * COPYING: Update from GNU website to fix FSF address.
43692         * COPYING.LIB: Likewise.
43694 2013-09-06  David S. Miller  <davem@davemloft.net>
43696         * po/zh_TW.po: Update Chinese (traditional) translation from
43697         translation project.
43699 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
43700             Joseph Myers  <joseph@codesourcery.com>
43702         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
43703         "localeinfo.h".
43704         (obstack_chunk_alloc): New macro.
43705         (obstack_chunk_free): Likewise.
43706         (record_offset): New function.
43707         (init_locale_data): Likewise.
43708         (align_locale_data): Likewise.
43709         (add_locale_empty): Likewise.
43710         (add_locale_raw_data): Likewise.
43711         (add_locale_raw_obstack): Likewise.
43712         (add_locale_string): Likewise.
43713         (add_locale_wstring): Likewise.
43714         (add_locale_uint32): Likewise.
43715         (add_locale_uint32_array): Likewise.
43716         (add_locale_char): Likewise.
43717         (start_locale_structure): Likewise.
43718         (end_locale_structure): Likewise.
43719         (start_locale_prelude): Likewise.
43720         (end_locale_prelude): Likewise.
43721         (write_locale_data): Take locale_file structure rather than an
43722         iovec.
43723         * locale/programs/locfile.h: Include "obstack.h".
43724         (struct locale_file): Change to store locale file contents instead
43725         of header.
43726         (init_locale_data): New prototype.
43727         (align_locale_data): Likewise.
43728         (add_locale_empty): Likewise.
43729         (add_locale_raw_data): Likewise.
43730         (add_locale_raw_obstack): Likewise.
43731         (add_locale_string): Likewise.
43732         (add_locale_wstring): Likewise.
43733         (add_locale_uint32): Likewise.
43734         (add_locale_uint32_array): Likewise.
43735         (add_locale_char): Likewise.
43736         (start_locale_structure): Likewise.
43737         (end_locale_structure): Likewise.
43738         (start_locale_prelude): Likewise.
43739         (end_locale_prelude): Likewise.
43740         (write_locale_data): Update prototype.
43741         * locale/programs/3level.h (struct TABLE): Remove result field.
43742         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
43743         Use new locale_file interface.
43744         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
43745         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
43746         * locale/programs/ld-address.c (address_output): Use new
43747         locale_file interface.
43748         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
43749         NO_ADD_LOCALE.
43750         (collate_finish): Don't call collseq_table_finalize.
43751         (collate_output): Use new locale_file interface.
43752         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
43753         in file.
43754         (NO_FINALIZE): Change to NO_ADD_LOCALE.
43755         (TABLE): Move defines earlier in file.
43756         (ELEMENT): Likewise.
43757         (DEFAULT): Likewise.
43758         (wctrans_table_add): Move macro and inline function earlier in
43759         file.
43760         (struct wctype_table): Move type earlier in file.
43761         (add_locale_wctype_table): New static prototype.
43762         (struct locale_ctype_t): Use logical types instead of struct iovec
43763         pointers for members.
43764         (ctype_output): Use new locale_file interface.
43765         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
43766         new locale_file interface.
43767         (allocate_arrays): Update for use of new locale_file interface.
43768         * locale/programs/ld-identification.c (identification_output): Use
43769         new locale_file interface.
43770         * locale/programs/ld-measurement.c (measurement_output): Likewise.
43771         * locale/programs/ld-messages.c (messages_output): Likewise.
43772         * locale/programs/ld-monetary.c (monetary_output): Likewise.
43773         * locale/programs/ld-name.c (name_output): Likewise.
43774         * locale/programs/ld-numeric.c (numeric_output): Likewise.
43775         * locale/programs/ld-paper.c (paper_output): Likewise.
43776         * locale/programs/ld-telephone.c (telephone_output): Likewise.
43777         * locale/programs/ld-time.c (time_output): Likewise.
43779 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43781         * benchtests/Makefile: Add memrchr benchmark.
43782         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
43783         benchmark as memrchr.
43784         * benchtests/bench-memrchr-ifunc.c: New file.
43785         * benchtests/bench-memrchr.c: New file.
43787 2013-09-06   Will Newton  <will.newton@linaro.org>
43789         * benchtests/Makefile (string-bench): Add memcpy.
43791 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
43792             Cong Wang  <amwang@redhat.com>
43794         [BZ #15850]
43795         * sysdeps/unix/sysv/linux/bits/in.h
43796         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
43797         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
43798         before __USE_KERNEL_IPV6_DEFS uses.
43799         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
43800         IPPROTO_BEETPH.
43801         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
43802         sockaddr_in6, or ipv6_mreq.
43804 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43806         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
43807         memory access for final bytes in some large inputs.
43808         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
43810 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43812         * string/test-memrchr.c: New file.
43813         * string/test-memrchr-ifunc.c: New file.
43814         * string/Makefile: Add new memrchr testcase.
43816 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
43818         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
43819         fanotify_init returns EPERM.
43821 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
43823         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
43824         errors.
43825         (top level): Treat second token from macro or constant entries for
43826         allowed headers as allowed.
43827         * include/complex.h: Condition internal declarations on
43828         [!_ISOMAC].
43829         * include/fenv.h: Condition include of <stdbool.h> and internal
43830         declarations on [!_ISOMAC].
43832 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
43834         [BZ #15923]
43835         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
43837 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
43839         * configure.in (--enable-versioning): Remove configure option.
43840         (libc_cv_asm_symver_directive): Remove configure test.
43841         (libc_cv_ld_version_script_option): Likewise.
43842         (VERSIONING): Remove variable and AC_SUBST.
43843         (DO_VERSIONING): Remove AC_DEFINE.
43844         * configure: Regenerated.
43845         * config.h.in (DO_VERSIONING): Remove macro.
43846         * Makerules [$(versioning) = yes]: Change conditionals to
43847         [$(build-shared) = yes].
43848         * config.make.in (versioning): Remove variable.
43849         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
43850         [$(build-shared) = yes].
43851         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
43852         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
43853         * elf/Makefile [$(versioning) = yes]: Change conditionals to
43854         [$(build-shared) = yes].
43855         * extra-lib.mk [$(versioning) = yes]: Likewise.
43856         * hurd/Makefile [$(versioning) = yes]: Likewise.
43857         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
43858         [SHARED].
43859         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
43860         [SHARED].
43861         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
43862         [SHARED && !NO_HIDDEN].
43863         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
43864         [SHARED].
43865         [SHARED && DO_VERSIONING]: Likewise..
43866         * libio/Makefile [$(versioning) = yes]: Change conditionals to
43867         [$(build-shared) = yes].
43868         * manual/install.texi (--disable-versioning): Remove
43869         documentation.
43870         * INSTALL: Regenerated.
43871         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
43872         to [SHARED].
43873         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
43874         [$(build-shared) = yes].
43875         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
43876         * sysdeps/i386/i686/multiarch/strstr-c.c
43877         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
43878         [SHARED && !NO_HIDDEN].
43879         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
43880         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
43881         * sysdeps/powerpc/powerpc32/dl-machine.c
43882         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
43883         * sysdeps/powerpc/powerpc32/sysdep.h
43884         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
43885         to [SHARED && PIC && !NO_HIDDEN].
43886         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
43887         conditional to [SHARED].
43889 2013-09-04   Will Newton  <will.newton@linaro.org>
43891         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
43892         * benchtests/bench-string.h: Include bench-timing.h instead
43893         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
43894         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
43895         call to HP_TIMING_DIFF_INIT.
43896         * benchtests/bench-memccpy.c: Use bench-timing.h macros
43897         instead of hp-timing.h macros.
43898         * benchtests/bench-memchr.c: Likewise.
43899         * benchtests/bench-memcmp.c: Likewise.
43900         * benchtests/bench-memcpy.c: Likewise.
43901         * benchtests/bench-memmem.c: Likewise.
43902         * benchtests/bench-memmove.c: Likewise.
43903         * benchtests/bench-memset.c: Likewise.
43904         * benchtests/bench-rawmemchr.c: Likewise.
43905         * benchtests/bench-strcasecmp.c: Likewise.
43906         * benchtests/bench-strcasestr.c: Likewise.
43907         * benchtests/bench-strcat.c: Likewise.
43908         * benchtests/bench-strchr.c: Likewise.
43909         * benchtests/bench-strcmp.c: Likewise.
43910         * benchtests/bench-strcpy.c: Likewise.
43911         * benchtests/bench-strcpy_chk.c: Likewise.
43912         * benchtests/bench-strlen.c: Likewise.
43913         * benchtests/bench-strncasecmp.c: Likewise.
43914         * benchtests/bench-strncat.c: Likewise.
43915         * benchtests/bench-strncmp.c: Likewise.
43916         * benchtests/bench-strncpy.c: Likewise.
43917         * benchtests/bench-strnlen.c: Likewise.
43918         * benchtests/bench-strpbrk.c: Likewise.
43919         * benchtests/bench-strrchr.c: Likewise.
43920         * benchtests/bench-strspn.c: Likewise.
43921         * benchtests/bench-strstr.c: Likewise.
43923 2013-09-04  Will Newton  <will.newton@linaro.org>
43925         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
43927 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
43929         [BZ #15427]
43930         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
43931         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
43932         * math/libm-test.inc (lgamma_test_data): Add more tests.
43933         * sysdeps/i386/fpu/libm-test-ulps: Update.
43934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43936 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
43938         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
43939         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43940         Add ifunc.
43941         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
43942         Add strcmp-sse2-unaligned
43943         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
43945 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
43947         * Versions.def (libc): Add GLIBC_2.19.
43949 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
43951         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
43952         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
43954 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
43956         [BZ #14155]
43957         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
43958         intermediate calculations in recurrence.
43959         (__ieee754_ynf): Likewise.
43960         * math/libm-test.inc (jn_test_data): Do not allow spurious
43961         underflow exception.  Add more tests.
43962         (yn_test_data): Add more tests.
43963         * sysdeps/i386/fpu/libm-test-ulps: Update.
43964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43966 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
43968         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
43970 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
43972         * csu/init-first.c: Fix then/than typos.
43973         * locale/programs/ld-collate.c: Likewise.
43974         * locale/programs/linereader.h: Likewise.
43975         * manual/charset.texi: Likewise.
43976         * manual/filesys.texi: Likewise.
43977         * manual/stdio.texi: Likewise.
43978         * manual/string.texi: Likewise.
43979         * stdlib/fmtmsg.c: Likewise.
43980         * sysdeps/i386/stpncpy.S: Likewise.
43981         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
43982         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43983         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
43984         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
43986 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
43988         * elf/dl-open.c: Fix typos.
43989         * iconvdata/gbbig5.c: Likewise.
43990         * iconvdata/iso-2022-jp.c: Likewise.
43991         * iconv/gconv_int.h: Likewise.
43992         * iconv/loop.c: Likewise.
43993         * nis/rpcsvc/nis.h: Likewise.
43994         * resolv/ns_name.c: Likewise.
43995         * stdio-common/vfscanf.c: Likewise.
43996         * streams/stropts.h: Likewise.
43997         * sunrpc/rpc_thread.c: Likewise.
43998         * sysdeps/i386/strpbrk.S: Likewise.
43999         * sysdeps/ieee754/k_standard.c: Likewise.
44000         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44001         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44002         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
44003         * sysdeps/mach/hurd/profil.c: Likewise.
44004         * sysdeps/s390/dl-procinfo.h: Likewise.
44005         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
44006         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
44007         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
44008         * sysdeps/x86_64/dl-trampoline.S: Likewise.
44009         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44011 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
44013         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
44014         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
44016 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
44018         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
44019         aix specific files.
44020         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
44021         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
44022         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
44023         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
44024         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
44025         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
44026         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
44027         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
44029 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
44030             Roland McGrath  <roland@hack.frob.com>
44032         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
44033         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
44035 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44037         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
44038         __executable_start symbol instead of _start.
44040 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
44042         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
44043         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
44044         Move macros to...
44045         * sysdeps/gnu/ldsodefs.h: ... this new file.
44047         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
44048         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
44049         instead of ELFOSABI_LINUX.
44051         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
44052         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
44053         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
44054         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
44055         Likewise.
44056         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
44057         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
44058         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
44059         Likewise.
44060         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
44061         (ibm_extended_long_double): Add ieee_nan member.
44062         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
44063         (do_test): New function.
44065         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
44066         TEST_TRUNC.
44067         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
44068         functions, renamed from truncdfsf_test, trunctfsf_test,
44069         trunctfdf_test.
44070         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
44071         functions.
44072         (do_test): Run all these.
44074 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
44076         * argp/argp-help.c: Fix typos.
44077         * argp/argp-parse.c: Likewise.
44078         * debug/backtracesyms.c: Likewise.
44079         * elf/elf.h: Likewise.
44080         * malloc/malloc.c: Likewise.
44081         * nis/nis_print.c: Likewise.
44082         * resolv/res_comp.c: Likewise.
44083         * stdlib/stdlib.h: Likewise.
44084         * sunrpc/clnt_tcp.c: Likewise.
44085         * sunrpc/clnt_udp.c: Likewise.
44086         * sunrpc/clnt_unix.c: Likewise.
44087         * sysdeps/unix/bsd/ptsname.c: Likewise.
44088         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
44089         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
44090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
44091         Likewise.
44092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
44093         Likewise.
44094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
44095         Likewise.
44096         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
44098 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44100         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
44101         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44103 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
44105         [BZ #15897]
44106         * dlfcn/Makefile (tests): Add bug-dl-leaf.
44107         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
44108         ($(objpfx)bug-dl-leaf): New rule.
44109         ($(objpfx)bug-dl-leaf.so): Likewise.
44110         ($(objpfx)bug-dl-leaf.out): Likewise.
44111         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
44112         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
44113         * dlfcn/bug-dl-leaf.c: New test.
44114         * dlfcn/bug-dl-leaf-lib.c: Likewise.
44115         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
44116         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
44117         (dlclose): Likewise.
44118         (dlmopen): Likewise.
44120 2013-08-27  Roland McGrath  <roland@hack.frob.com>
44122         * include/netdb.h [!_ISOMAC]:
44123         Don't include <tls.h>.
44124         (h_errno, __libc_h_errno): Move declaration and macros out of
44125         [_LIBC_REENTRANT].
44127         * include/resolv.h [_RESOLV_H_]:
44128         Don't include <tls.h>.
44129         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
44130         * resolv/res_libc.c: Don't include <tls.h>.
44131         (_res): Use __attribute__ ((nocommon)) in place of
44132         __attribute__ ((section (".bss"))).
44134         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
44135         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
44137         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
44139         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
44140         only under [SIOCGIFCONF && SIOCGIFNETMASK].
44142         * resolv/res_mkquery.c: Include <sys/time.h>.
44144         * inet/ifreq.c: Moved to ...
44145         * sysdeps/unix/ifreq.c: ... here.
44146         * inet/ifreq.c: New file, true stub version.
44148         * socket/sa_len.c: New file.
44149         * socket/Makefile (aux): Add it.
44150         * sysdeps/unix/sysv/linux/Makefile
44151         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
44152         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
44153         and #include <socket/sa_len.c>.
44154         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
44155         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
44157         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
44158         * bits/socket.h: ... here.
44160         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
44161         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
44162         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
44164 2013-08-27  Andreas Schwab  <schwab@suse.de>
44166         [BZ #15736]
44167         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
44168         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
44169         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
44170         * string/test-strcasecmp.c (test_main): Run tests in several
44171         locales.
44172         * string/test-strncasecmp.c (test_main): Likewise.
44174         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
44175         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
44176         to __strcasecmp_nonascii and __strncasecmp_nonascii.
44177         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
44178         (__strncasecmp_ssse3) [PIC]: Likewise.
44180 2013-08-26  Roland McGrath  <roland@hack.frob.com>
44182         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
44184         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
44185         instead of explicitly declaring xdecrypt.
44186         * nis/nss_nis/nis-publickey.c: Likewise.
44188 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44190         [BZ #15890]
44191         * nscd/aicache.c: Include res_hconf.h.
44192         (addhstaiX): Initialize res_hconf.
44194 2013-08-26  Andreas Schwab  <schwab@suse.de>
44196         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
44197         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
44199 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44201         * nscd/aicache.c (addhstaiX): Fix indentation.
44203 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
44205         * configure.ac: Quote $build_pt_chown test.
44206         * configure: Regenerated.
44208 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
44210         [BZ #15532]
44211         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
44212         * math/s_cexpf.c (__cexpf): Likewise.
44213         * math/s_cexpl.c (__cexpl): Likewise.
44214         * math/libm-test.inc (cexp_test_data): Correct expected return
44215         value for NaN + i0.  Add another test.
44217 2013-08-22  David S. Miller  <davem@davemloft.net>
44219         * po/ca.po: Update Catalan translation from translation project.
44220         * po/uk.po: Add Ukrainian translations from translation project.
44222 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
44224         [BZ #15797]
44225         * math/s_fdim.c (__fdim): Check for infinite arguments if result
44226         is infinite, not alongside NaN test.
44227         * math/s_fdimf.c (__fdimf): Likewise.
44228         * math/s_fdiml.c (__fdiml): Likewise.
44229         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
44230         errno is unchanged.
44232 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
44234         * argp/argp-help.c: Fix typos.
44235         * crypt/speeds.c: Likewise.
44236         * csu/check_fds.c: Likewise.
44237         * elf/dl-load.c: Likewise.
44238         * elf/dl-open.c: Likewise.
44239         * elf/reldep3.c: Likewise.
44240         * elf/reldep.c: Likewise.
44241         * elf/sprof.c: Likewise.
44242         * iconv/iconv_charmap.c: Likewise.
44243         * iconv/skeleton.c: Likewise.
44244         * iconv/strtab.c: Likewise.
44245         * io/lockf64.c: Likewise.
44246         * libio/libioP.h: Likewise.
44247         * resolv/gai_notify.c: Likewise.
44248         * resolv/ns_name.c: Likewise.
44249         * resolv/ns_samedomain.c: Likewise.
44250         * resolv/res_send.c: Likewise.
44251         * stdlib/random.c: Likewise.
44252         * sunrpc/rpc/xdr.h: Likewise.
44253         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
44254         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44255         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44256         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44257         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44258         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44259         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44260         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44261         * sysdeps/mach/hurd/check_fds.c: Likewise.
44262         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
44263         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
44264         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
44265         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
44266         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
44267         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
44268         * sysdeps/pthread/aio_notify.c: Likewise.
44269         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
44270         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
44271         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
44272         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44273         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
44275 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44277         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
44278         version if bit_Slow_SSE4_2 is set.
44279         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44280         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44282 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44284         [BZ #15867]
44285         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
44286         trampoline stack frame information.
44287         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
44288         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
44289         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
44290         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
44291         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
44292         * sysdeps/unix/sysv/linux/powerpc/init-first.c
44293         (_libc_vdso_platform_setup): Initialize the signal trampolines.
44294         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
44295         sa_flags value.
44296         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
44297         interrupting a syscall and set with option SA_SIGINFO.
44299 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
44301         [BZ #15531]
44302         * math/s_cproj.c (__cproj): Only return an infinity if one part of
44303         argument is infinite.
44304         * math/s_cprojf.c (__cprojf): Likewise.
44305         * math/s_cprojl.c (__cprojl): Likewise.
44306         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
44307         * math/libm-test.inc (cproj_test_data): Add more tests.
44309         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
44311         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
44312         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
44313         size.  Use __ffs to determine corresponding shift.
44315 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
44316             Roland McGrath  <roland@hack.frob.com>
44318         * Makefile (INSTALL): Remove trailing blank lines from output of
44319         makeinfo.
44321 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44323         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
44324         Align 32 bit compat elf_greg to 8 bytes.
44326 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
44328         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
44330 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44332         * string/strcoll_l.c (coll_seq): New structure.
44333         (get_next_seq_cached): New function.
44334         (get_next_seq): New function.
44335         (do_compare): New function.
44336         (STRCOLL): Use GNU style definition.  Simplify implementation
44337         by using get_next_seq, get_next_seq_cached and do_compare.
44339 2013-08-16  Florian Weimer  <fweimer@redhat.com>
44341         [BZ #14699]
44342         CVE-2013-4237
44343         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
44344         member.
44345         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
44346         member.
44347         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
44348         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
44349         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
44350         conditional.
44351         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
44352         GETDENTS_64BIT_ALIGNED.
44353         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
44354         * manual/filesys.texi (Reading/Closing Directory): Document
44355         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
44356         strongly.
44357         * manual/conf.texi (Limits for Files): Add portability note to
44358         NAME_MAX, PATH_MAX.
44359         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
44361 2013-08-13  Andreas Schwab  <schwab@suse.de>
44363         [BZ #15749]
44364         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
44365         of fabs.
44366         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
44367         LDBL_MAX_EXP >= 16384]: Add tests for it.
44369 2013-08-12  David S. Miller  <davem@davemloft.net>
44371         * version.h (RELEASE): Set to "development".
44372         (VERSION): Set to "2.18.90".
44373         * NEWS: Add 2.19 section.
44375 2013-08-03  David S. Miller  <davem@davemloft.net>
44377         * po/ko.po: Update Korean translation from translation project.
44379 2013-08-01  David S. Miller  <davem@davemloft.net>
44381         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
44382         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
44383         Bilka.
44385 2013-07-30  David S. Miller  <davem@davemloft.net>
44387         * po/fr.po: Update French translation from translation project.
44389 2013-07-28  David S. Miller  <davem@davemloft.net>
44391         * po/cs.po: Update Czech translation from translation project.
44393         * po/sv.po: Update Swedish translation from translation project.
44395 2013-07-27  David S. Miller  <davem@davemloft.net>
44397         * po/eo.po: Update Esperanto translation from translation project.
44399         * po/vi.po: Update Vietnamese translation from translation project.
44401         * po/de.po: Update German translation from translation project.
44403 2013-07-26  David S. Miller  <davem@davemloft.net>
44405         * po/bg.po: Update Bulgarian translation from translation project.
44407         * po/nl.po: Update Dutch translation from translation project.
44408         * po/pl.po: Update Polish translation from translation project.
44409         * po/ru.po: Update Russian translation from translation project.
44411 2013-07-24  David S. Miller  <davem@davemloft.net>
44413         * po/libc.pot: Update.
44415 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44417         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
44418         variable page size.
44419         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
44420         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
44421         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
44423 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44425         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
44427 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44428             Andreas Schwab  <schwab@suse.de>
44429             Roland McGrath  <roland@hack.frob.com>
44430             Joseph Myers  <joseph@codesourcery.com>
44431             Carlos O'Donell  <carlos@redhat.com>
44433         [BZ #15755]
44434         * config.h.in: Define HAVE_PT_CHOWN.
44435         * config.make.in (build-pt-chown): New variable.
44436         * configure.in (--enable-pt_chown): New configure option.
44437         * configure: Regenerate.
44438         * login/Makefile: Include Makeconfig.  Build pt_chown only if
44439         build-pt-chown is enabled.
44440         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
44441         pt_chown to fix pty ownership.
44442         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
44443         CLOSE_ALL_FDS.
44444         * manual/install.texi (Configuring and compiling): Mention
44445         --enable-pt_chown. Add @findex for grantpt.
44446         * INSTALL: Regenerate.
44448 2013-07-20  David S. Miller  <davem@davemloft.net>
44450         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
44451         difference between 32-bit and 64-bit.
44453 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
44455         [BZ #15711]
44456         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
44457         Avoid system header dependency with -ffreestanding.
44458         ($(objpfx)bits/syscall%d): Likewise.
44460 2013-07-13  David S. Miller  <davem@davemloft.net>
44462         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
44463         underflows from atanl/atan2l due to bug 15319.
44464         (casinh_test_data): Likewise.
44466 2013-07-07  David S. Miller  <davem@davemloft.net>
44468         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
44470 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
44472         * sysdeps/i386/fpu/libm-test-ulps: Update.
44473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44475 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44477         * configure.in (--enable-lock-elision): Fix message text.
44478         * INSTALL: Regenerate.
44479         * configure: Regenerate.
44481 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44483         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44485 2013-07-03  Andreas Jaeger  <aj@suse.de>
44487         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
44488         define.
44489         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
44490         (ptrace_peeksiginfo_args): Add.
44491         (__ptrace_peeksiginfo_flags): Add.
44492         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44493         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44494         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44496 2013-07-03  Allan McRae  <allan@archlinux.org>
44498         * sysdeps/i386/fpu/libm-test-ulps: Update.
44500 2013-07-02  David S. Miller  <davem@davemloft.net>
44502         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44504 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
44506         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44508 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
44510         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
44511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44513 2013-07-02  Andi Kleen <ak@linux.intel.com>
44515         * config.h.in (ENABLE_LOCK_ELISION): Add.
44516         * configure.in (--enable-lock-elision): Add option.
44517         * manual/install.texi: Document --enable lock elision.
44518         * configure: Regenerate
44519         * INSTALL: Regenerate.
44521 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
44523         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
44524         SSE4.2 strcasecmp for libc.a.
44525         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
44527 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
44529         [BZ #13304]
44530         * soft-fp/op-common.h (_FP_FMA): New macro.
44531         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
44532         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
44533         (_FP_MUL_MEAT_1_imm): ... here.
44534         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
44535         (_FP_MUL_MEAT_1_wide): ... here.
44536         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
44537         (_FP_MUL_MEAT_1_hard): ... here.
44538         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
44539         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
44540         (_FP_MUL_MEAT_2_wide): ... here.
44541         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
44542         (_FP_MUL_MEAT_2_wide_3mul): ... here.
44543         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
44544         (_FP_MUL_MEAT_2_gmp): ... here.
44545         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
44546         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
44547         (_FP_MUL_MEAT_4_wide): ... here.
44548         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
44549         (_FP_MUL_MEAT_4_gmp): ... here.
44550         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
44551         (_FP_WFRACBITS_DW_S): Likewise.
44552         (_FP_WFRACXBITS_DW_S): Likewise.
44553         (_FP_HIGHBIT_DW_S): Likewise.
44554         (FP_FMA_S): Likewise.
44555         (_FP_FRAC_HIGH_DW_S): Likewise.
44556         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
44557         (_FP_WFRACBITS_DW_D): Likewise.
44558         (_FP_WFRACXBITS_DW_D): Likewise.
44559         (_FP_HIGHBIT_DW_D): Likewise.
44560         (FP_FMA_D): Likewise.
44561         (_FP_FRAC_HIGH_DW_D): Likewise.
44562         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
44563         (_FP_WFRACBITS_DW_E): Likewise.
44564         (_FP_WFRACXBITS_DW_E): Likewise.
44565         (_FP_HIGHBIT_DW_E): Likewise.
44566         (FP_FMA_E): Likewise.
44567         (_FP_FRAC_HIGH_DW_E): Likewise.
44568         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
44569         (_FP_WFRACBITS_DW_Q): Likewise.
44570         (_FP_WFRACXBITS_DW_Q): Likewise.
44571         (_FP_HIGHBIT_DW_Q): Likewise.
44572         (FP_FMA_Q): Likewise.
44573         (_FP_FRAC_HIGH_DW_Q): Likewise.
44574         * soft-fp/fmasf4.c: New file.
44575         * soft-fp/fmadf4.c: Likewise.
44576         * soft-fp/fmatf4.c: Likewise.
44578 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44580         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
44581         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
44582         Silvermont.
44583         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
44584         macro.
44585         (index_Slow_SSE4_2): Likewise.
44586         (index_Prefer_PMINUB_for_stringop): Likewise.
44587         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
44588         bit_Slow_SSE4_2 is set.
44589         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
44590         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44592 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44594         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
44595         rtld_global._dl_hwcap2.
44596         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
44597         POWER8.
44598         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
44599         POWER8 feature descriptions defined in _dl_hwcap2.
44600         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
44601         string handling for POWER8 feature bits.
44602         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
44603         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
44604         _dl_powerpc_cap_flags.
44605         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
44606         * sysdeps/powerpc/rtld-global-offsets.sym
44607         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
44608         _dl_hwcap2 in the rtld_global_ro structure.
44610 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44612         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
44613         hardware capabilities in support of AT_HWCAP2.
44614         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
44615         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
44616         GLRO(dl_hwcap2).
44617         (_dl_show_auxv): Add support for calling _dl_procinfo to display
44618         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
44619         explicitly the unknown a_type display mechanism is used.
44620         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
44621         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
44622         struct member.
44623         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
44624         to macro prototype for AT_HWCAP2 support.
44625         * sysdeps/i386/dl-procinfo.h: Likewise.
44626         * sysdeps/s390/dl-procinfo.h: Likewise.
44627         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
44628         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
44629         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
44630         return -1 for unknown a_type display fallback.
44631         * sysdeps/sparc/dl-procinfo.h: Likewise.
44632         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
44633         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
44635 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
44637         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
44638         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
44640 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
44642         [BZ #12492]
44643         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
44644         mprotect making __stack_prot writable.
44646 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
44647             Joseph Myers  <joseph@codesourcery.com>
44649         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
44650         as being properly aligned.
44652 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
44654         * dlfcn/modstatic5.c: New file.
44655         * dlfcn/tststatic5.c: New file.
44656         * dlfcn/Makefile (tests): Add tststatic5.
44657         (tests-static): Likewise.
44658         (modules-names): Add modstatic5.
44659         (tststatic5-ENV): New variable.
44660         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
44662         [BZ #15022]
44663         * elf/dl-support.c (_dl_main_map): New variable.
44664         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
44665         (_dl_nns, _dl_load_adds): Set to 1.
44666         (_dl_initial_searchlist): Refer to _dl_main_map.
44667         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
44668         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
44669         call to _dl_get_origin.
44670         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
44671         around call_map.
44672         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
44673         * dlfcn/modstatic3.c: New file.
44674         * dlfcn/tststatic3.c: New file.
44675         * dlfcn/tststatic4.c: New file.
44676         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
44677         (tests-static): Likewise.
44678         (modules-names): Add modstatic3.
44679         (tststatic3-ENV, tststatic4-ENV): New variables.
44680         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
44681         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
44683 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
44685         * configure.in (CC): Require GCC version 4.4 or later.
44686         * configure: Regenerated.
44687         * manual/install.texi (Tools for Compilation): Update GCC version
44688         requirement.
44689         * INSTALL: Regenerated.
44691 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44693         [BZ #15674]
44694         * string/test-memcmp.c (check2): New.
44695         (main): Call check2.
44697         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
44699 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
44701         [BZ #15022]
44702         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
44703         over to...
44704         (dl_open_worker) [!SHARED]: ... here.
44706 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44708         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
44710 2013-06-25  Richard Henderson  <rth@redhat.com>
44712         * locale/programs/locarchive.c: Include <libc-internal.h>
44714 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
44716         * manual/texinfo.tex: Update to version 2013-06-21.17, with
44717         trailing whitespace removed.
44719 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
44721         [BZ #10283]
44722         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
44723         * locale/programs/locarchive.c: Include libc-mmap.h.
44724         (prepare_address_space): Take two new outputs (the mmap base and len).
44725         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
44726         values.
44727         (create_archive): Declare new mmap base and len values for
44728         prepare_address_space, and store the result in ah.
44729         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
44730         (enlarge_archive): If ah->mmap_base is not NULL, use that and
44731         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
44732         Declare new mmap base and len values for
44733         prepare_address_space, and store the result in new_ah.
44734         (open_archive): Declare new mmap base and len values for
44735         prepare_address_space, and store the result in ah.
44736         (close_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         * sysdeps/generic/libc-mmap.h: New file.
44740 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
44742         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
44743         (ALIGN_UP): Likewise.
44744         (PTR_ALIGN_DOWN): Likewise.
44745         (PTR_ALIGN_UP): Likewise.
44747 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44749         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
44750         entry mapped to PPC_PLATFORM_POWER8.
44751         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
44752         POWER8.
44753         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
44754         (_dl_string_platform): Add case for exporting platform position for
44755         POWER8.
44756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
44757         search path to sysdeps/powerpc/powerpc32/power8 directory.
44758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
44759         search path to sysdeps/powerpc/powerpc64/power8 directory.
44760         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
44761         power7 directories.
44762         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
44763         power7 directories.
44765 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
44767         * INSTALL: Regenerate.
44769         * nscd/connections.c (nscd_init): Fix comment.
44771 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
44773         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
44775         [BZ #15667]
44776         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
44777         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
44779 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
44781         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
44782         DL_DST_REQ_STATIC.
44783         (DL_DST_REQ_STATIC): Remove macro.
44785 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
44787         [BZ #7006]
44788         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
44789         with a shift of 0 bits.
44791 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
44793         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
44794         $(tststatic-ENV).
44796 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44798         [BZ #15655]
44799         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
44801 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44803         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
44804         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
44805         accepts -fno-tree-loop-distribute-patterns.
44806         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
44807         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
44808         recursive call.
44809         * string/memset.c (memset): Likewise.
44810         * string/test-memmove.c (simple_memmove): Disable loop transformation
44811         to library calls.
44812         * string/test-memset.c (simple_memset): Likewise.
44813         * benchtests/bench-memmove.c (simple_memmove): Likewise.
44814         * benchtests/bench-memset.c (simple_memset): Likewise.
44815         * configure: Regenerated.
44817 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
44819         * math/test-misc.c (main): Ignore fesetround failure when failures
44820         of subsequent rounding tests would be ignored.
44822         [BZ #15654]
44823         * math/fedisblxcpt.c (fedisableexcept): Return 0.
44824         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
44825         * math/fegetenv.c (__fegetenv): Return 0.
44826         * math/fegetexcept.c (fegetexcept): Return 0.
44827         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
44828         FE_TONEAREST.
44829         * math/feholdexcpt.c (feholdexcept): Return 0.
44830         * math/fesetenv.c (__fesetenv): Return 0.
44831         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
44832         argument FE_TONEAREST.
44833         * math/feupdateenv.c (__feupdateenv): Return 0.
44834         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
44836 2013-06-18  Roland McGrath  <roland@hack.frob.com>
44838         * elf/rtld-Rules (rtld-compile-command.S): New variable.
44839         (rtld-compile-command.s, rtld-compile-command.c): New variables.
44840         ($(objpfx)rtld-%.os rules): Use them.
44842 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44844         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
44845         fields.
44847 2013-06-17  Roland McGrath  <roland@hack.frob.com>
44849         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
44850         length of target pattern, then descending length of dependency pattern.
44851         * configure.in (AWK): Require gawk 3.1.2 or newer.
44852         * manual/install.texi (Tools for Compilation): Say that we do.
44853         * configure: Regenerated.
44855         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
44856         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
44857         * scripts/sysd-rules.awk: ... this new script.
44858         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
44859         than a glob-style pattern.
44861 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
44863         * math/test-misc.c (main): Do not treat incorrectly rounded
44864         conversions as failure unless ROUNDING_TESTS passes.
44866 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
44868         [BZ #15631]
44869         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
44870         restore exception state around main square root computation, then
44871         check for inexactness explicitly.
44873         * math/libm-test.inc (fma_test_data): Add another test.
44875 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44877         * manual/threads.texi (Non-POSIX Extensions): New document
44878         node.  Document pthread_getattr_default_np and
44879         pthread_setattr_default_np.
44881         * Versions.def (libpthread): Add GLIBC_2.18.
44882         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
44883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44884         Likewise.
44885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44886         Likewise.
44887         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44888         Likewise.
44889         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44890         Likewise.
44891         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
44892         Likewise.
44893         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44894         Likewise.
44895         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44896         Likewise.
44897         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
44898         Likewise.
44899         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
44900         Likewise.
44902 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44904         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44905         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
44907 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
44908             H.J. Lu  <hjl.tools@gmail.com>
44910         [BZ #15627]
44911         * sysdeps/x86_64/rtld-memset.c: Remove file.
44912         * sysdeps/x86_64/rtld-memset.S: New file.
44914 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
44916         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
44917         (test_in_one_mode): Take arguments for whether the rounding mode
44918         is supported for each floating-point type.
44919         (do_test): Pass new arguments to test_in_one_mode using
44920         ROUNDING_TESTS.
44922 2013-06-13  Roland McGrath  <roland@hack.frob.com>
44924         * posix/tst-waitid.c (do_test): Distinguish different instances of
44925         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
44926         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
44927         before entering the kernel for waitpid.
44929 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44931         * NEWS: Fix note on clock function precision.  Text by Roland
44932         McGrath.
44934 2013-06-13  Roland McGrath  <roland@hack.frob.com>
44936         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
44937         it into place only when and if the sanity check passes.
44939 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
44941         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
44942         output for whether conversion result is exact.  Take argument
44943         indicating whether type is IBM long double.
44944         (round_for_all): Change need_exact field to ibm_ld.
44945         * stdlib/tst-strtod-round.c (struct exactness): New type.
44946         (struct test): Change bool ld_ok field to struct exactness exact.
44947         (TEST): Update all definitions for change to field.
44948         (tests): Regenerate array contents.
44949         (test_in_one_mode): Take pointer to new field instead of old ld_ok
44950         field value.  Check for IBM long double here.
44951         (do_test): Update calls to test_in_one_mode.
44953 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44955         [BZ #12515]
44956         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
44957         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
44959 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44961         [BZ #15605]
44962         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
44963         generated by the compiler on loop optimizations.
44964         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
44965         general definitions.
44967 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
44969         * math/bug-nextafter.c: Include <math-tests.h>.
44970         (main): Only test for exceptions if EXCEPTION_TESTS is true for
44971         the relevant type.
44972         * math/bug-nexttoward.c: Include <math-tests.h>.
44973         (main): Only test for exceptions if EXCEPTION_TESTS is true for
44974         the relevant type.
44975         * math/test-misc.c: Include <math-tests.h>.
44976         (main): Only test for exceptions if EXCEPTION_TESTS is true for
44977         the relevant type.
44979 2013-06-12  Andreas Jaeger  <aj@suse.de>
44981         * po/ia.po: Update Interlingua translation from translation
44982         project.
44984 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44986         * include/fenv.h: Include stdbool.h.
44987         (struct rm_ctx): New structure.
44988         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
44989         Define macro.
44990         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
44991         (SET_RESTORE_ROUNDF): Likewise.
44992         (SET_RESTORE_ROUNDL): Likewise.
44993         (SET_RESTORE_ROUND_NOEX): Likewise.
44994         (SET_RESTORE_ROUND_NOEXF): Likewise.
44995         (SET_RESTORE_ROUND_NOEXL): Likewise.
44996         (SET_RESTORE_ROUND_53BIT): Likewise.
44997         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
44998         (libc_feresetround_noexf_ctx): Likewise.
44999         (libc_feresetround_noexl_ctx): Likewise.
45000         (libc_feholdsetround_53bit_ctx): Likewise.
45001         (libc_feresetround_53bit_ctx): Likewise.
45002         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
45003         (libc_feholdexcept_setround_sse_ctx): New function.
45004         (libc_fesetenv_sse_ctx): Likewise.
45005         (libc_feupdateenv_sse_ctx): Likewise.
45006         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
45007         (libc_feholdexcept_setround_387_ctx): Likewise.
45008         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
45009         (libc_feholdsetround_387_prec_ctx): Likewise.
45010         (libc_feholdsetround_387_ctx): Likewise.
45011         (libc_feholdsetround_387_53bit_ctx): Likewise.
45012         (libc_feholdsetround_sse_ctx): Likewise.
45013         (libc_feresetround_sse_ctx): Likewise.
45014         (libc_feresetround_387_ctx): Likewise.
45015         (libc_feupdateenv_387_ctx): Likewise.
45016         (libc_feholdexcept_setroundf_ctx): Define macro.
45017         (libc_fesetenvf_ctx): Likewise.
45018         (libc_feupdateenvf_ctx): Likewise.
45019         (libc_feholdsetroundf_ctx): Likewise.
45020         (libc_feresetroundf_ctx): Likewise.
45021         (libc_feholdexcept_setround_ctx): Likewise.
45022         (libc_fesetenv_ctx): Likewise.
45023         (libc_feupdateenv_ctx): Likewise.
45024         (libc_feholdsetround_ctx): Likewise.
45025         (libc_feresetround_ctx): Likewise.
45026         (libc_feholdexcept_setroundl_ctx): Likewise.
45027         (libc_feupdateenvl_ctx): Likewise.
45028         (libc_feholdsetroundl_ctx): Likewise.
45029         (libc_feresetroundl_ctx): Likewise.
45030         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
45031         (libc_feresetround_53bit_ctx): Likewise.
45033 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45035         * locale/iso-639.def: Convert to UTF-8.
45037 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
45039         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
45040         (EXCEPTION_TESTS_double): Likewise.
45041         (EXCEPTION_TESTS_long_double): Likewise.
45042         (EXCEPTION_TESTS): Likewise.
45043         * math/libm-test.inc (test_exceptions): Only test exceptions if
45044         EXCEPTION_TESTS (FLOAT).
45046 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45048         * benchtests/Makefile (string-bench): Add strcpy_chk and
45049         stpcpy_chk.
45050         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
45051         * benchtests/bench-stpcpy_chk.c: New file.
45052         * benchtests/bench-strcpy_chk-ifunc.c: New file.
45053         * benchtests/bench-strcpy_chk.c: New file.
45054         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
45055         code.
45056         (do_test): Likewise.
45058 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45060         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
45061         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
45062         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
45063         with tabs where appropriate.
45064         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
45065         dl-procinfo.h.
45066         [PPC_PLATFORM_PPC440]: Likewise.
45067         [PPC_PLATFORM_PPC464]: Likewise.
45068         [PPC_PLATFORM_PPC476]: Likewise.
45069         (_dl_string_platform): Add support for detecting ppc405, ppc440,
45070         ppc464, and ppc476 platform strings merging from ports/
45071         dl-procinfo.h.
45073 2013-06-11  Andreas Schwab  <schwab@suse.de>
45075         [BZ #14991]
45076         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
45077         (from_ucs4_idx): Regenerate.
45078         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
45079         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
45080         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
45081         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
45082         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
45083         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
45084         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
45085         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
45086         from FROM_LOOP and TO_LOOP specific macros.
45087         (BODY): Handle combining characters.
45088         * iconvdata/BIG5HKSCS.irreversible: Update.
45089         * iconvdata/BIG5HKSCS.precomposed: New file.
45090         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
45091         characters.
45092         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
45094 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45096         * include/sys/time.h: Fix indentation and add copyright header.
45098         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
45099         (do_test): Likewise.
45100         * string/test-memchr.c (do_one_test): Likewise.
45101         (do_test): Likewise.
45102         * string/test-memcmp.c (do_one_test): Likewise.
45103         (do_test): Likewise.
45104         * string/test-memcpy.c (do_one_test): Likewise.
45105         (do_test): Likewise.
45106         * string/test-memmem.c (do_one_test): Likewise.
45107         (do_test): Likewise.
45108         (do_random_tests): Likewise.
45109         * string/test-memmove.c (do_one_test): Likewise.
45110         (do_test): Likewise.
45111         * string/test-memset.c (do_one_test): Likewise.
45112         (do_test): Likewise.
45113         * string/test-rawmemchr.c (do_one_test): Likewise.
45114         (do_test): Likewise.
45115         * string/test-strcasecmp.c (do_one_test): Likewise.
45116         (do_test): Likewise.
45117         * string/test-strcasestr.c (do_one_test): Likewise.
45118         (do_test): Likewise.
45119         * string/test-strcat.c (do_one_test): Likewise.
45120         (do_test): Likewise.
45121         * string/test-strchr.c (do_one_test): Likewise.
45122         (do_test): Likewise.
45123         * string/test-strcmp.c (do_one_test): Likewise.
45124         (do_test): Likewise.
45125         * string/test-strcpy.c (do_one_test): Likewise.
45126         (do_test): Likewise.
45127         * string/test-string.h: Likewise.
45128         (test_init): Likewise.
45129         * string/test-strlen.c (do_one_test): Likewise.
45130         (do_test): Likewise.
45131         * string/test-strncasecmp.c (do_one_test): Likewise.
45132         (do_test): Likewise.
45133         * string/test-strncat.c (do_one_test): Likewise.
45134         (do_test): Likewise.
45135         * string/test-strncmp.c (do_one_test): Likewise.
45136         (do_test_limit): Likewise.
45137         (do_test): Likewise.
45138         * string/test-strncpy.c (do_one_test): Likewise.
45139         (do_test): Likewise.
45140         * string/test-strnlen.c (do_one_test): Likewise.
45141         (do_test): Likewise.
45142         * string/test-strpbrk.c (do_one_test): Likewise.
45143         (do_test): Likewise.
45144         * string/test-strrchr.c (do_one_test): Likewise.
45145         (do_test): Likewise.
45146         * string/test-strspn.c (do_one_test): Likewise.
45147         (do_test): Likewise.
45148         * string/test-strstr.c (do_one_test): Likewise.
45149         (do_test): Likewise.
45151         * benchtests/Makefile (string-bench): Add string benchmarks.
45152         * benchtests/bench-bcopy-ifunc.c: New file.
45153         * benchtests/bench-bcopy.c: New file.
45154         * benchtests/bench-bzero-ifunc.c: New file.
45155         * benchtests/bench-bzero.c: New file.
45156         * benchtests/bench-memccpy-ifunc.c: New file.
45157         * benchtests/bench-memccpy.c: New file.
45158         * benchtests/bench-memchr-ifunc.c: New file.
45159         * benchtests/bench-memchr.c: New file.
45160         * benchtests/bench-memcmp-ifunc.c: New file.
45161         * benchtests/bench-memcmp.c: New file.
45162         * benchtests/bench-memmem-ifunc.c: New file.
45163         * benchtests/bench-memmem.c: New file.
45164         * benchtests/bench-memmove-ifunc.c: New file.
45165         * benchtests/bench-memmove.c: New file.
45166         * benchtests/bench-mempcpy-ifunc.c: New file.
45167         * benchtests/bench-mempcpy.c: New file.
45168         * benchtests/bench-memset-ifunc.c: New file.
45169         * benchtests/bench-memset.c: New file.
45170         * benchtests/bench-rawmemchr-ifunc.c: New file.
45171         * benchtests/bench-rawmemchr.c: New file.
45172         * benchtests/bench-stpcpy-ifunc.c: New file.
45173         * benchtests/bench-stpcpy.c: New file.
45174         * benchtests/bench-stpncpy-ifunc.c: New file.
45175         * benchtests/bench-stpncpy.c: New file.
45176         * benchtests/bench-strcasecmp-ifunc.c: New file.
45177         * benchtests/bench-strcasecmp.c: New file.
45178         * benchtests/bench-strcasestr-ifunc.c: New file.
45179         * benchtests/bench-strcasestr.c: New file.
45180         * benchtests/bench-strcat-ifunc.c: New file.
45181         * benchtests/bench-strcat.c: New file.
45182         * benchtests/bench-strchr-ifunc.c: New file.
45183         * benchtests/bench-strchr.c: New file.
45184         * benchtests/bench-strchrnul-ifunc.c: New file.
45185         * benchtests/bench-strchrnul.c: New file.
45186         * benchtests/bench-strcmp-ifunc.c: New file.
45187         * benchtests/bench-strcmp.c: New file.
45188         * benchtests/bench-strcpy-ifunc.c: New file.
45189         * benchtests/bench-strcpy.c: New file.
45190         * benchtests/bench-strcspn-ifunc.c: New file.
45191         * benchtests/bench-strcspn.c: New file.
45192         * benchtests/bench-strlen-ifunc.c: New file.
45193         * benchtests/bench-strlen.c: New file.
45194         * benchtests/bench-strncasecmp-ifunc.c: New file.
45195         * benchtests/bench-strncasecmp.c: New file.
45196         * benchtests/bench-strncat-ifunc.c: New file.
45197         * benchtests/bench-strncat.c: New file.
45198         * benchtests/bench-strncmp-ifunc.c: New file.
45199         * benchtests/bench-strncmp.c: New file.
45200         * benchtests/bench-strncpy-ifunc.c: New file.
45201         * benchtests/bench-strncpy.c: New file.
45202         * benchtests/bench-strnlen-ifunc.c: New file.
45203         * benchtests/bench-strnlen.c: New file.
45204         * benchtests/bench-strpbrk-ifunc.c: New file.
45205         * benchtests/bench-strpbrk.c: New file.
45206         * benchtests/bench-strrchr-ifunc.c: New file.
45207         * benchtests/bench-strrchr.c: New file.
45208         * benchtests/bench-strspn-ifunc.c: New file.
45209         * benchtests/bench-strspn.c: New file.
45210         * benchtests/bench-strstr-ifunc.c: New file.
45211         * benchtests/bench-strstr.c: New file.
45213         * benchtests/Makefile: Disable parallel execution of targets.
45214         (string-bench): Add memcpy.
45215         (benchset): New variable to store a list of benchmark sets.
45216         (bench-func): Renamed from bench.
45217         (bench-set): New target.
45218         (bench): Depend on bench-func and bench-set.
45219         * benchtests/README: Add section on benchmark sets.
45220         * benchtests/bench-memcpy-ifunc.c: New file.
45221         * benchtests/bench-memcpy.c: New file.
45222         * benchtests/bench-string.h: New file.
45224 2013-06-11  Andreas Schwab  <schwab@suse.de>
45226         [BZ #15577]
45227         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
45228         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
45229         values in the triple.
45230         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
45231         terminator in the group key.
45233 2013-06-11  Andreas Jaeger  <aj@suse.de>
45235         * po/zh_TW.po: Update Chinese (traditional) translation from
45236         translation project.
45238 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45240         * include/time.h (__clock_gettime): Add libc_hidden_proto.
45241         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
45242         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
45243         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45244         (clock_getcpuclockid): Likewise.
45245         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
45246         Add weak_alias and libc_hidden_def.
45247         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
45248         * rt/clock_gettime.c (clock_gettime): Rename to
45249         __clock_gettime.  Add weak_alias and libc_hidden_def.
45250         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
45251         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
45252         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
45253         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
45254         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
45255         Likewise.
45256         * rt/clock_settime.c (clock_settime): Rename to
45257         __clock_settime.  Add weak_alias and libc_hidden_def.
45258         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
45260 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
45262         * mach/err_boot.sub: Remove trailing whitespace.
45263         * mach/err_ipc.sub: Likewise.
45264         * mach/err_mach.sub: Likewise.
45266         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
45267         (ROUNDING_TESTS_double): Likewise.
45268         (ROUNDING_TESTS_long_double): Likewise.
45269         (ROUNDING_TESTS): Likewise.
45270         * math/libm-test.inc: Include <math-tests.h>.
45271         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
45272         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
45273         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
45274         (IF_ROUND_INIT_FE_UPWARD): Likewise.
45276 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45278         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
45279         of assigning.
45281 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
45283         * sysdeps/gnu/errlist.awk: Do not generate space at end of
45284         otherwise empty TRANS lines.
45285         * sysdeps/gnu/errlist.c: Regenerated.
45287         * catgets/gencat.c (error_print): Use (void) in function
45288         definition.
45289         * crypt/crypt_util.c (__init_des): Likewise.
45290         * crypt/speeds.c (Stop): Likewise.
45291         (main): Likewise.
45292         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
45293         * inet/ruserpass.c (token): Likewise.
45294         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
45295         * intl/localealias.c (extend_alias_table): Likewise.
45296         * intl/plural-exp.c (init_germanic_plural): Likewise.
45297         * libio/fcloseall.c (__fcloseall): Likewise.
45298         * libio/genops.c (_IO_flush_all): Likewise.
45299         (_IO_flush_all_linebuffered): Likewise.
45300         (_IO_cleanup): Likewise.
45301         (_IO_iter_begin): Likewise.
45302         (_IO_iter_end): Likewise.
45303         (_IO_list_lock): Likewise.
45304         (_IO_list_unlock): Likewise.
45305         (_IO_list_resetlock): Likewise.
45306         * libio/getchar.c (getchar): Likewise.
45307         * libio/getchar_u.c (getchar_unlocked): Likewise.
45308         * libio/getwchar.c (getwchar): Likewise.
45309         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
45310         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
45311         * login/getpt.c (__getpt): Likewise.
45312         * login/tst-utmp.c (main): Likewise.
45313         * malloc/hooks.c (__malloc_check_init): Likewise.
45314         * malloc/malloc.c (__malloc_stats): Likewise.
45315         * malloc/mtrace.c (tr_break): Likewise.
45316         (mtrace): Likewise.
45317         (muntrace): Likewise.
45318         * misc/fstab.c (endfsent): Likewise.
45319         * misc/getclktck.c (__getclktck): Likewise.
45320         * misc/getdtsz.c (__getdtablesize): Likewise.
45321         * misc/gethostid.c (gethostid): Likewise.
45322         * misc/getpagesize.c (__getpagesize): Likewise.
45323         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
45324         (__get_nprocs): Likewise.
45325         (__get_phys_pages): Likewise.
45326         (__get_avphys_pages): Likewise.
45327         * misc/getttyent.c (getttyent): Likewise.
45328         (setttyent): Likewise.
45329         (endttyent): Likewise.
45330         * misc/getusershell.c (getusershell): Likewise.
45331         (endusershell): Likewise.
45332         (setusershell): Likewise.
45333         (initshells): Likewise.
45334         * misc/hsearch.c (__hdestroy): Likewise.
45335         * misc/sync.c (sync): Likewise.
45336         * misc/syslog.c (closelog_internal): Likewise.
45337         (closelog): Likewise.
45338         * misc/ttyslot.c (ttyslot): Likewise.
45339         * misc/vhangup.c (vhangup): Likewise.
45340         * posix/fork.c (__fork): Likewise.
45341         * posix/getegid.c (__getegid): Likewise.
45342         * posix/geteuid.c (__geteuid): Likewise.
45343         * posix/getgid.c (__getgid): Likewise.
45344         * posix/getpid.c (__getpid): Likewise.
45345         * posix/getppid.c (__getppid): Likewise.
45346         * posix/getuid.c (__getuid): Likewise.
45347         * posix/pause.c (pause): Likewise.
45348         * posix/setpgrp.c (setpgrp): Likewise.
45349         * posix/setsid.c (__setsid): Likewise.
45350         * posix/test-vfork.c (noop): Likewise.
45351         * resolv/gethnamaddr.c (_endhtent): Likewise.
45352         (_gethtent): Likewise.
45353         (ht_endhostent): Likewise.
45354         (gethostent): Likewise.
45355         (dns_service): Likewise.
45356         * stdlib/drand48.c (drand48): Likewise.
45357         * stdlib/lrand48.c (lrand48): Likewise.
45358         * stdlib/mrand48.c (mrand48): Likewise.
45359         * stdlib/rand.c (rand): Likewise.
45360         * stdlib/random.c (__random): Likewise.
45361         * stdlib/setenv.c (clearenv): Likewise.
45362         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
45363         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
45364         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
45365         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
45366         (__get_nprocs): Likewise.
45367         (__get_phys_pages): Likewise.
45368         (__get_avphys_pages): Likewise.
45369         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
45370         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
45371         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
45372         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
45373         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
45374         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
45375         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
45376         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
45377         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
45378         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
45379         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
45380         * sysdeps/mach/hurd/sync.c (sync): Likewise.
45381         * sysdeps/posix/clock.c (clock): Likewise.
45382         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
45383         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
45384         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
45385         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
45386         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
45387         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
45388         (__get_nprocs_conf): Likewise.
45389         (__get_phys_pages): Likewise.
45390         (__get_avphys_pages): Likewise.
45391         * time/clock.c (clock): Likewise.
45392         * time/tzset.c (__tzname_max): Likewise.
45394 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
45396         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
45397         (__bswap_32): Do not use "register".
45398         * crypt/crypt.c (_ufc_doit_r): Likewise.
45399         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
45400         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
45401         * gmon/gmon.c (__monstartup): Likewise.
45402         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
45403         * hurd/hurdmalloc.c (more_memory): Likewise.
45404         (malloc): Likewise.
45405         (free): Likewise.
45406         (realloc): Likewise.
45407         (malloc_fork_prepare): Likewise.
45408         (malloc_fork_parent): Likewise.
45409         (malloc_fork_child): Likewise.
45410         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
45411         (_svcauth_des): Likewise.
45412         * inet/inet_lnaof.c (inet_lnaof): Likewise.
45413         * inet/inet_net.c (inet_network): Likewise.
45414         * inet/inet_netof.c (inet_netof): Likewise.
45415         * inet/rcmd.c (__validuser2_sa): Likewise.
45416         * io/fts.c (fts_open): Likewise.
45417         (fts_load): Likewise.
45418         (fts_close): Likewise.
45419         (fts_read): Likewise.
45420         (fts_children): Likewise.
45421         (fts_build): Likewise.
45422         (fts_stat): Likewise.
45423         (fts_sort): Likewise.
45424         (fts_alloc): Likewise.
45425         (fts_lfree): Likewise.
45426         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
45427         (_IO_file_xsgetn): Likewise.
45428         (_IO_file_xsgetn_mmap): Likewise.
45429         * libio/iofopncook.c (_IO_cookie_read): Likewise.
45430         (_IO_cookie_write): Likewise.
45431         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
45432         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
45433         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
45434         * malloc/obstack.c (_obstack_begin): Likewise.
45435         (_obstack_begin_1): Likewise.
45436         (_obstack_newchunk): Likewise.
45437         (_obstack_allocated_p): Likewise.
45438         (obstack_free): Likewise.
45439         (_obstack_memory_used): Likewise.
45440         * misc/getttyent.c (getttynam): Likewise.
45441         (getttyent): Likewise.
45442         (skip): Likewise.
45443         (value): Likewise.
45444         * misc/getusershell.c (initshells): Likewise.
45445         * misc/syslog.c (__vsyslog_chk): Likewise.
45446         * misc/ttyslot.c (ttyslot): Likewise.
45447         * nis/nis_hash.c (__nis_hash): Likewise.
45448         * posix/fnmatch_loop.c (FCT): Likewise.
45449         * posix/getconf.c (print_all): Likewise.
45450         (main): Likewise.
45451         * posix/getopt.c (exchange): Likewise.
45452         * posix/glob.c (globfree): Likewise.
45453         (prefix_array): Likewise.
45454         (__glob_pattern_type): Likewise.
45455         * resolv/arpa/nameser.h (NS_GET16): Likewise.
45456         (NS_GET32): Likewise.
45457         (NS_PUT16): Likewise.
45458         (NS_PUT32): Likewise.
45459         * resolv/gethnamaddr.c (getanswer): Likewise.
45460         (gethostbyname2): Likewise.
45461         (gethostbyaddr): Likewise.
45462         (_gethtent): Likewise.
45463         (_gethtbyname2): Likewise.
45464         (_gethtbyaddr): Likewise.
45465         * resolv/ns_print.c (dst_s_get_int16): Likewise.
45466         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
45467         * resolv/res_init.c (__res_vinit): Likewise.
45468         (net_mask): Likewise.
45469         * resolv/res_mkquery.c (outchar): Likewise.
45470         (PRINT): Likewise.
45471         * stdio-common/printf_fp.c (outchar): Likewise.
45472         (PRINT): Likewise.
45473         * stdio-common/printf_fphex.c (outchar): Likewise.
45474         (PRINT): Likewise.
45475         * stdio-common/printf_size.c (outchar): Likewise.
45476         (PRINT): Likewise.
45477         * stdio-common/test_rdwr.c (main): Likewise.
45478         * stdio-common/tfformat.c (matches): Likewise.
45479         * stdio-common/vfprintf.c (outchar): Likewise.
45480         (printf_unknown): Likewise.
45481         (buffered_vfprintf): Likewise.
45482         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
45483         * stdio-common/xbug.c (AppendToBuffer): Likewise.
45484         (ReadFile): Likewise.
45485         * stdlib/qsort.c (SWAP): Likewise.
45486         (_quicksort): Likewise.
45487         * stdlib/setenv.c (__add_to_environ): Likewise.
45488         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
45489         * stdlib/strtol_l.c (__strtol_l): Likewise.
45490         * stdlib/tst-strtod.c (main): Likewise.
45491         * stdlib/tst-strtol.c (main): Likewise.
45492         * stdlib/tst-strtoll.c (main): Likewise.
45493         * string/bits/string2.h (__strcmp_cc): Likewise.
45494         (__strcmp_cg): Likewise.
45495         (__strcspn_c1): Likewise.
45496         (__strcspn_c2): Likewise.
45497         (__strcspn_c3): Likewise.
45498         (__strspn_c1): Likewise.
45499         (__strspn_c2): Likewise.
45500         (__strspn_c3): Likewise.
45501         (__strsep_1c): Likewise.
45502         (__strsep_2c): Likewise.
45503         (__strsep_3c): Likewise.
45504         * string/memccpy.c (__memccpy): Likewise.
45505         * string/stpcpy.c (__stpcpy): Likewise.
45506         * string/strcmp.c (strcmp): Likewise.
45507         * string/strrchr.c (strrchr): Likewise.
45508         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
45509         Likewise.
45510         * sysdeps/mach/hurd/getcwd.c
45511         (_hurd_canonicalize_directory_name_internal): Likewise.
45512         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
45513         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
45514         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
45515         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
45516         Likewise, in both definitions.
45517         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
45518         definitions.
45519         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
45520         64] (__bswap_64): Likewise.
45521         * time/test_time.c (main): Likewise.
45522         * time/tzfile.c (__tzfile_read): Likewise.
45523         (__tzfile_compute): Likewise.
45524         * time/tzset.c (__tzset_parse_tz): Likewise.
45525         (tzset_internal): Likewise.
45526         (compute_change): Likewise.
45527         * wcsmbs/wcscat.c (__wcscat): Likewise.
45528         * wcsmbs/wcschr.c (wcschr): Likewise.
45529         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
45530         * wcsmbs/wcscspn.c (wcscspn): Likewise.
45531         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
45532         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
45533         * wcsmbs/wcsspn.c (wcsspn): Likewise.
45534         * wcsmbs/wcsstr.c (wcsstr): Likewise.
45535         * wcsmbs/wmemchr.c (wmemchr): Likewise.
45536         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
45537         * wcsmbs/wmemset.c (wmemset): Likewise.
45539 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
45541         * scripts/config.guess: Update to version 2013-05-16.
45542         * scripts/config.sub: Update to version 2013-04-24.
45543         * scripts/install-sh: Update to version 2011-11-20.07.
45544         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
45545         * scripts/move-if-change: Update to version 2012-01-06 07:23.
45547 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
45549         * debug/fgetws_u_chk.c: Fix leading whitespaces.
45550         * elf/sln.c: Likewise.
45551         * hurd/hurd/ioctl.h: Likewise.
45552         * hurd/hurdmalloc.c: Likewise.
45553         * hurd/xattr.c: Likewise.
45554         * include/shlib-compat.h: Likewise.
45555         * inet/ruserpass.c: Likewise.
45556         * libio/iofgets_u.c: Likewise.
45557         * libio/iofgetws_u.c: Likewise.
45558         * locale/programs/ld-identification.c: Likewise.
45559         * locale/programs/ld-time.c: Likewise.
45560         * mach/msg-destroy.c: Likewise.
45561         * nss/nss_files/files-netgrp.c: Likewise.
45562         * resolv/res_data.c: Likewise.
45563         * soft-fp/op-1.h: Likewise.
45564         * soft-fp/op-2.h: Likewise.
45565         * soft-fp/op-4.h: Likewise.
45566         * soft-fp/op-common.h: Likewise.
45567         * stdio-common/printf_fphex.c: Likewise.
45568         * stdlib/strtod_l.c: Likewise.
45569         * sunrpc/rpc/clnt.h: Likewise.
45570         * sysdeps/generic/framestate.c: Likewise.
45571         * sysdeps/i386/bsd-_setjmp.S: Likewise.
45572         * sysdeps/i386/bsd-setjmp.S: Likewise.
45573         * sysdeps/i386/__longjmp.S: Likewise.
45574         * sysdeps/i386/setjmp.S: Likewise.
45575         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45576         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45577         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45578         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45579         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45580         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
45581         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45582         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45583         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45584         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
45585         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
45586         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
45587         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
45588         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
45589         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
45590         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45591         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
45592         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
45593         * sysdeps/ieee754/support.c: Likewise.
45594         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
45595         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
45596         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
45597         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
45598         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
45599         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
45600         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
45601         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
45602         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
45603         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
45604         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
45605         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
45606         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
45607         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
45608         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
45609         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
45610         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
45611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
45613 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
45615         * posix/transbug.c: Remove executable mode.
45617 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
45619         * crypt/speeds.c: Remove trailing whitespace.
45620         * dlfcn/default.c: Likewise.
45621         * elf/ifuncdep2.c: Likewise.
45622         * elf/ifuncmain1.c: Likewise.
45623         * elf/ifuncmain1vis.c: Likewise.
45624         * elf/testobj.h: Likewise.
45625         * elf/tst-stackguard1.c: Likewise.
45626         * gmon/sys/gmon.h: Likewise.
45627         * hurd/hurdmsg.c: Likewise.
45628         * hurd/new-fd.c: Likewise.
45629         * hurd/ports-get.c: Likewise.
45630         * iconvdata/ibm1008_420.c: Likewise.
45631         * inet/tst-getni1.c: Likewise.
45632         * inet/tst-getni2.c: Likewise.
45633         * libio/ioungetc.c: Likewise.
45634         * libio/wfiledoalloc.c: Likewise.
45635         * manual/libm-err-tab.pl: Likewise.
45636         * math/w_dremf.c: Likewise.
45637         * misc/ftruncate.c: Likewise.
45638         * posix/bug-glob2.c: Likewise.
45639         * posix/tst-pcre.c: Likewise.
45640         * posix/wait4.c: Likewise.
45641         * resolv/README: Likewise.
45642         * resolv/res_debug.h: Likewise.
45643         * resolv/tst-inet_ntop.c: Likewise.
45644         * setjmp/bug269-setjmp.c: Likewise.
45645         * soft-fp/extended.h: Likewise.
45646         * soft-fp/op-1.h: Likewise.
45647         * soft-fp/op-2.h: Likewise.
45648         * soft-fp/op-4.h: Likewise.
45649         * soft-fp/op-8.h: Likewise.
45650         * soft-fp/testit.c: Likewise.
45651         * stdio-common/bug16.c: Likewise.
45652         * stdlib/random.c: Likewise.
45653         * sunrpc/rpcsvc/rquota.x: Likewise.
45654         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
45655         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45656         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45657         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45658         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45659         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45660         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45661         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45662         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45663         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45664         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45665         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
45666         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45667         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
45668         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45669         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
45670         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
45671         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45672         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
45673         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45674         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45675         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45676         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
45677         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
45678         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
45679         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
45680         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
45681         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
45682         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45683         * sysdeps/ieee754/s_lib_version.c: Likewise.
45684         * sysdeps/mach/hurd/check_fds.c: Likewise.
45685         * sysdeps/mach/hurd/getsockname.c: Likewise.
45686         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
45687         * sysdeps/mach/hurd/recvfrom.c: Likewise.
45688         * sysdeps/powerpc/bits/link.h: Likewise.
45689         * sysdeps/powerpc/dl-procinfo.c: Likewise.
45690         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
45691         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
45692         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
45693         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
45694         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
45695         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
45696         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
45697         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
45698         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
45699         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
45700         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
45701         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
45702         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
45703         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
45704         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
45705         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
45706         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
45707         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
45708         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45709         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45710         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
45711         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45712         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
45713         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
45714         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
45715         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
45716         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45717         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45718         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
45719         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
45720         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
45721         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
45722         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45723         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
45724         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
45725         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
45726         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
45727         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
45728         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
45729         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
45730         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
45731         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
45732         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
45733         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
45734         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
45735         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
45736         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
45737         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
45738         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
45739         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45740         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45741         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
45742         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
45743         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
45744         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
45745         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
45746         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
45747         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
45748         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
45749         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
45750         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
45751         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
45752         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
45753         * sysdeps/powerpc/sysdep.h: Likewise.
45754         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45755         * sysdeps/s390/s390-64/sub_n.S: Likewise.
45756         * sysdeps/sh/dl-trampoline.S: Likewise.
45757         * sysdeps/sh/memset.S: Likewise.
45758         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
45759         * sysdeps/sh/strlen.S: Likewise.
45760         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
45761         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
45762         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
45763         * sysdeps/sparc/sparc32/rem.S: Likewise.
45764         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
45765         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
45766         * sysdeps/sparc/sparc32/strchr.S: Likewise.
45767         * sysdeps/sparc/sparc32/udiv.S: Likewise.
45768         * sysdeps/sparc/sparc32/urem.S: Likewise.
45769         * sysdeps/sparc/sparc64/add_n.S: Likewise.
45770         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
45771         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
45772         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
45773         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
45774         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
45775         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
45776         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
45777         * sysdeps/unix/bsd/times.c: Likewise.
45778         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
45779         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
45780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
45781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
45782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
45783         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
45784         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
45785         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
45786         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
45787         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
45788         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
45789         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
45790         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
45791         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
45792         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
45793         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
45794         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
45795         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
45796         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
45797         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
45798         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
45799         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
45800         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
45801         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
45802         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
45803         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
45804         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
45805         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45806         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
45807         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
45808         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
45809         * sysdeps/x86_64/strcspn.S: Likewise.
45811 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45813         * locale/C-translit.h: Revert #include <stdint.h> because this is a
45814         generated file.  Regenerate properly from gen-translit.pl.
45815         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
45816         locale/C-translit.h.
45818 2013-06-05  Andreas Schwab  <schwab@suse.de>
45820         [BZ #15100]
45821         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
45822         week as 6 instead of -1.
45823         * time/tst-strptime.c (day_tests): Add test case.
45825 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45827         * sysdeps/generic/math_private.h
45828         (libc_feholdexcept_setround_53bit): Replace with
45829         libc_feholdsetround_53bit.
45830         (libc_feupdateenv_53bit): Replace with
45831         libc_feresetround_53bit.
45832         (SET_RESTORE_ROUND_53BIT): Adjust.
45834 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
45836         * string/test-strchrnul.c: Add copyright header.
45838         * posix/tst-getaddrinfo4.c: Increase test timeout.
45840 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
45842         [BZ #15536]
45843         * math/libm-test.inc (MAX_EXP): Remove
45844         (MIN_EXP): Define.
45845         (ulp): Use MIN_EXP - MANT_DIG.
45846         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
45848 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
45850         * po/be.po: Revert last change.
45851         * po/zh_CN.po: Likewise.
45852         * po/header.pot: Likewise.
45854 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
45856         * Makefile ($(common-objpfx)linkobj/libc.so): Define
45857         link-libc-deps to empty as target-specific variable.
45858         * Makerules (link-libc-args): New variable.
45859         (libc-for-link): Likewise.
45860         (link-libc-deps): Likewise.
45861         (lib%.so): Depend on $(link-libc-deps).  Link with
45862         $(link-libc-args).
45863         (build-module): Link with $(link-libc-args).
45864         (build-module-asneeded): Likewise.
45865         (build-module-helper-objlist): Filter out $(link-libc-deps) from
45866         list of objects.
45867         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
45868         target-specific variable.
45869         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
45870         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
45871         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
45872         libc.
45873         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
45874         libc and ld.so.
45875         ($(objpfx)libpcprofile.so): Likewise.
45876         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
45877         libc_nonshared.a.
45878         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
45879         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
45880         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
45881         $(link-libc-deps).
45882         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
45883         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
45884         * login/Makefile ($(objpfx)libutil.so): Likewise.
45885         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
45886         * math/Makefile ($(objpfx)libm.so): Likewise.
45887         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
45888         $(objpfx)libnsl.so): Define libc-for-link as target-specific
45889         variable instead of depending directly on libc.
45890         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
45891         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
45892         $(link-libc-deps).
45893         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
45894         libc.
45895         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
45896         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
45897         ($(objpfx)libanl.so): Likewise.
45898         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
45899         ld.so.
45900         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
45901         $(link-libc-deps).
45902         * sysdeps/i386/fpu/Makefile: Remove file.
45903         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
45904         ($(objpfx)libm.so): Remove dependency on ld.so.
45906 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
45908         [BZ # 15553]
45909         * nis/yp_xdr.c (XDRMAXNAME): Define.
45910         (XDRMAXRECORD): Define.
45911         (xdr_domainname): Use XDRMAXNAME.
45912         (xdr_mapname): Likewise.
45913         (xdr_peername): Likewise.
45914         (xdr_keydat): Use XDRMAXRECORD.
45915         (xdr_valdat): Likewise.
45917 2013-05-30  Jeff Law  <law@redhat.com>
45919         [BZ #14256]
45920         * manual/errno.texi (ESTALE): Update to account for more than
45921         just NFS file systems.
45922         * sysdeps/gnu/errlist.c: Regenerated.
45924 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45926         [BZ #15465]
45927         * elf/Makefile (tests): Add tst-null-argv.
45928         (modules-names):  Add tst-null-argv-lib.
45929         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
45930         (tst-null-argv-ENV): Set environment for tst-null-argv.
45931         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
45932         (RTLD_PROGNAME): New macro.
45933         * elf/tst-null-argv.c: New test case.
45934         * elf/tst-null-argv-lib.c: Library for test case.
45935         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
45936         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
45937         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
45938         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
45939         * elf/dl-init.c (call_init): Likewise.
45940         (_dl_init): Likewise.
45941         * elf/dl-load.c (print_search_path): Likewise.
45942         (_dl_map_object): Likewise.
45943         * elf/dl-lookup.c (do_lookup_x): Likewise.
45944         (add_dependency): Likewise.
45945         (_dl_lookup_symbol_x): Likewise.
45946         (_dl_debug_bindings): Likewise.
45947         * elf/dl-open.c (_dl_show_scope): Likewise.
45948         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
45949         * elf/dl-version.c (match_symbol): Likewise.
45950         (_dl_check_map_versions): Likewise.
45951         * elf/rtld.c (dl_main): Likewise.
45952         (print_unresolved): Use RTLD_PROGNAME.
45953         (print_missing_version): Likewise.
45954         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
45955         (elf_machine_rela): Likewise.
45956         * sysdeps/powerpc/powerpc32/dl-machine.c
45957         (__process_machine_rela): Likewise.
45958         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45959         Likewise.
45960         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
45961         Likewise.
45962         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
45963         Likewise.
45964         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45965         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
45966         Likewise.
45967         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
45968         Likewise.
45969         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45971 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
45973         * po/be.po: Add descriptive title.
45974         * po/zh_CN.po: Likewise.
45975         * po/header.pot: Likewise.
45977 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
45979         * locale/programs/locarchive.c (create_archive): Inlucde fname in
45980         error message.
45981         (enlarge_archive): Likewise.
45983 2013-05-28  Ben North  <ben@redfrontdoor.org>
45985         * manual/arith.texi (frexp): It is the magnitude of the return
45986         value which lies in [0.5, 1), not the return value itself.
45988 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45990         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45992 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
45994         * stdio-common/bug26.c (main): Correct fscanf template.
45996         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
45997         declare _dl_skip_args.
45999         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
46000         Don't declare.
46002         * manual/platform.texi: Add missing @end deftypefun.
46004 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
46006         [BZ #15529]
46007         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
46008         bit of mantissa of 2^16382.
46009         * math/libm-test.inc (hypot_test_data): Add more tests.
46011         * math/libm-test.inc: Add drem and pow10 to list of tested
46012         functions.
46013         (pow10_test): New function.
46014         (drem_test): Likewise.
46015         (drem_test_tonearest): Likewise.
46016         (drem_test_towardzero): Likewise.
46017         (drem_test_downward): Likewise.
46018         (drem_test_upward): Likewise.
46019         (main): Call the new functions.
46021         * math/libm-test.inc (finite_test_data): Remove.
46022         (finite_test): Run tests from isfinite_test_data.
46023         (gamma_test_data): Remove.
46024         (gamma_test): Run tests from lgamma_test_data.
46025         * sysdeps/i386/fpu/libm-test-ulps: Update.
46026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46028 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46030         * manual/platform.texi: Add PowerPC PPR function set documentation.
46031         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
46032         implementation.
46034 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
46036         * math/libm-test.inc (MAX_EXP): Define.
46037         (ULPDIFF): Define.
46038         (ulp): New function.
46039         (check_float_internal): Use ULPDIFF.
46040         (cpow_test): Disable failing test.
46041         (check_ulp): Test ulp() implemetnation.
46042         (main): Call check_ulp before starting tests.
46044 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
46046         * math/gen-libm-test.pl (generate_testfile): Do not handle
46047         START_DATA and END_DATA.
46048         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
46049         END_DATA.
46050         (acos_tonearest_test_data): Likewise.
46051         (acos_towardzero_test_data): Likewise.
46052         (acos_downward_test_data): Likewise.
46053         (acos_upward_test_data): Likewise.
46054         (acosh_test_data): Likewise.
46055         (asin_test_data): Likewise.
46056         (asin_tonearest_test_data): Likewise.
46057         (asin_towardzero_test_data): Likewise.
46058         (asin_downward_test_data): Likewise.
46059         (asin_upward_test_data): Likewise.
46060         (asinh_test_data): Likewise.
46061         (atan_test_data): Likewise.
46062         (atanh_test_data): Likewise.
46063         (atan2_test_data): Likewise.
46064         (cabs_test_data): Likewise.
46065         (cacos_test_data): Likewise.
46066         (cacosh_test_data): Likewise.
46067         (carg_test_data): Likewise.
46068         (casin_test_data): Likewise.
46069         (casinh_test_data): Likewise.
46070         (catan_test_data): Likewise.
46071         (catanh_test_data): Likewise.
46072         (cbrt_test_data): Likewise.
46073         (ccos_test_data): Likewise.
46074         (ccosh_test_data): Likewise.
46075         (ceil_test_data): Likewise.
46076         (cexp_test_data): Likewise.
46077         (cimag_test_data): Likewise.
46078         (clog_test_data): Likewise.
46079         (clog10_test_data): Likewise.
46080         (conj_test_data): Likewise.
46081         (copysign_test_data): Likewise.
46082         (cos_test_data): Likewise.
46083         (cos_tonearest_test_data): Likewise.
46084         (cos_towardzero_test_data): Likewise.
46085         (cos_downward_test_data): Likewise.
46086         (cos_upward_test_data): Likewise.
46087         (cosh_test_data): Likewise.
46088         (cosh_tonearest_test_data): Likewise.
46089         (cosh_towardzero_test_data): Likewise.
46090         (cosh_downward_test_data): Likewise.
46091         (cosh_upward_test_data): Likewise.
46092         (cpow_test_data): Likewise.
46093         (cproj_test_data): Likewise.
46094         (creal_test_data): Likewise.
46095         (csin_test_data): Likewise.
46096         (csinh_test_data): Likewise.
46097         (csqrt_test_data): Likewise.
46098         (ctan_test_data): Likewise.
46099         (ctan_tonearest_test_data): Likewise.
46100         (ctan_towardzero_test_data): Likewise.
46101         (ctan_downward_test_data): Likewise.
46102         (ctan_upward_test_data): Likewise.
46103         (ctanh_test_data): Likewise.
46104         (ctanh_tonearest_test_data): Likewise.
46105         (ctanh_towardzero_test_data): Likewise.
46106         (ctanh_downward_test_data): Likewise.
46107         (ctanh_upward_test_data): Likewise.
46108         (erf_test_data): Likewise.
46109         (erfc_test_data): Likewise.
46110         (exp_test_data): Likewise.
46111         (exp_tonearest_test_data): Likewise.
46112         (exp_towardzero_test_data): Likewise.
46113         (exp_downward_test_data): Likewise.
46114         (exp_upward_test_data): Likewise.
46115         (exp10_test_data): Likewise.
46116         (exp2_test_data): Likewise.
46117         (expm1_test_data): Likewise.
46118         (fabs_test_data): Likewise.
46119         (fdim_test_data): Likewise.
46120         (finite_test_data): Likewise.
46121         (floor_test_data): Likewise.
46122         (fma_test_data): Likewise.
46123         (fma_towardzero_test_data): Likewise.
46124         (fma_downward_test_data): Likewise.
46125         (fma_upward_test_data): Likewise.
46126         (fmax_test_data): Likewise.
46127         (fmin_test_data): Likewise.
46128         (fmod_test_data): Likewise.
46129         (fpclassify_test_data): Likewise.
46130         (frexp_test_data): Likewise.
46131         (gamma_test_data): Likewise.
46132         (hypot_test_data): Likewise.
46133         (ilogb_test_data): Likewise.
46134         (isfinite_test_data): Likewise.
46135         (isgreater_test_data): Likewise.
46136         (isgreaterequal_test_data): Likewise.
46137         (isinf_test_data): Likewise.
46138         (isless_test_data): Likewise.
46139         (islessequal_test_data): Likewise.
46140         (islessgreater_test_data): Likewise.
46141         (isnan_test_data): Likewise.
46142         (isnormal_test_data): Likewise.
46143         (issignaling_test_data): Likewise.
46144         (isunordered_test_data): Likewise.
46145         (j0_test_data): Likewise.
46146         (j1_test_data): Likewise.
46147         (jn_test_data): Likewise.
46148         (ldexp_test_data): Likewise.
46149         (lgamma_test_data): Likewise.
46150         (lrint_test_data): Likewise.
46151         (lrint_tonearest_test_data): Likewise.
46152         (lrint_towardzero_test_data): Likewise.
46153         (lrint_downward_test_data): Likewise.
46154         (lrint_upward_test_data): Likewise.
46155         (llrint_test_data): Likewise.
46156         (llrint_tonearest_test_data): Likewise.
46157         (llrint_towardzero_test_data): Likewise.
46158         (llrint_downward_test_data): Likewise.
46159         (llrint_upward_test_data): Likewise.
46160         (log_test_data): Likewise.
46161         (log10_test_data): Likewise.
46162         (log1p_test_data): Likewise.
46163         (log2_test_data): Likewise.
46164         (logb_test_data): Likewise.
46165         (logb_downward_test_data): Likewise.
46166         (lround_test_data): Likewise.
46167         (llround_test_data): Likewise.
46168         (modf_test_data): Likewise.
46169         (nearbyint_test_data): Likewise.
46170         (nextafter_test_data): Likewise.
46171         (nexttoward_test_data): Likewise.
46172         (pow_test_data): Likewise.
46173         (pow_tonearest_test_data): Likewise.
46174         (pow_towardzero_test_data): Likewise.
46175         (pow_downward_test_data): Likewise.
46176         (pow_upward_test_data): Likewise.
46177         (remainder_test_data): Likewise.
46178         (remainder_tonearest_test_data): Likewise.
46179         (remainder_towardzero_test_data): Likewise.
46180         (remainder_downward_test_data): Likewise.
46181         (remainder_upward_test_data): Likewise.
46182         (remquo_test_data): Likewise.
46183         (rint_test_data): Likewise.
46184         (rint_tonearest_test_data): Likewise.
46185         (rint_towardzero_test_data): Likewise.
46186         (rint_downward_test_data): Likewise.
46187         (rint_upward_test_data): Likewise.
46188         (round_test_data): Likewise.
46189         (scalb_test_data): Likewise.
46190         (scalbn_test_data): Likewise.
46191         (scalbln_test_data): Likewise.
46192         (signbit_test_data): Likewise.
46193         (sin_test_data): Likewise.
46194         (sin_tonearest_test_data): Likewise.
46195         (sin_towardzero_test_data): Likewise.
46196         (sin_downward_test_data): Likewise.
46197         (sin_upward_test_data): Likewise.
46198         (sincos_test_data): Likewise.
46199         (sinh_test_data): Likewise.
46200         (sinh_tonearest_test_data): Likewise.
46201         (sinh_towardzero_test_data): Likewise.
46202         (sinh_downward_test_data): Likewise.
46203         (sinh_upward_test_data): Likewise.
46204         (sqrt_test_data): Likewise.
46205         (tan_test_data): Likewise.
46206         (tan_tonearest_test_data): Likewise.
46207         (tan_towardzero_test_data): Likewise.
46208         (tan_downward_test_data): Likewise.
46209         (tan_upward_test_data): Likewise.
46210         (tanh_test_data): Likewise.
46211         (tgamma_test_data): Likewise.
46212         (trunc_test_data): Likewise.
46213         (y0_test_data): Likewise.
46214         (y1_test_data): Likewise.
46215         (yn_test_data): Likewise.
46216         (significand_test_data): Likewise.
46218         * math/gen-libm-test.pl (@functions): Remove variable.
46219         (generate_testfile): Don't handle START and END lines.
46220         * math/libm-test.inc (START): New macro.
46221         (END): Likewise.
46222         (END_COMPLEX): Likewise.
46223         (acos_test): Use END macro without arguments.
46224         (acos_test_tonearest): Likewise.
46225         (acos_test_towardzero): Likewise.
46226         (acos_test_downward): Likewise.
46227         (acos_test_upward): Likewise.
46228         (acosh_test): Likewise.
46229         (asin_test): Likewise.
46230         (asin_test_tonearest): Likewise.
46231         (asin_test_towardzero): Likewise.
46232         (asin_test_downward): Likewise.
46233         (asin_test_upward): Likewise.
46234         (asinh_test): Likewise.
46235         (atan_test): Likewise.
46236         (atanh_test): Likewise.
46237         (atan2_test): Likewise.
46238         (cabs_test): Likewise.
46239         (cacos_test): Use END_COMPLEX macro without arguments.
46240         (cacosh_test): Likewise.
46241         (carg_test): Use END macro without arguments.
46242         (casin_test): Use END_COMPLEX macro without arguments.
46243         (casinh_test): Likewise.
46244         (catan_test): Likewise.
46245         (catanh_test): Likewise.
46246         (cbrt_test): Use END macro without arguments.
46247         (ccos_test): Use END_COMPLEX macro without arguments.
46248         (ccosh_test): Likewise.
46249         (ceil_test): Use END macro without arguments.
46250         (cexp_test): Use END_COMPLEX macro without arguments.
46251         (cimag_test): Use END macro without arguments.
46252         (clog_test): Use END_COMPLEX macro without arguments.
46253         (clog10_test): Likewise.
46254         (conj_test): Likewise.
46255         (copysign_test): Use END macro without arguments.
46256         (cos_test): Likewise.
46257         (cos_test_tonearest): Likewise.
46258         (cos_test_towardzero): Likewise.
46259         (cos_test_downward): Likewise.
46260         (cos_test_upward): Likewise.
46261         (cosh_test): Likewise.
46262         (cosh_test_tonearest): Likewise.
46263         (cosh_test_towardzero): Likewise.
46264         (cosh_test_downward): Likewise.
46265         (cosh_test_upward): Likewise.
46266         (cpow_test): Use END_COMPLEX macro without arguments.
46267         (cproj_test): Likewise.
46268         (creal_test): Use END macro without arguments.
46269         (csin_test): Use END_COMPLEX macro without arguments.
46270         (csinh_test): Likewise.
46271         (csqrt_test): Likewise.
46272         (ctan_test): Likewise.
46273         (ctan_test_tonearest): Likewise.
46274         (ctan_test_towardzero): Likewise.
46275         (ctan_test_downward): Likewise.
46276         (ctan_test_upward): Likewise.
46277         (ctanh_test): Likewise.
46278         (ctanh_test_tonearest): Likewise.
46279         (ctanh_test_towardzero): Likewise.
46280         (ctanh_test_downward): Likewise.
46281         (ctanh_test_upward): Likewise.
46282         (erf_test): Use END macro without arguments.
46283         (erfc_test): Likewise.
46284         (exp_test): Likewise.
46285         (exp_test_tonearest): Likewise.
46286         (exp_test_towardzero): Likewise.
46287         (exp_test_downward): Likewise.
46288         (exp_test_upward): Likewise.
46289         (exp10_test): Likewise.
46290         (exp2_test): Likewise.
46291         (expm1_test): Likewise.
46292         (fabs_test): Likewise.
46293         (fdim_test): Likewise.
46294         (finite_test): Likewise.
46295         (floor_test): Likewise.
46296         (fma_test): Likewise.
46297         (fma_test_towardzero): Likewise.
46298         (fma_test_downward): Likewise.
46299         (fma_test_upward): Likewise.
46300         (fmax_test): Likewise.
46301         (fmin_test): Likewise.
46302         (fmod_test): Likewise.
46303         (fpclassify_test): Likewise.
46304         (frexp_test): Likewise.
46305         (gamma_test): Likewise.
46306         (hypot_test): Likewise.
46307         (ilogb_test): Likewise.
46308         (isfinite_test): Likewise.
46309         (isgreater_test): Likewise.
46310         (isgreaterequal_test): Likewise.
46311         (isinf_test): Likewise.
46312         (isless_test): Likewise.
46313         (islessequal_test): Likewise.
46314         (islessgreater_test): Likewise.
46315         (isnan_test): Likewise.
46316         (isnormal_test): Likewise.
46317         (issignaling_test): Likewise.
46318         (isunordered_test): Likewise.
46319         (j0_test): Likewise.
46320         (j1_test): Likewise.
46321         (jn_test): Likewise.
46322         (ldexp_test): Likewise.
46323         (lgamma_test): Likewise.
46324         (lrint_test): Likewise.
46325         (lrint_test_tonearest): Likewise.
46326         (lrint_test_towardzero): Likewise.
46327         (lrint_test_downward): Likewise.
46328         (lrint_test_upward): Likewise.
46329         (llrint_test): Likewise.
46330         (llrint_test_tonearest): Likewise.
46331         (llrint_test_towardzero): Likewise.
46332         (llrint_test_downward): Likewise.
46333         (llrint_test_upward): Likewise.
46334         (log_test): Likewise.
46335         (log10_test): Likewise.
46336         (log1p_test): Likewise.
46337         (log2_test): Likewise.
46338         (logb_test): Likewise.
46339         (logb_test_downward): Likewise.
46340         (lround_test): Likewise.
46341         (llround_test): Likewise.
46342         (modf_test): Likewise.
46343         (nearbyint_test): Likewise.
46344         (nextafter_test): Likewise.
46345         (nexttoward_test): Likewise.
46346         (pow_test): Likewise.
46347         (pow_test_tonearest): Likewise.
46348         (pow_test_towardzero): Likewise.
46349         (pow_test_downward): Likewise.
46350         (pow_test_upward): Likewise.
46351         (remainder_test): Likewise.
46352         (remainder_test_tonearest): Likewise.
46353         (remainder_test_towardzero): Likewise.
46354         (remainder_test_downward): Likewise.
46355         (remainder_test_upward): Likewise.
46356         (remquo_test): Likewise.
46357         (rint_test): Likewise.
46358         (rint_test_tonearest): Likewise.
46359         (rint_test_towardzero): Likewise.
46360         (rint_test_downward): Likewise.
46361         (rint_test_upward): Likewise.
46362         (round_test): Likewise.
46363         (scalb_test): Likewise.
46364         (scalbn_test): Likewise.
46365         (scalbln_test): Likewise.
46366         (signbit_test): Likewise.
46367         (sin_test): Likewise.
46368         (sin_test_tonearest): Likewise.
46369         (sin_test_towardzero): Likewise.
46370         (sin_test_downward): Likewise.
46371         (sin_test_upward): Likewise.
46372         (sincos_test): Likewise.
46373         (sinh_test): Likewise.
46374         (sinh_test_tonearest): Likewise.
46375         (sinh_test_towardzero): Likewise.
46376         (sinh_test_downward): Likewise.
46377         (sinh_test_upward): Likewise.
46378         (sqrt_test): Likewise.
46379         (tan_test): Likewise.
46380         (tan_test_tonearest): Likewise.
46381         (tan_test_towardzero): Likewise.
46382         (tan_test_downward): Likewise.
46383         (tan_test_upward): Likewise.
46384         (tanh_test): Likewise.
46385         (tgamma_test): Likewise.
46386         (trunc_test): Likewise.
46387         (y0_test): Likewise.
46388         (y1_test): Likewise.
46389         (yn_test): Likewise.
46390         (significand_test): Likewise.
46392 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
46394         [BZ #15381]
46395         * libio/genops.c (_IO_no_init): Initialize wide struct info.
46397 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
46399         [BZ #14894]
46400         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
46401         __ppc_mdoio and __ppc_mdoom.
46402         * manual/platform.texi: Document new functions __ppc_yield,
46403         __ppc_mdoio and __ppc_mdoom.
46405 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
46407         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
46408         (main): Mention "tls" pseudo-hwcap is legacy.
46409         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
46411 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
46413         * math/gen-libm-test.pl (parse_args): Output only string of
46414         arguments as text for test name, not full call or descriptions of
46415         tests for extra outputs.
46416         (generate_testfile): Do not pass function name to parse_args.
46417         Generate this_func variable from START.
46418         * math/libm-test.inc (struct test_f_f_data): Rename test_name
46419         field to arg_str.
46420         (struct test_ff_f_data): Likewise.
46421         (test_ff_f_data_nexttoward): Likewise.
46422         (struct test_fi_f_data): Likewise.
46423         (struct test_fl_f_data): Likewise.
46424         (struct test_if_f_data): Likewise.
46425         (struct test_fff_f_data): Likewise.
46426         (struct test_c_f_data): Likewise.
46427         (struct test_f_f1_data): Likewise.  Remove field extra_name.
46428         (struct test_fF_f1_data): Likewise.
46429         (struct test_ffI_f1_data): Likewise.
46430         (struct test_c_c_data): Rename test_name field to arg_str.
46431         (struct test_cc_c_data): Likewise.
46432         (struct test_f_i_data): Likewise.
46433         (struct test_ff_i_data): Likewise.
46434         (struct test_f_l_data): Likewise.
46435         (struct test_f_L_data): Likewise.
46436         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
46437         and extra2_name.
46438         (COMMON_TEST_SETUP): New macro.
46439         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
46440         (COMMON_TEST_CLEANUP): Likewise.
46441         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
46442         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
46443         macros.
46444         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
46445         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
46446         macros.
46447         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
46448         (RUN_TEST_fff_f): Take argument string.  Call new setup and
46449         cleanup macros.
46450         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
46451         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
46452         macros.
46453         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
46454         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
46455         macros.
46456         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
46457         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
46458         cleanup macros.
46459         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
46460         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
46461         cleanup macros.
46462         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
46463         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
46464         cleanup macros.
46465         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
46466         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
46467         macros.
46468         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
46469         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
46470         macros.
46471         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
46472         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
46473         macros.
46474         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
46475         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
46476         cleanup macros.
46477         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
46478         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
46479         cleanup macros.
46480         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
46481         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
46482         macros.
46483         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
46484         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
46485         cleanup macros.
46486         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
46487         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
46488         macros.
46489         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
46490         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
46491         macros.
46492         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
46493         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
46494         cleanup macros.
46495         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
46497 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
46499         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
46500         to _sifields.sigfault.
46501         (si_addr_lsb): Define new macro.
46502         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
46503         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46504         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
46506 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
46508         [BZ #15441]
46509         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
46510         returns -1.
46511         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
46512         null return -1.
46513         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
46514         loading the domain.
46516 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
46518         * math/gen-libm-test.pl (parse_args): Do not include expected
46519         result in test name.
46520         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
46521         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46522         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46523         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46524         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46527 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
46529         * benchtests/Makefile: Sort function entries.
46531         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
46532         tanh, asinh, acosh, atanh.
46533         * benchtests/acos-inputs: New file.
46534         * benchtests/acosh-inputs: New file.
46535         * benchtests/asin-inputs: New file.
46536         * benchtests/asinh-inputs: New file.
46537         * benchtests/atanh-inputs: New file.
46538         * benchtests/cosh-inputs: New file.
46539         * benchtests/log-inputs: New file.
46540         * benchtests/sinh-inputs: New file.
46541         * benchtests/tanh-inputs: New file.
46543 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
46545         [BZ #15339]
46546         * posix/tst-getaddrinfo4.c: New test.
46547         * posix/Makefile (tests): Add it.
46549 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46551         [BZ #15339]
46552         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
46553         when no services were used.
46554         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
46555         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
46557 2013-05-21  Andreas Schwab  <schwab@suse.de>
46559         [BZ #15014]
46560         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
46561         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
46562         successful.
46563         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
46564         redundant variable declarations and reallocation of buffer when
46565         parsing as IPv6 address.  Always set NSS status when called from
46566         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
46567         buffer too small.  Correct computation of needed size.
46568         * nss/Makefile (tests): Add test-digits-dots.
46569         * nss/test-digits-dots.c: New test.
46571 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46573         * benchtests/Makefile: Remove instructions for adding
46574         benchmark tests.
46575         * benchtests/README: New file to explain how to execute and
46576         enhance the benchmark tests.
46578 2013-05-21  Andreas Schwab  <schwab@suse.de>
46580         [BZ #15493]
46581         * setjmp/Makefile (tests): Add tst-sigsetjmp.
46582         * setjmp/tst-sigsetjmp.c: New test.
46584 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
46586         * sysdeps/x86_64/memset.S (memset): New implementation.
46587         (__bzero): Likewise.
46588         (__memset_tail): New function.
46590 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
46592         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
46593         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
46594         __memcpy_sse2_unaligned ifunc selection.
46595         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
46596         Add memcpy-sse2-unaligned.S.
46597         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46598         Add: __memcpy_sse2_unaligned.
46600 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
46602         [BZ #15490]
46603         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
46604         math_force_eval before restoring floating-point envrionment.
46605         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
46606         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
46607         Likewise.
46608         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
46609         <math_private.h>.
46610         (__nearbyintl): Use math_force_eval before restoring
46611         floating-point environment.
46612         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
46614         * math/gen-libm-test.pl (special_functions): Remove.
46615         (parse_args): Don't handle TEST_extra.  Handle functions with no
46616         return value.
46617         * math/libm-test.inc (struct test_sincos_data): Replace with
46618         struct test_fFF_11_data.
46619         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
46620         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
46621         (sincos_test_data): Change element type to struct
46622         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
46623         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
46624         RUN_TEST_LOOP_sincos.
46625         * math/README.libm-test: Don't mention special handling of
46626         individual functions.
46627         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
46628         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46629         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46630         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46631         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46634         * math/gen-libm-test.pl (get_variable): Remove function.
46635         (parse_args): Don't show pointer parameters to call in test
46636         names.  Use "extra output N" in test names for extra outputs
46637         rather than naming variables.
46639 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
46641         [BZ #15488]
46642         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
46643         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
46644         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
46645         double tests.
46646         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
46647         disable.
46648         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
46649         check_long_double.
46651         * math/gen-libm-test.pl (@tests): Remove variable.
46652         ($count): Likewise.
46653         (new_test): Remove function.
46654         (show_exceptions): New function.
46655         (special_functions): Use show_exceptions instead of new_test.
46656         (parse_args): Likewise.
46657         (generate_testfile): Pass only function name in generated call to
46658         print_max_error or print_complex_max_error.
46659         (get_ulps): Do not handle complex tests specially.
46660         (output_test): Rename to ...
46661         (get_all_ulps_for_test): ... this.  Return a string rather than
46662         printing to a file.  Require ulps to be present.
46663         (output_ulps): Generate arrays rather than #defines.
46664         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
46665         (struct ulp_data): New type.
46666         (BUILD_COMPLEX_ULP): Remove macro.
46667         (compare_ulp_data): New function.
46668         (find_ulps): Likewise.
46669         (find_test_ulps): Likewise.
46670         (find_function_ulps): Likewise.
46671         (find_complex_function_ulps): Likewise.
46672         (print_max_error): Determine allowed ulps using
46673         find_function_ulps.
46674         (print_complex_max_error): Determine allowed ulps using
46675         find_complex_function_ulps.
46676         (check_float_internal): Determine max ulps using find_test_ulps.
46677         (check_float): Do not take max_ulp parameter.  Update call to
46678         check_float_internal.
46679         (check_complex): Likewise.
46680         (check_int): Do not take max_ulp parameter.
46681         (check_long): Likewise.
46682         (check_bool): Likewise.
46683         (check_longlong): Likewise.
46684         (struct test_f_f_data): Remove max_ulp field.
46685         (struct test_ff_f_data): Likewise.
46686         (struct test_ff_f_data_nexttoward): Likewise.
46687         (struct test_fi_f_data): Likewise.
46688         (struct test_fl_f_data): Likewise.
46689         (struct test_if_f_data): Likewise.
46690         (struct test_fff_f_data): Likewise.
46691         (struct test_c_f_data): Likewise.
46692         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
46693         (struct test_fF_f1_data): Likewise.
46694         (struct test_ffI_f1_data): Likewise.
46695         (struct test_c_c_data): Remove max_ulp field.
46696         (struct test_cc_c_data): Likewise.
46697         (struct test_f_i_data): Likewise.
46698         (struct test_ff_i_data): Likewise.
46699         (struct test_f_l_data): Likewise.
46700         (struct test_f_L_data): Likewise.
46701         (struct test_sincos_data): Likewise.
46702         (RUN_TEST_f_f): Do not handle ulps.
46703         (RUN_TEST_LOOP_f_f): Likewise.
46704         (RUN_TEST_2_f): Likewise.
46705         (RUN_TEST_LOOP_2_f): Likewise.
46706         (RUN_TEST_fff_f): Likewise.
46707         (RUN_TEST_LOOP_fff_f): Likewise.
46708         (RUN_TEST_c_f): Likewise.
46709         (RUN_TEST_LOOP_c_f): Likewise.
46710         (RUN_TEST_f_f1): Likewise.
46711         (RUN_TEST_LOOP_f_f1): Likewise.
46712         (RUN_TEST_fF_f1): Likewise.
46713         (RUN_TEST_LOOP_fF_f1): Likewise.
46714         (RUN_TEST_fI_f1): Likewise.
46715         (RUN_TEST_LOOP_fI_f1): Likewise.
46716         (RUN_TEST_ffI_f1): Likewise.
46717         (RUN_TEST_LOOP_ffI_f1): Likewise.
46718         (RUN_TEST_c_c): Likewise.
46719         (RUN_TEST_LOOP_c_c): Likewise.
46720         (RUN_TEST_cc_c): Likewise.
46721         (RUN_TEST_LOOP_cc_c): Likewise.
46722         (RUN_TEST_f_i): Likewise.
46723         (RUN_TEST_LOOP_f_i): Likewise.
46724         (RUN_TEST_f_i_tg): Likewise.
46725         (RUN_TEST_LOOP_f_i_tg): Likewise.
46726         (RUN_TEST_ff_i_tg): Likewise.
46727         (RUN_TEST_LOOP_ff_i_tg): Likewise.
46728         (RUN_TEST_f_b): Likewise.
46729         (RUN_TEST_LOOP_f_b): Likewise.
46730         (RUN_TEST_f_b_tg): Likewise.
46731         (RUN_TEST_LOOP_f_b_tg): Likewise.
46732         (RUN_TEST_f_l): Likewise.
46733         (RUN_TEST_LOOP_f_l): Likewise.
46734         (RUN_TEST_f_L): Likewise.
46735         (RUN_TEST_LOOP_f_L): Likewise.
46736         (RUN_TEST_sincos): Likewise.
46737         (RUN_TEST_LOOP_sincos): Likewise.
46739 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
46741         [BZ #15480]
46742         [BZ #15485]
46743         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
46744         main case of finite arguments, set rounding mode to FE_TONEAREST
46745         and discard exceptions.
46746         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
46747         exceptions.
46748         (remainder_tonearest_test_data): New variable.
46749         (remainder_test_tonearest): New function.
46750         (remainder_towardzero_test_data): New variable.
46751         (remainder_test_towardzero): New function.
46752         (remainder_downward_test_data): New variable.
46753         (remainder_test_downward): New function.
46754         (remainder_upward_test_data): New variable.
46755         (remainder_test_upward): New function.
46756         (main): Call the new test functions.
46758         * math/libm-test.inc (struct test_f_f1_data): Remove field
46759         extra_init.
46760         (struct test_fF_f1_data): Likewise.
46761         (struct test_ffI_f1_data): Likewise.
46762         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
46763         based on value of EXTRA_EXPECTED.
46764         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
46765         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
46766         EXTRA_VAR based on value of EXTRA_EXPECTED.
46767         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
46768         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
46769         EXTRA_VAR based on value of EXTRA_EXPECTED.
46770         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
46771         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
46772         EXTRA_VAR based on value of EXTRA_EXPECTED.
46773         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
46774         * math/gen-libm-test.pl (parse_args): Don't output initializers
46775         for extra output values.
46777         * math/libm-test.inc (check_int): Expect result to be exactly
46778         equal to expected value and do not handle ulps.
46779         (check_long): Likewise.
46780         (check_longlong): Likewise.
46782         * math/libm-test.inc (ceil_test_data): Test for "inexact"
46783         exceptions.
46784         (cimag_test_data): Likewise.
46785         (conj_test_data): Likewise.
46786         (copysign_test_data): Likewise.
46787         (cproj_test_data): Likewise.
46788         (creal_test_data): Likewise.
46789         (fabs_test_data): Likewise.
46790         (fdim_test_data): Likewise.
46791         (finite_test_data): Likewise.
46792         (floor_test_data): Likewise.
46793         (fmax_test_data): Likewise.
46794         (fmin_test_data): Likewise.
46795         (fmod_test_data): Likewise.
46796         (fpclassify_test_data): Likewise.
46797         (frexp_test_data): Likewise.
46798         (ilogb_test_data): Likewise.
46799         (isfinite_test_data): Likewise.
46800         (isgreater_test_data): Likewise.
46801         (isgreaterequal_test_data): Likewise.
46802         (isinf_test_data): Likewise.
46803         (isless_test_data): Likewise.
46804         (islessequal_test_data): Likewise.
46805         (islessgreater_test_data): Likewise.
46806         (isnan_test_data): Likewise.
46807         (isnormal_test_data): Likewise.
46808         (issignaling_test_data): Likewise.
46809         (isunordered_test_data): Likewise.
46810         (ldexp_test_data): Likewise.
46811         (lrint_test_data): Likewise.
46812         (lrint_test_data) [TEST_FLOAT]: Disable one test.
46813         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
46814         (lrint_tonearest_test_data): Test for "inexact" exceptions.
46815         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
46816         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
46817         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
46818         test input.
46819         (lrint_towardzero_test_data): Test for "inexact" exceptions.
46820         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
46821         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
46822         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
46823         that test input.
46824         (lrint_downward_test_data): Test for "inexact" exceptions.
46825         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
46826         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
46827         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
46828         test input.
46829         (lrint_upward_test_data): Test for "inexact" exceptions.
46830         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
46831         test input.
46832         (llrint_test_data): Test for "inexact" exceptions.
46833         (llrint_test_data) [TEST_FLOAT]: Disable one test.
46834         (llrint_tonearest_test_data): Test for "inexact" exceptions.
46835         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
46836         (llrint_towardzero_test_data): Test for "inexact" exceptions.
46837         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
46838         (llrint_downward_test_data): Test for "inexact" exceptions.
46839         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
46840         (llrint_upward_test_data): Test for "inexact" exceptions.
46841         (logb_test_data): Likewise.
46842         (logb_downward_test_data): Likewise.
46843         (nextafter_test_data): Likewise.
46844         (nexttoward_test_data): Likewise.
46845         (remainder_test_data): Likewise.
46846         (remquo_test_data): Likewise.
46847         (scalbn_test_data): Likewise.
46848         (scalbln_test_data): Likewise.
46849         (signbit_test_data): Likewise.
46850         (sqrt_test_data): Likewise.
46851         (significand_test_data): Likewise.
46853 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
46855         [BZ #15424]
46856         * benchtests/bench-modf.c (struct args): Mark arg0 as
46857         volatile.
46858         * scripts/bench.pl: Mark members of struct args as volatile.
46860 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46862         [BZ # 15497]
46863         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
46864         negative infinity on POWER6 or lower.
46865         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
46867 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
46869         [BZ #15442]
46870         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
46871         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
46872         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
46873         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
46874         (_FP_SETQNAN): New macro.
46875         (_FP_SETQNAN_SEMIRAW): Likewise.
46876         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
46877         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
46878         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
46879         (FP_EXTEND): Use _FP_FRAC_SNANP.
46880         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
46881         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
46882         into account.
46883         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
46884         New macro.
46885         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
46886         Likewise.
46888 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
46890         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
46891         with DIVIDE_BY_ZERO_EXCEPTION.
46892         (gamma_test_data): Likewise.
46893         (lgamma_test_data): Likewise.
46894         (log_test_data): Likewise.
46895         (log10_test_data): Likewise.
46896         (log2_test_data): Likewise.
46897         (tgamma_test_data): Likewise.
46899         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
46900         (acos_test_tonearest): Likewise.
46901         (acos_test_towardzero): Likewise.
46902         (acos_test_downward): Likewise.
46903         (acos_test_upward): Likewise.
46904         (acosh_test): Likewise.
46905         (asin_test): Likewise.
46906         (asin_test_tonearest): Likewise.
46907         (asin_test_towardzero): Likewise.
46908         (asin_test_downward): Likewise.
46909         (asin_test_upward): Likewise.
46910         (asinh_test): Likewise.
46911         (atan_test): Likewise.
46912         (atanh_test): Likewise.
46913         (atan2_test): Likewise.
46914         (cabs_test): Likewise.
46915         (cacos_test): Likewise.
46916         (cacosh_test): Likewise.
46917         (casin_test): Likewise.
46918         (casinh_test): Likewise.
46919         (catan_test): Likewise.
46920         (catanh_test): Likewise.
46921         (cbrt_test): Likewise.
46922         (ccos_test): Likewise.
46923         (ccosh_test): Likewise.
46924         (cexp_test): Likewise.
46925         (clog_test): Likewise.
46926         (clog10_test): Likewise.
46927         (cos_test): Likewise.
46928         (cos_test_tonearest): Likewise.
46929         (cos_test_towardzero): Likewise.
46930         (cos_test_downward): Likewise.
46931         (cos_test_upward): Likewise.
46932         (cosh_test): Likewise.
46933         (cosh_test_tonearest): Likewise.
46934         (cosh_test_towardzero): Likewise.
46935         (cosh_test_downward): Likewise.
46936         (cosh_test_upward): Likewise.
46937         (cpow_test): Likewise.
46938         (csin_test): Likewise.
46939         (csinh_test): Likewise.
46940         (csqrt_test): Likewise.
46941         (ctan_test): Likewise.
46942         (ctan_test_tonearest): Likewise.
46943         (ctan_test_towardzero): Likewise.
46944         (ctan_test_downward): Likewise.
46945         (ctan_test_upward): Likewise.
46946         (ctanh_test): Likewise.
46947         (ctanh_test_tonearest): Likewise.
46948         (ctanh_test_towardzero): Likewise.
46949         (ctanh_test_downward): Likewise.
46950         (ctanh_test_upward): Likewise.
46951         (erf_test): Likewise.
46952         (erfc_test): Likewise.
46953         (exp_test): Likewise.
46954         (exp_test_tonearest): Likewise.
46955         (exp_test_towardzero): Likewise.
46956         (exp_test_downward): Likewise.
46957         (exp_test_upward): Likewise.
46958         (exp10_test): Likewise.
46959         (exp2_test): Likewise.
46960         (expm1_test): Likewise.
46961         (fmod_test): Likewise.
46962         (gamma_test): Likewise.
46963         (hypot_test): Likewise.
46964         (j0_test): Likewise.
46965         (j1_test): Likewise.
46966         (jn_test): Likewise.
46967         (lgamma_test): Likewise.
46968         (log_test): Likewise.
46969         (log10_test): Likewise.
46970         (log1p_test): Likewise.
46971         (log2_test): Likewise.
46972         (logb_test_downward): Likewise.
46973         (pow_test): Likewise.
46974         (pow_test_tonearest): Likewise.
46975         (pow_test_towardzero): Likewise.
46976         (pow_test_downward): Likewise.
46977         (pow_test_upward): Likewise.
46978         (remainder_test): Likewise.
46979         (remquo_test): Likewise.
46980         (sin_test): Likewise.
46981         (sin_test_tonearest): Likewise.
46982         (sin_test_towardzero): Likewise.
46983         (sin_test_downward): Likewise.
46984         (sin_test_upward): Likewise.
46985         (sincos_test): Likewise.
46986         (sinh_test): Likewise.
46987         (sinh_test_tonearest): Likewise.
46988         (sinh_test_towardzero): Likewise.
46989         (sinh_test_downward): Likewise.
46990         (sinh_test_upward): Likewise.
46991         (sqrt_test): Likewise.
46992         (tan_test): Likewise.
46993         (tan_test_tonearest): Likewise.
46994         (tan_test_towardzero): Likewise.
46995         (tan_test_downward): Likewise.
46996         (tan_test_upward): Likewise.
46997         (tanh_test): Likewise.
46998         (tgamma_test): Likewise.
46999         (y0_test): Likewise.
47000         (y1_test): Likewise.
47001         (yn_test): Likewise.
47003         * math/gen-libm-test.pl (adjust_arg): Remove function.
47004         (special_function): Remove argument $in_func.  Only handle
47005         generating output for tables of tests, not inside functions.
47006         (parse_args): Likewise.
47007         (generate_testfile): Remove variable $in_func.  Update call to
47008         parse_args.
47009         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
47010         (MINUS_ZERO_INIT): Rename macro to minus_zero.
47011         (PLUS_INFTY_INIT): Rename macro to plus_infty.
47012         (MINUS_INFTY_INIT): Rename macro to minus_infty.
47013         (QNAN_VALUE_INIT): Rename macro to qnan_value.
47014         (MAX_VALUE_INIT): Rename macro to max_value.
47015         (MIN_VALUE_INIT): Rename macro to min_value.
47016         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
47017         (plus_zero): Remove variable.
47018         (minus_zero): Likewise.
47019         (plus_infty): Likewise.
47020         (minus_infty): Likewise.
47021         (qnan_value): Likewise.
47022         (max_value): Likewise.
47023         (min_value): Likewise.
47024         (min_subnorm_value): Likewise.
47026 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47028         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
47029         uint64_t or uint32_t usage.
47030         * crypt/sha256-block.c: Likewise.
47031         * crypt/sha256-crypt.c: Likewise.
47032         * crypt/sha256.c: Likewise.
47033         * crypt/sha512-block.c: Likewise.
47034         * crypt/sha512-crypt.c: Likewise.
47035         * crypt/sha512.c: Likewise.
47036         * debug/backtrace-tst.c: Likewise.
47037         * debug/pcprofiledump.c: Likewise.
47038         * elf/cache.c: Likewise.
47039         * elf/dl-cache.c: Likewise.
47040         * elf/dl-misc.c: Likewise.
47041         * elf/dl-profile.c: Likewise.
47042         * elf/dl-support.c: Likewise.
47043         * elf/ldconfig.c: Likewise.
47044         * elf/sprof.c: Likewise.
47045         * iconv/dummy-repertoire.c: Likewise.
47046         * iconv/iconv_charmap.c: Likewise.
47047         * iconv/skeleton.c: Likewise.
47048         * iconvdata/8bit-generic.c: Likewise.
47049         * iconvdata/cp737.h: Likewise.
47050         * iconvdata/cp775.h: Likewise.
47051         * iconvdata/ibm1008.h: Likewise.
47052         * iconvdata/ibm1025.h: Likewise.
47053         * iconvdata/ibm1046.h: Likewise.
47054         * iconvdata/ibm1097.h: Likewise.
47055         * iconvdata/ibm1112.h: Likewise.
47056         * iconvdata/ibm1122.h: Likewise.
47057         * iconvdata/ibm1123.h: Likewise.
47058         * iconvdata/ibm1124.h: Likewise.
47059         * iconvdata/ibm1129.h: Likewise.
47060         * iconvdata/ibm1130.h: Likewise.
47061         * iconvdata/ibm1132.h: Likewise.
47062         * iconvdata/ibm1133.h: Likewise.
47063         * iconvdata/ibm1137.h: Likewise.
47064         * iconvdata/ibm1140.h: Likewise.
47065         * iconvdata/ibm1141.h: Likewise.
47066         * iconvdata/ibm1142.h: Likewise.
47067         * iconvdata/ibm1143.h: Likewise.
47068         * iconvdata/ibm1144.h: Likewise.
47069         * iconvdata/ibm1145.h: Likewise.
47070         * iconvdata/ibm1146.h: Likewise.
47071         * iconvdata/ibm1147.h: Likewise.
47072         * iconvdata/ibm1148.h: Likewise.
47073         * iconvdata/ibm1149.h: Likewise.
47074         * iconvdata/ibm1153.h: Likewise.
47075         * iconvdata/ibm1154.h: Likewise.
47076         * iconvdata/ibm1155.h: Likewise.
47077         * iconvdata/ibm1156.h: Likewise.
47078         * iconvdata/ibm1157.h: Likewise.
47079         * iconvdata/ibm1158.h: Likewise.
47080         * iconvdata/ibm1160.h: Likewise.
47081         * iconvdata/ibm1161.h: Likewise.
47082         * iconvdata/ibm1162.h: Likewise.
47083         * iconvdata/ibm1163.h: Likewise.
47084         * iconvdata/ibm1164.h: Likewise.
47085         * iconvdata/ibm1166.h: Likewise.
47086         * iconvdata/ibm1167.h: Likewise.
47087         * iconvdata/ibm12712.h: Likewise.
47088         * iconvdata/ibm1390.h: Likewise.
47089         * iconvdata/ibm1399.h: Likewise.
47090         * iconvdata/ibm16804.h: Likewise.
47091         * iconvdata/ibm4517.h: Likewise.
47092         * iconvdata/ibm4899.h: Likewise.
47093         * iconvdata/ibm4909.h: Likewise.
47094         * iconvdata/ibm4971.h: Likewise.
47095         * iconvdata/ibm5347.h: Likewise.
47096         * iconvdata/ibm803.h: Likewise.
47097         * iconvdata/ibm856.h: Likewise.
47098         * iconvdata/ibm901.h: Likewise.
47099         * iconvdata/ibm902.h: Likewise.
47100         * iconvdata/ibm9030.h: Likewise.
47101         * iconvdata/ibm9066.h: Likewise.
47102         * iconvdata/ibm921.h: Likewise.
47103         * iconvdata/ibm922.h: Likewise.
47104         * iconvdata/ibm9448.h: Likewise.
47105         * iconvdata/isiri-3342.h: Likewise.
47106         * iconvdata/jis0201.h: Likewise.
47107         * include/link.h: Likewise.
47108         * include/netdb.h: Likewise.
47109         * inet/check_native.c: Likewise.
47110         * inet/check_pf.c: Likewise.
47111         * inet/getipv4sourcefilter.c: Likewise.
47112         * inet/getnameinfo.c: Likewise.
47113         * inet/getsourcefilter.c: Likewise.
47114         * inet/htonl.c: Likewise.
47115         * inet/setipv4sourcefilter.c: Likewise.
47116         * inet/setsourcefilter.c: Likewise.
47117         * inet/test-inet6_opt.c: Likewise.
47118         * inet/tst-network.c: Likewise.
47119         * locale/C-collate.c: Likewise.
47120         * locale/C-ctype.c: Likewise.
47121         * locale/C-time.c: Likewise.
47122         * locale/C-translit.h: Likewise.
47123         * locale/loadarchive.c: Likewise.
47124         * locale/programs/3level.h: Likewise.
47125         * locale/programs/charmap.c: Likewise.
47126         * locale/programs/charmap.h: Likewise.
47127         * locale/programs/ld-address.c: Likewise.
47128         * locale/programs/ld-collate.c: Likewise.
47129         * locale/programs/ld-ctype.c: Likewise.
47130         * locale/programs/ld-identification.c: Likewise.
47131         * locale/programs/ld-measurement.c: Likewise.
47132         * locale/programs/ld-messages.c: Likewise.
47133         * locale/programs/ld-monetary.c: Likewise.
47134         * locale/programs/ld-name.c: Likewise.
47135         * locale/programs/ld-numeric.c: Likewise.
47136         * locale/programs/ld-paper.c: Likewise.
47137         * locale/programs/ld-telephone.c: Likewise.
47138         * locale/programs/ld-time.c: Likewise.
47139         * locale/programs/linereader.c: Likewise.
47140         * locale/programs/locale.c: Likewise.
47141         * locale/programs/locarchive.c: Likewise.
47142         * locale/programs/locfile.h: Likewise.
47143         * locale/programs/repertoire.c: Likewise.
47144         * locale/programs/simple-hash.c: Likewise.
47145         * locale/programs/simple-hash.h: Likewise.
47146         * malloc/memusage.c: Likewise.
47147         * malloc/memusagestat.c: Likewise.
47148         * nis/nis_defaults.c: Likewise.
47149         * nis/nis_hash.c: Likewise.
47150         * nis/nis_print.c: Likewise.
47151         * nis/nis_xdr.c: Likewise.
47152         * nscd/connections.c: Likewise.
47153         * nscd/hstcache.c: Likewise.
47154         * nscd/nscd_gethst_r.c: Likewise.
47155         * nscd/nscd_getserv_r.c: Likewise.
47156         * nscd/nscd_helper.c: Likewise.
47157         * nscd/servicescache.c: Likewise.
47158         * nss/makedb.c: Likewise.
47159         * nss/nss_db/db-XXX.c: Likewise.
47160         * nss/nss_db/db-initgroups.c: Likewise.
47161         * nss/nss_db/db-netgrp.c: Likewise.
47162         * nss/nss_files/files-network.c: Likewise.
47163         * nss/nss_files/files-parse.c: Likewise.
47164         * posix/bug-regex5.c: Likewise.
47165         * posix/fnmatch_loop.c: Likewise.
47166         * posix/regcomp.c: Likewise.
47167         * posix/regexec.c: Likewise.
47168         * posix/tst-rfc3484-2.c: Likewise.
47169         * posix/tst-rfc3484-3.c: Likewise.
47170         * posix/tst-rfc3484.c: Likewise.
47171         * resolv/nss_dns/dns-canon.c: Likewise.
47172         * resolv/nss_dns/dns-network.c: Likewise.
47173         * resolv/res_init.c: Likewise.
47174         * resolv/res_mkquery.c: Likewise.
47175         * resolv/tst-aton.c: Likewise.
47176         * stdlib/cxa_atexit.c: Likewise.
47177         * stdlib/cxa_finalize.c: Likewise.
47178         * stdlib/gen-fpioconst.c: Likewise.
47179         * stdlib/strtol_l.c: Likewise.
47180         * string/tst-endian.c: Likewise.
47181         * sunrpc/auth_des.c: Likewise.
47182         * sunrpc/clnt_udp.c: Likewise.
47183         * sunrpc/rtime.c: Likewise.
47184         * sunrpc/svcauth_des.c: Likewise.
47185         * sunrpc/xdr.c: Likewise.
47186         * sunrpc/xdr_intXX_t.c: Likewise.
47187         * sunrpc/xdr_rec.c: Likewise.
47188         * sysdeps/generic/ldconfig.h: Likewise.
47189         * sysdeps/generic/ldsodefs.h: Likewise.
47190         * sysdeps/generic/memusage.h: Likewise.
47191         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47192         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
47193         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
47194         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47195         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47196         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47197         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47198         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47199         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47200         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
47201         * sysdeps/posix/getaddrinfo.c: Likewise.
47202         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47203         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47204         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
47205         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47206         * sysdeps/powerpc/test-gettimebase.c: Likewise.
47207         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
47208         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
47209         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
47210         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
47211         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
47212         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
47213         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
47214         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
47215         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
47216         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
47217         * sysdeps/x86_64/dl-tls.h: Likewise.
47218         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
47219         * time/alt_digit.c: Likewise.
47220         * time/era.c: Likewise.
47221         * wcsmbs/tst-c16c32-1.c: Likewise.
47223 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
47225         * math/libm-test.inc (struct test_sincos_data): New type.
47226         (RUN_TEST_LOOP_sincos): New macro.
47227         (sincos_test_data): New variable.
47228         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
47230 2013-05-16  Richard Henderson  <rth@redhat.com>
47232         * math/atest-exp2.c (LIMB64): New macro.
47233         (CONSTSZ): New macro.
47234         (mp_exp1, mp_exp_m1, mp_log2): New variables.
47235         (hexdig): Move ...
47236         (print_mpn_fp): ... to function scope.
47237         (read_mpn_hex): Remove.
47238         (get_log2): Remove.
47239         (exp2_mpn): Use mp_log2.
47240         (main): Use mp_exp1.
47242 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
47244         * math/libm-test.inc: Remove comment about not testing "inexact"
47245         exceptions.
47246         (INEXACT_EXCEPTION): New macro.
47247         (NO_INEXACT_EXCEPTION): Likewise.
47248         (INVALID_EXCEPTION_OK): Update value.
47249         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47250         (OVERFLOW_EXCEPTION_OK): Likewise.
47251         (UNDERFLOW_EXCEPTION_OK): Likewise.
47252         (IGNORE_ZERO_INF_SIGN): Likewise.
47253         (ERRNO_UNCHANGED): Likewise.
47254         (ERRNO_EDOM): Likewise.
47255         (ERRNO_ERANGE): Likewise.
47256         (test_exceptions): Handle testing "inexact" exceptions.
47257         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
47258         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
47259         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
47260         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
47261         INEXACT_EXCEPTION.
47262         (rint_towardzero_test_data): Likewise.
47263         (rint_downward_test_data): Likewise.
47264         (rint_upward_test_data): Likewise.
47266         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
47267         with OVERFLOW_EXCEPTION.
47268         (exp10_test_data): Likewise.
47269         (exp2_test_data): Likewise.
47270         (expm1_test_data): Likewise.
47271         (lgamma_test_data): Likewise.
47272         (pow_test_data): Likewise.
47273         (tgamma_test_data): Likewise.
47274         (yn_test_data): Remove duplicate test of overflow.
47276         * math/libm-test.inc (struct test_cc_c_data): New type.
47277         (RUN_TEST_LOOP_cc_c): New macro.
47278         (cpow_test_data): New variable.
47279         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
47281         * math/libm-test.inc (struct test_f_L_data): New type.
47282         (RUN_TEST_LOOP_f_L): New macro.
47283         (llrint_test_data): New variable.
47284         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
47285         (llrint_tonearest_test_data): New variable.
47286         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
47287         (llrint_towardzero_test_data): New variable.
47288         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
47289         (llrint_downward_test_data): New variable.
47290         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
47291         (llrint_upward_test_data): New variable.
47292         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
47293         (llround_test_data): New variable.
47294         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
47296 2013-05-13  Peter Collingbourne  <pcc@google.com>
47298         * math/atest-exp2.c (get_log2): Remove const attribute.
47300 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
47302         * math/libm-test.inc (struct test_f_l_data): New type.
47303         (RUN_TEST_LOOP_f_l): New macro.
47304         (lrint_test_data): New variable.
47305         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
47306         (lrint_tonearest_test_data): New variable.
47307         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
47308         (lrint_towardzero_test_data): New variable.
47309         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
47310         (lrint_downward_test_data): New variable.
47311         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
47312         (lrint_upward_test_data): New variable.
47313         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
47314         (lround_test_data): New variable.
47315         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
47317 2013-05-15  Peter Collingbourne  <pcc@google.com>
47319         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
47320         (EXTRACT_WORDS64) Use where appropriate.
47321         (INSERT_WORDS64) Likewise.
47323         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
47324         constraints with x constraints.
47325         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
47327         * malloc/obstack.c (_obstack_compat): Add initializer.
47329 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
47331         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
47332         si_trapno and add si_addr_lsb to _sifields.sigfault.
47333         (si_trapno): Remove macro.
47334         (si_addr_lsb): Define new macro.
47335         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
47337 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
47339         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
47340         instead of TEST_f_l.
47341         (llrint_test_tonearest): Likewise.
47342         (llrint_test_towardzero): Likewise.
47343         (llrint_test_downward): Likewise.
47344         (llrint_test_upward): Likewise.
47345         (llround_test): Likewise.
47347         * math/libm-test.inc (struct test_f_i_data): Add comment.
47348         (RUN_TEST_LOOP_f_b): New macro.
47349         (RUN_TEST_LOOP_f_b_tg): Likewise.
47350         (finite_test_data): New variable.
47351         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
47352         (isfinite_test_data): New variable.
47353         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47354         (isinf_test_data): New variable.
47355         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47356         (isnan_test_data): New variable.
47357         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47358         (isnormal_test_data): New variable.
47359         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47360         (issignaling_test_data): New variable.
47361         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47362         (signbit_test_data): New variable.
47363         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47365         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
47366         with INVALID_EXCEPTION.
47367         (acosh_test_data): Likewise.
47368         (asin_test_data): Likewise.
47369         (atanh_test_data): Likewise.
47370         (fmod_test_data): Likewise.
47371         (log_test_data): Likewise.
47372         (log10_test_data): Likewise.
47373         (log2_test_data): Likewise.
47374         (pow_test_data): Likewise.
47375         (sqrt_test_data): Likewise.
47376         (y0_test_data): Likewise.
47377         (y1_test_data): Likewise.
47378         (yn_test_data): Likewise.
47380         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
47381         function contents.
47383         * math/libm-test.inc (struct test_ff_i_data): New type.
47384         (RUN_TEST_LOOP_ff_i_tg): New macro.
47385         (isgreater_test_data): New variable.
47386         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47387         (isgreaterequal_test_data): New variable.
47388         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47389         (isless_test_data): New variable.
47390         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47391         (islessequal_test_data): New variable.
47392         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47393         (islessgreater_test_data): New variable.
47394         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47395         (isunordered_test_data): New variable.
47396         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47398 2013-05-14  David S. Miller  <davem@davemloft.net>
47400         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47402 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
47404         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
47406         * math/libm-test.inc (struct test_fF_f1_data): Change type of
47407         extra_test to int.
47408         (struct test_f_i_data): Change type of max_ulp to int.
47410         * math/libm-test.inc (test_ffI_f1_data): New type.
47411         (RUN_TEST_LOOP_ffI_f1): New macro.
47412         (remquo_test_data): New variable.
47413         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
47415         * setjmp/tst-setjmp-fp.c: New file.
47416         * setjmp/Makefile (tests): Add tst-setjmp-fp.
47417         (link-libm): New variable.
47418         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
47420         * math/libm-test.inc (struct test_f_i_data): New type.
47421         (RUN_TEST_LOOP_f_i): New macro.
47422         (RUN_TEST_LOOP_f_i_tg): Likewise.
47423         (fpclassify_test_data): New variable.
47424         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
47425         (ilogb_test_data): New variable.
47426         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
47428         * math/libm-test.inc (scalbln_test): Correct function name in END
47429         call.
47431         * math/libm-test.inc (struct test_f_f1_data): Add comment.
47432         (RUN_TEST_LOOP_fI_f1): New macro.
47433         (frexp_test_data): New variable.
47434         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
47436         * math/libm-test.inc (struct test_fF_f1_data): New type.
47437         (RUN_TEST_LOOP_fF_f1): New macro.
47438         (modf_test_data): New variable.
47439         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
47441         * math/libm-test.inc (struct test_f_f1_data): New type.
47442         (RUN_TEST_LOOP_f_f1): New macro.
47443         (gamma_test_data): New variable.
47444         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
47445         (lgamma_test_data): New variable.
47446         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
47448 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
47450         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
47451         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
47452         (main): Comment "tls" pseudo-hwcap.
47454 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
47456         * math/libm-test.inc (struct test_fl_f_data): New type.
47457         (RUN_TEST_LOOP_fl_f): New variable.
47458         (scalbln_test_data): New variable.
47459         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
47461         * math/libm-test.inc (struct test_fi_f_data): New type.
47462         (RUN_TEST_LOOP_fi_f): New macro.
47463         (ldexp_test_data): New variable.
47464         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
47465         (scalbn_test_data): New variable.
47466         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
47468         * math/libm-test.inc (struct test_c_f_data): New type.
47469         (RUN_TEST_LOOP_c_f): New macro.
47470         (cabs_test_data): New variable.
47471         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
47472         (carg_test_data): New variable.
47473         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
47474         (cimag_test_data): New variable.
47475         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
47476         (creal_test_data): New variable.
47477         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
47479         * math/libm-test.inc (struct test_if_f_data): New type.
47480         (RUN_TEST_LOOP_if_f): New macro.
47481         (jn_test_data): New variable.
47482         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
47483         (yn_test_data): New variable.
47484         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
47486         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
47488 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47490         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
47491         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
47493 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
47495         * benchtests/Makefile (CPPFLAGS-nonlib): Add
47496         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
47497         (bench-deps): Add bench-timing.h.
47498         * benchtests-bench-skeleton.c: Include bench-timing.h.
47499         (main): Use TIMING_* macros instead of clock_gettime.
47500         * benchtests/bench-timing.h: New file.
47502         [BZ #14582]
47503         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
47504         Renamed from _LIB_VERSION.
47505         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
47507 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
47509         * math/libm-test.inc (struct test_fff_f_data): New type.
47510         (RUN_TEST_LOOP_fff_f): New macro.
47511         (fma_test_data): New variable.
47512         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
47513         (fma_towardzero_test_data): New variable.
47514         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
47515         (fma_downward_test_data): New variable.
47516         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
47517         (fma_upward_test_data): New variable.
47518         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
47520         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
47521         (struct test_c_c_data): New type.
47522         (RUN_TEST_LOOP_c_c): New macro.
47523         (cacos_test_data): New variable.
47524         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
47525         (cacosh_test_data): New variable.
47526         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
47527         (casin_test_data): New variable.
47528         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
47529         (casinh_test_data): New variable.
47530         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
47531         (catan_test_data): New variable.
47532         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
47533         (catanh_test_data): New variable.
47534         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
47535         (ccos_test_data): New variable.
47536         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
47537         (ccosh_test_data): New variable.
47538         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
47539         (cexp_test_data): New variable.
47540         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
47541         (clog_test_data): New variable.
47542         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
47543         (clog10_test_data): New variable.
47544         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
47545         (conj_test_data): New variable.
47546         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
47547         (cproj_test_data): New variable.
47548         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
47549         (csin_test_data): New variable.
47550         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
47551         (csinh_test_data): New variable.
47552         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
47553         (csqrt_test_data): New variable.
47554         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
47555         (ctan_test_data): New variable.
47556         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
47557         (ctan_tonearest_test_data): New variable.
47558         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
47559         (ctan_towardzero_test_data): New variable.
47560         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
47561         (ctan_downward_test_data): New variable.
47562         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
47563         (ctan_upward_test_data): New variable.
47564         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
47565         (ctanh_test_data): New variable.
47566         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
47567         (ctanh_tonearest_test_data): New variable.
47568         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
47569         (ctanh_towardzero_test_data): New variable.
47570         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
47571         (ctanh_downward_test_data): New variable.
47572         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
47573         (ctanh_upward_test_data): New variable.
47574         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
47575         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
47576         of BUILD_COMPLEX.
47578         * math/libm-test.inc (struct test_ff_f_data): New type.
47579         (struct test_ff_f_data_nexttoward): Likewise.
47580         (RUN_TEST_LOOP_2_f): New macro.
47581         (RUN_TEST_LOOP_ff_f): Likewise.
47582         (atan2_test_data): New variable.
47583         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
47584         (copysign_test_data): New variable.
47585         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
47586         (fdim_test_data): New variable.
47587         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
47588         (fmax_test_data): New variable.
47589         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
47590         (fmin_test_data): New variable.
47591         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
47592         (fmod_test_data): New variable.
47593         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
47594         (hypot_test_data): New variable.
47595         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
47596         (nextafter_test_data): New variable.
47597         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
47598         (nexttoward_test_data): New variable.
47599         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
47600         (pow_test_data): New variable.
47601         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
47602         (pow_tonearest_test_data): New variable.
47603         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
47604         (pow_towardzero_test_data): New variable.
47605         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
47606         (pow_downward_test_data): New variable.
47607         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
47608         (pow_upward_test_data): New variable.
47609         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
47610         (remainder_test_data): New variable.
47611         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
47612         (scalb_test_data): New variable.
47613         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
47614         * sysdeps/i386/fpu/libm-test-ulps: Update.
47616 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
47618         * math/libm-test.inc (fma_test): Use max_value instead of local
47619         variable fltmax.
47620         (nextafter_test): Likewise.
47622         * math/libm-test.inc (acos_towardzero_test_data): New variable.
47623         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47624         (acos_downward_test_data): New variable.
47625         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47626         (acos_upward_test_data): New variable.
47627         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47628         (acosh_test_data): New variable.
47629         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
47630         (asin_test_data): New variable.
47631         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
47632         (asin_tonearest_test_data): New variable.
47633         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47634         (asin_towardzero_test_data): New variable.
47635         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47636         (asin_downward_test_data): New variable.
47637         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47638         (asin_upward_test_data): New variable.
47639         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47640         (asinh_test_data): New variable.
47641         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
47642         (atan_test_data): New variable.
47643         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
47644         (atanh_test_data): New variable.
47645         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
47646         (cbrt_test_data): New variable.
47647         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
47648         (ceil_test_data): New variable.
47649         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
47650         (cos_test_data): New variable.
47651         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
47652         (cos_tonearest_test_data): New variable.
47653         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47654         (cos_towardzero_test_data): New variable.
47655         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47656         (cos_downward_test_data): New variable.
47657         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47658         (cos_upward_test_data): New variable.
47659         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47660         (cosh_test_data): New variable.
47661         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
47662         (cosh_tonearest_test_data): New variable.
47663         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47664         (cosh_towardzero_test_data): New variable.
47665         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47666         (cosh_downward_test_data): New variable.
47667         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47668         (cosh_upward_test_data): New variable.
47669         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47670         (erf_test_data): New variable.
47671         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
47672         (erfc_test_data): New variable.
47673         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
47674         (exp_test_data): New variable.
47675         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
47676         (exp_tonearest_test_data): New variable.
47677         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47678         (exp_towardzero_test_data): New variable.
47679         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47680         (exp_downward_test_data): New variable.
47681         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47682         (exp_upward_test_data): New variable.
47683         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47684         (exp10_test_data): New variable.
47685         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
47686         (exp2_test_data): New variable.
47687         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
47688         (expm1_test_data): New variable.
47689         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
47690         (fabs_test_data): New variable.
47691         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
47692         (floor_test_data): New variable.
47693         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
47694         (j0_test_data): New variable.
47695         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
47696         (j1_test_data): New variable.
47697         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
47698         (log_test_data): New variable.
47699         (log_test): Run tests with RUN_TEST_LOOP_f_f.
47700         (log10_test_data): New variable.
47701         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
47702         (log1p_test_data): New variable.
47703         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
47704         (log2_test_data): New variable.
47705         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
47706         (logb_test_data): New variable.
47707         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
47708         (logb_downward_test_data): New variable.
47709         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47710         (nearbyint_test_data): New variable.
47711         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
47712         (rint_test_data): New variable.
47713         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
47714         (rint_tonearest_test_data): New variable.
47715         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47716         (rint_towardzero_test_data): New variable.
47717         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47718         (rint_downward_test_data): New variable.
47719         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47720         (rint_upward_test_data): New variable.
47721         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47722         (round_test_data): New variable.
47723         (round_test): Run tests with RUN_TEST_LOOP_f_f.
47724         (sin_test_data): New variable.
47725         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
47726         (sin_tonearest_test_data): New variable.
47727         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47728         (sin_towardzero_test_data): New variable.
47729         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47730         (sin_downward_test_data): New variable.
47731         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47732         (sin_upward_test_data): New variable.
47733         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47734         (sinh_test_data): New variable.
47735         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
47736         (sinh_tonearest_test_data): New variable.
47737         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47738         (sinh_towardzero_test_data): New variable.
47739         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47740         (sinh_downward_test_data): New variable.
47741         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47742         (sinh_upward_test_data): New variable.
47743         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47744         (sqrt_test_data): New variable.
47745         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
47746         (tan_test_data): New variable.
47747         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
47748         (tan_tonearest_test_data): New variable.
47749         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47750         (tan_towardzero_test_data): New variable.
47751         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47752         (tan_downward_test_data): New variable.
47753         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47754         (tan_upward_test_data): New variable.
47755         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47756         (tanh_test_data): New variable.
47757         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
47758         (tgamma_test_data): New variable.
47759         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
47760         (trunc_test_data): New variable.
47761         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
47762         (y0_test_data): New variable.
47763         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
47764         (y1_test_data): New variable.
47765         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
47766         (significand_test_data): New variable.
47767         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
47769 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
47771         [BZ #12387]
47772         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
47774 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47776         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
47778 2013-05-10  Andreas Jaeger  <aj@suse.de>
47780         [BZ #15448]
47781         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
47782         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
47784 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
47786         * math/gen-libm-test.pl (adjust_arg): New function.
47787         (special_functions): Handle generating output in both functions
47788         and arrays.
47789         (parse_args): Likewise.
47790         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
47791         $in_func argument to parse_args.
47792         * math/libm-test.inc (struct test_f_f_data): New type.
47793         (IF_ROUND_INIT_): New macro.
47794         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
47795         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
47796         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
47797         (IF_ROUND_INIT_FE_UPWARD): Likewise.
47798         (ROUND_RESTORE_): Likewise.
47799         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
47800         (ROUND_RESTORE_FE_TONEAREST): Likewise.
47801         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
47802         (ROUND_RESTORE_FE_UPWARD): Likewise.
47803         (RUN_TEST_LOOP_f_f): New macro.
47804         (acos_test_data): New variable.
47805         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
47806         (acos_tonearest_test_data): New variable.
47807         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47809 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47811         * benchtests/bench-skeleton.c (startup): Fix coding style.
47813 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
47815         [BZ #6809]
47816         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
47817         negative infinity argument.
47818         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
47819         negative infinity argument.
47820         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
47821         negative infinity argument.
47822         * math/libm-test.inc (tgamma_test): Expect errno to be set for
47823         domain errors.
47825 2013-05-10  Florian Weimer  <fweimer@redhat.com>
47827         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
47828         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
47829         * iconv/iconv_prog.c (main): Likewise.
47830         * locale/programs/charmap-dir.c (charmap_readdir)
47831         (fopen_uncompressed): Likewise.
47832         * locale/programs/locfile.c (siblings_uncached)
47833         (write_locale_data): Use lstat64 instead of lstat.
47834         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
47835         stat.
47837 2013-05-10  Andreas Jaeger  <aj@suse.de>
47839         [BZ #15395]
47840         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
47841         localization.
47842         Include <locale.h>.
47844 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
47846         * elf/dl-close.c (_dl_close_worker): Add comments.
47848 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
47850         [BZ #15359]
47851         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
47852         high part of pi/2.
47853         (__ieee754_rem_pio2l): Update comments.
47855         [BZ #15429]
47856         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
47857         high part of pi/2.
47858         (__ieee754_rem_pio2l): Update comments.
47860         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
47861         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
47863         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
47864         M_PI_4l.
47866         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
47867         (M_PI_34_LOG10El): Likewise.
47868         (M_PI2_LOG10El): Likewise.
47869         (M_PI4_LOG10El): Likewise.
47870         (M_PI_LOG10El): Likewise.
47872 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47874         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47876 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
47878         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
47879         (MINUS_ZERO_INIT): Likewise.
47880         (PLUS_INFTY_INIT): Likewise.
47881         (MINUS_INFTY_INIT): Likewise.
47882         (QNAN_VALUE_INIT): Likewise.
47883         (MAX_VALUE_INIT): Likewise.
47884         (MIN_VALUE_INIT): Likewise.
47885         (MIN_SUBNORM_VALUE_INIT): Likewise.
47886         (plus_zero): Initialize with PLUS_ZERO_INIT.
47887         (minus_zero): Initialize with MINUS_ZERO_INIT.
47888         (plus_infty): Initialize with PLUS_INFTY_INIT.
47889         (minus_infty): Initialize with MINUS_INFTY_INIT.
47890         (qnan_value): Initialize with QNAN_VALUE_INIT.
47891         (max_value): Initialize with MAX_VALUE_INIT.
47892         (min_value): Initialize with MIN_VALUE_INIT.
47893         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
47895         * math/libm-test.inc (RUN_TEST_if_f): New macro.
47896         (jn_test): Use TEST_if_f instead of TEST_ff_f.
47897         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
47898         (yn_test): Use TEST_if_f instead of TEST_ff_f.
47900         * math/libm-test.inc (RUN_TEST_f_f): New macro.
47901         (RUN_TEST_2_f): Likewise.
47902         (RUN_TEST_ff_f): Likewise.
47903         (RUN_TEST_fi_f): Likewise.
47904         (RUN_TEST_fl_f): Likewise.
47905         (RUN_TEST_fff_f): Likewise.
47906         (RUN_TEST_c_f): Likewise.
47907         (RUN_TEST_f_f1): Likewise.
47908         (RUN_TEST_fF_f1): Likewise.
47909         (RUN_TEST_fI_f1): Likewise.
47910         (RUN_TEST_ffI_f1): Likewise.
47911         (RUN_TEST_c_c): Likewise.
47912         (RUN_TEST_cc_c): Likewise.
47913         (RUN_TEST_f_i): Likewise.
47914         (RUN_TEST_f_i_tg): Likewise.
47915         (RUN_TEST_ff_i_tg): Likewise.
47916         (RUN_TEST_f_b): Likewise.
47917         (RUN_TEST_f_b_tg): Likewise.
47918         (RUN_TEST_f_l): Likewise.
47919         (RUN_TEST_f_L): Likewise.
47920         (RUN_TEST_sincos): Likewise.
47921         * math/gen-libm-test.pl (new_test): Take new argument to indicate
47922         whether to show exceptions.  Do not include ");\n" in return
47923         value.
47924         (special_functions): Output call to RUN_TEST_sincos instead of
47925         check_float calls.  Update calls to new_test.
47926         (parse_args): Output call to single RUN_TEST_* macro instead of
47927         check_* calls and other assignments.  Update calls to new_test.
47929         [BZ #2546]
47930         [BZ #2560]
47931         [BZ #5159]
47932         [BZ #15426]
47933         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
47934         input to result for tgamma overflow.
47935         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
47936         (gamma_coeff): New variable.
47937         (NCOEFF): New macro.
47938         (gamma_positive): New function.
47939         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
47940         underflow here.  Use gamma_positive instead of exp (lgamma) for
47941         other arguments.
47942         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
47943         (gamma_coeff): New variable.
47944         (NCOEFF): New macro.
47945         (gammaf_positive): New function.
47946         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
47947         underflow here.  Use gamma_positive instead of exp (lgamma) for
47948         other arguments.
47949         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
47950         (gamma_coeff): New variable.
47951         (NCOEFF): New macro.
47952         (gammal_positive): New function.
47953         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
47954         underflow here.  Use gamma_positive instead of exp (lgamma) for
47955         other arguments.
47956         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
47957         (gamma_coeff): New variable.
47958         (NCOEFF): New macro.
47959         (gammal_positive): New function.
47960         (__ieee754_gammal_r): Handle positive infinity, overflow and
47961         underflow here.  Handle NaN the same as positive infinity.  Remove
47962         check x < 0xffffffff for negative integers.  Use gamma_positive
47963         instead of exp (lgamma) for other arguments.
47964         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
47965         (gamma_coeff): New variable.
47966         (NCOEFF): New macro.
47967         (gammal_positive): New function.
47968         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
47969         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
47970         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
47971         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
47972         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
47973         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
47974         * sysdeps/generic/math_private.h (__gamma_productf): New
47975         prototype.
47976         (__gamma_product): Likewise.
47977         (__gamma_productl): Likewise.
47978         * math/Makefile (libm-calls): Add gamma_product.
47979         * math/libm-test.inc (tgamma_test): Add more tests.
47980         * sysdeps/i386/fpu/libm-test-ulps: Update.
47981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47983 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
47985         * benchtests/bench-skeleton.c (main): Preheat CPU.
47987 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
47989         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
47991 2013-05-07  Roland McGrath  <roland@hack.frob.com>
47993         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
47994         and _dl_skip_args_internal.
47996 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
47998         * manual/message.texi (Message Translation): Talk about users.
47999         Message to key mapping impacts design.
48001 2013-05-06  Roland McGrath  <roland@hack.frob.com>
48003         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
48005         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
48007         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
48008         * sysdeps/wordsize-64/glob64.c: ... here.
48010         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
48011         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
48012         New macros.
48014         * debug/getlogin_r_chk.c: Moved to ...
48015         * login/getlogin_r_chk.c: ... here.
48016         * debug/Makefile (routines): Move getlogin_r_chk to ...
48017         * login/Makefile (routines): ... here.
48018         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
48019         * login/Versions (libc: GLIBC_2.4): ... here.
48021         * io/poll.c (__poll): Renamed from poll.
48022         Add libc_hidden_def.
48023         (poll): Define as weak alias.
48025         * debug/ptsname_r_chk.c: Moved to ...
48026         * login/ptsname_r_chk.c: ... here.
48027         * debug/Makefile (routines): Move ptsname_r_chk to ...
48028         * login/Makefile (routines): ... here.
48029         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
48030         * login/Versions (libc: GLIBC_2.4): ... here.
48032         * posix/getlogin.c: Moved to ...
48033         * login/getlogin.c: ... here.
48034         * posix/getlogin_r.c: Moved to ...
48035         * login/getlogin_r.c: ... here.
48036         * posix/getlogin_r.c: Moved to ...
48037         * login/getlogin_r.c: ... here.
48038         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
48039         * login/Makefile (routines): ... here.
48040         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
48041         * login/Versions (libc: GLIBC_2.0): ... here.
48043         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
48044         (setrlimit): Define as weak alias.
48046         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
48047         Call __ names for open, ftruncate, and close.
48048         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
48049         (truncate): Define as weak alias.
48051 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
48053         * math/gen-libm-test.pl (parse_args): Initialize x before each
48054         test of frexp, modf and remquo.
48056         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
48057         test signgam value.
48059 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48061         [BZ #15418]
48062         [BZ #15419]
48063         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
48064         internal tests.
48065         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48067 2013-05-06  Roland McGrath  <roland@hack.frob.com>
48069         * elf/dl-writev.h: New file.
48070         * elf/dl-misc.c: Include it.
48071         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
48072         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
48074 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
48076         * math/libm-test.inc (noXFails): Remove variable.
48077         (noXPasses): Likewise.
48078         (BUILD_COMPLEX_INT): Remove macro.
48079         (print_screen): Remove xfail argument.
48080         (print_screen_max_error): Likewise.
48081         (update_stats): Likewise.
48082         (print_max_error): Likewise.  Update calls to other affected
48083         functions.
48084         (print_complex_max_error): Likewise.
48085         (test_single_exception): Update calls to print_screen.
48086         (test_single_errno): Likewise.
48087         (check_float_internal): Remove xfail argument.  Update calls to
48088         other affected functions.
48089         (check_float): Likewise.
48090         (check_complex): Likewise.
48091         (check_int): Likewise.
48092         (check_long): Likewise.
48093         (check_bool): Likewise.
48094         (check_longlong): Likewise.
48095         (main): Don't print noXFails and noXPasses.
48096         * math/gen-libm-test.pl (top level): Don't mention expected
48097         failure handling in comment.
48098         (new_test): Don't handle expected failures.
48099         (parse_args): Don't mention expected failure handling in comment.
48100         (generate_testfile): Don't handle expected failures.
48101         (parse_ulps): Likewise.
48102         (print_ulps_file): Likewise.
48103         (get_failure): Remove function.
48104         (output_test): Don't handle expected failures.
48105         * make/README.libm-test: Don't mention expected failure handling.
48107         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
48108         (minus_zero): Likewise.
48109         (plus_infty): Likewise.
48110         (minus_infty): Likewise.
48111         (qnan_value): Likewise.
48112         (max_value): Likewise.
48113         (min_value): Likewise.
48114         (min_subnorm_value): Likewise.
48115         (initialize): Do not initialize those variables dynamically.
48117 2013-05-03  Roland McGrath  <roland@hack.frob.com>
48119         * io/open.c (__open_2): Moved to ...
48120         * io/open_2.c: ... this new file.
48121         * io/open64.c (__open64_2): Moved to ...
48122         * io/open64_2.c: ... this new file.
48123         * io/openat.c (__openat_2): Moved to ...
48124         * io/openat_2.c: ... this new file.
48125         * io/openat64.c (__openat64_2): Moved to ...
48126         * io/openat64_2.c: ... this new file.
48127         * io/Makefile (routines): Add them.
48128         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
48129         * sysdeps/unix/sysv/linux/open_2.c: File removed.
48130         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
48131         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
48132         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
48133         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
48134         (__openat64): Add hidden_ver.
48135         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
48136         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
48138         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
48139         Separately conditionalize setting of GLRO(dl_sysinfo) so
48140         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
48141         as well, but the actual setting is only under [NEED_DL_SYSINFO].
48143 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48145         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
48146         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
48147         definition.
48148         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
48149         * sysdeps/unix/sysv/linux/powerpc/init-first.c
48150         (_libc_vdso_platform_setup): Add __vdso_time initialization.
48151         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
48152         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
48154 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
48156         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
48157         test signgam value.
48159         * math/libm-test.inc (hypot_test): Do not use
48160         IGNORE_ZERO_INF_SIGN.
48162 2013-05-03  Andreas Jaeger  <aj@suse.de>
48164         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
48165         Linux 3.9.
48166         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
48167         (PF_MAX): Adjust for VSOCK change.
48169 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48171         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48173 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
48175         [BZ #15264]
48176         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
48177         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
48178         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
48180 2013-05-02  David S. Miller  <davem@davemloft.net>
48182         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48184 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
48186         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
48188 2013-05-01  Roland McGrath  <roland@hack.frob.com>
48190         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
48192 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
48194         [BZ #14952]
48195         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
48196         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
48197         Use __attribute__ ((__gnu_inline__)).
48198         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
48199         Don't use __attribute__ ((__gnu_inline__)).
48201 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
48203         [BZ #15423]
48204         * math/s_catan.c (__catan): Handle small real or imaginary part of
48205         input specially to avoid spurious underflow.
48206         * math/s_catanf.c (__catanf): Likewise.
48207         * math/s_catanh.c (__catanh): Likewise.
48208         * math/s_catanhf.c (__catanhf): Likewise.
48209         * math/s_catanhl.c (__catanhl): Likewise.
48210         * math/s_catanl.c (__catanl): Likewise.
48211         * math/libm-test.inc (catan_test): Add more tests.
48212         (catanh_test): Likewise.
48213         * sysdeps/i386/fpu/libm-test-ulps: Update.
48214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48216 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48218         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48220 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
48222         [BZ #15416]
48223         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
48224         accurately for denominator in atan2.
48225         * math/s_catanf.c (__catanf): Likewise.
48226         * math/s_catanh.c (__catanh): Likewise.
48227         * math/s_catanhf.c (__catanhf): Likewise.
48228         * math/s_catanhl.c (__catanhl): Likewise.
48229         * math/s_catanl.c (__catanl): Likewise.
48230         * math/libm-test.inc (catan_test): Add more tests.
48231         (catanh_test): Likewise.
48232         * sysdeps/i386/fpu/libm-test-ulps: Update.
48233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48235 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48237         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
48239         * benchtests/Makefile (bench): Remove slow benchmarks.
48240         * benchtests/atan-inputs: Add slow benchmark inputs.
48241         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
48242         (BENCH_FUNC): Accept variant offset.
48243         (VARIANT): Define.
48244         * benchtests/bench-skeleton.c (main): Run benchmark for each
48245         variant.
48246         * benchtests/cos-inputs: Add slow benchmark inputs.
48247         * benchtests/exp-inputs: Likewise.
48248         * benchtests/pow-inputs: Likewise.
48249         * benchtests/sin-inputs: Likewise.
48250         * benchtests/slowatan-inputs: Remove.
48251         * benchtests/slowatan.c: Remove.
48252         * benchtests/slowcos-inputs: Remove.
48253         * benchtests/slowcos.c: Remove.
48254         * benchtests/slowexp-inputs: Remove.
48255         * benchtests/slowexp.c: Remove.
48256         * benchtests/slowpow-inputs: Remove.
48257         * benchtests/slowpow.c: Remove.
48258         * benchtests/slowsin-inputs: Remove.
48259         * benchtests/slowsin.c: Remove.
48260         * benchtests/slowtan-inputs: Remove.
48261         * benchtests/slowtan.c: Remove.
48262         * benchtests/tan-inputs: Add slow benchmark inputs.
48263         * scripts/bench.pl: Parse comments and directives.
48265         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
48266         in CPPFLAGS.
48267         ($(objpfx)bench-%.c): Remove *-ITER.
48268         * benchtests/bench-modf.c: Remove definition of ITER.
48269         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
48270         (main): Loop for DURATION seconds instead of fixed number of
48271         iterations.
48272         * scripts/bench.pl: Don't expect iterations in parameters.
48274 2013-04-29  Roland McGrath  <roland@hack.frob.com>
48276         * io/fchdir.c (__fchdir): Renamed from fchdir.
48277         (fchdir): Define as weak alias.
48279 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
48281         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
48282         (ERRNO_EDOM): Likewise.
48283         (ERRNO_ERANGE): Likewise.
48284         (noErrnoTests): New variable.
48285         (init_max_error): Set errno to 0.
48286         (test_single_errno): New function.
48287         (test_errno): Likewise.
48288         (check_float_internal): Call test_errno.  Set errno to 0.
48289         (check_complex): Refer to errno tests in comment.
48290         (check_int): Call test_errno.  Set errno to 0.
48291         (check_long): Likewise.
48292         (check_bool): Likewise.
48293         (check_longlong): Likewise.
48294         (cos_test): Use ERRNO_* flags for errno tests instead of
48295         check_int.
48296         (expm1_test): Likewise.
48297         (fmod_test): Likewise.
48298         (ilogb_test): Likewise.
48299         (lgamma_test): Likewise.
48300         (pow_test): Likewise.
48301         (remainder_test): Likewise.
48302         (sin_test): Likewise.
48303         (tan_test): Likewise.
48304         (yn_test): Likewise.
48305         (initialize): Set errno to 0.
48306         (main): Print number of errno tests.
48307         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
48309 2013-04-29  Andreas Jaeger  <aj@suse.de>
48311         [BZ #15084]
48312         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
48313         and RES_USEVC.
48315         [BZ #15085]
48316         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
48317         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
48318         unimplemented.
48320         [BZ #15380]
48321         * stdlib/random.c (__initstate): Return NULL if
48322         __initstate fails.
48324         [BZ #15086]
48325         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
48326         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
48327         RES_SNGLKUPREOP.
48329 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48331         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48333 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
48335         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
48336         of individual tests.
48337         (casin_test): Likewise.
48338         (casinh_test): Likewise.
48340 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
48342         [BZ #15409]
48343         * math/s_catan.c (__catan): Handle arguments with large real or
48344         imaginary part separately without squaring.
48345         * math/s_catanf.c (__catanf): Likewise.
48346         * math/s_catanh.c (__catanh): Likewise.
48347         * math/s_catanhf.c (__catanhf): Likewise.
48348         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
48349         and redefine.
48350         (__catanhl): Handle arguments with large real or imaginary part
48351         separately without squaring.
48352         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
48353         and redefine.
48354         (__catanl): Handle arguments with large real or imaginary part
48355         separately without squaring.
48356         * math/libm-test.inc (catan_test): Add more tests.
48357         (catanh_test): Likewise.
48358         * sysdeps/i386/fpu/libm-test-ulps: Update.
48359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48361 2013-04-27  Andreas Jaeger  <aj@suse.de>
48363         [BZ #15007]
48364         * stdlib/stdlib.h: Update guards for qecvt.
48365         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
48366         <stdlib.h>.
48368 2013-04-27  Allan McRae  <allan@archlinux.org>
48370         * sysdeps/i386/fpu/libm-test-ulps: Update.
48372 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
48374         [BZ #15406]
48375         * math/s_catan.c: Include <float.h>.
48376         (__catan): Ensure underflow exception occurs for underflowed
48377         result.
48378         * math/s_catanf.c: Include <float.h>.
48379         (__catanf): Ensure underflow exception occurs for underflowed
48380         result.
48381         * math/s_catanh.c: Include <float.h>.
48382         (__catanh): Ensure underflow exception occurs for underflowed
48383         result.
48384         * math/s_catanhf.c: Include <float.h>.
48385         (__catanhf): Ensure underflow exception occurs for underflowed
48386         result.
48387         * math/s_catanhl.c: Include <float.h>.
48388         (__catanhl): Ensure underflow exception occurs for underflowed
48389         result.
48390         * math/s_catanl.c: Include <float.h>.
48391         (__catanl): Ensure underflow exception occurs for underflowed
48392         result.
48393         * math/libm-test.inc (catan_test): Add more tests.
48394         (catanh_test): Likewise.
48396         [BZ #15405]
48397         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
48398         underflowed result.
48399         * math/s_ccoshf.c (__ccoshf): Likewise.
48400         * math/s_ccoshl.c (__ccoshl): Likewise.
48401         * math/s_csin.c (__csin): Likewise.
48402         * math/s_csinf.c (__csinf): Likewise.
48403         * math/s_csinh.c (__csinh): Likewise.
48404         * math/s_csinhf.c (__csinhf): Likewise.
48405         * math/s_csinhl.c (__csinhl): Likewise.
48406         * math/s_csinl.c (__csinl): Likewise.
48407         * math/libm-test.inc (ccos_test): Add more tests.
48408         (ccosh_test): Likewise.
48409         (csin_test): Likewise.
48410         (csinh_test): Likewise.
48412 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48414         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
48415         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
48416         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
48417         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
48418         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
48419         powerpc/power5+/fpu folders.
48420         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
48423 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
48425         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48427 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
48429         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
48430         additions to variable.
48431         [$(config-machine) = x86_64] (modules-names): Likewise.
48432         ($(objpfx)tst-audit3): Remove dependency.
48433         ($(objpfx)tst-audit3.out): Likewise.
48434         ($(objpfx)tst-audit4): Likewise.
48435         ($(objpfx)tst-audit4.out): Likewise.
48436         ($(objpfx)tst-audit5): Likewise.
48437         ($(objpfx)tst-audit5.out): Likewise.
48438         ($(objpfx)tst-audit6): Likewise.
48439         ($(objpfx)tst-audit6.out): Likewise.
48440         ($(objpfx)tst-audit7): Likewise.
48441         ($(objpfx)tst-audit7.out): Likewise.
48442         (tst-audit3-ENV): Remove variable.
48443         (tst-audit4-ENV): Likewise.
48444         (tst-audit5-ENV): Likewise.
48445         (tst-audit6-ENV): Likewise.
48446         (tst-audit7-ENV): Likewise.
48447         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
48448         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
48449         addition to variable.
48450         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
48451         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
48452         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
48453         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
48454         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
48455         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
48456         tst-audit3, tst-audit4 and tst-audit5.
48457         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
48458         tst-audit6 and tst-audit7.
48459         [$(subdir) = elf] (modules-names): Add audit modules for those
48460         tests.
48461         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
48462         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
48463         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
48464         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
48465         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
48466         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
48467         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
48468         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
48469         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
48470         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
48471         [$(subdir) = elf] (tst-audit3-ENV): New variable.
48472         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
48473         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
48474         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
48475         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
48476         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
48477         Likewise.
48478         [$(subdir) = elf && $(config-cflags-avx) = yes]
48479         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
48480         [$(subdir) = elf && $(config-cflags-avx) = yes]
48481         (CFLAGS-tst-auditmod4a.c): Likewise.
48482         [$(subdir) = elf && $(config-cflags-avx) = yes]
48483         (CFLAGS-tst-auditmod4b.c): Likewise.
48484         [$(subdir) = elf && $(config-cflags-avx) = yes]
48485         (CFLAGS-tst-auditmod6b.c): Likewise.
48486         [$(subdir) = elf && $(config-cflags-avx) = yes]
48487         (CFLAGS-tst-auditmod6c.c): Likewise.
48488         [$(subdir) = elf && $(config-cflags-avx) = yes]
48489         (CFLAGS-tst-auditmod7b.c): Likewise.
48490         * elf/tst-audit3.c: Move to ...
48491         * sysdeps/x86_64/tst-audit3.c: ... here.
48492         * elf/tst-audit4.c: Move to ...
48493         * sysdeps/x86_64/tst-audit4.c: ... here.
48494         * elf/tst-audit5.c: Move to ...
48495         * sysdeps/x86_64/tst-audit5.c: ... here.
48496         * elf/tst-audit6.c: Move to ...
48497         * sysdeps/x86_64/tst-audit6.c: ... here.
48498         * elf/tst-audit7.c: Move to ...
48499         * sysdeps/x86_64/tst-audit7.c: ... here.
48500         * elf/tst-auditmod3a.c: Move to ...
48501         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
48502         * elf/tst-auditmod3b.c: Move to ...
48503         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
48504         * elf/tst-auditmod4a.c: Move to ...
48505         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
48506         * elf/tst-auditmod4b.c: Move to ...
48507         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
48508         * elf/tst-auditmod5a.c: Move to ...
48509         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
48510         * elf/tst-auditmod5b.c: Move to ...
48511         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
48512         * elf/tst-auditmod6a.c: Move to ...
48513         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
48514         * elf/tst-auditmod6b.c: Move to ...
48515         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
48516         * elf/tst-auditmod6c.c: Move to ...
48517         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
48518         * elf/tst-auditmod7a.c: Move to ...
48519         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
48520         * elf/tst-auditmod7b.c: Move to ...
48521         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
48523 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
48525         [BZ #15366]
48526         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
48527         define unconditionally.
48528         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
48529         define unconditionally.
48530         (INT8_C, INT16_C, etc.): Likewise.
48532 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
48534         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
48535         __ehdr_start with hidden visibility.
48537         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
48539 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
48541         * math/libm-test.inc (cos_test): Use accurate hex constants.
48542         (sincost_test): Likewise.
48544 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
48546         * math/libm-test.inc (catan_test): Add more tests.
48547         (catanh_test): Likewise.
48549         * math/s_catanf.c (__catanf): Use suffixed floating-point
48550         constants.
48551         * math/s_catanhf.c (__catanhf): Likewise.
48552         * math/s_catanhl.c (__catanhl): Likewise.
48553         * math/s_catanl.c (__catanl): Likewise.
48555         [BZ #15394]
48556         * math/s_catan.c (__catan): Calculate imaginary part of result
48557         with log1p not log unless computing log of number close to 0.
48558         * math/s_catanf.c (__catanf): Likewise.
48559         * math/s_catanl.c (__catanl): Likewise.
48560         * math/s_catanh.c (__catanh): Calculate real part of result with
48561         log1p not log unless computing log of number close to 0.
48562         * math/s_catanhf.c (__catanhf): Likewise.
48563         * math/s_catanhl.c (__catanhl): Likewise.
48564         * math/libm-test.inc (catan_test): Add more tests.
48565         (catanh_test): Likewise.
48566         * sysdeps/i386/fpu/libm-test-ulps: Update.
48567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48569 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48571         * benchtests/Makefile: Mention files in which fast and slow
48572         paths of math functions are implemented.
48574 2013-04-23  Roland McGrath  <roland@hack.frob.com>
48576         * sysdeps/posix/timespec_get.c: New file.
48578 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48580         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
48581         POWER.
48582         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
48583         for POWER.
48584         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
48585         powerpc/power5/fpu folders.
48586         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
48587         * benchtests/Makefile: Add modf testcase.
48588         * benchtests/bench-modf.c: New file: Benchmark test for mo
48590 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
48592         [BZ #14888]
48593         * time/Makefile (tests): Add tst-strptime-whitespace.
48594         * time/strptime_l.c (get_number): Use ISSPACE.
48595         (__strptime_internal): Likewise.
48596         * time/tst-strptime-whitespace.c: New test case.
48598 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
48600         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
48601         member.
48602         (_nss_files_init): Set it here.
48604 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
48606         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
48607         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
48608         unsigned.
48610 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
48612         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
48614 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
48616         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
48617         size just once.
48619 2013-04-21  David S. Miller  <davem@davemloft.net>
48621         * po/ru.po: Update Russion translation from translation project.
48623 2013-04-17  Adam Conrad  <adconrad@0c3.net>
48625         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
48626         and setfsgid.
48628 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
48630         * configure.in: Remove i386 configure warning. Remove i386 case.
48631         * configure: Regenerate.
48632         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
48633         Add example to error message.
48634         * sysdeps/i386/configure: Regenerate.
48636 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
48638         * benchtests/Makefile (bench): Add cos, tan, slowcos and
48639         slowtan.
48640         * benchtests/cos-inputs: New file.
48641         * benchtests/slowcos-inputs: New file.
48642         * benchtests/slowcos.c: New file.
48643         * benchtests/slowtan-inputs: New file.
48644         * benchtests/slowtan.c: New file.
48645         * benchtests/tan-inputs: New file.
48647 2013-04-16  Roland McGrath  <roland@hack.frob.com>
48649         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
48650         considered kosher.
48652 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48654         * benchtests/Makefile: Include cppflags-iterator.mk to add
48655         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
48657         * Makefile.in (bench-clean): New target.
48658         * benchtests/Makefile (bench-clean): Likewise.
48660 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
48662         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
48664 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
48666         * stdio-common/tstdiomisc.c: Fix coding-style violation.
48668 2013-04-15  Andreas Schwab  <schwab@suse.de>
48670         * nscd/grpcache.c (cache_addgr): Properly check for short write.
48671         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48672         * nscd/pwdcache.c (cache_addpw): Likewise.
48673         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
48674         more than recsize.
48676 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48678         * benchtests/Makefile (bench): Write all output to
48679         bench-out.tmp together.
48681 2013-04-15  Andreas Schwab  <schwab@suse.de>
48683         * nscd/nscd.c (main): Don't fork again after closing files.
48685 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48687         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
48689         * benchtests/Rules (bench-deps): Collect dependencies into a
48690         single variable.  Add Makefile to dependencies.
48691         ($(objpfx)bench-%.c): Depend on bench-deps.
48693 2013-04-12  Roland McGrath  <roland@hack.frob.com>
48694             Xavier Roche  <roche+kml2@exalead.com>
48696         [BZ #15361]
48697         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
48698         just that it's a file descriptor.
48699         * manual/llio.texi (Synchronizing AIO Operations): Update description
48700         for EBADF error from aio_fsync.
48702 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
48704         * Rules (bench): Move target definition...
48705         * benchtests/Makefile: ... here.
48707 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
48709         * math/libm-test.inc (cos_test): Fix PI/2 test.
48710         (sincos_test): Likewise.
48711         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
48712         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
48714 2013-04-11  Andreas Schwab  <schwab@suse.de>
48716         [BZ #13988]
48717         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
48718         accept exponent character only when digits were seen.
48719         * stdio-common/Makefile (tests): Add bug26.
48720         * stdio-common/bug26.c: New file.
48722         [BZ #14293]
48723         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
48724         non-freeable.
48726 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48728         * Makeconfig (rtld-prefix): Define built linker prefix.
48729         * Rules (run-bench): Use it.
48730         * math/Makefile (run-regen-ulps): Likewise.
48732         * Rules (bench): Remove eval.
48734 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48735             Roland McGrath  <roland@hack.frob.com>
48736             Ondrej Bilka  <neleai@seznam.cz>
48738         [BZ #15346]
48739         * time/getdate.c: Include ctype.h and alloca.h.
48740         (__getdate_r): Trim leading and trailing spaces of input.
48741         * time/tst-getdate.c (tests): Add tests with leading and
48742         trailing spaces.
48744 2013-04-08  Roland McGrath  <roland@hack.frob.com>
48746         [BZ #14280]
48747         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
48748         when computing value.
48750 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
48752         * math/README.libm-test (How can I generate "libm-test-ulps"?):
48753         Use testrun.sh to run libm tests.
48755         [BZ #15309]
48756         * elf/dl-open.c (dl_open_worker): memset all of seen array.
48758 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
48760         [BZ #15264]
48761         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
48763 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
48765         * Makefile.in (regen-ulps): New target.
48766         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
48767         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
48768         [ifneq (no,$(PERL)] (regen-ulps): New target.
48769         [ifeq (no,$(PERL)] (regen-ulps): New target.
48770         * math/libm-test.inc (ulps_file_name): Define.
48771         (output_dir): New variable.
48772         (options): Add "output-dir" option.
48773         (parse_opt): Handle 'o' case.
48774         (main): If output_dir is non-NULL use it as a prefix
48775         otherwise use "".
48776         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
48778 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
48780         [BZ #10060, #10062]
48781         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
48782         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
48783         fail configure if __sync_val_compare_and_swap is not inlined.
48784         * sysdeps/i386/configure: Regenerate.
48785         * configure.in: Build for i686 when configured for i386.
48786         * configure: Regenerate.
48787         * README: Remove i386 reference.
48789 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
48791         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
48792         * sysdeps/s390/s390-64/sysdep.h: Likewise.
48794 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
48796         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
48797         (lmsnanval): New variables.
48798         (F): Add conversion tests.
48799         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
48800         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
48802         * stdio-common/tstdiomisc.c (F): Properly collect individual
48803         tests' results.
48805         [BZ #14686, #15336]
48806         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
48807         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
48808         Instead, use input NaN values or generate a qNaN by arithmetic
48809         operation.  Also fix bugs to comply with the standard.
48810         * math/libm-test.inc (remainder_test): Add more tests.
48812         [BZ #15335, #15342]
48813         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
48814         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
48815         input NaN values or generate a qNaN by arithmetic operation.
48817         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
48818         unreachable code.
48820         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
48821         definitions.
48823 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
48825         [BZ #14478]
48826         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
48827         underflowed result.
48828         * math/s_cexpf.c (__cexpf): Likewise.
48829         * math/s_cexpl.c (__cexpl): Likewise.
48830         * math/libm-test.inc (cexp_test): Add more tests.
48832 2013-04-03  Andreas Schwab  <schwab@suse.de>
48834         [BZ #15330]
48835         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
48836         order arrays from heap if bigger than alloca cutoff.
48838 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
48840         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
48841         (SNAN_TESTS_double): Refer to GCC PR56831.
48842         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
48843         GCC PR56828.
48845 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
48847         * Rules (bench): Move bench.out after the run is complete.
48849         * Rules (bench): Echo currently running benchmark.
48851         * benchtests/Makefile (bench): Add atan and slowatan.
48852         * benchtests/atan-inputs: New file.
48853         * benchtests/slowatan-inputs: New file.
48854         * benchtests/slowatan.c: New file.
48856         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
48857         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
48858         its value.
48860         [BZ #15305]
48861         * sysdeps/unix/sysv/linux/kernel-features.h
48862         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
48863         __ASSUME_XFS_RESTRICTED_CHOWN.
48864         * sysdeps/unix/sysv/linux/pathconf.c
48865         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
48866         Save and restore errno.
48868 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
48870         [BZ #15327]
48871         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
48872         arguments using __kernel_casinh.
48873         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
48874         arguments using __kernel_casinhf.
48875         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
48876         arguments using __kernel_casinhl.
48877         * math/libm-test.inc (cacosh_test): Add more tests.
48878         * sysdeps/i386/fpu/libm-test-ulps: Update.
48879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48881 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48883         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
48884         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
48886         * bench/Makefile (bench): Add sin and slowsin.
48887         * benchtests/sin-inputs: New file.
48888         * benchtests/slowsin-inputs: New file.
48889         * benchtests/slowsin.c: New file.
48891         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
48892         (bench): Add slowexp and slowpow.
48893         (exp-ITER): Increase iterations.
48894         (pow-ITER): Likewise.
48895         * benchtests/exp-inputs: Change input.
48896         * benchtests/pow-inputs: Likewise.
48897         * benchtests/slowexp-inputs: New file.
48898         * benchtests/slowexp.c: New file.
48899         * benchtests/slowpow-inputs: New file.
48900         * benchtests/slowpow.c: New file.
48902 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48904         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
48905         instructions.
48906         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
48907         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
48908         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
48909         * benchtests/Makefile: Add rint benchtest.
48910         * benchtests/rint-inputs: Input for rint benchtest.
48912 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
48914         * Versions.def (libm): Add GLIBC_2.18.
48915         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
48916         hidden libm prototypes.
48917         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
48918         * math/Makefile (libm-calls): Add s_issignaling.
48919         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
48920         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
48921         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
48922         declaration.
48923         * math/math.h [__USE_GNU] (issignaling): New macro.
48924         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
48925         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
48926         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
48927         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
48928         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
48929         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
48930         * manual/arith.texi (issignaling): New section.
48931         * manual/libm-err-tab.pl (@all_functions): Update comment.
48932         * math/gen-libm-test.pl (parse_args): Apply special handling for
48933         issignaling.
48934         * math/libm-test.inc (print_float, issignaling_test): New
48935         functions.
48936         (check_float_internal): Add issignaling checks.
48937         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
48938         default definition.
48939         * sysdeps/powerpc/math-tests.h: New file.
48940         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
48941         tests.
48942         * math/test-snan.c (TEST_FUNC): Likewise.
48944 2013-03-30  David S. Miller  <davem@davemloft.net>
48946         * po/de.po: Update from translation team.
48948 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
48950         [BZ #10357]
48951         * math/k_casinh.c (__kernel_casinh): Handle arguments with
48952         imaginary part less than 1.0 and real part less than 0.5
48953         specially.
48954         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48955         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48956         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
48957         (cacos_test): Add more tests.
48958         (casin_test): Likewise.
48959         (casinh_test): Likewise.
48960         * sysdeps/i386/fpu/libm-test-ulps: Update.
48961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48963 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48965         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
48966         ONE with its value.
48968         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
48969         (__pow_mp): Replace ONE and MONE with their values.
48970         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48971         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
48972         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
48973         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
48974         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
48975         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
48977         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
48979         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
48980         (__pow_mp): Replace ZERO and MZERO with their values.
48981         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
48982         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48983         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
48984         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
48985         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
48986         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
48987         (__sqr): Likewise.
48989         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
48991         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
48993 2013-03-28  Roland McGrath  <roland@hack.frob.com>
48995         * include/stdlib.h [!SHARED] (__call_tls_dtors):
48996         Declare with __attribute__ ((weak)).
48997         * stdlib/exit.c (__libc_atexit) [!SHARED]:
48998         Call __call_tls_dtors only if it's not NULL.
49000 2013-03-28  Roland McGrath  <roland@hack.frob.com>
49002         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
49003         didn't do it already, then set _dl_phdr and _dl_phnum based on the
49004         magic __ehdr_start linker symbol if it's defined.
49005         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
49006         them up here if it was already done.
49008         * elf/dl-support.c (_dl_phdr): Make pointer to const.
49009         (_dl_aux_init): Use const in cast when setting it.
49010         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
49011         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
49012         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
49014         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
49015         Declare them here.
49016         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
49017         * csu/libc-tls.c: Nor here.
49018         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
49020         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
49021         (__libc_message): Never call vsyslog.
49023 2013-03-28  Alan Modra  <amodra@gmail.com>
49025         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
49026         Define as empty.
49027         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
49028         Likewise.
49030 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49032         [BZ #15214]
49033         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
49034         underflow.
49035         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49037 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49039         [BZ #15304]
49040         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
49041         Don't add gid passed as argument.
49043         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
49045 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
49047         [BZ #15307]
49048         * math/k_casinh.c (__kernel_casinh): Handle arguments with
49049         imaginary part between 1.0 and 1.5 and real part less than 0.5
49050         specially.
49051         * math/k_casinhf.c (__kernel_casinhf): Likewise.
49052         * math/k_casinhl.c (__kernel_casinhl): Likewise.
49053         * math/libm-test.inc (cacos_test): Add more tests.
49054         (casin_test): Likewise.
49055         (casinh_test): Likewise.
49056         * sysdeps/i386/fpu/libm-test-ulps: Update.
49057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49059 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49061         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
49062         constants.
49063         (norm): Likewise.
49064         (denorm): Likewise.
49065         (__dbl_mp): Likewise.
49066         (add_magnitudes): Likewise.
49067         (sub_magnitudes): Likewise.
49068         (__add): Likewise.
49069         (__sub): Likewise.
49070         (__mul): Likewise.
49071         (__sqr): Likewise.
49072         (__inv): Likewise.
49073         (__dvd): Likewise.
49075         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
49076         commented code.
49077         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
49078         (__dubcos): Likewise.
49079         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
49080         (__ieee754_acos): Likewise.
49081         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
49082         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
49083         (__exp1): Likewise.
49084         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49085         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
49086         (log1): Likewise.
49087         (my_log2): Likewise.
49088         (checkint): Likewise.
49089         * sysdeps/ieee754/dbl-64/e_remainder.c
49090         (__ieee754_remainder): Likewise.
49091         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
49092         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
49093         (bsloww): Likewise.
49094         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
49096         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
49097         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
49098         MANTISSA_STORE_T to store computations on mantissa.  Use
49099         macros for rounding and division.
49100         (denorm): Likewise.
49101         (__dbl_mp): Likewise.
49102         (add_magnitudes): Likewise.
49103         (sub_magnitudes): Likewise.
49104         (__mul): Likewise.
49105         (__sqr): Likewise.
49106         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
49107         powers of two in terms of TWOPOW macro.
49108         (mp_no): Make type of mantissa as MANTISSA_T.
49109         [!RADIXI]: Define RADIXI.
49110         [!TWO52]: Define TWO52.
49111         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
49113 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49115         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
49116         llroundl symbol when building for PPC32.
49118 2013-03-24  Mark H Weaver  <mhw@netris.org>
49120         * manual/arith.texi (Normalization Functions): Fix prototypes for
49121         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
49123 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49125         [BZ #13889]
49126         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
49127         high value to check if expl overflow.
49128         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
49129         to check for underflow and overflow.
49130         * math/libm-test.inc: Add exp test.
49132 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
49134         [BZ #11120]
49135         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
49136         with NOT_IN_libc.
49138 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49140         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
49141         symbol.
49143 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
49145         * math/gen-libm-test.pl (parse_args, special_functions): Properly
49146         wrap blocks consisting of several statements.
49148         * sysdeps/generic/math-tests.h: New file.
49149         * sysdeps/i386/fpu/math-tests.h: Likewise.
49150         * math/test-snan.c: Include it.
49151         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
49153 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
49155         [BZ #15285]
49156         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
49157         (__ieee754_j0l): Do not improve calculations using cos of twice
49158         input for inputs above LDBL_MAX / 2.0L.
49159         (__ieee754_y0l): Likewise.
49160         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
49161         (__ieee754_j1l): Do not improve calculations using cos of twice
49162         input for inputs above LDBL_MAX / 2.0L.
49163         (__ieee754_y1l): Likewise.
49164         * math/libm-test.inc (j0_test): Add another test.
49165         (j1_test): Likewise.
49166         (y0_test): Likewise.
49167         (y1_test): Likewise.
49168         * sysdeps/i386/fpu/libm-test-ulps: Update.
49170 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49172         * Rules ($(objpfx)bench-%.c): Include code from a C source
49173         file.
49175 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
49177         [BZ #15287]
49178         * math/k_casinh.c (__kernel_casinh): Handle arguments with
49179         imaginary part 1.0 and real part less than 0.5 specially.
49180         * math/k_casinhf.c (__kernel_casinhf): Likewise.
49181         * math/k_casinhl.c (__kernel_casinhl): Likewise.
49182         * math/libm-test.inc (cacos_test): Add more tests.
49183         (casin_test): Likewise.
49184         (casinh_test): Likewise.
49185         * sysdeps/i386/fpu/libm-test-ulps: Update.
49186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49188 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49190         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
49191         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
49193 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
49195         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
49196         * config.make.in (config-cflags-sse4): Remove variable.
49197         (config-cflags-avx): Likewise.
49198         (config-cflags-sse2avx): Likewise.
49199         (config-cflags-novzeroupper): Likewise.
49200         (config-asflags-i686): Likewise.
49201         (have-mfma4): Likewise.
49202         (have-as-vis3): Likewise.
49203         (MIG): Likewise.
49204         * configure.in (MIG): Do not AC_SUBST.
49205         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
49206         (libc_cv_cc_sse4): Do not AC_SUBST.
49207         (libc_cv_cc_avx): Likewise.
49208         (libc_cv_cc_sse2avx): Likewise.
49209         (libc_cv_cc_novzeroupper): Likewise.
49210         (libc_cv_cc_fma4): Likewise.
49211         (libc_cv_as_i686): Likewise.
49212         (libc_cv_sparc_as_vis3): Likewise.
49213         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
49214         LIBC_CONFIG_VAR.
49215         (config-asflags-i686): Likewise.
49216         (config-cflags-avx): Likewise.
49217         (config-cflags-sse2avx): Likewise.
49218         (have-mfma4): Likewise.
49219         (config-cflags-novzeroupper): Likewise.
49220         * sysdeps/mach/configure.in (MIG): Likewise.
49221         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
49222         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
49223         LIBC_CONFIG_VAR.
49224         (config-cflags-avx): Likewise.
49225         (config-cflags-sse2avx): Likewise.
49226         (have-mfma4): Likewise.
49227         (config-cflags-novzeroupper): Likewise.
49228         * configure: Regenerated.
49229         * sysdeps/i386/configure: Likewise.
49230         * sysdeps/mach/configure: Likewise.
49231         * sysdeps/sparc/configure: Likewise.
49232         * sysdeps/x86_64/configure: Likewise.
49234 2013-03-20  Roland McGrath  <roland@hack.frob.com>
49236         [BZ #14812]
49237         * locale/programs/localedef.c (options): Put N_ translation marker
49238         on argument names, not just descriptions.
49240 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49242         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
49244 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
49246         [BZ #14176]
49247         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
49249 2013-03-19  Roland McGrath  <roland@hack.frob.com>
49251         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
49252         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
49253         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
49254         [!BEFORE_ABORT] (before_abort): New function.
49255         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
49256         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
49257         (writev_for_fatal): New function.
49258         (WRITEV_FOR_FATAL): New macro; call that.
49259         (backtrace_and_maps): New function.
49260         (BEFORE_ABORT): New macro; call that.
49261         (struct str_list): Type removed.
49262         (__libc_message, __libc_fatal): Functions removed.
49263         Include <sysdeps/posix/libc_fatal.c> instead.
49265 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
49267         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
49268         constants.
49269         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
49270         double constants.
49272 2013-03-19  Andreas Schwab  <schwab@suse.de>
49274         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
49275         * sysdeps/gnu/configure: Regenerate.
49277         * configure.in: Substitute libc_cv_rtlddir.
49278         * configure: Regenerate.
49279         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
49280         * Makeconfig (rtlddir, inst_rtlddir): New variables.
49281         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
49282         * elf/Makefile (install-others, CFLAGS-interp.c)
49283         (ldso_install, common-ldd-rewrite): Likewise.
49284         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
49285         $(inst_slibdir)/$(rtld-installed-name).
49286         * scripts/rellns-sh: Add -p option.
49287         * Makerules (make-shlib-link): Use rellns-sh to get relative name
49288         for source.
49290 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49292         * manual/nptl.texi: Renamed to ...
49293         * manual/threads.texi: ... this.
49294         * manual/Makefile (chapters): Update.
49296 2013-03-18  Roland McGrath  <roland@hack.frob.com>
49298         [BZ #14812]
49299         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
49300         on argument names, not just descriptions.
49301         * malloc/memusagestat.c (options): Likewise.
49302         * nss/getent.c (options): Likewise.
49304 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
49306         [BZ #14812]
49307         * iconv/iconv_prog.c (options): Put N_ translation marker
49308         on argument names, not just descriptions.
49309         * iconv/iconvconfig.c (options): Likewise.
49311 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
49313         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
49314         implementation which is faster on all x86_64 architectures.
49315         Tested on AMD, Intel Nehalem, SNB, IVB.
49316         * sysdeps/x86_64/strnlen.S: Likewise.
49318         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
49319         Remove all multiarch strlen and strnlen versions.
49320         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
49321         Remove strlen and strnlen related parts.
49323         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
49324         Inline strlen part.
49325         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
49327         * sysdeps/x86_64/multiarch/strlen.S: Remove.
49328         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
49329         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
49330         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
49331         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
49332         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
49334 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
49336         * manual/memory.texi (Malloc Tunable Parameters):
49337         Sort parameters alphabetically. Add comments for missing entries.
49339 2013-03-17  David S. Miller  <davem@davemloft.net>
49341         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49343 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
49345         [BZ #15283]
49346         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
49347         for arguments at most half maximum finite value.
49348         * math/libm-test.inc (j0_test): Add more tests.
49349         (j1_test): Likewise.
49350         (y0_test): Likewise.
49351         (y1_test): Likewise.
49352         * sysdeps/i386/fpu/libm-test-ulps: Update.
49353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49355         [BZ #14155]
49356         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
49357         1 / x and functions P and Q for arguments above 0x1p256L.
49358         (__ieee754_y0l): Likewise.
49359         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
49360         (__ieee754_y1l): Likewise.
49361         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
49362         (j1_test): Likewise.
49363         (y0_test): Likewise.
49364         (y1_test): Likewise.
49366 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
49368         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
49369         variable.
49371 2013-03-15  Roland McGrath  <roland@hack.frob.com>
49373         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
49374         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
49375         zero since it's initialized to EXEC_PAGESIZE.
49377         * sysdeps/unix/sysv/linux/ldsodefs.h
49378         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
49379         * sysdeps/generic/ldsodefs.h: ... here.
49381 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
49383         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
49385         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
49386         math/test-snan.c.
49387         * math/test-snan.c: Renamed from
49388         sysdeps/powerpc/fpu/test-powerpc-snan.c.
49389         * math/Makefile (tests): Add test-snan.
49390         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
49391         test-powerpc-snan.
49393         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
49394         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
49395         functions.
49396         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
49397         __builtin_nan family of functions.
49398         * math/libm-test.inc (initialize): Initialize qnan_value with
49399         __builtin_nan family of functions.
49400         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
49401         Remove variables.
49402         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
49403         Remove functions.
49404         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
49405         storage class.  Initialize qNaN_var and sNaN_var with
49406         __builtin_nan and __builtin_nans families of functions,
49407         respectively.
49409         * math/libm-test.inc (acosh_test): Also test with qNaN input.
49410         (sqrt_test): Remove duplicate test with qNaN input.
49411         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
49412         (round_test, signbit_test, significand_test): Note missing +/-Inf
49413         as well as qNaN tests.
49415         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
49416         qNaN_var.  Fix a few strings, too.
49417         * math/libm-test.inc (nan_value): Rename to qnan_value.
49418         * math/gen-libm-test.pl (%beautify): Adjust to that.
49419         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
49420         * math/test-misc.c (main): Likewise.
49421         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
49422         to __qnan_bytes, and __qnan_union, respectively.
49423         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
49424         Likewise.
49425         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
49426         and lqnanval, respectively.
49427         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
49428         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
49429         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
49430         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
49432         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
49433         * math/test-misc.c (main) [__x86_64__]: Enable test for long
49434         doubles.
49436         * math/test-misc.c (main): Fix copy'n'pastos.
49437         * misc/tst-efgcvt.c (special): Likewise.
49439         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
49440         Remove declarations.
49442 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49444         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
49445         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
49446         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
49447         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
49449 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49451         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
49452         macro to return vdso values correctly in IFUNC implementations.
49453         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
49454         Optimization by using IFUNC.
49456 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49457             Richard Henderson  <rth@redhat.com>
49458             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49460         * Makefile.in (bench): New target.
49461         * NEWS: Mention the benchmark framework.
49462         * Rules (bench): Likewise.
49463         (binaries-bench): Generate binaries for functions to
49464         benchmark.
49465         * benchtests/Makefile: New makefile for benchmark tests.
49466         * benchtests/bench-skeleton.c: New skeleton file for benchmark
49467         programs.
49468         * benchtests/exp-inputs: New input file for EXP function.
49469         * benchtests/pow-inputs: New input file for POW function.
49470         * scripts/bench.pl: New script to generate source files for
49471         benchmark programs.
49473 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49475         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
49476         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
49477         computations on mantissa.  Use macros for rounding and
49478         division.
49479         (denorm): Likewise.
49480         (__dbl_mp): Likewise.
49481         (add_magnitudes): Likewise.
49482         (sub_magnitudes): Likewise.
49483         (__mul): Likewise.
49484         (__sqr): Likewise.
49485         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
49486         powers of two in terms of TWOPOW macro.
49487         (mp_no): Make type of mantissa as MANTISSA_T.
49488         [!RADIXI]: Define RADIXI.
49489         [!TWO52]: Define TWO52.
49490         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
49492         * manual/nptl.texi (cindex): Modify threads to pthreads.
49494 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
49496         * sysdeps/x86_64/preconfigure: Regenerated.
49498 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
49500         [BZ #14155]
49501         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
49502         0x1p28 and above.
49503         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
49504         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
49505         0x1p28 and above.
49506         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
49507         * math/libm-test.inc (j0_test): Do not allow one spurious
49508         underflow exception.
49509         (y1_test): Likewise.
49511 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
49513         * manual/Makefile (chapters): Add nptl.
49514         * manual/debug.texi (Debugging Support): Add link to Threads
49515         chapter.
49516         * manual/nptl.texi: New file.
49518         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
49520 2013-03-14  Petr Baudis  <pasky@ucw.cz>
49522         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
49523         for non-NULL pointer before the memory validity test. Pointed
49524         out by Holger Brunck <holger.brunck@keymile.com>.
49526 2013-03-13  Andreas Schwab  <schwab@suse.de>
49528         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
49529         instead of .os.
49531 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
49533         * timezone/zic.c: Update from tzcode 2013b.
49535 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
49537         * manual/install.texi (Configuring and compiling):
49538         Mention i686 and i586.
49539         * INSTALL: Regenerate.
49541 2013-03-12  Roland McGrath  <roland@hack.frob.com>
49543         * sysdeps/init_array/elf-init.c: New file.
49544         * csu/elf-init.c
49545         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
49546         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
49548         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
49549         __gmon_start__ as global, but as static with a .preinit_array pointer.
49550         * sysdeps/init_array/gmon-start.c: New file.  Use that.
49551         * sysdeps/init_array/crti.S: New file, empty except for comments.
49552         * sysdeps/init_array/crtn.S: Likewise.
49554 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
49556         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
49557         definining bcopy.
49558         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49559         Remove Prefer_SSE_for_memop.
49560         * sysdeps/x86_64/multiarch/init-arch.h: Remove
49561         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
49562         HAS_PREFER_SSE_FOR_MEMOP.
49563         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
49564         memset-x86-64.
49565         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49566         Remove bzero, memset ifunc support.
49567         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
49568         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
49569         * sysdeps/x86_64/multiarch/memset.S: Likewise.
49570         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
49572 2013-03-11  Andreas Schwab  <schwab@suse.de>
49574         [BZ #15234]
49575         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
49576         by SHLIB_COMPAT.
49577         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
49578         (GLIBC_2.16): Remove pthread_atfork.
49580 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
49582         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
49583         (ptestcases.h): Likewise.
49585 2013-03-08  Roland McGrath  <roland@hack.frob.com>
49587         * Makeconfig ($(common-objpfx)config.status): Depend on
49588         sysdeps/*/preconfigure{,.in} too.
49590 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
49592         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
49593         (__free_hook): Use void * instead of __malloc_ptr_t.
49594         (__malloc_hook): Likewise.
49595         (__realloc_hook): Likewise.
49596         (__memalign_hook): Likewise.
49597         (__after_morecore_hook): Likewise.
49598         * malloc/arena.c (save_malloc_hook): Likewise.
49599         (save_free_hook): Likewise.
49600         * malloc/hooks.c (malloc_hook_ini): Likewise.
49601         (realloc_hook_ini): Likewise.
49602         (memalign_hook_ini): Likewise.
49603         * malloc/malloc.c (malloc_hook_ini): Likewise.
49604         (realloc_hook_ini): Likewise.
49605         (memalign_hook_ini): Likewise.
49606         (__free_hook): Likewise.
49607         (__malloc_hook): Likewise.
49608         (__realloc_hook): Likewise.
49609         (__memalign_hook): Likewise.
49610         (__libc_malloc): Likewise.
49611         (__libc_free): Likewise.
49612         (__libc_realloc): Likewise.
49613         (__libc_memalign): Likewise.
49614         (__libc_valloc): Likewise.
49615         (__libc_pvalloc): Likewise.
49616         (__libc_calloc): Likewise.
49617         (__posix_memalign): Likewise.
49618         * malloc/morecore.c (__sbrk): Likewise.
49619         (__default_morecore): Likewise.
49621         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
49623         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
49624         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
49625         __malloc_ptrdiff_t.
49627         * malloc/malloc.h (__malloc_size_t): Remove macro.
49628         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
49629         __malloc_size_t.
49630         (old_memalign_hook): Likewise.
49631         (old_realloc_hook): Likewise.
49632         (struct hdr): Likewise.
49633         (flood): Likewise.
49634         (mallochook): Likewise.
49635         (memalignhook): Likewise.
49636         (reallochook): Likewise.
49637         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
49638         (tr_old_realloc_hook): Likewise.
49639         (tr_old_memalign_hook): Likewise.
49640         (tr_mallochook): Likewise.
49641         (tr_reallochook): Likewise.
49642         (tr_memalignhook): Likewise.
49644 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49646         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
49647         default_ldbl_pack and using as default implementation.
49648         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
49649         implementation.
49650         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
49651         redundant definition.
49652         (ldbl_insert_mantissa): Likewise.
49653         (ldbl_canonicalize): Likewise.
49654         (ldbl_nearbyint): Likewise.
49655         (ldbl_pack): Rename to ldbl_pack_ppc.
49656         (ldbl_unpack): Rename to ldbl_unpack_ppc.
49657         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
49658         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
49660 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
49662         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
49663         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
49664         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
49665         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
49666         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
49667         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
49668         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
49669         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
49671 2013-03-07  Andreas Jaeger  <aj@suse.de>
49673         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49674         bits/mman-linux.h.
49676 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
49678         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
49679         Include mpa.h and declare __MPEXP.
49680         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
49681         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
49682         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
49683         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
49684         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
49685         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
49686         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
49688         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
49689         (__slowpow): Use long double EXPL and LOGL functions to
49690         compute POW.
49691         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
49692         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
49693         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
49694         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
49695         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
49696         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
49698         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
49699         intermediate variable to calculate exponent.
49700         (__sqr): Likewise.
49701         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
49702         Likewise.
49703         (__sqr): Likewise.
49705         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
49706         [!NO__SQR]: Define __sqr.
49707         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
49708         and NO__SQR.  Remove all code except __mul and __sqr.  Include
49709         sysdeps/ieee754/dbl-64/mpa.c.
49710         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49712         [BZ #12723]
49713         * posix/Makefile (tests): Add tst-pathconf.
49714         * posix/tst-pathconf.c: New test case.
49715         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
49716         _PC_PIPE_BUF.
49717         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
49719 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
49721         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
49723 2013-03-06  Andreas Jaeger  <aj@suse.de>
49725         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
49726         definition via __MAP_ANONYMOUS.
49728         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
49729         it's not part of Linux headers.
49731         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
49732         (MAP_HUGE_MASK): Define.
49734         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
49735         Define.
49736         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
49737         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
49738         Define.
49739         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
49740         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
49741         Define.
49742         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
49743         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
49744         Define.
49745         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
49747         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
49748         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
49749         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
49750         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
49751         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
49752         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
49754         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49755         Handle f2fs.
49757         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49758         Handle f2fs and efivarfs.
49760         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
49761         f2fs.
49763         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
49764         (EFIVARFS_MAGIC): Add.
49765         (F2FS_LINK_MAX): Add.
49767 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
49769         * stdio-common/vfprintf.c: Replace __builtin_expect with
49770         __glibc_unlikely.
49772 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
49774         [BZ #13550]
49775         * sysdeps/generic/bp-sym.h: Remove file.
49776         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
49777         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
49778         <bp-sym.h> and <bp-asm.h>.
49779         (__longjmp): Don't use BP_SYM.
49780         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
49781         and <bp-asm.h>.
49782         (memcpy): Don't use BP_SYM.
49783         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
49784         <bp-sym.h> and <bp-asm.h>.
49785         (memcpy): Don't use BP_SYM.
49786         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
49787         <bp-asm.h>.
49788         (memcpy): Don't use BP_SYM.
49789         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
49790         <bp-asm.h>.
49791         (memset): Don't use BP_SYM.
49792         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49793         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49794         (__bzero): Don't use BP_SYM.
49795         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49796         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49797         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
49798         <bp-sym.h> and <bp-asm.h>.
49799         (memcmp): Don't use BP_SYM.  Remove comment about bounded
49800         pointers.
49801         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
49802         <bp-sym.h> and <bp-asm.h>.
49803         (memcpy): Don't use BP_SYM.
49804         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
49805         <bp-sym.h> and <bp-asm.h>.
49806         (memset): Don't use BP_SYM.
49807         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49808         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49809         (__bzero): Don't use BP_SYM.
49810         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49811         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49812         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
49813         <bp-sym.h> and <bp-asm.h>.
49814         (strncmp): Don't use BP_SYM.  Remove comment about bounded
49815         pointers.
49816         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
49817         <bp-sym.h> and <bp-asm.h>.
49818         (memcpy): Don't use BP_SYM.
49819         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
49820         <bp-sym.h> and <bp-asm.h>.
49821         (memset): Don't use BP_SYM.
49822         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49823         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49824         (__bzero): Don't use BP_SYM.
49825         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49826         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49827         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
49828         <bp-sym.h> and <bp-asm.h>.
49829         (__memchr): Don't use BP_SYM.
49830         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
49831         <bp-sym.h> and <bp-asm.h>.
49832         (memcmp): Don't use BP_SYM.  Remove comment about bounded
49833         pointers.
49834         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
49835         <bp-sym.h> and <bp-asm.h>.
49836         (memcpy): Don't use BP_SYM.
49837         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
49838         <bp-sym.h> and <bp-asm.h>.
49839         (__mempcpy): Don't use BP_SYM.
49840         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
49841         <bp-sym.h> and <bp-asm.h>.
49842         (__memrchr): Don't use BP_SYM.
49843         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
49844         <bp-sym.h> and <bp-asm.h>.
49845         (memset): Don't use BP_SYM.
49846         (__bzero): Likewise.
49847         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
49848         <bp-sym.h> and <bp-asm.h>.
49849         (__rawmemchr): Don't use BP_SYM.
49850         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
49851         <bp-sym.h> and <bp-asm.h>.
49852         (__STRCMP): Don't use BP_SYM.
49853         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
49854         <bp-sym.h> and <bp-asm.h>.
49855         (strchr): Don't use BP_SYM.
49856         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
49857         <bp-sym.h> and <bp-asm.h>.
49858         (__strchrnul): Don't use BP_SYM.
49859         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
49860         <bp-sym.h> and <bp-asm.h>.
49861         (strlen): Don't use BP_SYM.
49862         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
49863         <bp-sym.h> and <bp-asm.h>.
49864         (strncmp): Don't use BP_SYM.  Remove comment about bounded
49865         pointers.
49866         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
49867         <bp-sym.h> and <bp-asm.h>.
49868         (__strnlen): Don't use BP_SYM.
49869         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
49870         <bp-sym.h> and <bp-asm.h>.
49871         (__GI__setjmp): Don't use BP_SYM.
49872         (_setjmp): Likewise.
49873         (__sigsetjmp): Likewise.
49874         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
49875         (L(start_addresses)): Don't use BP_SYM.
49876         (_start): Likewise.
49877         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
49878         <bp-asm.h>.
49879         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
49880         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
49881         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49882         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49883         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
49884         <bp-asm.h>.
49885         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
49886         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
49887         about bounded pointers.
49888         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
49889         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49890         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
49891         <bp-asm.h>.
49892         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
49893         about bounded pointers.  Remove GKM FIXME comments.
49894         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
49895         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
49896         <bp-asm.h>.
49897         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
49898         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
49899         Remove GKM FIXME comments.
49900         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49901         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49902         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
49903         <bp-asm.h>.
49904         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
49905         about bounded pointers.  Remove GKM FIXME comment.
49906         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
49907         and <bp-asm.h>.
49908         (strncmp): Don't use BP_SYM.  Remove comment about bounded
49909         pointers.
49910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
49911         <bp-sym.h> and <bp-asm.h>.
49912         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
49913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
49914         <bp-sym.h> and <bp-asm.h>.
49915         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
49916         comment.
49918 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
49920         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
49921         call free(NULL).
49923 2013-03-05  David S. Miller  <davem@davemloft.net>
49925         * po/es.po: Update from translation team.
49927 2013-03-05  Andreas Jaeger  <aj@suse.de>
49929         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
49930         <bits/mman-linux.h>.
49931         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
49932         is fine.
49933         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
49934         <bits/mman-linux.h> to end of file.
49935         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
49936         is fine.
49937         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
49938         <bits/mman-linux.h> to end of file.
49939         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
49940         is fine.
49941         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
49942         <bits/mman-linux.h> to end of file.
49944         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
49945         (MCL_CURRENT, MCL_FUTURE): Define here.
49947 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49949         [BZ #15232]
49950         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
49951         attribute_hidden.
49952         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
49954 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49956         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
49957         fourth parameter needed for rt_sigprocmask syscall.
49958         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
49959         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
49960         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
49961         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
49962         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
49963         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
49965 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
49967         [BZ #13550]
49968         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
49969         comment about bounded pointers.
49970         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
49971         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
49973 2013-03-04  Andreas Jaeger  <aj@suse.de>
49975         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
49976         common definitions.
49978         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
49979         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
49980         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
49981         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49982         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
49983         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49985 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49987         [BZ #15055]
49988         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
49989         __ieee754_sqrl instead of __sqrl.
49991 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
49993         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
49994         * sysdeps/powerpc/fpu_control.h: ... here.
49995         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
49996         * sysdeps/powerpc/bits/fenvinline.h: ... here.
49997         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
49998         * sysdeps/powerpc/bits/mathinline.h: ... here.
50000 2013-03-01  Roland McGrath  <roland@hack.frob.com>
50002         * elf/dl-hwcaps.c (_dl_important_hwcaps):
50003         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
50004         to just [NEED_DL_SYSINFO_DSO].
50005         * elf/dl-support.c: Likewise.
50006         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
50007         * elf/rtld.c (dl_main): Likewise.
50008         * elf/setup-vdso.h (setup_vdso): Likewise.
50009         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
50010         * sysdeps/unix/sysv/linux/dl-sysdep.c
50011         (_dl_discover_osversion): Likewise.
50013 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
50015         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
50016         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
50018 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
50020         * NEWS: Mention libm performance improvements and non-x86 PI
50021         futex support.
50023         * csu/libc-start.c (__pthread_initialize_minimal): Change
50024         function arguments.
50025         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
50027 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
50029         [BZ #13550]
50030         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
50031         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
50032         <bp-sym.h> and <bp-asm.h>.
50033         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
50034         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
50035         and <bp-asm.h>.
50036         (memcpy): Don't use BP_SYM.
50037         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
50038         <bp-asm.h>.
50039         (__mpn_add_n): Don't use BP_SYM.
50040         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
50041         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
50042         and <bp-asm.h>.
50043         (__mpn_addmul_1): Don't use BP_SYM.
50044         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50045         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
50046         <bp-sym.h>.
50047         (_setjmp): Don't use BP_SYM.
50048         (__novmx_setjmp): Likewise.
50049         (__GI__setjmp): Likewise.
50050         (__vmx_setjmp): Likewise.
50051         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
50052         <bp-sym.h>.
50053         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
50054         (__bzero): Don't use BP_SYM.
50055         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50056         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50057         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
50058         <bp-sym.h> and <bp-asm.h>.
50059         (memcpy): Don't use BP_SYM.
50060         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
50061         <bp-sym.h> and <bp-asm.h>.
50062         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
50063         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
50064         <bp-sym.h> and <bp-asm.h>.
50065         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
50066         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
50067         <bp-asm.h>.
50068         (__mpn_lshift): Don't use BP_SYM.
50069         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50070         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
50071         <bp-asm.h>.
50072         (memset): Don't use BP_SYM.
50073         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50074         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50075         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
50076         <bp-asm.h>.
50077         (__mpn_mul_1): Don't use BP_SYM.
50078         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50079         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
50080         <bp-sym.h> and <bp-asm.h>.
50081         (memcmp): Don't use BP_SYM.
50082         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
50083         <bp-sym.h> and <bp-asm.h>.
50084         (memcpy): Don't use BP_SYM.
50085         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
50086         <bp-sym.h> and <bp-asm.h>.
50087         (memset): Don't use BP_SYM.
50088         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
50089         <bp-sym.h> and <bp-asm.h>.
50090         (strncmp): Don't use BP_SYM.
50091         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
50092         <bp-sym.h> and <bp-asm.h>.
50093         (memcpy): Don't use BP_SYM.
50094         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
50095         <bp-sym.h> and <bp-asm.h>.
50096         (memset): Don't use BP_SYM.
50097         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
50098         <bp-sym.h> and <bp-asm.h>.
50099         (__memchr): Don't use BP_SYM.
50100         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
50101         <bp-sym.h> and <bp-asm.h>.
50102         (memcmp): Don't use BP_SYM.
50103         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
50104         <bp-sym.h> and <bp-asm.h>.
50105         (memcpy): Don't use BP_SYM.
50106         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
50107         <bp-sym.h> and <bp-asm.h>.
50108         (__mempcpy): Don't use BP_SYM.
50109         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
50110         <bp-sym.h> and <bp-asm.h>.
50111         (__memrchr): Don't use BP_SYM.
50112         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
50113         <bp-sym.h> and <bp-asm.h>.
50114         (memset): Don't use BP_SYM.
50115         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
50116         <bp-sym.h> and <bp-asm.h>.
50117         (__rawmemchr): Don't use BP_SYM.
50118         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
50119         <bp-sym.h> and <bp-asm.h>.
50120         (__STRCMP): Don't use BP_SYM.
50121         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
50122         <bp-sym.h> and <bp-asm.h>.
50123         (strchr): Don't use BP_SYM.
50124         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
50125         <bp-sym.h> and <bp-asm.h>.
50126         (__strchrnul): Don't use BP_SYM.
50127         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
50128         <bp-sym.h> and <bp-asm.h>.
50129         (strlen): Don't use BP_SYM.
50130         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
50131         <bp-sym.h> and <bp-asm.h>.
50132         (strncmp): Don't use BP_SYM.
50133         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
50134         <bp-sym.h> and <bp-asm.h>.
50135         (__strnlen): Don't use BP_SYM.
50136         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
50137         <bp-asm.h>.
50138         (__mpn_rshift): Don't use BP_SYM.
50139         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50140         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
50141         <bp-sym.h> and <bp-asm.h>.
50142         (__sigsetjmp): Don't use BP_SYM.
50143         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
50144         (L(start_addresses)): Don't use BP_SYM.
50145         (_start): Likewise.
50146         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
50147         <bp-asm.h>.
50148         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
50149         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50150         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50151         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
50152         <bp-asm.h>.
50153         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
50154         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
50155         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50156         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
50157         <bp-asm.h>.
50158         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
50159         comments.
50160         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
50161         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
50162         <bp-asm.h>.
50163         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
50164         FIXME comments.
50165         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50166         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50167         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
50168         <bp-asm.h>.
50169         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
50170         comment.
50171         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
50172         and <bp-asm.h>.
50173         (strncmp): Don't use BP_SYM,
50174         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
50175         <bp-asm.h>.
50176         (__mpn_sub_n): Don't use BP_SYM.
50177         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50178         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
50179         and <bp-asm.h>.
50180         (__mpn_submul_1): Don't use BP_SYM.
50181         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
50183         <bp-sym.h> and <bp-asm.h>.
50184         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
50185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
50186         <bp-sym.h> and <bp-asm.h>.
50187         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
50188         comment.
50190 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50192         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
50193         Use ZK to minimize writes to Z.
50194         (sub_magnitudes): Simplify code a bit.
50195         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
50196         Use ZK to minimize writes to Z.
50197         (sub_magnitudes): Simplify code a bit.
50199 2013-02-27  Roland McGrath  <roland@hack.frob.com>
50201         * csu/gmon-start.c: Add special exception to license text.
50203 2013-02-27  Richard Henderson  <rth@redhat.com>
50205         * scripts/config.guess: Update from config.git.
50206         * scripts/config.sub: Likewise.
50208 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50210         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
50212         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
50214         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
50216         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
50218         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
50220 2013-02-26  Roland McGrath  <roland@hack.frob.com>
50222         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
50223         [$(build-shared = yes].
50225 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50227         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
50228         (__mul): Reduce iterations for calculating mantissa.
50230         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
50231         MPTWO.
50232         (__mpranred): Likewise.
50234         [BZ #15160]
50235         * malloc/memusagestat.c (main): Draw graphs for heap and stack
50236         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
50238 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
50240         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
50241         Define __attribute__.
50243 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50245         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
50246         unused.
50247         * posix/regex_internal.h (__attribute): Remove.
50248         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
50249         (re_string_context_at): Likewise.
50250         (bitset_not): Use __attribute__ and mark function as possibly
50251         unused.
50252         (bitset_merge): Likewise.
50253         (bitset_mask): Likewise.
50254         (re_string_char_size_at): Likewise.
50255         (re_string_wchar_at): Likewise.
50256         (re_string_elem_size_at): Likewise.
50258 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
50260         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
50261         code.
50262         (cc32): Likewise.
50264         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
50265         (__acr): Likewise.
50266         (__cpy): Likewise.
50267         (norm): Likewise.
50268         (denorm): Likewise.
50269         (__dbl_mp): Likewise.
50270         (add_magnitudes): Likewise.
50271         (sub_magnitudes): Likewise.
50272         (__mul): Likewise.
50273         (__inv): Likewise.
50275         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
50276         style.
50278         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
50279         style.
50281         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
50282         code.
50284         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
50285         up changes with default code.
50286         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
50287         Likewise.
50289 2013-02-24  Allan McRae  <allan@archlinux.org>
50291         * manual/socket.texi (The Internet Namespace): Order menu items
50292         to match that in the file.
50294         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
50295         node listing of the info page menu.
50297 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
50299         [BZ #13550]
50300         * sysdeps/i386/bp-asm.h: Remove file.
50301         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
50302         (PARMS): Do not use macros from bp-asm.h.
50303         (S1): Likewise.
50304         (S2): Likewise.
50305         (SIZE): Likewise.
50306         (__mpn_add_n): Do not use BP_SYM
50307         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
50308         "bp-asm.h".
50309         (PARMS): Do not use macros from bp-asm.h.
50310         (S1): Likewise.
50311         (SIZE): Likewise.
50312         (__mpn_addmul_1): Do not use BP_SYM
50313         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
50314         "bp-asm.h".
50315         (PARMS): Do not use macros from bp-asm.h.
50316         (SIGMSK): Likewise.
50317         (_setjmp): Likewise.  Do not use BP_SYM.
50318         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
50319         "bp-asm.h".
50320         (PARMS): Do not use macros from bp-asm.h.
50321         (SIGMSK): Likewise.
50322         (setjmp): Likewise.  Do not use BP_SYM.
50323         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
50324         "bp-asm.h".
50325         (PARMS): Do not use macros from bp-asm.h.
50326         (__frexp): Do not use BP_SYM.
50327         (frexp): Likewise.
50328         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
50329         "bp-asm.h".
50330         (PARMS): Do not use macros from bp-asm.h.
50331         (__frexpf): Do not use BP_SYM.
50332         (frexpf): Likewise.
50333         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
50334         "bp-asm.h".
50335         (PARMS): Do not use macros from bp-asm.h.
50336         (__frexpl): Do not use BP_SYM.
50337         (frexpl): Likewise.
50338         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
50339         "bp-asm.h".
50340         (PARMS): Do not use macros from bp-asm.h.
50341         (__remquo): Do not use BP_SYM.
50342         (remquo): Likewise.
50343         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
50344         "bp-asm.h".
50345         (PARMS): Do not use macros from bp-asm.h.
50346         (__remquof): Do not use BP_SYM.
50347         (remquof): Likewise.
50348         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
50349         "bp-asm.h".
50350         (PARMS): Do not use macros from bp-asm.h.
50351         (__remquol): Do not use BP_SYM.
50352         (remquol): Likewise.
50353         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
50354         "bp-asm.h".
50355         (PARMS): Do not use macros from bp-asm.h.
50356         (DEST): Likewise.
50357         (SRC): Likewise.
50358         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
50359         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
50360         "bp-asm.h".
50361         (PARMS): Do not use macros from bp-asm.h.
50362         (strlen): Do not use BP_SYM.
50363         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
50364         "bp-asm.h".
50365         (PARMS): Do not use macros from bp-asm.h.
50366         (S1): Likewise.
50367         (S2): Likewise.
50368         (SIZE): Likewise.
50369         (__mpn_add_n): Do not use BP_SYM.
50370         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
50371         "bp-asm.h".
50372         (PARMS): Do not use macros from bp-asm.h.
50373         (S1): Likewise.
50374         (SIZE): Likewise.
50375         (__mpn_addmul_1): Do not use BP_SYM.
50376         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
50377         weak_alias.
50378         (bzero): Likewise.
50379         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
50380         "bp-asm.h".
50381         (PARMS): Do not use macros from bp-asm.h.
50382         (S): Likewise.
50383         (SIZE): Likewise.
50384         (__mpn_lshift): Do not use BP_SYM.
50385         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
50386         "bp-asm.h".
50387         (PARMS): Do not use macros from bp-asm.h.
50388         (DEST): Likewise.
50389         (SRC): Likewise.
50390         (LEN): Likewise.
50391         (memcpy): Likewise.  Do not use BP_SYM.
50392         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
50393         libc_hidden_def and weak_alias.
50394         (mempcpy): Do not use BP_SYM in weak_alias.
50395         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
50396         "bp-asm.h".
50397         (PARMS): Do not use macros from bp-asm.h.
50398         (DEST): Likewise.
50399         (LEN): Likewise.
50400         [!BZERO_P] (CHR): Likewise.
50401         (memset): Likewise.  Do not use BP_SYM.
50402         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
50403         "bp-asm.h".
50404         (PARMS): Do not use macros from bp-asm.h.
50405         (S1): Likewise.
50406         (SIZE): Likewise.
50407         (__mpn_mul_1): Do not use BP_SYM.
50408         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
50409         "bp-asm.h".
50410         (PARMS): Do not use macros from bp-asm.h.
50411         (S): Likewise.
50412         (SIZE): Likewise.
50413         (__mpn_rshift): Do not use BP_SYM.
50414         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
50415         "bp-asm.h".
50416         (PARMS): Do not use macros from bp-asm.h.
50417         (STR): Likewise.
50418         (CHR): Likewise.
50419         (strchr): Likewise.  Do not use BP_SYM.
50420         (index): Do not use BP_SYM in weak_alias.
50421         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
50422         "bp-asm.h".
50423         (PARMS): Do not use macros from bp-asm.h.
50424         (DEST): Likewise.
50425         (SRC): Likewise.
50426         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
50427         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
50428         "bp-asm.h".
50429         (PARMS): Do not use macros from bp-asm.h.
50430         (strlen): Do not use BP_SYM.
50431         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
50432         "bp-asm.h".
50433         (PARMS): Do not use macros from bp-asm.h.
50434         (S1): Likewise.
50435         (S2): Likewise.
50436         (SIZE): Likewise.
50437         (__mpn_sub_n): Do not use BP_SYM.
50438         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
50439         "bp-asm.h".
50440         (PARMS): Do not use macros from bp-asm.h.
50441         (S1): Likewise.
50442         (SIZE): Likewise.
50443         (__mpn_submul_1): Do not use BP_SYM.
50444         * sysdeps/i386/i686/add_n.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         (S2): Likewise.
50449         (SIZE): Likewise.
50450         (__mpn_add_n): Do not use BP_SYM.
50451         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
50452         weak_alias.
50453         (bzero): Likewise.
50454         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
50455         "bp-asm.h".
50456         (PARMS): Do not use macros from bp-asm.h.
50457         (BLK2): Likewise.
50458         (LEN): Likewise.
50459         (memcmp): Do not use BP_SYM.
50460         (bcmp): Do not use BP_SYM in weak_alias.
50461         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
50462         "bp-asm.h".
50463         (PARMS): Do not use macros from bp-asm.h.
50464         (DEST): Likewise.
50465         (SRC): Likewise.
50466         (LEN): Likewise.
50467         (memcpy): Likewise.  Do not use BP_SYM.
50468         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
50469         "bp-asm.h".
50470         (PARMS): Do not use macros from bp-asm.h.
50471         (DEST): Likewise.
50472         (SRC): Likewise.
50473         (LEN): Likewise.
50474         (memmove): Likewise.  Do not use BP_SYM.
50475         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
50476         "bp-asm.h".
50477         (PARMS): Do not use macros from bp-asm.h.
50478         (DEST): Likewise.
50479         (SRC): Likewise.
50480         (LEN): Likewise.
50481         (__mempcpy): Likewise.  Do not use BP_SYM.
50482         (mempcpy): Do not use BP_SYM in weak_alias.
50483         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
50484         "bp-asm.h".
50485         (PARMS): Do not use macros from bp-asm.h.
50486         (DEST): Likewise.
50487         (LEN): Likewise.
50488         [!BZERO_P] (CHR): Likewise.
50489         (memset): Likewise.  Do not use BP_SYM.
50490         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
50491         "bp-asm.h".
50492         (PARMS): Do not use macros from bp-asm.h.
50493         (STR2): Likewise.
50494         (strcmp): Do not use BP_SYM.
50495         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
50496         "bp-asm.h".
50497         (PARMS): Do not use macros from bp-asm.h.
50498         (STR): Likewise.
50499         (DELIM): Likewise.
50500         [USE_AS_STRTOK_R] (SAVE): Likewise.
50501         (FUNCTION): Likewise.  Do not use BP_SYM.
50502         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
50503         aliases.
50504         (strtok_r): Likewise.
50505         (__GI___strtok_r): Likewise.
50506         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
50507         (PARMS): Do not use macros from bp-asm.h.
50508         (S): Likewise.
50509         (SIZE): Likewise.
50510         (__mpn_lshift): Do not use BP_SYM.
50511         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
50512         (PARMS): Do not use macros from bp-asm.h.
50513         (STR): Likewise.
50514         (CHR): Likewise.
50515         (__memchr): Do not use BP_SYM.
50516         (memchr): Do not use BP_SYM in weak_alias.
50517         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
50518         (PARMS): Do not use macros from bp-asm.h.
50519         (BLK2): Likewise.
50520         (LEN): Likewise.
50521         (memcmp): Do not use BP_SYM.
50522         (bcmp): Do not use BP_SYM in weak_alias.
50523         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
50524         (PARMS): Do not use macros from bp-asm.h.
50525         (S1): Likewise.
50526         (SIZE): Likewise.
50527         (__mpn_mul_1): Do not use BP_SYM.
50528         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
50529         "bp-asm.h".
50530         (PARMS): Do not use macros from bp-asm.h.
50531         (STR): Likewise.
50532         (CHR): Likewise.
50533         (__rawmemchr): Do not use BP_SYM.
50534         (rawmemchr): Do not use BP_SYM in weak_alias.
50535         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
50536         (PARMS): Do not use macros from bp-asm.h.
50537         (S): Likewise.
50538         (SIZE): Likewise.
50539         (__mpn_rshift): Do not use BP_SYM.
50540         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
50541         (PARMS): Do not use macros from bp-asm.h.
50542         (SIGMSK): Likewise.
50543         (__sigsetjmp): Likewise.  Do not use BP_SYM.
50544         * sysdeps/i386/start.S: Do not include "bp-sym.h".
50545         (_start): Do not use BP_SYM.
50546         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
50547         (PARMS): Do not use macros from bp-asm.h.
50548         (DEST): Likewise.
50549         (SRC): Likewise.
50550         (__stpcpy): Likewise.  Do not use BP_SYM.
50551         (stpcpy): Do not use BP_SYM in weak_alias.
50552         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
50553         "bp-asm.h".
50554         (PARMS): Do not use macros from bp-asm.h.
50555         (DEST): Likewise.
50556         (SRC): Likewise.
50557         (LEN): Likewise.
50558         (__stpncpy): Likewise.  Do not use BP_SYM.
50559         (stpncpy): Do not use BP_SYM in weak_alias.
50560         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
50561         (PARMS): Do not use macros from bp-asm.h.
50562         (STR): Likewise.
50563         (CHR): Likewise.
50564         (strchr): Likewise.  Do not use BP_SYM.
50565         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
50566         "bp-asm.h".
50567         (PARMS): Do not use macros from bp-asm.h.
50568         (STR): Likewise.
50569         (CHR): Likewise.
50570         (__strchrnul): Likewise.  Do not use BP_SYM.
50571         (strchrnul): Do not use BP_SYM in weak_alias.
50572         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
50573         "bp-asm.h".
50574         (PARMS): Do not use macros from bp-asm.h.
50575         (STOP): Likewise.
50576         (strcspn): Do not use BP_SYM.
50577         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
50578         "bp-asm.h".
50579         (PARMS): Do not use macros from bp-asm.h.
50580         (STR): Likewise.
50581         (STOP): Likewise.
50582         (strpbrk): Likewise.  Do not use BP_SYM.
50583         * sysdeps/i386/strrchr.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         (CHR): Likewise.
50588         (strrchr): Likewise.  Do not use BP_SYM.
50589         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
50590         (PARMS): Do not use macros from bp-asm.h.
50591         (SKIP): Likewise.
50592         (strspn): Do not use BP_SYM.
50593         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
50594         (PARMS): Do not use macros from bp-asm.h.
50595         (STR): Likewise.
50596         (DELIM): Likewise.
50597         (SAVE): Likewise.
50598         (FUNCTION): Likewise.  Do not use BP_SYM.
50599         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
50600         aliases.
50601         (strtok_r): Likewise.
50602         (__GI___strtok_r): Likewise.
50603         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
50604         (PARMS): Do not use macros from bp-asm.h.
50605         (S1): Likewise.
50606         (S2): Likewise.
50607         (SIZE): Likewise.
50608         (__mpn_sub_n): Do not use BP_SYM.
50609         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
50610         "bp-asm.h".
50611         (PARMS): Do not use macros from bp-asm.h.
50612         (S1): Likewise.
50613         (SIZE): Likewise.
50614         (__mpn_submul_1): Do not use BP_SYM.
50615         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
50616         <bp-sym.h>.
50617         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
50618         and <bp-asm.h>.
50619         (PARMS): Do not use macros from bp-asm.h.
50620         (FLAGS): Likewise.
50621         (PTID): Likewise.
50622         (TLS): Likewise.
50623         (CTID): Likewise.
50624         (__clone): Do not use BP_SYM.
50625         (clone): Do not use BP_SYM in weak_alias.
50626         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
50627         and <bp-asm.h>.
50628         (PARMS): Do not use macros from bp-asm.h.
50629         (LEN): Likewise.
50630         (__mmap64): Do not use BP_SYM.
50631         (mmap64): Do not use BP_SYM in weak_alias.
50632         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
50633         <bp-sym.h> and <bp-asm.h>.
50634         (PARMS): Do not use macros from bp-asm.h.
50635         (__posix_fadvise64_l64): Do not use BP_SYM.
50636         * sysdeps/unix/sysv/linux/i386/semtimedop.S
50637         (PARMS): Do not use macros from bp-asm.h.
50638         (NSOPS): Likewise.
50639         (semtimedop): Do not use BP_SYM.
50640         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
50641         and <bp-asm.h>.
50643 2013-02-21  Allan McRae  <allan@archlinux.org>
50645         * manual/message.texi (Charset conversion in gettext):
50646         Move @end statement to beginning of line.
50648 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50650         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
50651         static.
50652         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
50653         Likewise.
50655         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
50656         (denorm): Likewise.
50657         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
50658         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
50660 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50662         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
50663         tail-call to the resolved function if pltexit isn't needed.
50665 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50667         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
50668         or Y being zero as being unlikely.
50669         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
50670         Likewise.
50672 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
50674         * manual/nss.texi (System Databases and Name Service Switch):
50675         Remove frobnicate @pxref.
50677 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
50679         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
50680         __attribute__ ((unused)) to __attribute__ ((__unused__)).
50682 2013-02-20  Petr Machata  <pmachata@redhat.com>
50684         * elf/elf.h (R_ARM_TARGET1): New macro.
50685         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
50686         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
50687         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
50688         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
50689         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
50690         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
50691         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
50692         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
50693         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
50694         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
50695         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
50696         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
50697         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
50698         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
50699         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
50700         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
50701         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
50702         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
50703         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
50704         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
50705         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
50706         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
50707         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
50708         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
50709         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
50710         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
50711         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
50712         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
50713         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
50714         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
50715         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
50716         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
50717         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
50718         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
50719         (R_ARM_THM_GOT_BREL12): Likewise.
50720         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
50721         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
50722         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
50723         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
50724         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
50725         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
50726         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
50727         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
50728         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
50730 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
50732         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
50733         __attribute_used__ to __attribute__ ((unused)).
50735 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
50737         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
50738         powerpc mpa.c.
50739         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
50740         comment formatting.
50741         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
50743 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
50745         [BZ #13550]
50746         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
50747         Remove macro.
50748         (ENTER): Remove both macro definitions.
50749         (LEAVE): Likewise.
50750         (CHECK_BOUNDS_LOW): Likewise.
50751         (CHECK_BOUNDS_HIGH): Likewise.
50752         (CHECK_BOUNDS_BOTH): Likewise.
50753         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
50754         (RETURN_BOUNDED_POINTER): Likewise.
50755         (RETURN_NULL_BOUNDED_POINTER): Likewise.
50756         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
50757         (POP_ERRNO_LOCATION_RETURN): Likewise.
50758         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
50759         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50760         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
50761         macros.
50762         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50763         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
50764         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
50765         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
50766         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
50767         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
50768         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
50769         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
50770         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
50771         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
50772         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
50773         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
50774         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50775         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
50776         removed macros.
50777         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50778         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
50779         macros.
50780         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50781         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
50782         * sysdeps/i386/i586/memset.S (memset): Likewise.
50783         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
50784         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50785         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
50786         macros.
50787         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50788         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
50789         Change uses of L(2) to L(out).
50790         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
50791         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
50792         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
50793         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50794         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
50795         removed macros.
50796         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50797         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
50798         macros.
50799         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50800         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
50801         (RETURN): Do not use macro LEAVE.
50802         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
50803         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
50804         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
50805         * sysdeps/i386/i686/memset.S (memset): Likewise.
50806         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
50807         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
50808         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
50809         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
50810         Likewise.
50811         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50812         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
50813         L(1_2) and L(1_3) into L(1).
50814         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
50815         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
50816         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50817         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
50818         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
50819         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
50820         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
50821         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50822         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
50823         macros.
50824         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
50825         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50826         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
50827         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
50828         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
50829         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50830         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
50831         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
50832         * sysdeps/i386/strcspn.S (strcspn): Likewise.
50833         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
50834         * sysdeps/i386/strrchr.S (strrchr): Likewise.
50835         * sysdeps/i386/strspn.S (strspn): Likewise.
50836         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
50837         conditional code.
50838         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50839         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
50840         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
50841         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
50842         L(1_3) into L(1_1).
50843         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
50844         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50845         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
50846         macros.
50847         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50849 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
50851         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
50852         macro.
50854 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50856         * math/atest-exp.c (exp_mpn): Remove ROUND.
50857         * math/atest-exp2.c (exp_mpn): Likewise.
50858         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
50860         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
50861         * stdlib/tst-tls-atexit-lib.c: Likewise.
50862         * stdlib/tst-tls-atexit.c: Likewise.
50864 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
50866         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
50867         and __attribute_alloc_size__.
50869 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
50871         * include/programs/xmalloc.h: Change __attribute_alloc_size to
50872         __attribute_alloc_size__.
50873         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
50874         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
50876 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
50878         * include/programs/xmalloc.h: New file.
50879         * catgets/gencat.c: Include it.
50880         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
50881         * elf/pldd.c: Likewise.
50882         * iconv/iconv_charmap.c: Likewise.
50883         * iconv/iconvconfig.c: Likewise.
50884         * iconv/strtab.c: Likewise.
50885         * locale/programs/locale.c: Likewise.
50886         * locale/programs/localedef.h: Likewise.
50887         * locale/programs/simple-hash.c: Likewise.
50888         * nscd/nscd.h: Likewise.
50889         * nss/makedb.c: Likewise.
50890         * sysdeps/generic/ldconfig.h: Likewise.
50892 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50894         * Versions.def: Add GLIBC_2.18.
50895         * include/link.h (struct link_map): New member l_tls_dtor_count.
50896         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
50897         (__call_tls_dtors): Likewise.
50898         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
50899         __cxa_thread_atexit_impl.
50900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50901         Likewise.
50902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50903         Likewise.
50904         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
50905         Likewise.
50906         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
50907         Likewise.
50908         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
50909         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
50910         Likewise.
50911         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
50912         Likewise.
50913         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
50914         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
50915         Likewise.
50916         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
50917         (tests): Add test case tst-tls-atexit.
50918         (modules-names): Add shared library for tst-tls-atexit.
50919         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
50920         (GLIBC_PRIVATE): Add __call_tls_dtors.
50921         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
50922         for libstdc++.
50923         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
50924         * stdlib/tst-tls-atexit.c: New test case.
50925         * stdlib/tst-tls-atexit-lib.c: New test case.
50927         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
50929         * elf/Versions (ld): Add _dl_find_dso_for_object.
50930         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
50931         * elf/dl-open.c (_dl_find_dso_for_object): New function.
50932         (dl_open_worker): Use _dl_find_dso_for_object.
50933         * elf/dl-sym.c (do_sym): Likewise.
50934         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
50936 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50938         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
50939         Syntactic changes only.
50940         (_dl_runtime_profile): Do a tail-call to the resolved function.
50942 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
50944         [BZ #13550]
50945         * sysdeps/x86_64/bp-asm.h: Remove file.
50946         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
50947         <bp-sym.h> and <bp-asm.h>.
50948         (__clone): Do not use BP_SYM.
50949         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
50950         <bp-sym.h> and <bp-asm.h>.
50951         * sysdeps/unix/x86_64/sysdep.S: Likewise.
50952         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
50953         "bp-asm.h".
50954         (_setjmp): Do not use BP_SYM.
50955         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
50956         "bp-asm.h".
50957         (setjmp): Do not use BP_SYM.
50958         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
50959         libc_hidden_def.
50960         (mempcpy): Do not use BP_SYM in weak_alias.
50961         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
50962         "bp-asm.h".
50963         (strchr): Do not use BP_SYM.
50964         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
50965         "bp-asm.h".
50966         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
50967         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
50968         (_start): Do not use BP_SYM.
50969         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
50970         "bp-asm.h".
50971         (strcat): Do not use BP_SYM.
50972         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
50973         "bp-asm.h".
50974         (STRCMP): Do not use BP_SYM.
50975         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
50976         "bp-asm.h".
50977         (STRCPY): Do not use BP_SYM.
50978         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
50979         "bp-asm.h".
50980         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
50981         "bp-asm.h".
50982         (FUNCTION): Do not use BP_SYM.
50983         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
50984         weak_alias.
50985         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
50987 2013-02-17  Andreas Jaeger  <aj@suse.de>
50989         * time/Versions: Sort entries.
50990         * string/Versions: Likewise.
50991         * resolv/Versions: Likewise.
50992         * posix/Versions: Likewise.
50993         * iconv/Versions: Likewise.
50994         * elf/Versions: Likewise.
50995         * wcsmbs/Versions: Likewise.
50997 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50999         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
51000         loop termination condition.
51002         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
51003         variable to calculate EZ.
51004         (__sqr): Likewise.
51006         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
51007         the lower precision input.
51009 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
51011         [BZ #13550]
51012         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
51013         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
51014         (run-via-rtld-prefix): Do not handle %-bp tests.
51015         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
51016         (all-object-suffixes): Remove .ob.
51017         (bppfx): Remove variable.
51018         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
51019         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
51020         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
51021         [$(build-bounded) = yes] (libtype.ob): Likewise.
51022         * Makerules (elide-routines.ob): Remove variable.
51023         (do-tests-clean): Do not handle *-bp.out.
51024         (common-mostlyclean): Do not handle *-bp and *-bp.out.
51025         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
51026         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
51027         (tests): Do not include $(tests-bp.out).
51028         (xtests): Do not include $(xtests-bp.out).
51029         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
51030         [$(build-bounded) = yes] ($(addprefix
51031         $(objpfx),$(binaries-bounded))): Remove rule.
51032         ($(objpfx)%-bp.out): Remove rule.
51033         * config.make.in (build-bounded): Remove variable.
51034         * crypt/Makefile [$(build-bounded) = yes]
51035         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
51036         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
51037         append to variable.
51038         [$(build-bounded) = yes] (install-lib): Likewise.
51039         [$(build-bounded) = yes] (generated): Likewise.
51040         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
51041         Remove rule.
51042         * intl/Makefile [$(build-bounded) = yes]
51043         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
51044         * math/Makefile [$(build-bounded) = yes]
51045         ($(tests:%=$(objpfx)%-bp): Likewise.
51046         * misc/Makefile [$(build-bounded) = yes]
51047         ($(objpfx)tst-tsearch-bp): Likewise.
51048         * nptl/Makeconfig (bounded-thread-library): Remove variable.
51049         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
51050         Remove dependency.
51051         * string/Makefile (o-objects.ob): Remove variable.
51052         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
51053         (CFLAGS-.ob): Remove variable.
51054         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
51055         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
51056         both definitions of variable.
51057         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
51058         (ASFLAGS-.ob): Remove variable.
51060 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
51062         [BZ #13550]
51063         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
51064         Remove __BOUNDED_POINTERS__ from condition.
51065         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
51066         * string/bits/string2.h [!__NO_STRING_INLINES &&
51067         !__BOUNDED_POINTERS__]: Likewise.
51068         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
51069         Likewise.
51070         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
51071         Remove conditional code.
51072         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
51073         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
51074         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
51075         condition.
51077         [BZ #13550]
51078         * csu/libc-start.c: Do not include <bp-sym.h>.
51079         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
51080         * elf/dl-open.c: Do not include <bp-sym.h>.
51081         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
51082         * math/fegetenv.c: Do not include <bp-sym.h>.
51083         (fegetenv): Do not use BP_SYM in versioned symbols.
51084         * nptl/sysdeps/pthread/bits/libc-lockP.h
51085         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
51086         <bp-sym.h>.
51087         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51088         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
51089         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51090         (__pthread_mutex_destroy): Likewise.
51091         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51092         (__pthread_mutex_lock): Likewise.
51093         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51094         (__pthread_mutex_trylock): Likewise.
51095         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51096         (__pthread_mutex_unlock): Likewise.
51097         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51098         (__pthread_mutexattr_init): Likewise.
51099         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51100         (__pthread_mutexattr_destroy): Likewise.
51101         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51102         (__pthread_mutexattr_settype): Likewise.
51103         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51104         (__pthread_rwlock_init): Likewise.
51105         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51106         (__pthread_rwlock_destroy): Likewise.
51107         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51108         (__pthread_rwlock_rdlock): Likewise.
51109         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51110         (__pthread_rwlock_tryrdlock): Likewise.
51111         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51112         (__pthread_rwlock_wrlock): Likewise.
51113         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51114         (__pthread_rwlock_trywrlock): Likewise.
51115         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51116         (__pthread_rwlock_unlock): Likewise.
51117         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51118         (__pthread_key_create): Likewise.
51119         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51120         (__pthread_setspecific): Likewise.
51121         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51122         (__pthread_getspecific): Likewise.
51123         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
51124         Likewise.
51125         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51126         (_pthread_cleanup_push_defer): Likewise.
51127         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51128         (_pthread_cleanup_pop_restore): Likewise.
51129         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51130         (pthread_setcancelstate): Likewise.
51131         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
51132         <bp-sym.h>.
51133         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
51134         (memchr): Do not use BP_SYM in weak_alias.
51135         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
51136         (fegetenv): Do not use BP_SYM in versioned symbols.
51137         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
51138         (fesetenv): Do not use BP_SYM in versioned symbols.
51139         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
51140         (feupdateenv): Do not use BP_SYM in versioned symbols.
51141         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
51142         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
51143         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
51144         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
51145         (open64): Do not use BP_SYM in weak_alias.
51146         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
51147         (fegetenv): Do not use BP_SYM in versioned symbols.
51148         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
51149         (fesetenv): Do not use BP_SYM in versioned symbols.
51150         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
51151         (feupdateenv): Do not use BP_SYM in versioned symbols.
51152         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
51153         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
51154         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
51155         (feraiseexcept): Do not use BP_SYM in versioned symbols.
51156         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
51157         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
51158         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
51159         <bp-sym.h>.
51160         (__libc_start_main): Do not use BP_SYM.
51162 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
51164         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
51165         redundant return line.
51166         (norm): Likewise.
51167         (denorm): Likewise.
51168         (dbl_mp): Likewise.
51169         (sub_magnitudes): Likewise.
51170         (__add): Likewise.
51171         (__sub): Likewise.
51172         (__mul): Likewise.
51173         (__inv): Likewise.
51174         (__dvd): Likewise.
51175         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
51176         (norm): Likewise.
51177         (denorm): Likewise.
51178         (dbl_mp): Likewise.
51179         (sub_magnitudes): Likewise.
51180         (__add): Likewise.
51181         (__sub): Likewise.
51182         (__mul): Likewise.
51183         (__inv): Likewise.
51184         (__dvd): Likewise.
51186         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
51187         instead of __mul.
51188         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51189         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
51190         (cc32): Likewise.
51192         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
51193         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
51194         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
51195         of __mul for squares.
51196         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
51197         function
51198         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
51199         Likewise.
51200         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
51201         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51203 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
51205         [BZ #13550]
51206         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
51207         code.
51208         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
51209         prototype or function definition.  Rename ubp_* variables and
51210         parameters.  Remove argv definitions conditional on
51211         [__BOUNDED_POINTERS__].
51212         * debug/backtrace.c (__backtrace): Do not use __unbounded.
51213         * elf/dl-runtime.c (_dl_fixup): Likewise.
51214         * include/set-hooks.h (RUN_HOOK): Likewise.
51215         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
51216         definition.
51217         * string/strcpy.c (strcpy): Do not use __unbounded.
51218         * sysdeps/generic/frame.h (struct layout): Likewise.
51219         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
51220         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
51221         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
51222         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
51223         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
51224         (__backtrace): Likewise.
51225         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
51226         use __ptrvalue.
51227         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
51228         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
51229         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
51230         Likewise.
51231         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
51232         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
51233         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
51234         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
51235         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
51236         Do not use __unbounded.
51237         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
51238         Rename __unboundedrlimits parameter to rlimits in prototype.
51239         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
51240         Do not use __unbounded.
51241         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
51242         not use __ptrvalue.
51243         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
51244         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
51245         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
51246         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
51247         __ptrvalue or __unbounded.
51248         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
51249         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
51250         use __unbounded.
51251         (__new_msgctl): Do not use __ptrvalue.
51252         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
51253         __unbounded.
51254         (__libc_msgrcv): Do not use __ptrvalue.
51255         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
51256         startup_info): Do not use __unbounded.
51257         (__libc_start_main): Likewise.  Rename ubp_* variables and
51258         parameters.  Remove argv definitions conditional on
51259         [__BOUNDED_POINTERS__].
51260         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
51261         __ptrvalue.
51262         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
51263         use __unbounded.
51264         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
51265         or __ptrvalue.
51266         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
51267         use __unbounded.
51268         (__new_shmctl): Do not use __ptrvalue.
51269         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
51270         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
51271         Likewise.
51272         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
51273         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
51274         (__libc_sigaction): Likewise.
51275         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
51276         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
51277         Likewise.
51278         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
51280 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
51282         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
51284         * string/mempcpy.c: Implement by calling memcpy.
51286 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51288         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
51290         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
51291         evaluation.
51293         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
51294         values in the mantissa.
51296         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
51297         minimize writes to Z.
51298         (sub_magnitudes): Simplify code a bit.
51300 2013-02-12  Roland McGrath  <roland@hack.frob.com>
51302         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
51303         from the message.  The linker prefixes all warnings with that already.
51305 2013-02-12  Andreas Schwab  <schwab@suse.de>
51307         [BZ #15078]
51308         * posix/regexec.c (extend_buffers): Add parameter min_len.
51309         (check_matching): Pass minimum needed length.
51310         (clean_state_log_if_needed): Likewise.
51311         (get_subexp): Likewise.
51312         * posix/Makefile (tests): Add bug-regex34.
51313         (bug-regex34-ENV): Define.
51314         * posix/bug-regex34.c: New file.
51316         [BZ #11561]
51317         * posix/regcomp.c (parse_bracket_exp): When looking up collating
51318         elements compare against the byte sequence of it, not its name.
51319         * posix/Makefile (tests): Add bug-regex35.
51320         (bug-regex35-ENV): Define.
51321         * posix/bug-regex35.c: New file.
51323 2013-02-11  Tom de Vries  <tom@codesourcery.com>
51325         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
51326         comment.
51327         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
51328         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
51329         (CHECK_EOL): Add undef.
51331 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
51333         * bits/stdlib-bsearch.h: New file.
51334         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
51335         * stdlib/stdlib.h: Likewise.
51337 2013-02-11  Roland McGrath  <roland@hack.frob.com>
51339         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
51340         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
51341         declaration.
51342         * manual/search.texi (Array Search Function): Add missing const in
51343         lfind prototype.
51344         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
51345         declaration to use rlim_t.
51346         (Basic Scheduling Functions): Remove erroneous const from
51347         sched_getparam prototype.  Remove erroneous * from
51348         sched_get_priority_max and sched_get_priority_min prototypes.
51349         (Resource Usage): Fix summary @comment on vtimes to refer to
51350         sys/vtimes.h rather than vtimes.h.
51351         Add missing *s in vtimes prototype.
51352         (Limits on Resources): Fix ulimit prototype to return long int.
51353         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
51354         prototypes to use long int rather than double.
51355         (BSD Random): Fix initstate and setstate to use char *, not void *.
51356         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
51357         prototype to make second argument 'struct aiocb64 *const[]'.
51358         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
51359         (Status of AIO Operations): Remove erroneous const in aio_return and
51360         aio_return64 prototypes.
51361         (Synchronizing I/O): Fix sync prototype to return void.
51362         * manual/startup.texi (Suboptions): Remove an erroneous const in
51363         getsubopt prototype.
51364         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
51365         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
51366         use size_t rather than int.
51367         (Scanning All Users): Likewise for getpwent_r.
51368         (Setting Groups): Add missing const to setgroups prototype.
51369         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
51370         * manual/socket.texi (Host Names): Fix gethostbyaddr and
51371         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
51372         'const void *' rather than 'const char *'.
51373         (Host Address Functions): Likewise for inet_ntop.
51374         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
51375         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
51376         ssize_t for return value.
51377         (Sending Data): Likewise for send, sendto, sendmsg.
51378         (Socket Option Functions): Add a missing const in setsockopt prototype.
51379         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
51380         use wchar_t for the argument.
51381         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
51382         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
51383         take no arguments.
51384         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
51385         double/float/long double for second argument.
51386         Fix return types of significand, significandf, significandl.
51387         * manual/filesys.texi (Setting Permissions): Use mode_t for second
51388         argument in fchmod prototype.
51389         (File Owner): Use uid_t and gid_t in fchown prototype.
51390         (File Times): Add const to utimes, futimes, and lutimes prototypes.
51391         (Making Special Files): Use mode_t and dev_t in mknod prototype.
51392         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
51393         use 'const struct dirent **' as argument types to CMP function pointer
51394         argument.
51395         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
51396         (File Times): Fix summary magic @comment for struct utimbuf and utime
51397         to refer to utime.h, not time.h.
51398         * manual/string.texi (Argz Functions): Add missing const in
51399         argz_extract and argz_next prototypes.
51400         (Finding Tokens in a String): Likewise for basename.
51401         (String/Array Comparison): Fix typo in wcscasecmp prototype.
51402         (Copying and Concatenation): Fix typo in wmemmove prototype.
51403         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
51404         (Signal Stack): Remove erroneous const in sigstack prototype.
51405         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
51406         prototype.
51407         (Simple Calendar Time): Likewise for stime.
51408         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
51409         prototype.
51410         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
51411         say sys/sysctl.h instead.
51412         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
51413         and vsyslog prototypes.
51415 2013-02-11  Tom de Vries  <tom@codesourcery.com>
51417         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
51418         Remove.
51420 2013-02-11  Roland McGrath  <roland@hack.frob.com>
51422         * misc/sys/mman.h: Fix typo in mremap comment.
51424 2013-02-08  Roland McGrath  <roland@hack.frob.com>
51426         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
51427         the '\0' terminator.
51429 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
51431         [BZ #13550]
51432         * debug/segfault.c: Don't include <bp-checks.h>.
51433         * sysdeps/generic/bp-checks.h: Remove file.
51434         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
51435         (__GETDENTS): Don't use CHECK_N.
51436         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
51437         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
51438         (__getgroups): Don't use CHECK_N.
51439         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
51440         (setgroups): Don't use CHECK_N.
51441         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
51442         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
51443         (__libc_msgrcv): Don't use CHECK_N.
51444         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
51445         (__libc_msgsnd): Don't use CHECK_N.
51446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
51447         <bp-checks.h>.
51448         (__libc_pread): Don't use CHECK_N.
51449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
51450         include <bp-checks.h>.
51451         (__libc_pread64): Don't use CHECK_N.
51452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
51453         include <bp-checks.h>.
51454         (__libc_pwrite): Don't use CHECK_N.
51455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
51456         include <bp-checks.h>.
51457         (__libc_pwrite64): Don't use CHECK_N.
51458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
51459         <bp-checks.h>.
51460         (__libc_pread): Don't use CHECK_N.
51461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
51462         include <bp-checks.h>.
51463         (__libc_pread64): Don't use CHECK_N.
51464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
51465         include <bp-checks.h>.
51466         (__libc_pwrite): Don't use CHECK_N.
51467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
51468         include <bp-checks.h>.
51469         (__libc_pwrite64): Don't use CHECK_N.
51470         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
51471         (do_pread): Don't use CHECK_N.
51472         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
51473         (do_pread64): Don't use CHECK_N.
51474         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
51475         (do_pwrite): Don't use CHECK_N.
51476         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
51477         (do_pwrite64): Don't use CHECK_N.
51478         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
51479         (__libc_readv): Don't use CHECK_N.
51480         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
51481         (semop): Don't use CHECK_N.
51482         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
51483         <bp-checks.h>.
51484         (semtimedop): Don't use CHECK_N.
51485         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
51486         (__libc_pread): Don't use CHECK_N.
51487         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
51488         <bp-checks.h>.
51489         (__libc_pread64): Don't use CHECK_N.
51490         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
51491         <bp-checks.h>.
51492         (__libc_pwrite): Don't use CHECK_N.
51493         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
51494         <bp-checks.h>.
51495         (__libc_pwrite64): Don't use CHECK_N.
51496         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
51497         <bp-checks.h>.
51498         (__libc_msgrcv): Don't use CHECK_N.
51499         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
51500         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
51501         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
51502         (__libc_writev): Don't use CHECK_N.
51504 2013-02-08  Roland McGrath  <roland@hack.frob.com>
51506         * string/strcpy.c: Removed unused variable.
51508         * Makeconfig (+sysdep-includes): Define with := rather than =.
51509         Use an existing include/ subdir of each sysdeps dir before it.
51511 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
51513         * nscd/connection.c (register_traced_file): Comment function.
51514         [HAVE_INOTIFY] (union __inev): Define.
51515         [HAVE_INOTIFY] (inotify_check_files): New function.
51516         [HAVE_INOTIFY] (clear_db_cache): Likewise.
51517         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
51518         clear_db_cache.
51519         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
51521 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
51523         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
51524         loaded if not already and that a failure is permanent.
51526 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
51528         [BZ #15006]
51529         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
51530         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
51532 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
51534         [BZ #13550]
51535         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
51536         (CHECK_1_NULL_OK): Likewise.
51537         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
51538         (__fxstat): Do not use CHECK_1.
51539         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
51540         <bp-checks.h>.
51541         (___fxstat64): Do not use CHECK_1.
51542         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
51543         <bp-checks.h>.
51544         (__fxstatat): Do not use CHECK_1.
51545         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
51546         <bp-checks.h>.
51547         (__fxstatat64): Do not use CHECK_1.
51548         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
51549         <bp-checks.h>.
51550         (__fxstat): Do not use CHECK_1.
51551         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
51552         <bp-checks.h>.
51553         (__fxstatat): Do not use CHECK_1.
51554         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
51555         <bp-checks.h>.
51556         (__getresgid): Do not use CHECK_1.
51557         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
51558         <bp-checks.h>.
51559         (__getresuid): Do not use CHECK_1.
51560         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
51561         <bp-checks.h>.
51562         (__lxstat): Do not use CHECK_1.
51563         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
51564         <bp-checks.h>.
51565         (__old_msgctl): Do not use CHECK_1.
51566         (__new_msgctl): Likewise.
51567         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
51568         <bp-checks.h>.
51569         (__new_setrlimit): Do not use CHECK_1.
51570         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
51571         <bp-checks.h>.
51572         (__old_shmctl): Do not use CHECK_1.
51573         (__new_shmctl): Likewise.
51574         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
51575         <bp-checks.h>.
51576         (__xstat): Do not use CHECK_1.
51577         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
51578         (__lxstat): Do not use CHECK_1.
51579         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
51580         <bp-checks.h>.
51581         (___lxstat64): Do not use CHECK_1.
51582         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
51583         (__old_msgctl): Do not use CHECK_1.
51584         (__new_msgctl): Likewise.
51585         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
51586         <bp-checks.h>.
51587         (__gettimeofday): Do not use CHECK_1.
51588         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
51589         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
51590         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
51591         <bp-checks.h>.
51592         (__gettimeofday): Do not use CHECK_1.
51593         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
51594         (__old_shmctl): Do not use CHECK_1_NULL_OK.
51595         (__new_shmctl): Do not use CHECK_1.
51596         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
51597         <bp-checks.h>.
51598         (do_sigtimedwait): Do not use CHECK_1.
51599         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
51600         <bp-checks.h>.
51601         (do_sigwaitinfo): Do not use CHECK_1.
51602         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
51603         <bp-checks.h>.
51604         (msgctl): Do not use CHECK_1.
51605         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
51606         <bp-checks.h>.
51607         (shmctl): Do not use CHECK_1.
51608         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
51609         (ustat): Do not use CHECK_1.
51610         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
51611         <bp-checks.h>.
51612         (__fxstat): Do not use CHECK_1.
51613         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
51614         <bp-checks.h>.
51615         (__fxstatat): Do not use CHECK_1.
51616         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
51617         <bp-checks.h>.
51618         (__lxstat): Do not use CHECK_1.
51619         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
51620         <bp-checks.h>.
51621         (__xstat): Do not use CHECK_1.
51622         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
51623         (__xstat): Do not use CHECK_1.
51624         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
51625         (___xstat64): Do not use CHECK_1.
51627         [BZ #13550]
51628         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
51629         definitions.
51630         (CHECK_BOUNDS_HIGH): Likewise.
51631         * string/strcpy.c: Do not include <bp-checks.h>.
51632         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
51634 2013-02-07  Roland McGrath  <roland@hack.frob.com>
51636         * nscd/nscd-client.h (__nscd_drop_map_ref):
51637         Add __attribute__ ((unused)).
51638         * nis/nss-nisplus.h (niserr2nss): Likewise.
51640         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
51641         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
51643         * csu/libc-tls.c (init_static_tls, init_slotinfo):
51644         Remove inline keyword.
51645         * include/rounding-mode.h (round_away): Likewise.
51646         * libio/wfileops.c (adjust_wide_data): Likewise.
51647         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
51648         (__m128i_strloadu_tolower): Likewise.
51649         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
51650         (__m128i_strloadu_tolower): Likewise.
51651         * time/mktime.c (ydhms_diff): Likewise.
51652         * locale/elem-hash.h (elem_hash): Likewise.
51653         * locale/setlocale.c (setdata): Likewise.
51654         * posix/regex_internal.h (re_string_char_size_at): Likewise.
51655         (re_string_wchar_at): Likewise.
51656         (bitset_not, bitset_merge, bitset_mask): Likewise.
51657         [!(__GNUC__ > 3)] (inline): Remove macro.
51658         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
51659         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
51660         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
51661         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
51662         * string/memcmp.c (memcmp_bytes): Likewise.
51663         * locale/programs/locarchive.c (compute_hashval): Likewise.
51664         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
51665         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
51666         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
51667         * nss/getent.c (print_rpc, print_protocols): Likewise.
51668         (print_passwd, print_group, print_aliases): Likewise.
51669         * nis/nss-nisplus.h (niserr2nss): Likewise.
51670         * nscd/connections.c (restart_p): Likewise.
51671         Change return type to bool.
51673 2013-02-05  Roland McGrath  <roland@hack.frob.com>
51675         * Makeconfig (all-Depend-files): Add existing
51676         $(sorted-subdirs:=/Depend) files.
51677         (all-subdirs): Remove nss.
51678         * sysdeps/unix/inet/Subdirs: Add it here instead.
51679         * hesiod/Depend: New file.
51681         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
51682         instead of calling alloca.
51684         * io/lseek.c (__lseek): Rename to __libc_lseek.
51685         Define __lseek as an alias.
51687         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
51689 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
51691         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
51692         else clause and remove check for non-standard endianness.
51694 2013-02-04  David S. Miller  <davem@davemloft.net>
51696         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51698 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
51700         [BZ #13550]
51701         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
51702         (__ubp_memchr): Remove prototype.
51703         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
51704         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
51705         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
51706         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
51707         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
51708         Remove alias.
51709         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
51710         (__ubp_memchr): Likewise.
51711         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
51712         (__ubp_memchr): Likewise.
51713         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
51714         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
51715         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
51716         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
51717         CHECK_STRING.
51718         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
51719         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
51720         (__getcwd): Do not use CHECK_STRING.
51721         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
51722         <bp-checks.h>.
51723         (__real_chown): Do not use CHECK_STRING.
51724         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
51725         <bp-checks.h>.
51726         (fchownat): Do not use CHECK_STRING.
51727         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
51728         CHECK_STRING.
51729         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
51730         <bp-checks.h>.
51731         (__lchown): Do not use CHECK_STRING.
51732         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
51733         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
51734         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
51735         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
51736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
51737         include <bp-checks.h>.
51738         (truncate64): Do not use CHECK_STRING.
51739         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
51740         <bp-checks.h>.
51741         (__real_chown): Do not use CHECK_STRING.
51742         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
51743         <bp-checks.h>.
51744         (__lchown): Do not use CHECK_STRING.
51745         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
51746         <bp-checks.h>.
51747         (__chown): Do not use CHECK_STRING.
51748         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
51749         <bp-checks.h>.
51750         (truncate64): Do not use CHECK_STRING.
51751         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
51752         Likewise.
51753         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
51754         (__xmknod): Do not use CHECK_STRING.
51755         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
51756         <bp-checks.h>.
51757         (__xmknodat): Do not use CHECK_STRING.
51758         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
51759         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
51761 2013-02-04  Andreas Schwab  <schwab@suse.de>
51763         [BZ #14142]
51764         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
51765         * include/netdb.h: Likewise for h_errno.
51766         * elf/tst-stackguard1.c: Include <tls.h>.
51768 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
51770         * elf/link.h (struct link_map): Extend the l_addr comment.
51771         * include/link.h (struct link_map): Likewise.
51773 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
51775         [BZ #13550]
51776         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
51777         (BOUNDED_1): Remove macro.
51778         * debug/backtrace.c: Don't include <bp-checks.h>.
51779         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
51780         (__backtrace): Likewise.
51781         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
51782         <bp-checks.h>.
51783         (__backtrace): Don't use BOUNDED_1.
51784         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
51785         <bp-checks.h>.
51786         (__backtrace): Don't use BOUNDED_1.
51787         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
51788         (__backtrace): Don't use BOUNDED_1.
51789         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
51790         (shmat): Don't use BOUNDED_N.
51792 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
51794         [BZ #13550]
51795         * sysdeps/generic/bp-start.h: Remove file.
51796         * csu/libc-start.c: Don't include <bp-start.h>.
51797         (LIBC_START_MAIN): Set up __environ directly instead of using
51798         INIT_ARGV_and_ENVIRON.
51799         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
51800         <bp-start.h>.
51802         [BZ #13550]
51803         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
51804         definitions.
51805         (CHECK_FCNTL): Likewise.
51806         (CHECK_N_PAGES): Likewise.
51808         [BZ #13550]
51809         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
51810         definitions.
51811         (CHECK_SIGSET_NULL_OK): Likewise.
51812         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
51813         <bp-checks.h>.
51814         (sigpending): Don't use CHECK_SIGSET.
51815         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
51816         <bp-checks.h>.
51817         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
51818         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
51819         <bp-checks.h>.
51820         (do_sigsuspend): Don't use CHECK_SIGSET.
51821         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
51822         use CHECK_SIGSET.
51823         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
51824         (do_sigwait): Don't use CHECK_SIGSET.
51825         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
51826         use CHECK_SIGSET.
51827         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
51828         include <bp-checks.h>.
51829         (sigpending): Don't use CHECK_SIGSET.
51830         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
51831         include <bp-checks.h>.
51832         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
51833         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
51834         <bp-checks.h>.
51835         (sigpending): Don't use CHECK_SIGSET.
51836         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
51837         <bp-checks.h>.
51838         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
51840         [BZ #13550]
51841         * sysdeps/generic/bp-semctl.h: Remove file.
51842         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
51843         <bp-checks.h> and <bp-semctl.h>.
51844         (__old_semctl): Don't use CHECK_SEMCTL.
51845         (__new_semctl): Likewise.
51846         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
51847         and <bp-semctl.h>.
51848         (__old_semctl): Don't use CHECK_SEMCTL.
51849         (__new_semctl): Likewise.
51850         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
51851         <bp-checks.h> and <bp-semctl.h>.
51852         (__old_semctl): Don't use CHECK_SEMCTL.
51853         (__new_semctl): Likewise.
51854         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
51855         <bp-checks.h> and <bp-semctl.h>.
51856         (semctl): Don't use CHECK_SEMCTL.
51858         [BZ #13550]
51859         * Makerules (elide-bp-thunks): Remove variable.
51860         (elide-routines.oS): Don't use $(elide-bp-thunks).
51861         (elide-routines.os): Likewise.
51862         (elide-routines.o): Likewise.
51863         (elide-routines.op): Likewise.
51864         (elide-routines.og): Likewise.
51865         (objects): Don't use $(bp-thunks).
51866         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
51867         include.
51868         (common-generated): Do not add s-proto-bp.d.
51869         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
51870         (int): Likewise.
51871         (typ): Likewise.
51872         Do not generate makefile rules for bounded-pointer thunks.
51873         * sysdeps/generic/bp-thunks.h: Remove file.
51874         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
51875         * sysdeps/unix/s-proto-bp.S: Likewise.
51877         [BZ #15062]
51878         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
51879         parts of result separately when argument is not close to line from
51880         -i to i and one part of argument is small.
51881         * math/k_casinhf.c (__kernel_casinhf): Likewise.
51882         * math/k_casinhl.c (__kernel_casinhl): Likewise.
51883         * math/libm-test.inc (cacos_test): Add more tests.
51884         (casin_test): Likewise.
51885         (casinh_test): Likewise.
51886         * sysdeps/i386/fpu/libm-test-ulps: Update.
51887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51889 2013-01-31  David S. Miller  <davem@davemloft.net>
51891         * po/de.po: Update from translation team.
51893 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
51895         * time/tzfile.c: Include stdint.h for SIZE_MAX.
51897 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
51899         * configure.in (_AC_PROG_CC_C89): New definition.
51900         * configure: Regenerate.
51902         * configure.in (AC_PROG_CPP): New definition.
51903         * configure: Regenerate.
51905 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
51907         * debug/tst-backtrace.h: New file.
51908         * debug/tst-backtrace2.c: Include tst-backtrace.h.
51909         (ret): Remove variable.
51910         (x): Likewise.
51911         (FAIL): Remove macro.
51912         (NO_INLINE): Likewise.
51913         (fn1): Use match function instead of strstr.
51914         * debug/tst-backtrace3.c: Include tst-backtrace.h.
51915         (ret): Remove variable.
51916         (x): Likewise.
51917         (FAIL): Remove macro.
51918         (NO_INLINE): Likewise.
51919         (fn): Use match function instead of strstr.
51920         * debug/tst-backtrace4.c: Include tst-backtrace.h.
51921         (ret): Remove variable.
51922         (x): Likewise.
51923         (FAIL): Remove macro.
51924         (NO_INLINE): Likewise.
51925         (handle_signal): Use match function instead of strstr.
51926         * debug/tst-backtrace5.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.
51933 2013-01-23  Roland McGrath  <roland@hack.frob.com>
51935         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
51937 2013-01-23  David S. Miller  <davem@davemloft.net>
51939         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
51940         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
51941         argument of CAS if possible.
51942         * sysdeps/sparc/sparc64/bits/atomic.h
51943         (__arch_compare_and_exchange_val_32_acq): Likewise.
51944         (__arch_compare_and_exchange_val_64_acq): Likewise.
51946 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
51948         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
51949         * sysdeps/posix/ulimit.c: ... this.
51950         Include <limits.h>.
51951         * sysdeps/unix/bsd/ulimit.c: Remove file.
51953 2013-01-23  Adam Conrad  <adconrad@0c3.net>
51955         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
51956         (LDFLAGS-tst-array5): Likewise.
51958 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
51960         [BZ #15036]
51961         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
51962         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
51963         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
51964         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
51966 2013-01-21  David S. Miller  <davem@davemloft.net>
51968         * sysdeps/sparc/backtrace.c: New file.
51969         * sysdeps/sparc/sparc32/backtrace.h: New file.
51970         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
51971         * sysdeps/sparc/sparc64/backtrace.h: New file.
51972         * sysdeps/sparc/sparc64/backtrace.c: Delete.
51973         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
51974         -funwind-tables.
51976 2013-01-21  Andreas Schwab  <schwab@suse.de>
51978         [BZ #15020]
51979         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
51980         closed its stdout.
51982 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
51984         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
51985         "mpa2.h".
51986         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51988 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
51989             Mark Mitchell  <mark@codesourcery.com>
51990             Tom de Vries  <tom@codesourcery.com>
51991             Paul Pluzhnikov  <ppluzhnikov@google.com>
51993         * debug/tst-backtrace2.c: New file.
51994         * debug/tst-backtrace3.c: Likewise.
51995         * debug/tst-backtrace4.c: Likewise.
51996         * debug/tst-backtrace5.c: Likewise.
51997         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
51998         (CFLAGS-tst-backtrace3.c): Likewise.
51999         (CFLAGS-tst-backtrace4.c): Likewise.
52000         (CFLAGS-tst-backtrace5.c): Likewise.
52001         (LDFLAGS-tst-backtrace2): Likewise.
52002         (LDFLAGS-tst-backtrace3): Likewise.
52003         (LDFLAGS-tst-backtrace4): Likewise.
52004         (LDFLAGS-tst-backtrace5): Likewise.
52005         (tests): Add new tests tst-backtrace2, tst-backtrace3,
52006         tst-backtrace4 and tst-backtrace5.
52008 2013-01-18  Anton Blanchard  <anton@samba.org>
52009             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52011         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
52012         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
52013         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
52014         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
52015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
52016         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
52017         "+r" and remove output regs list as redundant.  Add explicit inline
52018         asm to specify register of return val to work around compiler codegen
52019         bug.  Remove (int) cast on return value.  Add return type parameter to
52020         use in macro so that this macro does not truncate return value for
52021         64-bit values.
52022         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
52023         pass to INTERNAL_VSYSCALL_NCS.
52024         (INLINE_VSYSCALL): Add 'long int' as return type to
52025         INTERNAL_VSYSCALL_NCS macro invocation.
52026         (INTERNAL_VSYSCALL): Add 'long int' as return type to
52027         INTERNAL_VSYSCALL_NCS macro invocation.
52028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52030 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
52032         [BZ #14496]
52033         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
52034         Fix application of SIMD FP exception mask.
52036         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
52037         mp_no from a power of two.
52038         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
52039         __mpexp_twomm1.  Use __pow_mp.
52041         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
52042         multiplication.
52044 2013-01-17  David S. Miller  <davem@davemloft.net>
52046         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52048 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
52050         [BZ #15023]
52051         * include/complex.h: Condition contents on [!_COMPLEX_H].
52052         (__kernel_casinhf): New prototype.
52053         (__kernel_casinh): Likewise.
52054         (__kernel_casinhl): Likewise.
52055         * math/Makefile (libm_calls): Add k_casinh.
52056         * math/k_casinh.c: New file.
52057         * math/k_casinhf.c: Likewise.
52058         * math/k_casinhl.c: Likewise.
52059         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
52060         finite nonzero arguments.
52061         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
52062         finite nonzero arguments.
52063         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
52064         finite nonzero arguments.
52065         * math/s_casinh.c: Do not include <float.h>.
52066         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
52067         * math/s_casinhf.c: Do not include <float.h>.
52068         (__casinhf): Move code for finite nonzero arguments to
52069         k_casinhf.c.
52070         * math/s_casinhl.c: Do not include <float.h>.
52071         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
52072         redefine.
52073         (__casinhl): Move code for finite nonzero arguments to
52074         k_casinhl.c.
52075         * math/libm-test.inc (cacos_test): Add more tests.
52076         * sysdeps/i386/fpu/libm-test-ulps: Update.
52077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52079 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
52081         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
52082         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
52083         [!HAVE_MREMAP]: Remove [defined linux] case.
52084         * malloc/arena.c: Do not include <malloc-sysdep.h>.
52086 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52088         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
52090 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
52092         * elf/elf.h (R_386_SIZE32): New relocation.
52093         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
52094         R_386_SIZE32.
52095         (elf_machine_rela): Likewise.
52096         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
52097         R_X86_64_SIZE64 and R_X86_64_SIZE32.
52099 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
52101         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
52102         (FP_FAST_FMA): Do not define.
52103         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
52104         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
52105         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
52106         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
52107         !_SOFT_FLOAT]: Likewise.
52108         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
52109         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
52110         value.
52111         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
52112         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
52113         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
52114         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
52115         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
52116         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
52117         file.
52119 2013-01-16  Andreas Schwab  <schwab@suse.de>
52121         [BZ #14327]
52122         * include/stdlib.h (__mktemp): Add declaration.
52123         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
52124         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
52126 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52128         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
52129         definitions.
52130         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
52131         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
52132         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
52133         definitions here.
52134         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
52135         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
52136         definitions.
52137         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
52138         and ONE.
52139         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
52140         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
52141         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
52142         definitions.
52143         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
52144         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
52145         definitions.
52146         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
52148         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
52150 2013-01-15  David S. Miller  <davem@davemloft.net>
52152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
52153         trunc{,f} to libm-sysdep_routes.
52154         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
52155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
52156         file.
52157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
52158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
52159         file.
52160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
52161         file.
52162         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
52163         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
52164         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
52165         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
52166         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
52167         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
52168         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
52169         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
52171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
52172         nearbyint{,f} to libm-sysdep_routes.
52173         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
52174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
52175         New file.
52176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
52177         file.
52178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
52179         New file.
52180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
52181         file.
52182         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
52183         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
52184         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
52185         file.
52186         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
52187         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
52188         file.
52189         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
52190         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
52191         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
52193         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
52194         libc_feholdexcept and libc_fesetenv.
52196 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
52198         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
52200 2013-01-14  David S. Miller  <davem@davemloft.net>
52202         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
52203         (SPARC_ASM_VIS2_IFUNC): Likewise.
52204         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
52205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
52206         use of 'siam' instruction.
52207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
52208         Likewise.
52209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
52210         Likewise.
52211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
52212         Likewise.
52213         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
52214         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
52215         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
52216         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
52217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
52218         file.
52219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
52220         file.
52221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
52222         file.
52223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
52224         file.
52225         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
52226         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
52227         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
52228         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
52229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
52230         new VIS2 routines.
52231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
52232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
52234         Likewise.
52235         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
52236         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
52237         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
52238         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
52239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
52240         routines to libm-sysdep_routines.
52241         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
52243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
52244         fdim/fdimf to libm-sysdep_routines.
52245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
52246         file.
52247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
52248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
52249         file.
52250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
52251         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
52252         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
52253         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
52254         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
52255         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
52256         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
52258 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
52260         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
52261         to optimize copies.
52263         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
52264         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
52265         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52267         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
52268         local variable MPTWO.
52269         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
52270         Likewise.
52272 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
52274         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
52275         GLOB_NOESCAPE.
52277 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
52279         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
52281 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
52283         * manual/pattern.texi (glob_t): Document gl_flags.
52284         (glob64_t): Likewise.
52286 2013-01-11  David S. Miller  <davem@davemloft.net>
52288         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
52289         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
52290         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
52291         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
52292         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
52293         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
52294         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
52295         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
52296         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
52297         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
52298         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
52299         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
52300         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
52302         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
52303         sparc V9 rather than using V8 code.
52304         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
52305         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
52307         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
52308         Move to...
52309         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
52310         Here.
52312 2013-01-11  Roland McGrath  <roland@hack.frob.com>
52314         [BZ #14941]
52315         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
52316         not in the main loop.
52317         * configure: Regenerated.
52319 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
52321         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
52322         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
52323         to just #else.
52324         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
52325         [!__GLIBC_HAVE_LONG_LONG] case.
52326         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
52327         condition to just #else.
52328         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
52329         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
52330         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
52331         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
52332         unconditional.
52333         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
52334         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
52335         #elif condition to just #else.
52336         * sysdeps/unix/sysv/linux/sys/sysmacros.h
52337         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
52338         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
52339         #elif condition to just #else.
52341 2013-01-11  Steve Ellcey  <sellcey@mips.com>
52343         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
52344         (EF_MIPS_ARCH_64): Fix value.
52345         (EF_MIPS_ARCH_32R2): New.
52346         (EF_MIPS_ARCH_64R2): New.
52348 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
52350         * Makeconfig (+link-pie-before-libc): New.
52351         (+link-pie-after-libc): Likewise.
52352         (+link-pie-tests): Likewise.
52353         (+link-pie): Rewritten.
52354         (link-before-libc): Remove $(config-LDFLAGS).
52355         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
52356         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
52357         (config-LDFLAGS): Renamed to ...
52358         (rtld-LDFLAGS): This.
52359         (rtld-tests-LDFLAGS): New macro.
52360         (link-libc-rpath-link): Likewise.
52361         (link-libc-tests-rpath-link): Likewise.
52362         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
52363         (link-libc): Prepand $(link-libc-rpath-link).
52364         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
52365         (test-program-prefix): New macro.
52366         (test-via-rtld-prefix): Likewise.
52367         (test-program-cmd): Likewise.
52368         (host-test-program-cmd): Likewise.
52369         * Makefile ($(common-objpfx)testrun.sh): Replace
52370         $(run-program-prefix) with $(test-program-prefix).
52371         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
52372         $(rtld-LDFLAGS).
52373         ($(common-objpfx)shlib.lds): Likewise.
52374         (build-module-helper): Likewise.
52375         ($(common-objpfx)format.lds): Likewise.
52376         * Rules (binaries-pie-tests): New.
52377         (binaries-pie-notests): Likewise.
52378         (binaries-pie): Rewritten.
52379         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
52380         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
52381         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
52382         (make-test-out): Replace $(host-built-program-cmd) with
52383         $(host-test-program-cmd).
52384         * config.make.in (build-hardcoded-path-in-tests): New variable.
52385         * configure.in (--enable-hardcoded-path-in-tests): New configure
52386         option.
52387         (hardcoded_path_in_tests): New AC_SUBST.
52388         * configure: Regenerated.
52389         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
52390         $(built-program-cmd) with $(test-program-cmd).
52391         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
52392         (test_program_cmd): This.
52393         * elf/Makefile ($(objpfx)order.out): Run test with
52394         $(test-program-prefix).
52395         ($(objpfx)order2.out): Likewise.
52396         ($(objpfx)tst-initorder.out): Likewise.
52397         ($(objpfx)tst-initorder2.out): Likewise.
52398         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
52399         $(test-program-cmd).
52400         ($(objpfx)tst-array1-static.out): Likewise.
52401         ($(objpfx)tst-array2.out): Likewise.
52402         ($(objpfx)tst-array3.out): Likewise.
52403         ($(objpfx)tst-array4.out): Likewise.
52404         ($(objpfx)tst-array5.out): Likewise.
52405         ($(objpfx)tst-array5-static.out): Likewise.
52406         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
52407         $(test-program-cmd).
52408         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
52409         $(run-program-prefix) with $(test-program-prefix).
52410         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
52411         (test_program_prefix): This.
52412         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
52413         $(run-program-prefix) with $(test-program-prefix).
52414         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
52415         (test_program_prefix): This.
52416         * iconvdata/tst-tables.sh: Likewise.
52417         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
52418         $(run-program-prefix) with $(test-program-prefix).
52419         ($(objpfx)tst-translit.out): Likewise.
52420         ($(objpfx)tst-gettext2.out): Likewise.
52421         ($(objpfx)tst-gettext4.out): Likewise.
52422         ($(objpfx)tst-gettext6.out): Likewise.
52423         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
52424         (test_program_prefix): This.
52425         * intl/tst-gettext2.sh: Likewise.
52426         * intl/tst-gettext4.sh  Likewise.
52427         * intl/tst-gettext6.sh: Likewise.
52428         * intl/tst-translit.sh: Likewise.
52429         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
52430         with $(test-program-cmd).
52431         * libio/Makefile ($(objpfx)test-freopen.out): Replace
52432         $(run-program-prefix) with $(test-program-prefix).
52433         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
52434         (test_program_prefix): This.
52435         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
52436         $(run-program-prefix) with $(test-program-prefix).
52437         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
52438         (test_program_prefix): This.
52439         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
52440         * posix/Makefile ($(objpfx)globtest.out): Replace
52441         $(run-via-rtld-prefix) and $(test-wrapper) with
52442         $(test-program-prefix) and $(test-via-rtld-prefix).
52443         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
52444         $(test-program-prefix).
52445         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
52446         $(host-test-program-cmd).
52447         (tst-spawn-ARGS): Likewise.
52448         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
52449         $(test-program-prefix).
52450         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
52451         (test_via_rtld_prefix): This.
52452         (test_wrapper): Renamed to ...
52453         (test_program_prefix): This.
52454         (run_program_prefix): Replaced by test_program_prefix.
52455         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
52456         (test_program_prefix): This.
52457         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
52458         with $(host-test-program-cmd).
52459         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
52460         $(run-program-prefix) with $(test-program-prefix).
52461         ($(objpfx)tst-printf.out): Likewise.
52462         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
52463         $(test-program-cmd).
52464         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
52465         (test_program_prefix): This.
52466         * stdio-common/tst-unbputc.sh: Likewise.
52467         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
52468         $(run-program-prefix) with $(test-program-prefix).
52469         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
52470         (test_program_prefix): This.
52471         * string/Makefile ($(objpfx)tst-svc.out):  Replace
52472         $(built-program-cmd) with $(test-program-cmd).
52474 2013-01-11  Andreas Jaeger  <aj@suse.de>
52476         [BZ #15003]
52477         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
52478         value. Sync with Linux 3.7.
52480 2013-01-10  David S. Miller  <davem@davemloft.net>
52482         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
52483         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
52484         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
52486 2013-01-10  Roland McGrath  <roland@hack.frob.com>
52488         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
52489         never set.
52490         * configure: Regenerated.
52492 2013-01-10  David S. Miller  <davem@davemloft.net>
52494         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
52495         sparc V9 rather than using V8 code.
52496         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
52497         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
52499 2013-01-10  Roland McGrath  <roland@hack.frob.com>
52501         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
52502         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
52503         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
52504         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
52505         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
52506         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
52507         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
52508         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
52509         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
52510         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
52511         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
52512         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
52513         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
52514         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
52515         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
52516         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
52517         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
52518         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
52519         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
52520         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
52521         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
52522         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
52523         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
52524         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
52525         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
52526         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
52527         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
52529 2013-01-10  David S. Miller  <davem@davemloft.net>
52531         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52533 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
52535         * posix/Makefile (tests-static): New variable.
52536         (tests): Add $(tests-static).
52537         (tst-exec-static-ARGS): New variable.
52538         (tst-spawn-static-ARGS): Likewise.
52539         * posix/tst-exec-static.c: New file.
52540         * posix/tst-spawn-static.c: Likewise.
52541         * posix/tst-exec.c: Support run directly.
52542         * posix/tst-spawn.c: Likewise.
52544 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
52546         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
52547         long.
52548         * math/bits/mathcalls.h (llrint): Likewise.
52549         (llround): Likewise.
52550         * stdlib/stdlib.h (struct drand48_data): Likewise.
52551         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
52552         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
52553         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
52554         Likewise.
52555         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
52556         Likewise.
52557         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
52558         (elf_greg_t): Likewise.
52559         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
52560         (__jmp_buf): Likewise.
52561         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
52562         definitions.
52563         (llrint): Likewise, for all definitions.
52564         (llrintl): Likewise.
52566         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
52567         Remove [__GNUC__] condition.
52568         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
52569         condition to just [__USE_ISOC99].
52570         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
52572 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
52574         [BZ #14200]
52575         * sysdeps/unix/sysv/linux/x86/bits/environments.h
52576         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
52577         defined.
52578         (_POSIX_V6_ILP32_OFF32): Likewise.
52579         (_XBS5_ILP32_OFF32): Likewise.
52580         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
52581         (__ILP32_OFFBIG_LDFLAGS): Likewise.
52583 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52585         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
52587         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
52588         doubles __mpexp_twomm1.  Adjust usage.
52589         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
52590         Remove.
52592 2013-01-10  Andreas Schwab  <schwab@suse.de>
52594         [BZ #14964]
52595         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
52596         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
52598 2013-01-09  David S. Miller  <davem@davemloft.net>
52600         [BZ #15003]
52601         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
52602         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
52603         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
52604         (TCP_FASTOPEN): Define.
52605         (tcp_repair_opt): New structure.
52606         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
52607         enum values.
52608         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
52609         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
52610         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
52611         (tcp_cookie_transactions): New structure.
52613 2013-01-09  Anton Blanchard  <anton@samba.org>
52615         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
52616         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
52617         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
52618         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
52620 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
52622         * include/features.h (__USE_ANSI): Remove.
52624 2013-01-09  Roland McGrath  <roland@hack.frob.com>
52626         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
52628         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
52630 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
52632         * sysdeps/s390/fpu/libm-test-ulps: Update.
52634         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52636         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
52637         (__acr): Likewise.
52638         (__cpy): Likewise.
52639         (norm): Likewise.
52640         (denorm): Likewise.
52641         (__mp_dbl): Likewise.
52642         (__dbl_mp): Likewise.
52643         (add_magnitudes): Likewise.
52644         (sub_magnitudes): Likewise.
52645         (__add): Likewise.
52646         (__sub): Likewise.
52647         (__mul): Likewise.
52648         (__inv): Likewise.
52649         (__dvd): Likewise.
52650         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
52651         (__acr): Likewise.
52652         (__cpy): Likewise.
52653         (norm): Likewise.
52654         (denorm): Likewise.
52655         (__mp_dbl): Likewise.
52656         (__dbl_mp): Likewise.
52657         (add_magnitudes): Likewise.
52658         (sub_magnitudes): Likewise.
52659         (__add): Likewise.
52660         (__sub): Likewise.
52661         (__mul): Likewise.
52662         (__inv): Likewise.
52663         (__dvd): Likewise.
52664         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
52665         (__acr): Likewise.
52666         (__cpy): Likewise.
52667         (norm): Likewise.
52668         (denorm): Likewise.
52669         (__mp_dbl): Likewise.
52670         (__dbl_mp): Likewise.
52671         (add_magnitudes): Likewise.
52672         (sub_magnitudes): Likewise.
52673         (__add): Likewise.
52674         (__sub): Likewise.
52675         (__mul): Likewise.
52676         (__inv): Likewise.
52677         (__dvd): Likewise.
52679 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
52681         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
52682         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
52683         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
52684         2 && __USE_EXTERN_INLINES]: Likewise.
52686 2013-01-08  Andreas Jaeger  <aj@suse.de>
52688         [BZ# 14985]
52689         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
52690         Remove.
52691         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
52692         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
52694 2013-01-07  Anton Blanchard  <anton@samba.org>
52696         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
52697         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
52698         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
52699         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
52700         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
52701         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
52702         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
52703         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
52704         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
52705         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52706         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
52707         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
52708         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
52709         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
52710         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
52711         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
52712         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
52713         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
52714         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
52715         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
52716         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
52717         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
52718         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52719         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
52720         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
52721         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
52722         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52723         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
52724         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
52725         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
52726         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
52727         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52728         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52729         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
52730         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
52731         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52732         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
52733         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
52734         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
52735         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
52736         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
52737         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52738         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
52740 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
52742         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
52743         (__MALLOC_PMT): Likewise.
52744         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
52745         [__GNUC__], only on [_LIBC].
52746         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
52747         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
52748         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
52749         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
52750         forward declaration.
52751         (realloc_hook_ini): Likewise.
52752         (memalign_hook_ini): Likewise.
52753         (__libc_memalign): Do not use __MALLOC_PMT in variable
52754         declaration.
52755         (__libc_valloc): Likewise.
52756         (__libc_pvalloc): Likewise.
52757         (__libc_calloc): Likewise.
52758         (__posix_memalign): Likewise.
52760         [BZ #14996]
52761         * math/s_casinh.c: Include <float.h>.
52762         (__casinh): Do not do computation with squaring and square root
52763         for large arguments.
52764         * math/s_casinhf.c: Include <float.h>.
52765         (__casinhf): Do not do computation with squaring and square root
52766         for large arguments.
52767         * math/s_casinhl.c: Include <float.h>.
52768         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
52769         (__casinhl): Do not do computation with squaring and square root
52770         for large arguments.
52771         * math/libm-test.inc (casin_test): Add more tests.
52772         (casinh_test): Likewise.
52773         * sysdeps/i386/fpu/libm-test-ulps: Update.
52774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52776 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
52778         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
52779         (__x86_64_raw_data_cache_size): Likewise.
52780         (__x86_64_data_cache_size_half): Likewise.
52781         (__x86_64_raw_data_cache_size_half): Likewise.
52782         (__x86_64_shared_cache_size): Likewise.
52783         (__x86_64_raw_shared_cache_size): Likewise.
52784         (__x86_64_shared_cache_size_half): Likewise.
52785         (__x86_64_raw_shared_cache_size_half): Likewise.
52786         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
52787         to ...
52788         (__x86_data_cache_size): This.
52789         (__x86_64_raw_data_cache_size): Renamed to ...
52790         (__x86_raw_data_cache_size): This.
52791         (__x86_64_data_cache_size_half): Renamed to ...
52792         (__x86_data_cache_size_half): This.
52793         (__x86_64_raw_data_cache_size_half): Renamed to ...
52794         (__x86_raw_data_cache_size_half): This.
52795         (__x86_64_shared_cache_size): Renamed to ...
52796         (__x86_shared_cache_size): This.
52797         (__x86_64_raw_shared_cache_size): Renamed to ...
52798         (__x86_raw_shared_cache_size): This.
52799         (__x86_64_shared_cache_size_half): Renamed to ...
52800         (__x86_shared_cache_size_half): This.
52801         (__x86_64_raw_shared_cache_size_half): Renamed to ...
52802         (__x86_raw_shared_cache_size_half): This.
52803         * sysdeps/x86_64/memcpy.S: Updated.
52804         * sysdeps/x86_64/memset.S: Likewise.
52805         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
52806         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52807         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52809 2013-01-04  David S. Miller  <davem@davemloft.net>
52811         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52813 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
52815         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
52816         1 to avoid redefinition warning.
52817         (__USE_GNU): Don't define.
52818         (init_signaling_nan): Protoize.
52820         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52822 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52824         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
52825         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
52826         (__cpymn): Likewise.
52827         (norm): Remove commented code.
52828         (denorm): Likewise.
52829         (__mp_dbl): Likewise.
52830         (__inv): Likewise.
52831         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
52832         (__cpymn): Likewise.
52833         (norm): Remove commented code.
52834         (denorm): Likewise.
52835         (__mp_dbl): Likewise.
52836         (__inv): Likewise.
52838         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
52839         mp_no value for 1.0 and 2.0.
52840         (norm): Use RADIXI instead of radixi.d.
52841         (denorm): Likewise.
52842         (__mul): Use 0.0 instead of zero.d.
52843         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
52844         mp_no value for 1.0 and 2.0.
52845         (norm): Use RADIXI instead of radixi.d.
52846         (denorm): Likewise.
52847         (__mul): Use 0.0 instead of zero.d.
52849 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
52851         [BZ #14994]
52852         * math/s_casinh.c (__casinh): Reduce finite argument to first
52853         quadrant then set signs of results at the end.
52854         * math/s_casinhf.c (__casinhf): Likewise.
52855         * math/s_casinhl.c (__casinhl): Likewise.
52856         * math/libm-test.inc (casin_test): Add more tests.
52857         (casinh_test): Likewise.
52858         * sysdeps/i386/fpu/libm-test-ulps: Update.
52859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52861 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52863         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
52865         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
52867         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
52868         declarations.
52869         (denorm): Likewise.
52870         (__mp_dbl): Likewise.
52871         (__inv): Likewise.
52873         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
52874         and adjust the header comment.
52876         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
52877         variable name from declaration.
52879 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
52881         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52882         Initialize COMMON_CPUID_INDEX_7 element.
52883         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
52884         (CPUID_RTM): Likewise.
52885         (HAS_RTM): Likewise.
52886         (COMMON_CPUID_INDEX_7): New enum.
52888 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
52890         [BZ #14981]
52891         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
52892         size is zero, record memory as freed.
52894 2013-01-03  Andreas Jaeger  <aj@suse.de>
52896         * po/ia.po: Add new Interlingua translation.
52898 2012-01-03  Allan McRae  <allan@archlinux.org>
52900         * locale/programs/localedef.c: Fix description of '--posix' flag.
52902 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
52904         * NEWS: Update dates in second copyright notice.
52905         * README: Update copyright dates in example.
52906         * manual/libc.texinfo: Update copyright dates.
52907         * scripts/test-installation.pl: Update copyright date in --version
52908         output.
52910         * hurd/ctty-input.c: Fix copyright notice formatting.
52911         * hurd/ctty-output.c: Likewise.
52912         * hurd/dtable.c: Likewise.
52913         * hurd/hurd-raise.c: Likewise.
52914         * hurd/hurdprio.c: Likewise.
52915         * hurd/msgportdemux.c: Likewise.
52916         * misc/sys/file.h: Likewise.
52917         * misc/sys/ioctl.h: Likewise.
52918         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
52919         * sysdeps/mach/hurd/chdir.c: Likewise.
52920         * sysdeps/mach/hurd/fchdir.c: Likewise.
52921         * sysdeps/mach/hurd/rename.c: Likewise.
52922         * sysdeps/mach/hurd/rmdir.c: Likewise.
52923         * sysdeps/mach/hurd/seekdir.c: Likewise.
52924         * sysdeps/mach/hurd/setsid.c: Likewise.
52925         * sysdeps/posix/wait3.c: Likewise.
52927         * All files with FSF copyright notices: Update copyright dates
52928         using scripts/update-copyrights.
52929         * intl/plural.c: Regenerated.
52930         * locale/programs/charmap-kw.h: Likewise.
52931         * locale/programs/locfile-kw.h: Likewise.
52933 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52935         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
52936         four values.
52938         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
52939         calculation loop and add branch prediction.
52941         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
52942         check access beyond bounds of m1np.
52944         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
52945         MPTWO.
52946         (__inv): Remove local variable MPTWO to use the global
52947         constant.
52948         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
52949         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
52950         variable MPTWO.
52951         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
52952         MP3HALFS static const.
52954 2013-01-01  David S. Miller  <davem@davemloft.net>
52956         * po/ca.po: Update from translation team.
52958 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
52960         * scripts/update-copyrights: New file.
52961         * Makeconfig: Reformat copyright notice.
52962         * ctype/ctype.h: Likewise.
52963         * debug/swprintf_chk.c: Likewise.
52964         * elf/dl-cache.c: Likewise.
52965         * elf/dl-debug.c: Likewise.
52966         * elf/dl-object.c: Likewise.
52967         * grp/initgroups.c: Likewise.
52968         * hurd/Makefile: Likewise.
52969         * hurd/hurd/signal.h: Likewise.
52970         * hurd/hurdfault.c: Likewise.
52971         * hurd/hurdioctl.c: Likewise.
52972         * hurd/hurdlookup.c: Likewise.
52973         * hurd/intr-msg.c: Likewise.
52974         * iconv/gconv_open.c: Likewise.
52975         * libio/swprintf.c: Likewise.
52976         * locale/lc-ctype.c: Likewise.
52977         * locale/nl_langinfo.c: Likewise.
52978         * mach/Machrules: Likewise.
52979         * mach/Makefile: Likewise.
52980         * malloc/obstack.h: Likewise.
52981         * manual/Makefile: Likewise.
52982         * manual/tsort.awk: Likewise.
52983         * misc/bits/stab.def: Likewise.
52984         * nis/nis_print_group_entry.c: Likewise.
52985         * nis/nis_table.c: Likewise.
52986         * nis/nss_compat/compat-pwd.c: Likewise.
52987         * nis/nss_compat/compat-spwd.c: Likewise.
52988         * po/Makefile: Likewise.
52989         * posix/fnmatch.c: Likewise.
52990         * posix/regex.h: Likewise.
52991         * resolv/Makefile: Likewise.
52992         * resolv/nss_dns/dns-network.c: Likewise.
52993         * resolv/res_hconf.c: Likewise.
52994         * scripts/gen-sorted.awk: Likewise.
52995         * soft-fp/soft-fp.h: Likewise.
52996         * stdio-common/printf.h: Likewise.
52997         * stdlib/monetary.h: Likewise.
52998         * stdlib/random.c: Likewise.
52999         * stdlib/random_r.c: Likewise.
53000         * sysdeps/generic/Makefile: Likewise.
53001         * sysdeps/gnu/Makefile: Likewise.
53002         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
53003         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53004         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53005         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53006         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53007         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53008         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53009         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53010         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53011         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53012         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
53013         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
53014         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
53015         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
53016         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
53017         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
53018         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
53019         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53020         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53021         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53022         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53023         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53024         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53025         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
53026         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
53027         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
53028         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
53029         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
53030         * sysdeps/mach/hurd/errnos.awk: Likewise.
53031         * sysdeps/mach/hurd/fork.c: Likewise.
53032         * sysdeps/mach/hurd/getcwd.c: Likewise.
53033         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
53034         * sysdeps/mach/hurd/mmap.c: Likewise.
53035         * sysdeps/mach/hurd/utimes.c: Likewise.
53036         * sysdeps/mach/hurd/xmknod.c: Likewise.
53037         * sysdeps/posix/profil.c: Likewise.
53038         * sysdeps/posix/readdir_r.c: Likewise.
53039         * sysdeps/powerpc/bits/mathdef.h: Likewise.
53040         * sysdeps/powerpc/bits/setjmp.h: Likewise.
53041         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
53042         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
53043         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53044         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
53045         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53046         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
53047         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53048         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
53049         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53050         * sysdeps/pthread/lio_listio.c: Likewise.
53051         * sysdeps/sparc/dl-procinfo.h: Likewise.
53052         * sysdeps/unix/i386/sysdep.S: Likewise.
53053         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
53054         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
53055         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
53056         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
53057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53058         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
53059         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
53060         * sysdeps/unix/sysv/linux/speed.c: Likewise.
53061         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
53062         * sysdeps/wordsize-32/divdi3.c: Likewise.
53063         * time/sys/time.h: Likewise.
53064         * wcsmbs/Makefile: Likewise.
53066 2013-01-01  David S. Miller  <davem@davemloft.net>
53068         * po/fr.po: Update from translation team.
53070         * catgets/gencat.c: Update copyright year.
53071         * csu/version.c: Likewise.
53072         * debug/catchsegv.sh: Likewise.
53073         * debug/pcprofiledump.c: Likewise.
53074         * debug/xtrace.sh: Likewise.
53075         * elf/ldconfig.c: Likewise.
53076         * elf/ldd.bash.in: Likewise.
53077         * elf/pldd.c: Likewise.
53078         * elf/sotruss.ksh: Likewise.
53079         * elf/sprof.c: Likewise.
53080         * iconv/iconv_prog.c: Likewise.
53081         * iconv/iconvconfig.c: Likewise.
53082         * locale/programs/locale.c: Likewise.
53083         * locale/programs/localedef.c: Likewise.
53084         * login/programs/pt_chown.c: Likewise.
53085         * malloc/memusage.sh: Likewise.
53086         * malloc/memusagestat.c: Likewise.
53087         * malloc/mtrace.pl: Likewise.
53088         * nscd/nscd.c: Likewise.
53089         * nss/getent.c: Likewise.
53090         * nss/makedb.c: Likewise.
53091         * posix/getconf.c: Likewise.
53093 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
53095         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
53096         numbers.
53098 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
53100         * math/bits/mathcalls.h (modf): Use __nonnull.
53102 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53104         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
53105         (split): Use macro CN instead of the bare value.
53106         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
53107         could be used.
53108         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
53109         instead of the bare value.
53110         (power1): Likewise.
53112 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53114         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
53115         __ATAN_TWOM.
53116         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
53118         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
53119         their values.
53120         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
53121         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
53122         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
53123         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
53125 2012-12-28  Andreas Jaeger  <aj@suse.de>
53127         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
53128         values are from Linux 3.7.
53130         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
53131         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
53133 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53135         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
53136         TRUE case.
53138         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
53139         (norm): Likewise.
53140         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
53141         variables with preprocessor constants.
53142         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
53143         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
53144         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
53146 2012-12-27  Bruno Haible  <bruno@clisp.org>
53148         [BZ #14317]
53149         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
53150         only if needed.
53152 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53154         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
53155         and use variable directly.
53156         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
53158         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
53159         MPONE.
53160         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
53161         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
53162         variable MPONE.
53163         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
53164         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
53165         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
53166         include directive.  Remove local variable MPONE.
53167         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
53168         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
53169         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
53171 2012-12-25  David S. Miller  <davem@davemloft.net>
53173         * version.h (RELEASE): Set to "development".
53174         (VERSION): Set to "2.17.90".
53175         * NEWS: Add 2.18 section.
53177 2012-12-21  David S. Miller  <davem@davemloft.net>
53179         * po/hr.po: Update from translation team.
53181 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53183         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
53185 2012-12-19  Steve Ellcey  <sellcey@mips.com>
53187         * NEWS:  Mention new memcpy for MIPS.
53189 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53191         * manual/contrib.texi (Contributors): Spelling correction.
53193 2012-12-15  David S. Miller  <davem@davemloft.net>
53195         * po/ru.po: Update from translation team.
53197 2012-12-13  David S. Miller  <davem@davemloft.net>
53199         * NEWS: Mention IFUNC testsuite enhancements.
53201         * po/pl.po: Update from translation team.
53202         * po/bg.po: Likewise.
53204         * manual/contrib.texi (Contributors): Update entries for Hongjiu
53205         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
53207 2012-12-11  David S. Miller  <davem@davemloft.net>
53209         * po/sv.po: Update from translation team.
53211         * po/vi.po: Update from translation team.
53213         * po/cs.po: Update from translation team.
53215         * po/de.po: Update from translation team.
53216         * po/eo.po: Likewise.
53217         * po/nl.po: Likewise.
53219 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53221         [BZ #14246]
53222         * manual/argp.texi (Argp Helper Functions): Move node to follow
53223         Argp Parsing State.
53225         [BZ #14872]
53226         * manual/conf.texi (Limits on File System Capacity): Mention if
53227         terminating null is included in the max size.
53229 2012-12-10  Andreas Jaeger  <aj@suse.de>
53231         * po/cs.po: Update from translation team.
53233 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
53235         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
53236         void pointer and cast to uintptr_t.
53237         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
53238         path.
53239         * sysdeps/s390/s390-64/memcpy.S: Likewise.
53240         * sysdeps/s390/s390-64/memset.S: Likewise.
53242 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
53244         [BZ #14833]
53245         * menual/message.texi (Message Translation): Fix typos.
53246         (Helper programs for gettext): Likewise.
53248 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
53250         [BZ #14898]
53251         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
53252         Change to -1.
53254 2012-12-07  David S. Miller  <davem@davemloft.net>
53256         * po/libc.pot: Update.
53258 2012-12-07  Richard Henderson  <rth@redhat.com>
53260         [BZ #10114]
53261         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
53262         normal/normal case to before the switch.
53263         (_FP_DIV): Likewise.
53265 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
53266             Mike Frysinger  <vapier@gentoo.org>
53268         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
53269         check for __NR_fadvise64_64.
53271 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
53273         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
53274         0, not just to plain "0" as a statement.
53275         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
53276         with cw.
53278 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
53280         * NEWS: Use sourceware.org in Bugzilla URL.
53282 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
53284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
53285         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
53287         * stdio-common/tst-put-error.c (do_test): Add newline to the
53288         padded test to ensure flush.
53290 2012-12-05  Jeff Law  <law@redhat.com>
53292         * sunrpc/etc.rpc (fedfs_admin): Add entry.
53294 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
53296         * README: Don't refer to ports add-on as distributed separately.
53297         Mention AArch64 in list of systems supported in the ports add-on.
53299         * LICENSES: Add more non-FSF copyright and license notices.
53301         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
53302         ((unused)).
53304         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
53306         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
53307         10000 as width of padded output.
53309 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
53311         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
53313         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
53314         variable LX with __attribute__ ((unused)).
53315         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
53316         Likewise.
53317         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
53318         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
53319         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
53320         with __attribute__ ((unused)).
53322 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
53324         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
53326 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
53328         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
53329         (CFLAGS-nldbl-acos.c): New variable.
53330         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
53331         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
53332         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
53333         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
53334         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
53335         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
53336         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
53337         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
53338         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
53339         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
53340         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
53341         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
53342         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
53343         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
53344         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
53345         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
53346         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
53347         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
53348         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
53349         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
53350         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
53351         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
53352         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
53353         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
53354         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
53355         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
53356         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
53357         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
53358         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
53359         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
53360         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
53361         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
53362         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
53363         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
53364         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
53365         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
53366         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
53367         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
53368         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
53369         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
53370         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
53371         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
53372         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
53373         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
53374         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
53375         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
53376         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
53377         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
53378         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
53379         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
53380         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
53381         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
53382         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
53383         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
53384         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
53385         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
53386         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
53387         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
53388         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
53389         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
53390         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
53391         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
53392         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
53393         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
53394         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
53395         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
53396         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
53397         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
53398         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
53399         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
53400         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
53401         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
53402         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
53403         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
53404         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
53405         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
53406         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
53407         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
53408         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
53409         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
53410         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
53411         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
53412         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
53413         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
53414         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
53415         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
53416         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
53417         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
53418         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
53419         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
53420         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
53421         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
53422         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
53423         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
53424         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
53425         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
53426         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
53428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
53429         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
53431         [BZ #14914]
53432         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
53433         whole low double instead of just low 47 bits when splitting values
53434         into two parts.
53436 2012-12-03  Allan McRae  <allan@archlinux.org>
53438         * manual/stdio.texi (Predefined Printf Handlers): Remove
53439         @hsep and @vsep usage.
53441 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
53443         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
53444         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
53446 2012-12-03  Jeff Law  <law@redhat.com>
53448         * time/sys/time.h (settimeofday): Do not mark TV argument
53449         as __nonnull.
53451 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
53453         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
53454         when currently writing and seek to current position when not.
53455         * libio/Makefile (tests): Remove bug-fclose1.
53456         * libio/bug-fclose1.c: Delete.
53458 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
53460         * manual/arith.texi (feenableexcept): Fix typo.
53461         (fedisableexcept): Likewise.
53463 2012-11-30  Roland McGrath  <roland@hack.frob.com>
53465         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
53466         second, differently-typed declaration, rather than a cast.
53468 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53470         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
53471         * include/rpc/svc.h: ... here.
53473 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
53475         [BZ #13013]
53476         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
53477         depending n and resplen2 to catch cases where answer
53478         equals answerp2.
53480 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
53482         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
53483         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
53485 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
53487         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
53489 2012-11-29  Roland McGrath  <roland@hack.frob.com>
53491         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
53493 2012-11-28  Jeff Law  <law@redhat.com>
53495         [BZ #13761]
53496         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
53497         dataset_temporary.  Track alloca usage into alloca_used.
53498         If dataset is large allocate and release it via malloc/free.
53500 2012-06-04  Florian Weimer  <fweimer@redhat.com>
53502         [BZ #14197]
53503         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
53505 2012-11-28  David S. Miller  <davem@davemloft.net>
53507         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53509 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
53511         [BZ #14803]
53512         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
53513         of pi/2 rounded to nearest to 64 bits.
53514         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
53515         nearest to 64 bits.
53516         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
53517         bits.
53519 2012-11-28  Jeff Law <law@redhat.com>
53520             Martin Osvald <mosvald@redhat.com>
53522         [BZ #14889]
53523         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
53524         * sunrpc/svc.c: Include time.h.
53525         (__svc_accept_failed): New function.
53526         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
53527         any reason other than EINTR, call __svc_accept_failed.
53528         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
53529         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
53531 2012-11-28  Andreas Schwab  <schwab@suse.de>
53533         * scripts/abilist.awk: Also handle indirect functions in .opd
53534         section.
53536 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
53538         [BZ #13881]
53539         * sysdeps/x86/fpu/powl_helper.c: New file.
53540         * sysdeps/x86/fpu/Makefile: Likewise.
53541         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
53542         (p3): New object.
53543         (__ieee754_powl): Use __powl_helper for finite arguments except
53544         integer exponents below 8.
53545         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
53546         (p3): New object.
53547         (__ieee754_powl): Use __powl_helper for finite arguments except
53548         integer exponents below 8.
53549         * math/libm-test.inc (pow_test): Add more tests and enable some
53550         previously disabled tests.
53551         * sysdeps/i386/fpu/libm-test-ulps: Update.
53552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53554 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53555             Carlos O'Donell  <carlos_odonell@mentor.com>
53557         * nss/makedb.c (is_prime): Assert that input is odd and greater
53558         than 4.  Note that fact in a comment too.
53559         (next_prime): Add 4 to input.
53561 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53563         [BZ #11741]
53564         * libio/Makefile (tests): Add test case tst-fwrite-error.
53565         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
53566         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
53567         * libio/tst-fwrite-error.c: New test case.
53569 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
53571         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
53572         before casting to void *.
53573         * include/libc-internal.h (__pointer_type): New macro.
53574         (__integer_if_pointer_type_sub): Likewise.
53575         (__integer_if_pointer_type): Likewise.
53576         (cast_to_integer): Likewise.
53577         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
53578         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
53579         before casting to atomic64_t.
53580         (atomic_exchange_acq): Likewise.
53581         (__arch_exchange_and_add_body): Likewise.
53582         (__arch_add_body): Likewise.
53583         (atomic_add_negative): Likewise.
53584         (atomic_add_zero): Likewise.
53586 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
53588         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
53589         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
53590         (add_fdes): Likewise.
53591         (linear_search_fdes): Likewise.
53592         (binary_search_unencoded_fdes): Likewise.
53594 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
53596         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
53598 2012-11-24  Adam Conrad  <adconrad@0c3.net>
53600         * configure.in: Autodetect C++ header directories.
53601         * configure: Regenerated.
53603 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
53605         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
53607 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
53609         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53611 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
53613         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
53614         LDBL_MANT_DIG == 106]: Disable some tests.
53615         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
53616         Likewise.
53617         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
53618         Likewise.
53620         [BZ #14871]
53621         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
53622         input for small inputs.  Return +/- pi/2 for large inputs.
53623         * math/libm-test.inc (atan_test): Add more tests.
53625         * sysdeps/generic/unwind-dw2-fde-glibc.c
53626         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
53627         __attribute__ ((unused)).
53629         [BZ #14645]
53630         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
53631         x * y if x and y are nonzero and z is zero.
53633         [BZ #14811]
53634         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
53635         nonzero exponents with absolute value below 0x1p-117 to +/-
53636         0x1p-117.
53638         [BZ #14869]
53639         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
53640         up arguments below 2**-450, not just those below 2**-500.
53641         * math/libm-test.inc (hypot_test): Add another test.
53643         [BZ #14868]
53644         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
53645         Return a+b for ratio over 2**120, not 2**60.
53646         * math/libm-test.inc (hypot_test): Add another test.
53648         * math/libm-test.inc (clog_test): Use
53649         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
53650         (clog10_test): Likewise.
53652         [BZ #6778]
53653         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
53655 2012-11-22  Andreas Schwab  <schwab@suse.de>
53657         * sysdeps/i386/fpu/libm-test-ulps: Update.
53659 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
53661         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
53662         printf output with newline.
53664 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
53666         [BZ #14865]
53667         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
53668         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
53669         -z nodlopen, -z initfirst and -z execstack support.
53670         * configure: Regenerated.
53672         * elf/elf.h (DF_1_NODIRECT): New macro.
53673         (DF_1_IGNMULDEF): Likewise.
53674         (DF_1_NOKSYMS): Likewise.
53675         (DF_1_NOHDR): Likewise.
53676         (DF_1_EDITED): Likewise.
53677         (DF_1_NORELOC): Likewise.
53678         (DF_1_SYMINTPOSE): Likewise.
53679         (DF_1_GLOBAUDIT): Likewise.
53680         (DF_1_SINGLETON): Likewise.
53681         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
53682         DT_1_SUPPORTED_MASK bits.
53683         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
53685 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
53687         * sysdeps/unix/make-syscalls.sh: Document prefixes.
53689 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
53691         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
53692         macro.
53694         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
53695         (sendmmsg): Move declarations...
53696         * socket/sys/socket.h: ... here.
53697         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
53698         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
53699         include it from...
53700         * socket/recvmmsg.c: ... this new file.
53701         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
53702         (sendmmsg): Rename to __sendmmsg, create weak alias and make
53703         definition of __sendmmsg hidden.
53704         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
53705         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
53706         Move ENOSYS stub into and include it from...
53707         * socket/sendmmsg.c: ... this new file.
53708         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
53709         (sysdep_routines): Move recvmmsg and sendmmsg...
53710         * socket/Makefile (routines): ... here.
53711         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
53712         (GLIBC_PRIVATE): Add __sendmmsg.
53713         * include/sys/socket.h (__sendmmsg): Add declarations.
53714         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
53715         sendmmsg.
53717 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
53719         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
53720         variable I1 with __attribute__ ((unused)).
53721         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
53723 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
53725         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
53726         DUMMY variables with __attribute__ ((unused)).
53728         * bits/byteswap.h: Include <bits/types.h>.
53729         (__bswap_64): Use __uint64_t instead of unsigned long long int.
53731 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
53733         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
53734         string_t.  Do not manually set errno.
53735         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
53736         length with __strnlen.  Make sure to both set errno and return it on
53737         failure.
53739 2012-11-19  David S. Miller  <davem@davemloft.net>
53741         With help from Joseph Myers.
53742         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
53743         very large arguments properly.
53744         * math/libm-test.inc (atan_test): New tests.
53745         (atan2_test): New tests.
53746         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53747         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53749 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
53751         [BZ #14856]
53752         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
53753         Define to 3.
53755         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
53756         [POSIX] (EADDRNOTAVAIL): Likewise.
53757         [POSIX] (EAFNOSUPPORT): Likewise.
53758         [POSIX] (EALREADY): Likewise.
53759         [POSIX] (ECONNABORTED): Likewise.
53760         [POSIX] (ECONNREFUSED): Likewise.
53761         [POSIX] (ECONNRESET): Likewise.
53762         [POSIX] (EDESTADDRREQ): Likewise.
53763         [POSIX] (EDQUOT): Likewise.
53764         [POSIX] (EHOSTUNREACH): Likewise.
53765         [POSIX] (EIDRM): Likewise.
53766         [POSIX] (EISCONN): Likewise.
53767         [POSIX] (ELOOP): Likewise.
53768         [POSIX] (EMULTIHOP): Likewise.
53769         [POSIX] (ENETDOWN): Likewise.
53770         [POSIX] (ENETUNREACH): Likewise.
53771         [POSIX] (ENOBUFS): Likewise.
53772         [POSIX] (ENODATA): Likewise.
53773         [POSIX] (ENOLINK): Likewise.
53774         [POSIX] (ENOMSG): Likewise.
53775         [POSIX] (ENOPROTOOPT): Likewise.
53776         [POSIX] (ENOSR): Likewise.
53777         [POSIX] (ENOSTR): Likewise.
53778         [POSIX] (ENOTCONN): Likewise.
53779         [POSIX] (ENOTSOCK): Likewise.
53780         [POSIX] (EOPNOTSUPP): Likewise.
53781         [POSIX] (EOVERFLOW): Likewise.
53782         [POSIX] (EPROTO): Likewise.
53783         [POSIX] (EPROTONOSUPPORT): Likewise.
53784         [POSIX] (EPROTOTYPE): Likewise.
53785         [POSIX] (ESTALE): Likewise.
53786         [POSIX] (ETIME): Likewise.
53787         [POSIX] (ETXTBSY): Likewise.
53788         [POSIX] (EWOULDBLOCK): Likewise.
53789         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
53790         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
53791         [POSIX] (SEEK_CUR): Likewise.
53792         [POSIX] (SEEK_END): Likewise.
53793         [POSIX || UNIX98] (mode_t): Do not require.
53794         [POSIX] (off_t): Likewise.
53795         [POSIX] (pid_t): Likewise.
53796         [POSIX] (sys/stat.h): Do not allow header.
53797         [POSIX] (unistd.h): Likewise.
53798         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
53799         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
53800         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
53801         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
53802         require.
53803         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
53804         sigevent): Specify elements.
53805         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
53806         entry.
53807         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
53808         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
53810         * conform/data/cpio.h-data [POSIX]: Disable whole file.
53811         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
53812         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
53813         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
53814         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
53815         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
53816         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
53817         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
53818         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
53819         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
53820         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
53821         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
53822         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
53823         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
53824         Likewise.
53825         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
53826         Likewise.
53827         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
53828         Likewise.
53829         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
53830         Likewise.
53831         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
53832         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
53833         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
53834         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
53835         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
53836         Specify lower bound on value.
53837         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
53838         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
53839         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
53840         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
53841         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
53842         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
53843         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
53844         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
53845         value.
53846         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
53847         as optional.
53848         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
53849         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
53850         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
53851         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
53852         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
53853         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
53854         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
53855         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
53856         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
53857         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
53858         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
53859         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
53860         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
53861         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
53862         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
53863         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
53864         entry.
53865         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
53866         optional.
53867         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
53868         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
53869         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
53870         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
53871         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
53872         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
53873         Likewise.
53874         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
53875         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
53876         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
53877         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
53878         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
53879         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
53880         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
53881         as optional.
53882         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
53883         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
53884         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
53885         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
53886         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
53887         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
53888         specify as optional.
53889         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
53890         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
53891         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
53892         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
53893         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
53894         [XPG3] (NL_LANGMAX): Likewise.
53895         [POSIX || XPG3] (NL_MSGMAX): Likewise.
53896         [POSIX || XPG3] (NL_NMAX): Likewise.
53897         [POSIX || XPG3] (NL_SETMAX): Likewise.
53898         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
53899         [XPG3] (NZERO): Likewise.
53900         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
53901         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
53902         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
53903         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
53904         (REG_ERANGE): Expect.
53905         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
53906         optional-constant.
53907         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
53908         Use (void) in prototype.
53909         [POSIX] (*_t): Allow.
53910         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
53911         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
53912         (WRDE_BADVAL): Expect.
53914         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
53915         expect.
53916         [XPG3 || XPG4] (O_RSYNC): Likewise.
53917         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
53918         Likewise.
53919         [XPG3 || XPG4] (pthread_sigmask): Likewise.
53920         [XPG3 || XPG4] (sigqueue): Likewise.
53921         [XPG3 || XPG4] (sigtimedwait): Likewise.
53922         [XPG3 || XPG4] (sigwaitinfo): Likewise.
53923         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
53924         [XPG3 || XPG4] (vsnprintf): Likewise.
53925         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
53926         Likewise.
53927         [XPG3 || XPG4] (blksize_t): Likewise.
53928         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
53929         Likewise.
53930         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
53931         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
53932         [XPG3 || XPG4] (struct itimerspec): Likewise.
53933         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
53934         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
53935         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
53936         [XPG3 || XPG4] (clockid_t): Likewise.
53937         [XPG3 || XPG4] (timer_t): Likewise.
53938         [XPG3 || XPG4] (clock_getres): Likewise.
53939         [XPG3 || XPG4] (clock_gettime): Likewise.
53940         [XPG3 || XPG4] (clock_settime): Likewise.
53941         [XPG3 || XPG4] (nanosleep): Likewise.
53942         [XPG3 || XPG4] (timer_create): Likewise.
53943         [XPG3 || XPG4] (timer_delete): Likewise.
53944         [XPG3 || XPG4] (timer_gettime): Likewise.
53945         [XPG3 || XPG4] (timer_getoverrun): Likewise.
53946         [XPG3 || XPG4] (timer_settime): Likewise.
53947         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
53948         [XPG3 || XPG4] (getlogin_r): Likewise.
53949         [XPG3 || XPG4] (pread): Likewise.
53950         [XPG3 || XPG4] (pthread_atfork): Likewise.
53951         [XPG3 || XPG4] (pwrite): Likewise.
53953         [BZ #14835]
53954         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
53955         <bits/siginfo.h>.
53957 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
53959         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
53960         finalizing MALLSTREAM.
53962         * sysdeps/mach/hurd/syncfs.c: New file.
53964 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53966         [BZ #14719]
53967         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
53968         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
53969         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
53970         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
53971         (_nss_dns_gethostbyname4_r): Likewise.
53972         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
53973         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
53975 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
53977         [BZ #13763]
53978         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
53980 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
53982         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
53983         * elf/cache.c (print_entry): Print ",AArch64" for
53984         FLAG_AARCH64_LIB64
53986         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
53987         * elf/cache.c (print_entry): Print ",hard-float" for
53988         FLAG_ARM_LIBHF.
53990 2012-11-18  David S. Miller  <davem@davemloft.net>
53992         With help from Joseph Myers.
53993         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
53994         cutoff to 2**-13.
53995         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
53996         cutoff to 2**-25.
53997         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
53998         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
53999         small.
54000         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
54001         * math/libm-test.inc (y0_test): New tests.
54002         (y1_test): New tests.
54003         * sysdeps/i386/fpu/libm-test-ulps: Update.
54004         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54005         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54007 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
54009         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
54010         64-bit targets.
54011         * configure: Regenerated.
54013 2012-11-17  David S. Miller  <davem@davemloft.net>
54015         [BZ #14811]
54016         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
54017         nonzero exponents with absolute value below 0x1p-128 to +/-
54018         0x1p-128.
54020 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
54022         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
54024         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
54026         * posix/getconf-speclist.c: New file.
54027         * posix/posix-envs.def: Likewise.
54028         * posix/confstr.c (START_ENV_GROUP): New macro.
54029         (END_ENV_GROUP): Likewise.
54030         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
54031         (KNOWN_PRESENT_ENV_STRING): Likewise.
54032         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
54033         (UNKNOWN_ENVIRONMENT): Likewise.
54034         (confstr): Include posix-envs.def instead of handling
54035         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
54036         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
54037         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
54038         (END_ENV_GROUP): Likewise.
54039         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
54040         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
54041         (UNKNOWN_ENVIRONMENT): Likewise.
54042         (__sysconf): Include posix-envs.def instead of handling associated
54043         cases directly here.
54044         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
54045         preprocessing getconf-speclist.c rather than running getconf or
54046         generating empty file.
54048 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
54050         * scripts/check-local-headers.sh: Ignore 'mach' headers.
54052 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
54054         [BZ #14672]
54055         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
54057 2012-11-16  David S. Miller  <davem@davemloft.net>
54059         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
54060         smaller than LDBL_EPSILON/2.0L, just return xm1.
54062 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
54064         * elf/tst-array1.c (init): Set constructor priority to 1000.
54065         (fini): Set destructor priority to 1000.
54066         * elf/tst-array2dep.c: Likewise.
54068 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54070         [BZ #11741]
54071         * libio/fileops.c (_IO_new_file_write): Correctly return error.
54072         (_IO_new_file_xsputn): Also return EOF if none of the input
54073         data was written when overflow failed.
54074         * libio/iopadn.c (_IO_padn): Likewise.
54075         * libio/iowpadn.c (_IO_wpadn): Likewise.
54076         * stdio-common/tst-put-error.c: Add copyright notice.
54077         (do_test): Add case for printing padded string.
54078         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
54079         _IO_padn returned error.
54080         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
54081         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
54082         return EOF.
54084 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54086         * libio/libioP.h: Add comment note that the references to C++
54087         bits are now obsolete.
54089 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54091         * math/libm-test.inc (check_complex): Use asprintf.
54093 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
54095         * debug/pcprofiledump.c (print_version): Update copyright year.
54096         * malloc/memusagestat.c (print_version): Likewise.
54098 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
54100         [BZ #14831]
54101         * elf/Makefile (tests): Add tst-audit8.
54102         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
54103         ($(objpfx)tst-audit8.out): New target.
54104         (tst-audit8-ENV): New variable.
54105         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
54106         audit if l_reloc_result is NULL.
54107         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
54108         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
54109         * elf/tst-audit8.c: New file.
54111 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54113         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
54114         * misc/Makefile (CFLAGS-select.c): Define.
54115         * posix/Makefile (CFLAGS-pause.c): Define.
54117 2012-11-13  David S. Miller  <davem@davemloft.net>
54119         * crypt/Makefile: Move test targets after toplevel Rules
54120         inclusion.  Grab any necessary sysdep routines when linking.
54121         * crypt/md5.c (md5_process_block): Remove define, we will always
54122         name it __md5_process_block.
54123         (md5_finish_ctx): Update md5_process_block call.
54124         (md5_stream): Likewise.
54125         (md5_process_bytes): Likewise.
54126         (md5_process_block): Rename to __md5_process_block and move to ...
54127         * crypt/md5-block.c: ... here.
54128         * crypt/sha256.c (sha256_process_block): Move to ...
54129         * crypt/sha256-block.c: ... here.
54130         * crypt/sha512.c (sha512_process_block): Move to ...
54131         * crypt/sha512-block.c: ... here.
54132         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
54133         path.
54134         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
54135         * sysdeps/sparc/sparc64/multiarch/Makefile
54136         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
54137         crypt subdir.
54138         (localedef-aux): Add md5 crypto assembler when in locale subdir.
54139         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
54140         multiarch changes.
54141         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
54142         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
54143         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
54144         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
54145         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
54146         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
54147         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
54148         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
54149         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
54150         file.
54151         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
54152         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
54153         file.
54154         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
54156 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
54158         * timezone/tzselect.ksh: Update from tzcode git revision
54159         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
54160         * timezone/zdump.c: Likewise.
54161         * timezone/zic.c: Likewise.
54162         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
54163         in TZVERSION setting, not $(PKGVERSION).
54164         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
54165         REPORT_BUGS_TO settings.
54167         [BZ #14838]
54168         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
54169         macro.
54171 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54173         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
54174         detection to immediately after _FP_ROUND().
54175         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
54176         bits are 0.
54178 2012-11-11  David S. Miller  <davem@davemloft.net>
54180         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
54181         inttypes.h
54182         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
54183         __close rather than their public counterparts.
54185 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
54187         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
54188         file.
54189         [UNIX98] (sem_timedwait): Do not expect.
54190         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
54191         [XPG4 || UNIX98] (sockatmark): Do not expect.
54192         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
54193         (clock_getcpuclockid): Do not expect.
54194         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
54195         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
54196         Do not expect.
54197         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
54198         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
54199         [UNIX98] (vwscanf): Likewise.
54200         [UNIX98] (vswscanf): Likewise.
54202 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
54204         * timezone/version.h: Remove file.
54205         * timezone/README: Do not refer to version.h.
54206         * timezone/Makefile ($(objpfx)zic.o): New dependency on
54207         $(objpfx)version.h.
54208         ($(objpfx)zdump.o): Likewise.
54209         ($(objpfx)version.h): New target.
54211         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
54212         2012i.
54213         * timezone/README: Don't mention modification to tzselect.ksh.
54214         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
54215         work on unmodified tzselect.ksh.  Substitute version numbers in
54216         tzselect.ksh.
54218         * Makefile (format-me): Remove.
54219         (INSTALL): Adjust indentation.  Use commands directly instead of
54220         using $(format-me).
54222         * aclocal.m4 (ACX_PKGVERSION): New macro.
54223         (ACX_BUGURL): Likewise.
54224         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
54225         (PKGVERSION): New AC_DEFINE_UNQUOTED.
54226         (REPORT_BUGS_TO): Likewise.
54227         * configure: Regenerated.
54228         * config.h.in (PKGVERSION): New macro.
54229         (REPORT_BUGS_TO): Likewise.
54230         * config.make.in (PKGVERSION): New variable.
54231         (PKGVERSION_TEXI): Likewise.
54232         (REPORT_BUGS_TO): Likewise.
54233         (REPORT_BUGS_TEXI): Likewise.
54234         * Makefile (format-me): Use -I$(common-objpfx)manual.
54235         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
54236         ($(common-objpfx)manual/%): New target.
54237         (manual/%): Remove target.
54238         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
54239         (print_version): Use PKGVERSION.
54240         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
54241         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
54242         and REPORT_BUGS_TO.
54243         ($(objpfx)xtrace): Likewise.
54244         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
54245         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
54246         (print_version): Use PKGVERSION.
54247         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
54248         (do_version): Use PKGVERSION.
54249         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
54250         REPORT_BUGS_TO.
54251         (common-ldd-rewrite): Likewise.
54252         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
54253         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
54254         (print_version): Use PKGVERSION.
54255         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
54256         * elf/pldd.c (argp_program_bug_address): Remove variable.
54257         (more_help): New function.
54258         (argp): Use more_help.
54259         (print_version): Use PKGVERSION.
54260         * elf/sln.c (main): Use PKGVERSION.
54261         (usage): Use REPORT_BUGS_TO.
54262         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
54263         (top level): Use PKGVERSION.
54264         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
54265         (print_version): Use PKGVERSION.
54266         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
54267         (print_version): Use PKGVERSION.
54268         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
54269         (print_version): Use PKGVERSION.
54270         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
54271         (print_version): Use PKGVERSION.
54272         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
54273         (print_version): Use PKGVERSION.
54274         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
54275         (print_version): Use PKGVERSION.
54276         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
54277         and BUGURL.
54278         ($(objpfx)memusage): Likewise.
54279         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
54280         (do_version): Use PKGVERSION.
54281         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
54282         (print_version): Use PKGVERSION.
54283         * malloc/mtrace.pl ($PACKAGE): Remove variable.
54284         ($PKGVERSION): New variable.
54285         ($REPORT_BUGS_TO): Likewise.
54286         (usage): Use $REPORT_BUGS_TO.
54287         (top level): Use $PKGVERSION.
54288         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
54289         ($(objpfx)pkgvers.texi): New rule.
54290         ($(objpfx)stamp-pkgvers): Likewise.
54291         * manual/install.texi: Include pkgvers.texi.
54292         (--with-pkgversion): Document new configure option.
54293         (--with-bugurl): Likewise.
54294         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
54295         than necessarily for this particular distribution.  Use
54296         REPORT_BUGS_TO for where to report bugs.
54297         * INSTALL: Regenerated.
54298         * manual/libc.texinfo: Include pkgvers.texi.
54299         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
54300         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
54301         (print_version): Use PKGVERSION.
54302         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
54303         (print_version): Use PKGVERSION.
54304         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
54305         (print_version): Use PKGVERSION.
54306         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
54307         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
54308         macro.
54309         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
54310         (print_version): Use PKGVERSION.
54311         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
54312         (print_version): Use PKGVERSION.
54313         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
54314         and PKGVERSION.
54316         * timezone/checktab.awk: Update from tzcode 2012i.
54317         * timezone/ialloc.c: Likewise.
54318         * timezone/private.h: Likewise.
54319         * timezone/scheck.c: Likewise.
54320         * timezone/tzfile.h: Likewise.
54321         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
54322         (TZVERSION): Hardcode tzcode version number.
54323         * timezone/zdump.c: Update from tzcode 2012i.
54324         * timezone/zic.c: Likewise.
54325         * timezone/version.h: New file.
54326         * timezone/README: Describe version.h.  Update upstream location.
54328         [BZ #14824]
54329         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
54330         (mktemp): Enable declaration.
54331         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
54332         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
54333         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
54334         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
54335         Likewise.
54336         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
54337         Likewise.
54338         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
54339         Likewise.
54340         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
54341         Likewise.
54342         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
54343         Likewise.
54344         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
54345         Likewise.
54347         [BZ #14821]
54348         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
54349         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
54350         for copies of such integer values.
54351         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
54352         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
54354 2012-11-09  Andreas Jaeger  <aj@suse.de>
54356         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
54357         definitions and declarations that are provided by
54358         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
54360 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54362         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
54363         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
54364         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
54365         definition.
54367 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54369         * elf/elf.h: Update comment before AArch64 relocations.
54371 2012-11-07  David S. Miller  <davem@davemloft.net>
54373         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
54374         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
54375         (__start_context): Declare.
54376         (__makecontext_ret): Delete.
54377         (__makecontext): Hook up __start_context instead of
54378         __makecontext_ret.
54379         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
54380         (sysdep_routines): Add __start_context when in stdlib.
54382 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
54384         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
54385         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
54386         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
54387         hardcoded "nm".
54388         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
54389         (READELF): New variable.  Use it instead of hardcoded "readelf".
54391 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
54393         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
54394         * sysdeps/x86/Makefile: Here.
54395         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
54396         * sysdeps/x86/tst-xmmymm.sh: This.
54398 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
54400         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
54401         expectations.
54402         [UNIX98] (pthread_barrier_t): Do not expect.
54403         [UNIX98] (pthread_barrierattr_t): Likewise.
54404         [UNIX98] (pthread_spinlock_t): Likewise.
54405         [UNIX98] (pthread_barrier_destroy): Likewise.
54406         [UNIX98] (pthread_barrier_init): Likewise.
54407         [UNIX98] (pthread_barrier_wait): Likewise.
54408         [UNIX98] (pthread_barrierattr_destroy): Likewise.
54409         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
54410         [UNIX98] (pthread_barrierattr_init): Likewise.
54411         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
54412         [UNIX98] (pthread_getcpuclockid): Likewise.
54413         [UNIX98] (pthread_mutex_timedlock): Likewise.
54414         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
54415         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
54416         [UNIX98] (pthread_sigmask): Likewise.
54417         [UNIX98] (pthread_spin_destroy): Likewise.
54418         [UNIX98] (pthread_spin_init): Likewise.
54419         [UNIX98] (pthread_spin_lock): Likewise.
54420         [UNIX98] (pthread_spin_trylock): Likewise.
54421         [UNIX98] (pthread_spin_unlock): Likewise.
54422         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
54423         Do not expect.
54424         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
54425         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
54426         [XPG3 || XPG4] (pthread_cond_t): Likewise.
54427         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
54428         [XPG3 || XPG4] (pthread_key_t): Likewise.
54429         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
54430         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
54431         [XPG3 || XPG4] (pthread_once_t): Likewise.
54432         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
54433         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
54434         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
54435         [XPG3 || XPG4] (pthread_t): Likewise.
54437         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
54438         not expect.
54439         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
54441         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
54442         Change function return type to int.
54444         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
54445         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
54446         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
54447         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
54448         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
54449         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
54450         [!POSIX] (posix_madvise): Likewise.
54451         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
54452         && !UNIX98].
54453         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
54454         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
54455         (mode_t): Likewise.
54456         (posix_mem_offset): Likewise.
54457         (posix_typed_mem_get_info): Likewise.
54458         (posix_typed_mem_open): Likewise.
54460         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
54461         Change condition to [XOPEN2K8].
54463         * conform/conformtest.pl: Preprocess allow-header data with -x c
54464         instead of from stdin.
54465         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
54466         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
54467         [C99-based standards] (cerfc): Likewise.
54468         [C99-based standards] (cexp2): Likewise.
54469         [C99-based standards] (cexpm1): Likewise.
54470         [C99-based standards] (clog10): Likewise.
54471         [C99-based standards] (clog1p): Likewise.
54472         [C99-based standards] (clog2): Likewise.
54473         [C99-based standards] (clgamma): Likewise.
54474         [C99-based standards] (ctgamma): Likewise.
54475         [C99-based standards] (cerff): Likewise.
54476         [C99-based standards] (cerfcf): Likewise.
54477         [C99-based standards] (cexp2f): Likewise.
54478         [C99-based standards] (cexpm1f): Likewise.
54479         [C99-based standards] (clog10f): Likewise.
54480         [C99-based standards] (clog1pf): Likewise.
54481         [C99-based standards] (clog2f): Likewise.
54482         [C99-based standards] (clgammaf): Likewise.
54483         [C99-based standards] (ctgammaf): Likewise.
54484         [C99-based standards] (cerfl): Likewise.
54485         [C99-based standards] (cerfcl): Likewise.
54486         [C99-based standards] (cexp2l): Likewise.
54487         [C99-based standards] (cexpm1l): Likewise.
54488         [C99-based standards] (clog10l): Likewise.
54489         [C99-based standards] (clog1pl): Likewise.
54490         [C99-based standards] (clog2l): Likewise.
54491         [C99-based standards] (clgammal): Likewise.
54492         [C99-based standards] (ctgammal): Likewise.
54493         * conform/data/inttypes.h-data [C99-based standards]: Include
54494         stdint.h-data.  Remove all expectations for stdint.h contents.
54495         [C99-based standards] (PRI*): Do not allow.
54496         [C99-based standards] (SCN*): Likewise.
54497         [C99-based standards] (*_t): Likewise.
54498         [C99-based-standards] (PRId8): Expect macro.
54499         [C99-based-standards] (PRIi8): Likewise.
54500         [C99-based-standards] (PRIo8): Likewise.
54501         [C99-based-standards] (PRIu8): Likewise.
54502         [C99-based-standards] (PRIx8): Likewise.
54503         [C99-based-standards] (PRIX8): Likewise.
54504         [C99-based-standards] (SCNd8): Likewise.
54505         [C99-based-standards] (SCNi8): Likewise.
54506         [C99-based-standards] (SCNo8): Likewise.
54507         [C99-based-standards] (SCNu8): Likewise.
54508         [C99-based-standards] (SCNx8): Likewise.
54509         [C99-based-standards] (PRIdLEAST8): Likewise.
54510         [C99-based-standards] (PRIiLEAST8): Likewise.
54511         [C99-based-standards] (PRIoLEAST8): Likewise.
54512         [C99-based-standards] (PRIuLEAST8): Likewise.
54513         [C99-based-standards] (PRIxLEAST8): Likewise.
54514         [C99-based-standards] (PRIXLEAST8): Likewise.
54515         [C99-based-standards] (SCNdLEAST8): Likewise.
54516         [C99-based-standards] (SCNiLEAST8): Likewise.
54517         [C99-based-standards] (SCNoLEAST8): Likewise.
54518         [C99-based-standards] (SCNuLEAST8): Likewise.
54519         [C99-based-standards] (SCNxLEAST8): Likewise.
54520         [C99-based-standards] (PRIdFAST8): Likewise.
54521         [C99-based-standards] (PRIiFAST8): Likewise.
54522         [C99-based-standards] (PRIoFAST8): Likewise.
54523         [C99-based-standards] (PRIuFAST8): Likewise.
54524         [C99-based-standards] (PRIxFAST8): Likewise.
54525         [C99-based-standards] (PRIXFAST8): Likewise.
54526         [C99-based-standards] (SCNdFAST8): Likewise.
54527         [C99-based-standards] (SCNiFAST8): Likewise.
54528         [C99-based-standards] (SCNoFAST8): Likewise.
54529         [C99-based-standards] (SCNuFAST8): Likewise.
54530         [C99-based-standards] (SCNxFAST8): Likewise.
54531         [C99-based-standards] (PRId16): Likewise.
54532         [C99-based-standards] (PRIi16): Likewise.
54533         [C99-based-standards] (PRIo16): Likewise.
54534         [C99-based-standards] (PRIu16): Likewise.
54535         [C99-based-standards] (PRIx16): Likewise.
54536         [C99-based-standards] (PRIX16): Likewise.
54537         [C99-based-standards] (SCNd16): Likewise.
54538         [C99-based-standards] (SCNi16): Likewise.
54539         [C99-based-standards] (SCNo16): Likewise.
54540         [C99-based-standards] (SCNu16): Likewise.
54541         [C99-based-standards] (SCNx16): Likewise.
54542         [C99-based-standards] (PRIdLEAST16): Likewise.
54543         [C99-based-standards] (PRIiLEAST16): Likewise.
54544         [C99-based-standards] (PRIoLEAST16): Likewise.
54545         [C99-based-standards] (PRIuLEAST16): Likewise.
54546         [C99-based-standards] (PRIxLEAST16): Likewise.
54547         [C99-based-standards] (PRIXLEAST16): Likewise.
54548         [C99-based-standards] (SCNdLEAST16): Likewise.
54549         [C99-based-standards] (SCNiLEAST16): Likewise.
54550         [C99-based-standards] (SCNoLEAST16): Likewise.
54551         [C99-based-standards] (SCNuLEAST16): Likewise.
54552         [C99-based-standards] (SCNxLEAST16): Likewise.
54553         [C99-based-standards] (PRIdFAST16): Likewise.
54554         [C99-based-standards] (PRIiFAST16): Likewise.
54555         [C99-based-standards] (PRIoFAST16): Likewise.
54556         [C99-based-standards] (PRIuFAST16): Likewise.
54557         [C99-based-standards] (PRIxFAST16): Likewise.
54558         [C99-based-standards] (PRIXFAST16): Likewise.
54559         [C99-based-standards] (SCNdFAST16): Likewise.
54560         [C99-based-standards] (SCNiFAST16): Likewise.
54561         [C99-based-standards] (SCNoFAST16): Likewise.
54562         [C99-based-standards] (SCNuFAST16): Likewise.
54563         [C99-based-standards] (SCNxFAST16): Likewise.
54564         [C99-based-standards] (PRId32): Likewise.
54565         [C99-based-standards] (PRIi32): Likewise.
54566         [C99-based-standards] (PRIo32): Likewise.
54567         [C99-based-standards] (PRIu32): Likewise.
54568         [C99-based-standards] (PRIx32): Likewise.
54569         [C99-based-standards] (PRIX32): Likewise.
54570         [C99-based-standards] (SCNd32): Likewise.
54571         [C99-based-standards] (SCNi32): Likewise.
54572         [C99-based-standards] (SCNo32): Likewise.
54573         [C99-based-standards] (SCNu32): Likewise.
54574         [C99-based-standards] (SCNx32): Likewise.
54575         [C99-based-standards] (PRIdLEAST32): Likewise.
54576         [C99-based-standards] (PRIiLEAST32): Likewise.
54577         [C99-based-standards] (PRIoLEAST32): Likewise.
54578         [C99-based-standards] (PRIuLEAST32): Likewise.
54579         [C99-based-standards] (PRIxLEAST32): Likewise.
54580         [C99-based-standards] (PRIXLEAST32): Likewise.
54581         [C99-based-standards] (SCNdLEAST32): Likewise.
54582         [C99-based-standards] (SCNiLEAST32): Likewise.
54583         [C99-based-standards] (SCNoLEAST32): Likewise.
54584         [C99-based-standards] (SCNuLEAST32): Likewise.
54585         [C99-based-standards] (SCNxLEAST32): Likewise.
54586         [C99-based-standards] (PRIdFAST32): Likewise.
54587         [C99-based-standards] (PRIiFAST32): Likewise.
54588         [C99-based-standards] (PRIoFAST32): Likewise.
54589         [C99-based-standards] (PRIuFAST32): Likewise.
54590         [C99-based-standards] (PRIxFAST32): Likewise.
54591         [C99-based-standards] (PRIXFAST32): Likewise.
54592         [C99-based-standards] (SCNdFAST32): Likewise.
54593         [C99-based-standards] (SCNiFAST32): Likewise.
54594         [C99-based-standards] (SCNoFAST32): Likewise.
54595         [C99-based-standards] (SCNuFAST32): Likewise.
54596         [C99-based-standards] (SCNxFAST32): Likewise.
54597         [C99-based-standards] (PRId64): Likewise.
54598         [C99-based-standards] (PRIi64): Likewise.
54599         [C99-based-standards] (PRIo64): Likewise.
54600         [C99-based-standards] (PRIu64): Likewise.
54601         [C99-based-standards] (PRIx64): Likewise.
54602         [C99-based-standards] (PRIX64): Likewise.
54603         [C99-based-standards] (SCNd64): Likewise.
54604         [C99-based-standards] (SCNi64): Likewise.
54605         [C99-based-standards] (SCNo64): Likewise.
54606         [C99-based-standards] (SCNu64): Likewise.
54607         [C99-based-standards] (SCNx64): Likewise.
54608         [C99-based-standards] (PRIdLEAST64): Likewise.
54609         [C99-based-standards] (PRIiLEAST64): Likewise.
54610         [C99-based-standards] (PRIoLEAST64): Likewise.
54611         [C99-based-standards] (PRIuLEAST64): Likewise.
54612         [C99-based-standards] (PRIxLEAST64): Likewise.
54613         [C99-based-standards] (PRIXLEAST64): Likewise.
54614         [C99-based-standards] (SCNdLEAST64): Likewise.
54615         [C99-based-standards] (SCNiLEAST64): Likewise.
54616         [C99-based-standards] (SCNoLEAST64): Likewise.
54617         [C99-based-standards] (SCNuLEAST64): Likewise.
54618         [C99-based-standards] (SCNxLEAST64): Likewise.
54619         [C99-based-standards] (PRIdFAST64): Likewise.
54620         [C99-based-standards] (PRIiFAST64): Likewise.
54621         [C99-based-standards] (PRIoFAST64): Likewise.
54622         [C99-based-standards] (PRIuFAST64): Likewise.
54623         [C99-based-standards] (PRIxFAST64): Likewise.
54624         [C99-based-standards] (PRIXFAST64): Likewise.
54625         [C99-based-standards] (SCNdFAST64): Likewise.
54626         [C99-based-standards] (SCNiFAST64): Likewise.
54627         [C99-based-standards] (SCNoFAST64): Likewise.
54628         [C99-based-standards] (SCNuFAST64): Likewise.
54629         [C99-based-standards] (SCNxFAST64): Likewise.
54630         [C99-based-standards] (PRIdMAX): Likewise.
54631         [C99-based-standards] (PRIiMAX): Likewise.
54632         [C99-based-standards] (PRIoMAX): Likewise.
54633         [C99-based-standards] (PRIuMAX): Likewise.
54634         [C99-based-standards] (PRIxMAX): Likewise.
54635         [C99-based-standards] (PRIXMAX): Likewise.
54636         [C99-based-standards] (SCNdMAX): Likewise.
54637         [C99-based-standards] (SCNiMAX): Likewise.
54638         [C99-based-standards] (SCNoMAX): Likewise.
54639         [C99-based-standards] (SCNuMAX): Likewise.
54640         [C99-based-standards] (SCNxMAX): Likewise.
54641         [C99-based-standards] (PRIdPTR): Likewise.
54642         [C99-based-standards] (PRIiPTR): Likewise.
54643         [C99-based-standards] (PRIoPTR): Likewise.
54644         [C99-based-standards] (PRIuPTR): Likewise.
54645         [C99-based-standards] (PRIxPTR): Likewise.
54646         [C99-based-standards] (PRIXPTR): Likewise.
54647         [C99-based-standards] (SCNdPTR): Likewise.
54648         [C99-based-standards] (SCNiPTR): Likewise.
54649         [C99-based-standards] (SCNoPTR): Likewise.
54650         [C99-based-standards] (SCNuPTR): Likewise.
54651         [C99-based-standards] (SCNxPTR): Likewise.
54652         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
54653         allow.
54654         * conform/data/stdint.h-data: Update comments to clarify
54655         requirements.
54656         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
54657         type.
54658         [C99-based standards] (INT8_MAX): Likewise.
54659         [C99-based standards] (INT16_MIN): Likewise.
54660         [C99-based standards] (INT16_MAX): Likewise.
54661         [C99-based standards] (INT32_MIN): Likewise.
54662         [C99-based standards] (INT32_MAX): Likewise.
54663         [C99-based standards] (INT64_MIN): Likewise.
54664         [C99-based standards] (INT64_MAX): Likewise.
54665         [C99-based standards] (UINT8_MAX): Likewise.
54666         [C99-based standards] (UINT16_MAX): Likewise.
54667         [C99-based standards] (UINT32_MAX): Likewise.
54668         [C99-based standards] (UINT64_MAX): Likewise.
54669         [C99-based standards] (INT_LEAST8_MIN): Likewise.
54670         [C99-based standards] (INT_LEAST8_MAX): Likewise.
54671         [C99-based standards] (INT_LEAST16_MIN): Likewise.
54672         [C99-based standards] (INT_LEAST16_MAX): Likewise.
54673         [C99-based standards] (INT_LEAST32_MIN): Likewise.
54674         [C99-based standards] (INT_LEAST32_MAX): Likewise.
54675         [C99-based standards] (INT_LEAST64_MIN): Likewise.
54676         [C99-based standards] (INT_LEAST64_MAX): Likewise.
54677         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
54678         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
54679         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
54680         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
54681         [C99-based standards] (INT_FAST8_MIN): Likewise.
54682         [C99-based standards] (INT_FAST8_MAX): Likewise.
54683         [C99-based standards] (INT_FAST16_MIN): Likewise.
54684         [C99-based standards] (INT_FAST16_MAX): Likewise.
54685         [C99-based standards] (INT_FAST32_MIN): Likewise.
54686         [C99-based standards] (INT_FAST32_MAX): Likewise.
54687         [C99-based standards] (INT_FAST64_MIN): Likewise.
54688         [C99-based standards] (INT_FAST64_MAX): Likewise.
54689         [C99-based standards] (UINT_FAST8_MAX): Likewise.
54690         [C99-based standards] (UINT_FAST16_MAX): Likewise.
54691         [C99-based standards] (UINT_FAST32_MAX): Likewise.
54692         [C99-based standards] (UINT_FAST64_MAX): Likewise.
54693         [C99-based standards] (INTPTR_MIN): Likewise.
54694         [C99-based standards] (INTPTR_MAX): Likewise.
54695         [C99-based standards] (UINTPTR_MAX): Likewise.
54696         [C99-based standards] (INTMAX_MIN): Likewise.
54697         [C99-based standards] (INTMAX_MAX): Likewise.
54698         [C99-based standards] (UINTMAX_MAX): Likewise.
54699         [C99-based standards] (PTRDIFF_MIN): Likewise.
54700         [C99-based standards] (PTRDIFF_MAX): Likewise.
54701         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
54702         [C99-based standards] (SIZE_MAX): Likewise.
54703         [C99-based standards] (WCHAR_MAX): Likewise.
54704         [C99-based standards] (WINT_MAX): Likewise.
54705         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
54706         constraint on value.
54707         [C99-based standards] (WCHAR_MIN): Likewise.
54708         [C99-based standards] (WINT_MIN): Likewise.
54709         [C99-based standards] (*_t): Allow.
54710         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
54711         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
54712         Include math.h-data and complex.h-data.  Remove all expectations
54713         of math.h and complex.h contents.
54714         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
54715         at end of line.
54716         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
54717         (struct tm): Expect tag.
54718         [C99-based-standards] (wcstof): Expect function.
54719         [C99-based-standards] (wcstold): Likewise.
54720         [C99-based-standards] (wcstoll): Likewise.
54721         [C99-based-standards] (wcstoull): Likewise.
54722         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
54723         macro-int-constant.  Specify type.
54724         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
54725         constraint on value.
54726         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
54727         Specify type.
54728         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
54729         Specify value.
54730         [ISO C standards]: Do not allow headers.
54731         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
54732         wcs[abcdefghijklmnopqrstuvwxyz]*.
54733         [ISO C standards] (*_t): Do not allow.
54734         * conform/data/wctype.h-data [C99-based standards] (iswblank):
54735         Expect function.
54736         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
54737         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
54738         Specify type.
54739         [ISO C standards]: Do not allow headers.
54740         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
54741         is[abcdefghijklmnopqrstuvwxyz]*.
54742         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
54743         to[abcdefghijklmnopqrstuvwxyz]*.
54744         [ISO C standards] (*_t): Do not allow.
54745         * conform/data/stdalign.h-data: New file.
54746         * conform/data/stdbool.h-data: Likewise.
54747         * conform/data/stdnoreturn.h-data: Likewise.
54749 2012-11-07  Roland McGrath  <roland@hack.frob.com>
54751         [BZ #14815]
54752         * manual/filesys.texi (Directory Entries): Typo fix.
54753         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
54755 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54757         * elf/elf.h (EM_AARCH64): New macro.
54758         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
54759         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
54760         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
54761         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
54762         (R_AARCH64_TLSDESC): Likewise.
54763         (NT_ARM_TLS): Likewise.
54764         (NT_ARM_HW_BREAK): Likewise.
54765         (NT_ARM_HW_WATCH): Likewise.
54767 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
54769         [BZ #14811]
54770         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
54771         (__ieee754_powl): Saturate nonzero exponents with absolute value
54772         below 0x1p-79 to +/- 0x1p-79.
54773         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
54774         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
54775         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
54776         nonzero exponents with absolute value below 0x1p-32 to +/-
54777         0x1p-32.
54778         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
54779         (__ieee754_powl): Saturate nonzero exponents with absolute value
54780         below 0x1p-79 to +/- 0x1p-79.
54781         * math/libm-test.inc (pow_test): Add more tests.
54783 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54785         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
54786         _dl_s390_cap_flags with kernel. Increase string length.
54787         (_dl_s390_platforms): Add z196 and zEC12.
54789 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
54791         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
54792         Change XOPEN21K to XOPEN2K.
54794 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
54796         * string/memmove.c: Use memcpy when possible.
54798 2012-11-06  Andreas Jaeger  <aj@suse.de>
54800         * po/eo.po: Update from translation team.
54802 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
54804         [BZ #14793]
54805         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
54806         exponent and small x and y exponents, scale x or y up.  Increase
54807         by 2 the exponent used in scaling up.
54808         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54809         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54810         * math/libm-test.inc (fma_test): Add more tests.
54811         (fma_test_towardzero): Likewise.
54812         (fma_test_downward): Likewise.
54813         (fma_test_upward): Likewise.
54815 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
54817         [BZ #14805]
54818         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
54819         fenv_t *.
54821         [BZ #14801]
54822         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
54823         namespace for names of struct fields.
54824         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
54825         fenv_t fields.
54826         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
54827         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
54829 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54831         [BZ #3665]
54832         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
54834 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
54836         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
54837         PTR_DEMANGLE.
54839         [BZ #5246]
54840         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
54841         PTR_DEMANGLE.
54843 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
54845         [BZ #14797]
54846         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
54847         definitely overflow as x * y not x * y + z.
54848         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54849         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54850         * math/libm-test.inc (fma_test): Add more tests.
54851         (fma_test_towardzero): Likewise.
54852         (fma_test_downward): Likewise.
54853         (fma_test_upward): Likewise.
54855 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
54857         [BZ #157]
54859         * include/stub-tag.h: Remove file.
54860         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
54861         '#include' of it.
54862         * manual/maint.texi (Porting): Don't reference it.
54863         * Makerules ($(objpfx)stubs): Likewise.
54864         * dirent/closedir.c: Don't include <stub-tag.h>.
54865         * dirent/dirfd.c: Likewise.
54866         * dirent/fdopendir.c: Likewise.
54867         * dirent/getdents.c: Likewise.
54868         * dirent/getdents64.c: Likewise.
54869         * dirent/opendir.c: Likewise.
54870         * dirent/readdir.c: Likewise.
54871         * dirent/readdir64.c: Likewise.
54872         * dirent/readdir64_r.c: Likewise.
54873         * dirent/readdir_r.c: Likewise.
54874         * dirent/rewinddir.c: Likewise.
54875         * dirent/seekdir.c: Likewise.
54876         * dirent/telldir.c: Likewise.
54877         * gmon/profil.c: Likewise.
54878         * grp/setgroups.c: Likewise.
54879         * inet/if_index.c: Likewise.
54880         * io/access.c: Likewise.
54881         * io/chdir.c: Likewise.
54882         * io/chmod.c: Likewise.
54883         * io/chown.c: Likewise.
54884         * io/close.c: Likewise.
54885         * io/dup.c: Likewise.
54886         * io/dup2.c: Likewise.
54887         * io/dup3.c: Likewise.
54888         * io/euidaccess.c: Likewise.
54889         * io/faccessat.c: Likewise.
54890         * io/fchdir.c: Likewise.
54891         * io/fchmod.c: Likewise.
54892         * io/fchmodat.c: Likewise.
54893         * io/fchown.c: Likewise.
54894         * io/fchownat.c: Likewise.
54895         * io/fcntl.c: Likewise.
54896         * io/flock.c: Likewise.
54897         * io/fstatfs.c: Likewise.
54898         * io/fstatfs64.c: Likewise.
54899         * io/fstatvfs.c: Likewise.
54900         * io/fstatvfs64.c: Likewise.
54901         * io/futimens.c: Likewise.
54902         * io/fxstat.c: Likewise.
54903         * io/fxstat64.c: Likewise.
54904         * io/fxstatat.c: Likewise.
54905         * io/fxstatat64.c: Likewise.
54906         * io/getcwd.c: Likewise.
54907         * io/isatty.c: Likewise.
54908         * io/lchmod.c: Likewise.
54909         * io/lchown.c: Likewise.
54910         * io/link.c: Likewise.
54911         * io/linkat.c: Likewise.
54912         * io/lseek.c: Likewise.
54913         * io/lseek64.c: Likewise.
54914         * io/lxstat64.c: Likewise.
54915         * io/mkdir.c: Likewise.
54916         * io/mkdirat.c: Likewise.
54917         * io/mkfifo.c: Likewise.
54918         * io/mkfifoat.c: Likewise.
54919         * io/open.c: Likewise.
54920         * io/open64.c: Likewise.
54921         * io/openat.c: Likewise.
54922         * io/openat64.c: Likewise.
54923         * io/pipe.c: Likewise.
54924         * io/pipe2.c: Likewise.
54925         * io/poll.c: Likewise.
54926         * io/posix_fadvise.c: Likewise.
54927         * io/posix_fadvise64.c: Likewise.
54928         * io/posix_fallocate.c: Likewise.
54929         * io/posix_fallocate64.c: Likewise.
54930         * io/read.c: Likewise.
54931         * io/readlink.c: Likewise.
54932         * io/readlinkat.c: Likewise.
54933         * io/rmdir.c: Likewise.
54934         * io/sendfile.c: Likewise.
54935         * io/sendfile64.c: Likewise.
54936         * io/statfs.c: Likewise.
54937         * io/statfs64.c: Likewise.
54938         * io/statvfs.c: Likewise.
54939         * io/statvfs64.c: Likewise.
54940         * io/symlink.c: Likewise.
54941         * io/symlinkat.c: Likewise.
54942         * io/ttyname.c: Likewise.
54943         * io/ttyname_r.c: Likewise.
54944         * io/umask.c: Likewise.
54945         * io/unlink.c: Likewise.
54946         * io/unlinkat.c: Likewise.
54947         * io/utime.c: Likewise.
54948         * io/utimensat.c: Likewise.
54949         * io/write.c: Likewise.
54950         * io/xmknod.c: Likewise.
54951         * io/xmknodat.c: Likewise.
54952         * io/xstat.c: Likewise.
54953         * io/xstat64.c: Likewise.
54954         * login/getpt.c: Likewise.
54955         * login/grantpt.c: Likewise.
54956         * login/unlockpt.c: Likewise.
54957         * math/e_acoshl.c: Likewise.
54958         * math/e_acosl.c: Likewise.
54959         * math/e_asinl.c: Likewise.
54960         * math/e_atan2l.c: Likewise.
54961         * math/e_atanhl.c: Likewise.
54962         * math/e_coshl.c: Likewise.
54963         * math/e_expl.c: Likewise.
54964         * math/e_fmodl.c: Likewise.
54965         * math/e_gammal_r.c: Likewise.
54966         * math/e_hypotl.c: Likewise.
54967         * math/e_j0l.c: Likewise.
54968         * math/e_j1l.c: Likewise.
54969         * math/e_jnl.c: Likewise.
54970         * math/e_lgammal_r.c: Likewise.
54971         * math/e_log10l.c: Likewise.
54972         * math/e_log2l.c: Likewise.
54973         * math/e_logl.c: Likewise.
54974         * math/e_powl.c: Likewise.
54975         * math/e_rem_pio2l.c: Likewise.
54976         * math/e_sinhl.c: Likewise.
54977         * math/e_sqrtl.c: Likewise.
54978         * math/fclrexcpt.c: Likewise.
54979         * math/fedisblxcpt.c: Likewise.
54980         * math/feenablxcpt.c: Likewise.
54981         * math/fegetenv.c: Likewise.
54982         * math/fegetexcept.c: Likewise.
54983         * math/fegetround.c: Likewise.
54984         * math/feholdexcpt.c: Likewise.
54985         * math/fesetenv.c: Likewise.
54986         * math/fesetround.c: Likewise.
54987         * math/feupdateenv.c: Likewise.
54988         * math/fgetexcptflg.c: Likewise.
54989         * math/fraiseexcpt.c: Likewise.
54990         * math/fsetexcptflg.c: Likewise.
54991         * math/ftestexcept.c: Likewise.
54992         * math/k_cosl.c: Likewise.
54993         * math/k_rem_pio2l.c: Likewise.
54994         * math/k_sinl.c: Likewise.
54995         * math/k_tanl.c: Likewise.
54996         * math/s_asinhl.c: Likewise.
54997         * math/s_atanl.c: Likewise.
54998         * math/s_cbrtl.c: Likewise.
54999         * math/s_erfl.c: Likewise.
55000         * math/s_expm1l.c: Likewise.
55001         * math/s_log1pl.c: Likewise.
55002         * math/s_tanhl.c: Likewise.
55003         * misc/acct.c: Likewise.
55004         * misc/brk.c: Likewise.
55005         * misc/chflags.c: Likewise.
55006         * misc/chroot.c: Likewise.
55007         * misc/fchflags.c: Likewise.
55008         * misc/fgetxattr.c: Likewise.
55009         * misc/flistxattr.c: Likewise.
55010         * misc/fremovexattr.c: Likewise.
55011         * misc/fsetxattr.c: Likewise.
55012         * misc/fsync.c: Likewise.
55013         * misc/ftruncate.c: Likewise.
55014         * misc/futimes.c: Likewise.
55015         * misc/futimesat.c: Likewise.
55016         * misc/getdomain.c: Likewise.
55017         * misc/getdtsz.c: Likewise.
55018         * misc/gethostid.c: Likewise.
55019         * misc/gethostname.c: Likewise.
55020         * misc/getloadavg.c: Likewise.
55021         * misc/getpagesize.c: Likewise.
55022         * misc/getsysstats.c: Likewise.
55023         * misc/getxattr.c: Likewise.
55024         * misc/gtty.c: Likewise.
55025         * misc/ioctl.c: Likewise.
55026         * misc/lgetxattr.c: Likewise.
55027         * misc/listxattr.c: Likewise.
55028         * misc/llistxattr.c: Likewise.
55029         * misc/lremovexattr.c: Likewise.
55030         * misc/lsetxattr.c: Likewise.
55031         * misc/lutimes.c: Likewise.
55032         * misc/madvise.c: Likewise.
55033         * misc/mincore.c: Likewise.
55034         * misc/mlock.c: Likewise.
55035         * misc/mlockall.c: Likewise.
55036         * misc/mmap.c: Likewise.
55037         * misc/mprotect.c: Likewise.
55038         * misc/msync.c: Likewise.
55039         * misc/munlock.c: Likewise.
55040         * misc/munlockall.c: Likewise.
55041         * misc/munmap.c: Likewise.
55042         * misc/preadv.c: Likewise.
55043         * misc/preadv64.c: Likewise.
55044         * misc/ptrace.c: Likewise.
55045         * misc/pwritev.c: Likewise.
55046         * misc/pwritev64.c: Likewise.
55047         * misc/readv.c: Likewise.
55048         * misc/reboot.c: Likewise.
55049         * misc/remap_file_pages.c: Likewise.
55050         * misc/removexattr.c: Likewise.
55051         * misc/revoke.c: Likewise.
55052         * misc/select.c: Likewise.
55053         * misc/setdomain.c: Likewise.
55054         * misc/setegid.c: Likewise.
55055         * misc/seteuid.c: Likewise.
55056         * misc/sethostid.c: Likewise.
55057         * misc/sethostname.c: Likewise.
55058         * misc/setregid.c: Likewise.
55059         * misc/setreuid.c: Likewise.
55060         * misc/setxattr.c: Likewise.
55061         * misc/sstk.c: Likewise.
55062         * misc/stty.c: Likewise.
55063         * misc/swapoff.c: Likewise.
55064         * misc/swapon.c: Likewise.
55065         * misc/sync.c: Likewise.
55066         * misc/syncfs.c: Likewise.
55067         * misc/syscall.c: Likewise.
55068         * misc/truncate.c: Likewise.
55069         * misc/ualarm.c: Likewise.
55070         * misc/usleep.c: Likewise.
55071         * misc/ustat.c: Likewise.
55072         * misc/utimes.c: Likewise.
55073         * misc/vhangup.c: Likewise.
55074         * misc/writev.c: Likewise.
55075         * posix/_exit.c: Likewise.
55076         * posix/alarm.c: Likewise.
55077         * posix/execve.c: Likewise.
55078         * posix/fexecve.c: Likewise.
55079         * posix/fork.c: Likewise.
55080         * posix/fpathconf.c: Likewise.
55081         * posix/getaddrinfo.c: Likewise.
55082         * posix/getegid.c: Likewise.
55083         * posix/geteuid.c: Likewise.
55084         * posix/getgid.c: Likewise.
55085         * posix/getgroups.c: Likewise.
55086         * posix/getlogin.c: Likewise.
55087         * posix/getlogin_r.c: Likewise.
55088         * posix/getpgid.c: Likewise.
55089         * posix/getpid.c: Likewise.
55090         * posix/getppid.c: Likewise.
55091         * posix/getresgid.c: Likewise.
55092         * posix/getresuid.c: Likewise.
55093         * posix/getsid.c: Likewise.
55094         * posix/getuid.c: Likewise.
55095         * posix/glob64.c: Likewise.
55096         * posix/nanosleep.c: Likewise.
55097         * posix/pathconf.c: Likewise.
55098         * posix/pause.c: Likewise.
55099         * posix/posix_madvise.c: Likewise.
55100         * posix/pread.c: Likewise.
55101         * posix/pread64.c: Likewise.
55102         * posix/pwrite.c: Likewise.
55103         * posix/pwrite64.c: Likewise.
55104         * posix/sched_getaffinity.c: Likewise.
55105         * posix/sched_getp.c: Likewise.
55106         * posix/sched_gets.c: Likewise.
55107         * posix/sched_primax.c: Likewise.
55108         * posix/sched_primin.c: Likewise.
55109         * posix/sched_rr_gi.c: Likewise.
55110         * posix/sched_setaffinity.c: Likewise.
55111         * posix/sched_setp.c: Likewise.
55112         * posix/sched_sets.c: Likewise.
55113         * posix/sched_yield.c: Likewise.
55114         * posix/setgid.c: Likewise.
55115         * posix/setlogin.c: Likewise.
55116         * posix/setpgid.c: Likewise.
55117         * posix/setresgid.c: Likewise.
55118         * posix/setresuid.c: Likewise.
55119         * posix/setsid.c: Likewise.
55120         * posix/setuid.c: Likewise.
55121         * posix/sleep.c: Likewise.
55122         * posix/spawni.c: Likewise.
55123         * posix/sysconf.c: Likewise.
55124         * posix/times.c: Likewise.
55125         * posix/wait.c: Likewise.
55126         * posix/wait3.c: Likewise.
55127         * posix/wait4.c: Likewise.
55128         * posix/waitpid.c: Likewise.
55129         * resolv/gai_sigqueue.c: Likewise.
55130         * resource/getpriority.c: Likewise.
55131         * resource/getrlimit.c: Likewise.
55132         * resource/getrusage.c: Likewise.
55133         * resource/nice.c: Likewise.
55134         * resource/setpriority.c: Likewise.
55135         * resource/setrlimit.c: Likewise.
55136         * resource/ulimit.c: Likewise.
55137         * rt/aio_cancel.c: Likewise.
55138         * rt/aio_fsync.c: Likewise.
55139         * rt/aio_read.c: Likewise.
55140         * rt/aio_sigqueue.c: Likewise.
55141         * rt/aio_suspend.c: Likewise.
55142         * rt/aio_write.c: Likewise.
55143         * rt/clock_getres.c: Likewise.
55144         * rt/clock_gettime.c: Likewise.
55145         * rt/clock_nanosleep.c: Likewise.
55146         * rt/clock_settime.c: Likewise.
55147         * rt/lio_listio.c: Likewise.
55148         * rt/mq_close.c: Likewise.
55149         * rt/mq_getattr.c: Likewise.
55150         * rt/mq_notify.c: Likewise.
55151         * rt/mq_open.c: Likewise.
55152         * rt/mq_receive.c: Likewise.
55153         * rt/mq_send.c: Likewise.
55154         * rt/mq_setattr.c: Likewise.
55155         * rt/mq_timedreceive.c: Likewise.
55156         * rt/mq_timedsend.c: Likewise.
55157         * rt/mq_unlink.c: Likewise.
55158         * rt/shm_open.c: Likewise.
55159         * rt/shm_unlink.c: Likewise.
55160         * rt/timer_create.c: Likewise.
55161         * rt/timer_delete.c: Likewise.
55162         * rt/timer_getoverr.c: Likewise.
55163         * rt/timer_gettime.c: Likewise.
55164         * rt/timer_settime.c: Likewise.
55165         * setjmp/__longjmp.c: Likewise.
55166         * setjmp/setjmp.c: Likewise.
55167         * signal/kill.c: Likewise.
55168         * signal/killpg.c: Likewise.
55169         * signal/raise.c: Likewise.
55170         * signal/sigaction.c: Likewise.
55171         * signal/sigaltstack.c: Likewise.
55172         * signal/sigblock.c: Likewise.
55173         * signal/sigignore.c: Likewise.
55174         * signal/sigintr.c: Likewise.
55175         * signal/signal.c: Likewise.
55176         * signal/sigpause.c: Likewise.
55177         * signal/sigpending.c: Likewise.
55178         * signal/sigqueue.c: Likewise.
55179         * signal/sigreturn.c: Likewise.
55180         * signal/sigset.c: Likewise.
55181         * signal/sigsetmask.c: Likewise.
55182         * signal/sigstack.c: Likewise.
55183         * signal/sigsuspend.c: Likewise.
55184         * signal/sigtimedwait.c: Likewise.
55185         * signal/sigvec.c: Likewise.
55186         * signal/sigwait.c: Likewise.
55187         * signal/sigwaitinfo.c: Likewise.
55188         * signal/sysv_signal.c: Likewise.
55189         * socket/accept.c: Likewise.
55190         * socket/accept4.c: Likewise.
55191         * socket/bind.c: Likewise.
55192         * socket/connect.c: Likewise.
55193         * socket/getpeername.c: Likewise.
55194         * socket/getsockname.c: Likewise.
55195         * socket/getsockopt.c: Likewise.
55196         * socket/isfdtype.c: Likewise.
55197         * socket/listen.c: Likewise.
55198         * socket/recv.c: Likewise.
55199         * socket/recvfrom.c: Likewise.
55200         * socket/recvmsg.c: Likewise.
55201         * socket/send.c: Likewise.
55202         * socket/sendmsg.c: Likewise.
55203         * socket/sendto.c: Likewise.
55204         * socket/setsockopt.c: Likewise.
55205         * socket/shutdown.c: Likewise.
55206         * socket/sockatmark.c: Likewise.
55207         * socket/socket.c: Likewise.
55208         * socket/socketpair.c: Likewise.
55209         * stdio-common/ctermid.c: Likewise.
55210         * stdio-common/cuserid.c: Likewise.
55211         * stdio-common/remove.c: Likewise.
55212         * stdio-common/rename.c: Likewise.
55213         * stdio-common/renameat.c: Likewise.
55214         * stdio-common/tempname.c: Likewise.
55215         * stdlib/getcontext.c: Likewise.
55216         * stdlib/makecontext.c: Likewise.
55217         * stdlib/setcontext.c: Likewise.
55218         * stdlib/swapcontext.c: Likewise.
55219         * stdlib/system.c: Likewise.
55220         * streams/fattach.c: Likewise.
55221         * streams/fdetach.c: Likewise.
55222         * streams/getmsg.c: Likewise.
55223         * streams/getpmsg.c: Likewise.
55224         * streams/putmsg.c: Likewise.
55225         * streams/putpmsg.c: Likewise.
55226         * sysdeps/unix/bsd/getpt.c: Likewise.
55227         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
55228         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
55229         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
55230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
55231         Likewise.
55232         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
55233         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
55234         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
55235         * sysvipc/msgctl.c: Likewise.
55236         * sysvipc/msgget.c: Likewise.
55237         * sysvipc/msgrcv.c: Likewise.
55238         * sysvipc/msgsnd.c: Likewise.
55239         * sysvipc/semctl.c: Likewise.
55240         * sysvipc/semget.c: Likewise.
55241         * sysvipc/semop.c: Likewise.
55242         * sysvipc/semtimedop.c: Likewise.
55243         * sysvipc/shmat.c: Likewise.
55244         * sysvipc/shmctl.c: Likewise.
55245         * sysvipc/shmdt.c: Likewise.
55246         * sysvipc/shmget.c: Likewise.
55247         * termios/tcdrain.c: Likewise.
55248         * termios/tcflow.c: Likewise.
55249         * termios/tcflush.c: Likewise.
55250         * termios/tcgetattr.c: Likewise.
55251         * termios/tcgetpgrp.c: Likewise.
55252         * termios/tcsendbrk.c: Likewise.
55253         * termios/tcsetattr.c: Likewise.
55254         * termios/tcsetpgrp.c: Likewise.
55255         * time/adjtime.c: Likewise.
55256         * time/clock.c: Likewise.
55257         * time/getitimer.c: Likewise.
55258         * time/gettimeofday.c: Likewise.
55259         * time/setitimer.c: Likewise.
55260         * time/settimeofday.c: Likewise.
55261         * time/stime.c: Likewise.
55262         * time/time.c: Likewise.
55264 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
55266         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
55267         /usr/old/bin.
55269         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
55270         instead of spaces.
55271         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
55273 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
55275         [BZ #14796]
55276         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
55277         FE_TONEAREST before applying Dekker multiplication and Knuth
55278         addition.  Clear inexact exceptions and check for exact zero
55279         results afterwards.
55280         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55281         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
55282         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55283         * math/libm-test.inc (fma_test): Add more tests.
55284         (fma_test_towardzero): Likewise.
55285         (fma_test_downward): Likewise.
55286         (fma_test_upward): Likewise.
55287         * sysdeps/generic/math_private.h (default_libc_fesetround): New
55288         function.
55289         (libc_fesetround): New macro.
55290         (libc_fesetroundf): Likewise.
55291         (libc_fesetroundl): Likewise.
55292         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
55293         function.
55294         (libc_fesetround_387): Likewise.
55295         (libc_fesetroundf): New macro.
55296         (libc_fesetround): Likewise.
55297         (libc_fesetroundl): Likewise.
55298         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
55299         function.
55300         (libc_fesetroundf): New macro.
55301         (libc_fesetround): Likewise.
55302         (libc_fesetroundl): Likewise.
55303         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
55304         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
55305         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
55306         libm_hidden_ver.
55307         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
55308         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
55309         libm_hidden_def.
55310         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
55311         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
55312         libm_hidden_ver.
55313         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
55314         libm_hidden_def.
55316         [BZ #3439]
55317         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
55318         integer constant usable in #if and use that to give value to enum
55319         constant.
55320         (FE_DIVBYZERO): Likewise.
55321         (FE_UNDERFLOW): Likewise.
55322         (FE_OVERFLOW): Likewise.
55323         (FE_INVALID): Likewise.
55324         (FE_INVALID_SNAN): Likewise.
55325         (FE_INVALID_ISI): Likewise.
55326         (FE_INVALID_IDI): Likewise.
55327         (FE_INVALID_ZDZ): Likewise.
55328         (FE_INVALID_IMZ): Likewise.
55329         (FE_INVALID_COMPARE): Likewise.
55330         (FE_INVALID_SOFTWARE): Likewise.
55331         (FE_INVALID_SQRT): Likewise.
55332         (FE_INVALID_INTEGER_CONVERSION): Likewise.
55333         (FE_TONEAREST): Likewise.
55334         (FE_TOWARDZERO): Likewise.
55335         (FE_UPWARD): Likewise.
55336         (FE_DOWNWARD): Likewise.
55337         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
55338         (FE_DIVBYZERO): Likewise.
55339         (FE_OVERFLOW): Likewise.
55340         (FE_UNDERFLOW): Likewise.
55341         (FE_INEXACT): Likewise.
55342         (FE_TONEAREST): Likewise.
55343         (FE_DOWNWARD): Likewise.
55344         (FE_UPWARD): Likewise.
55345         (FE_TOWARDZERO): Likewise.
55346         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
55347         (FE_UNDERFLOW): Likewise.
55348         (FE_OVERFLOW): Likewise.
55349         (FE_DIVBYZERO): Likewise.
55350         (FE_INVALID): Likewise.
55351         (FE_TONEAREST): Likewise.
55352         (FE_TOWARDZERO): Likewise.
55353         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
55354         (FE_OVERFLOW): Likewise.
55355         (FE_UNDERFLOW): Likewise.
55356         (FE_DIVBYZERO): Likewise.
55357         (FE_INEXACT): Likewise.
55358         (FE_TONEAREST): Likewise.
55359         (FE_TOWARDZERO): Likewise.
55360         (FE_UPWARD): Likewise.
55361         (FE_DOWNWARD): Likewise.
55362         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
55363         (FE_DIVBYZERO): Likewise.
55364         (FE_OVERFLOW): Likewise.
55365         (FE_UNDERFLOW): Likewise.
55366         (FE_INEXACT): Likewise.
55367         (FE_TONEAREST): Likewise.
55368         (FE_DOWNWARD): Likewise.
55369         (FE_UPWARD): Likewise.
55370         (FE_TOWARDZERO): Likewise.
55372 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
55374         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
55376 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
55378         * scripts/cross-test-ssh.sh (command): Use newlines to separate
55379         commands.  Quote $PWD.
55380         (blacklist_exports): Don't use remove_newlines.  Replace "declare
55381         -x" by "export".
55382         (remove_newlines): Remove.
55384 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
55386         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
55387         * stdlib/stdlib.h (atof): Moved to ...
55388         * include/bits/stdlib-float.h: Here.  New file.
55389         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
55390         * stdlib/bits/stdlib-float.h: New file.
55391         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
55392         -mno-sse -mno-mmx.
55393         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
55394         <xmmintrin.h>.
55396 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
55398         * conform/conformtest.pl (@headers): Add fenv.h.
55399         * conform/data/fenv.h-data: New file.
55400         * include/fenv.h [_ISOMAC]: Disable all contents of file except
55401         include of <math/fenv.h>.
55403         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
55404         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
55405         && !UNIX98].  Enables tests for XOPEN2K8.
55406         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
55407         POSIX2008]: Likewise.
55409         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
55410         (struct rusage): Do not expect type or its members.
55412         [BZ #3439]
55413         * math/math.h (FP_NAN): Define macro to integer constant usable in
55414         #if and use that to give value to enum constant.
55415         (FP_INFINITE): Likewise.
55416         (FP_ZERO): Likewise.
55417         (FP_SUBNORMAL): Likewise.
55418         (FP_NORMAL): Likewise.
55420 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
55422         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
55423         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
55424         arguments.
55426 2012-11-02  Roland McGrath  <roland@hack.frob.com>
55428         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
55429         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
55430         autoconf-time if not.
55431         * configure.in: Remove AC_PREREQ.
55433 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55435         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
55436         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
55437         of the internal implementation.
55439 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
55441         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
55442         except include of <misc/sys/syslog.h>.
55444 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
55446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
55447         function returns with a NULL context exit with zero.
55449 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55451         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
55453 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
55455         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
55456         (run_program_cmd): This.
55457         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
55458         (tst_langinfo): New variable.  Use it.
55460 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
55462         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
55463         floating point opcodes.
55465 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
55467         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
55468         variable.
55470         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
55472         * sysdeps/mach/hurd/powerpc: Remove directory.
55473         * sysdeps/mach/powerpc: Likewise.
55475 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
55477         * scripts/check-local-headers.sh: Ignore c++ headers.
55479 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
55481         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
55482         __libc_cleanup_region_start argument.
55484 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
55486         [BZ #14784]
55487         [BZ #14785]
55488         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
55489         x * y using scaling, not as x * y + z.
55490         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55491         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55492         * math/libm-test.inc (fma_test): Add more tests.
55493         (fma_test_towardzero): Likewise.
55494         (fma_test_downward): Likewise.
55495         (fma_test_upward): Likewise.
55497 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
55499         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
55501 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
55503         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
55504         New variable.
55506 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
55508         * rt/tst-shm.c (worker): Correct checking for mmap failure.
55510 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
55512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55513         Fix sort order.
55514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55515         Likewise.
55517 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55520         Fix the order of the list for glibc 2.17.
55521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55522         Likewise.
55524 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
55526         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55528 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
55530         [BZ #14610]
55531         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
55532         for low part of x being zero before using __atanl (y).
55533         * math/libm-test.inc (atan2_test): Add another test.
55535         * manual/install.texi (Configuring and compiling): Document
55536         general use of test-wrapper and test-wrapper-env.
55537         * INSTALL: Regenerated.
55539         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
55540         (__fma): Do not extract and scale down low bits on after-rounding
55541         systems when result rounded to normal precision would have normal
55542         exponent.
55543         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
55544         (__fmal): Do not extract and scale down low bits on after-rounding
55545         systems when result rounded to normal precision would have normal
55546         exponent.
55547         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
55548         (__fmal): Do not extract and scale down low bits on after-rounding
55549         systems when result rounded to normal precision would have normal
55550         exponent.
55551         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
55552         macro.
55553         (fma_test): Add more tests.
55554         (fma_test_towardzero): Likewise.
55555         (fma_test_downward): Likewise.
55556         (fma_test_upward): Likewise.
55558 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
55560         * sysdeps/i386/tininess.h: Renamed to ...
55561         * sysdeps/x86/tininess.h: This.
55562         * sysdeps/x86_64/tininess.h: Removed.
55564 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
55566         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
55567         input.  Use $(build-program-cmd).
55568         ($(objpfx)tst-array1-static.out): Likewise.
55569         ($(objpfx)tst-array2.out): Likewise.
55570         ($(objpfx)tst-array3.out): Likewise.
55571         ($(objpfx)tst-array4.out): Likewise.
55572         ($(objpfx)tst-array5.out): Likewise.
55573         ($(objpfx)tst-array5-static.out): Likewise.
55575 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
55577         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
55578         if defined.
55580         * nss/nsswitch.h (nss_interface_function): Provide new
55581         macro for use with NSS functions.
55582         * grp/initgroups.c: Use new macro.
55583         * nss/getXXbyYY.c: Likewise.
55584         * nss/getXXbyYY_r.c: Likewise.
55585         * nss/getXXent.c: Likewise.
55586         * nss/getXXent_r.c: Likewise.
55587         * sysdeps/posix/getaddrinfo.c: Likewise.
55589 2012-10-30  Andreas Jaeger  <aj@suse.de>
55591         * po/ru.po: Update Russion translation from translation project.
55593 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
55595         [BZ #14152]
55596         [BZ #14783]
55597         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
55598         result and shift together with sticky bit instead of replicating
55599         round-to-nearest rounding.
55600         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55601         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55602         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
55603         missing underflow exceptions.
55604         (fma_test_towardzero): Add more tests.
55605         (fma_test_downward): Likewise.
55606         (fma_test_upward): Likewise.
55608         [BZ #14047]
55609         * sysdeps/generic/tininess.h: New file.
55610         * sysdeps/i386/tininess.h: Likewise.
55611         * sysdeps/sh/tininess.h: Likewise.
55612         * sysdeps/x86_64/tininess.h: Likewise.
55613         * stdlib/tst-strtod-underflow.c: Likewise.
55614         * stdlib/tst-tininess.c: Likewise.
55615         * stdlib/strtod_l.c: Include <tininess.h>.
55616         (round_and_return): Do not set errno for exact underflow cases.
55617         Force an underflow exception when setting errno for underflow.
55618         Determine underflow based on rounding to normal precision if
55619         TININESS_AFTER_ROUNDING.
55620         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
55621         ERANGE for exact underflow cases.
55622         * stdlib/Makefile (tests): Add tst-tininess and
55623         tst-strtod-underflow.
55624         ($(objpfx)tst-tininess): Use $(link-libm).
55625         ($(objpfx)tst-strtod-underflow): Likewise.
55627 2012-10-30  Andreas Jaeger  <aj@suse.de>
55629         [BZ#14767]
55630         * elf/Makefile (tests): Remove conditional for have-initfini-array
55631         since this is now always required and the variable does not exist
55632         anymore.
55633         (tests-static): Likewise.
55634         (modules-names): Likewise.
55636         * po/eo.po: Add Esperanto translation from translation project.
55638         * elf/tst-array1.c (fini_array): Make writeable so that it can be
55639         merged with constructor/destructor.
55640         (init_array): Likewise.
55641         * elf/tst-array2dep.c (fini_array): Likewise.
55642         (init_array): Likewise.
55644 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
55646         * manual/message.texi: Delete @cartouche tags.
55648 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
55650         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
55651         EOPNOTSUPP.
55652         * sysdeps/mach/hurd/fsync.c: Likewise.
55654         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
55655         [_POSIX_REALTIME_SIGNALS]: Change condition to
55656         [_POSIX_REALTIME_SIGNALS > 0].
55658 2012-10-27  Andreas Jaeger  <aj@suse.de>
55660         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
55661         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
55662         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
55663         [__WORDSIZE != 64]: Likewise.
55665 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
55667         *  iconvdata/tst-table.sh: Remove ${SHELL}.
55668         *  iconvdata/tst-tables.sh: Likewise.
55670 2012-10-25  David S. Miller  <davem@davemloft.net>
55672         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55673         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
55674         of strtoull.
55676         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
55677         ifunc-impl-list.c
55678         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55679         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
55680         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
55681         file.
55683 2012-10-25  Roland McGrath  <roland@hack.frob.com>
55685         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55686         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
55687         __getdirentries.
55689 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
55690             Jim Blandy  <jimb@codesourcery.com>
55692         * scripts/cross-test-ssh.sh: New file.
55693         * manual/install.texi (Configuring and compiling): Document use of
55694         cross-test-ssh.sh.
55695         * INSTALL: Regenerated.
55697 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
55699         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
55700         EOPNOTSUPP.
55702 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
55704         * Makeconfig (run-program-prefix): Fix comment.
55706 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
55707             Jim Blandy  <jimb@codesourcery.com>
55709         * Makeconfig (test-wrapper): New variable,
55710         (test-wrapper-env): Likewise.
55711         [$(cross-compiling) = yes && $(test-wrapper) != ""]
55712         (run-built-tests): Define to yes.
55713         (run-program-prefix): Use $(test-wrapper).
55714         (built-program-cmd): Likewise.
55715         * Rules (make-test-out): Use $(test-wrapper-env) and
55716         $(host-built-program-cmd).
55717         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
55718         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
55719         tst-pathopt.sh.
55720         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
55721         $(test-wrapper-env) to tst-rtld-load-self.sh.
55722         ($(objpfx)order2.out): Use $(test-wrapper).
55723         ($(objpfx)tst-initorder.out): Likewise.
55724         ($(objpfx)tst-initorder2.out): Likewise.
55725         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
55726         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
55727         (test_wrapper_env): New variable.  Use it to run ld.so.
55728         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
55729         Use it to run ld.so.
55730         (test_wrapper_env): Likewise.
55731         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
55732         $(test-wrapper) to run-iconv-test.sh.
55733         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
55734         (ICONV): Use $test_wrapper.
55735         * posix/Makefile ($(objpfx)globtest.out): Pass
55736         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
55737         globtest.sh, not $(run-program-prefix).
55738         * posix/globtest.sh (run_via_rtld_prefix): New variable.
55739         (test_wrapper): Likewise.
55740         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
55741         set together with run_via_rtld_prefix.
55742         (run_program_prefix): Define in terms of test_wrapper and
55743         run_via_rtld_prefix.
55745 2012-10-24  Roland McGrath  <roland@hack.frob.com>
55747         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
55748         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
55749         Targets removed.
55751         [BZ #14743]
55752         * include/time.h: Remove librt_hidden_proto (clock_gettime).
55753         Declare __clock_getres, __clock_gettime, __clock_settime,
55754         __clock_nanosleep, and __clock_getcpuclockid.
55755         * rt/clock_gettime.c: Define __clock_gettime as an alias.
55756         Remove librt_hidden_def (clock_gettime).
55757         * sysdeps/unix/clock_gettime.c: Likewise.
55758         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
55759         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
55760         * rt/clock_getres.c: Define __clock_getres as an alias.
55761         * sysdeps/posix/clock_getres.c: Likewise.
55762         * rt/clock_settime.c: Define __clock_settime as an alias.
55763         * sysdeps/unix/clock_settime.c: Likewise.
55764         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
55765         * sysdeps/unix/clock_nanosleep.c: Likewise.
55766         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
55767         * rt/clock-compat.c: New file.
55768         * rt/Makefile (librt-routines): Add clock-compat and move
55769         $(clock-routines) to ...
55770         (routines): ... here, new variable.
55771         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
55772         Don't add get_clockfreq here.
55773         * rt/Versions (libc: GLIBC_2.17): New version set.
55774         Add clock_* symbols here.
55775         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
55776         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
55777         (GLIBC_2.17): Add clock_* symbols.
55778         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
55779         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
55780         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
55781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55782         Likewise.
55783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55784         Likewise.
55785         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
55786         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
55787         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
55788         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
55789         * NEWS: Mention the move.
55791         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
55792         Use __open, __read, __close rather than their public counterparts.
55793         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55794         (__get_clockfreq_via_cpuinfo): Likewise.
55795         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
55796         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
55798         * config.h.in (HAVE_IFUNC): New #undef.
55799         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
55800         was successful.
55801         * configure: Regenerated.
55803 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
55805         * configure.in: Move READELF check to start of file.
55806         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
55807         libc_cv_asm_gnu_indirect_function in the process.
55808         * configure: Regenerated.
55810 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
55812         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
55813         send the output to /dev/null.
55814         (libc_cv_cc_with_libunwind): Likewise.
55815         (libc_cv_as_noexecstack): Likewise.
55816         * configure: Regenerate.
55818 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
55820         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
55822         * posix/globtest.sh (TMPDIR): Do not set.
55823         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
55824         (testout): Likewise.
55826 2012-10-24  Andreas Jaeger  <aj@suse.de>
55828         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
55829         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
55830         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
55831         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
55832         posix_fadvise64, posix_fallocate64.
55834         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
55835         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
55836         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
55837         Likewise.
55838         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
55839         Likewise.
55840         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
55842         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
55843         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
55844         <bits/fcntl-linux.h>.
55845         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
55847         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
55848         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
55849         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
55850         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
55851         [__WORDSIZE != 64]: Likewise.
55853 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
55855         * Makeconfig (run-built-tests): New variable.
55856         * Rules [$(cross-compiling) = yes]: Change condition to
55857         [$(run-built-tests) = no].
55858         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
55859         to [$(run-built-tests) = yes].
55860         * elf/Makefile [$(cross-compiling) = no]: Likewise.
55861         * grp/Makefile [$(cross-compiling) = no]: Likewise.
55862         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
55863         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
55864         * intl/Makefile [$(cross-compiling) = no]: Likewise.
55865         * io/Makefile [$(cross-compiling) = no]: Likewise.
55866         * libio/Makefile [$(cross-compiling) = no]: Likewise.
55867         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
55868         * misc/Makefile [$(cross-compiling) = no]: Likewise.
55869         * posix/Makefile [$(cross-compiling) = no]: Likewise.
55870         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
55871         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
55872         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
55873         * string/Makefile [$(cross-compiling) = no]: Likewise.
55875         * posix/Makefile ($(objpfx)globtest.out): Pass
55876         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
55877         $(rtld-installed-name).
55878         * posix/globtest.sh (elf_objpfx): Remove variable.
55879         (rtld_installed_name): Likewise.
55880         (library_path): Likewise.
55881         (run_program_prefix): New variable.  Use for running globtest
55882         binary.
55884 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
55885             Joseph Myers  <joseph@codesourcery.com>
55887         * Makeconfig (host-built-program-cmd): New variable.
55888         * elf/Makefile (tst-stackguard1-ARGS): Use
55889         $(host-built-program-cmd).
55890         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
55891         (tst-spawn-ARGS): Likewise.
55892         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
55894 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
55895             Jim Blandy  <jimb@codesourcery.com>
55897         * Makeconfig (run-via-rtld-prefix): New variable.
55898         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
55899         (built-program-cmd): Likewise.
55901 2012-10-22  Andreas Jaeger  <aj@suse.de>
55903         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
55904         __O_RSYNC if it exists, otherwise to O_SYNC.
55906 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
55907             Joseph Myers  <joseph@codesourcery.com>
55909         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
55910         /dev/null.
55911         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
55912         from /dev/null
55913         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
55914         /dev/null.
55916 2012-10-22  Andreas Jaeger  <aj@suse.de>
55918         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
55919         Define always.
55920         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
55922         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55923         bits/fcntl-linux.h.
55925         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
55926         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
55928         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
55929         to __O_LARGEFILE.
55930         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
55931         to __O_LARGEFILE.
55933 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
55934             Joseph Myers  <joseph@codesourcery.com>
55936         * config.make.in (NM): New variable.
55938 2012-10-21  Andreas Jaeger  <aj@suse.de>
55940         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
55941         definitions and declarations that are provided by
55942         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
55944 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
55946         [BZ #14683]
55947         * elf/Makefile (tests-static): Add tst-leaks1-static.
55948         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
55949         ($(objpfx)tst-leaks1-static): New rule.
55950         ($(objpfx)tst-leaks1-static-mem): Likewise.
55951         (tst-leaks1-static-ENV): New macro.
55952         * elf/dl-open.c (dl_open_worker): Check the main application
55953         only if SHARED is defined.
55954         * elf/tst-leaks1-static.c: New file.
55956 2012-10-20  Andreas Jaeger  <aj@suse.de>
55958         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
55959         generic values for Linux.
55960         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
55961         and declarations that are provided by <bits/fcntl-linux.h> and
55962         include <bits/fcntl-linux.h>.
55963         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55964         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55966 2012-10-20  Roland McGrath  <roland@hack.frob.com>
55968         * io/fcntl.h: Move include of <bits/types.h> to the top and
55969         include it unconditionally.
55971 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
55973         * wcsmbs/Makefile (tests-ifunc): New variable.
55974         (tests): Add $(tests-ifunc).
55975         * wcsmbs/test-wcschr-ifunc.c: New file.
55976         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
55977         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
55978         * wcsmbs/test-wcslen-ifunc.c: Likewise.
55979         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
55980         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
55982         * string/Makefile (tests-ifunc): New variable.
55983         (tests): Add $(tests-ifunc).
55984         * string/test-memccpy.c (TEST_NAME): New macro.
55985         * string/test-memchr.c (TEST_NAME): Likewise.
55986         * string/test-memcmp.c (TEST_NAME): Likewise.
55987         * string/test-memcpy.c (TEST_NAME): Likewise.
55988         * string/test-memmem.c (TEST_NAME): Likewise.
55989         * string/test-memmove.c (TEST_NAME): Likewise.
55990         * string/test-memset.c (TEST_NAME): Likewise.
55991         * string/test-rawmemchr.c (TEST_NAME): Likewise.
55992         * string/test-stpcpy.c (TEST_NAME): Likewise.
55993         * string/test-stpncpy.c (TEST_NAME): Likewise.
55994         * string/test-strcasecmp.c (TEST_NAME): Likewise.
55995         * string/test-strcasestr.c (TEST_NAME): Likewise.
55996         * string/test-strcat.c (TEST_NAME): Likewise.
55997         * string/test-strchr.c (TEST_NAME): Likewise.
55998         * string/test-strcmp.c(TEST_NAME): Likewise.
55999         * string/test-strcpy.c (TEST_NAME): Likewise.
56000         * string/test-strcspn.c (TEST_NAME): Likewise.
56001         * string/test-strlen.c (TEST_NAME): Likewise.
56002         * string/test-strncasecmp.c (TEST_NAME): Likewise.
56003         * string/test-strncmp.c (TEST_NAME): Likewise.
56004         * string/test-strncpy.c (TEST_NAME): Likewise.
56005         * string/test-strnlen.c (TEST_NAME): Likewise.
56006         * string/test-strpbrk.c (TEST_NAME): Likewise.
56007         * string/test-strrchr.c (TEST_NAME): Likewise.
56008         * string/test-strspn.c (TEST_NAME): Likewise.
56009         * string/test-strstr.c (TEST_NAME): Likewise.
56010         * string/test-bcopy-ifunc.c: New file.
56011         * string/test-bzero-ifunc.c: Likewise.
56012         * string/test-memccpy-ifunc.c: Likewise.
56013         * string/test-memchr-ifunc.c: Likewise.
56014         * string/test-memcmp-ifunc.c: Likewise.
56015         * string/test-memcpy-ifunc.c: Likewise.
56016         * string/test-memmem-ifunc.c: Likewise.
56017         * string/test-memmove-ifunc.c: Likewise.
56018         * string/test-mempcpy-ifunc.c: Likewise.
56019         * string/test-memset-ifunc.c: Likewise.
56020         * string/test-rawmemchr-ifunc.c: Likewise.
56021         * string/test-stpcpy-ifunc.c: Likewise.
56022         * string/test-stpncpy-ifunc.c: Likewise.
56023         * string/test-strcasecmp-ifunc.c: Likewise.
56024         * string/test-strcasestr-ifunc.c: Likewise.
56025         * string/test-strcat-ifunc.c: Likewise.
56026         * string/test-strchr-ifunc.c: Likewise.
56027         * string/test-strchrnul-ifunc.c: Likewise.
56028         * string/test-strcmp-ifunc.c: Likewise.
56029         * string/test-strcpy-ifunc.c: Likewise.
56030         * string/test-strcspn-ifunc.c: Likewise.
56031         * string/test-strlen-ifunc.c: Likewise.
56032         * string/test-strncasecmp-ifunc.c: Likewise.
56033         * string/test-strncat-ifunc.c: Likewise.
56034         * string/test-strncmp-ifunc.c: Likewise.
56035         * string/test-strncpy-ifunc.c: Likewise.
56036         * string/test-strnlen-ifunc.c: Likewise.
56037         * string/test-strpbrk-ifunc.c: Likewise.
56038         * string/test-strrchr-ifunc.c: Likewise.
56039         * string/test-strspn-ifunc.c: Likewise.
56040         * string/test-strstr-ifunc.c: Likewise.
56042         * debug/Makefile (tests-ifunc): New variable.
56043         (tests): Add $(tests-ifunc).
56044         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
56045         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
56046         * debug/test-stpcpy_chk-ifunc.c: New file.
56047         * debug/test-strcpy_chk-ifunc.c: Likewise.
56049 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
56051         [BZ #13601]
56052         * elf/dl-load.c (open_verify): Retry read if the entire ELF
56053         header is not read in.
56055 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
56057         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
56058         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
56059         directly.  Pass built executable to script as
56060         $(built-program-cmd).
56061         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
56062         $testprogram without using LD_LIBRARY_PATH and $ldso.
56064         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
56065         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
56066         $(rtld-installed-name).
56067         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
56068         (rtld_installed_name): Likewise.
56069         (library_path): Likewise.
56070         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
56071         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
56072         $(run-program-prefix) to tst-tables.sh.
56073         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
56074         it to run tst-table-from and tst-table-to.
56075         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
56076         Pass it to tst-table.sh.
56077         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
56078         $(run-program-prefix) to tst-gettext.sh.
56079         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
56080         tst-translit.sh.
56081         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
56082         tst-gettext2.sh.
56083         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
56084         to run tst-gettext.
56085         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
56086         to run tst-gettext2.
56087         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
56088         to run tst-translit.
56089         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
56090         $(run-program-prefix) to tst-mtrace.sh.
56091         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
56092         to run tst-mtrace.
56093         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
56094         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
56095         $(rtld-installed-name).
56096         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
56097         (rtld_installed_name): Likewise.
56098         (run_program_prefix): New variable.  Use it to run wordexp-test.
56100         * Makeconfig (ARCH): Remove all definitions.
56101         (machine): Likewise.
56102         [ARCH]: Remove conditional code.
56103         [!objdir]: Give error.
56104         [!objdir] (objpfx): Remove.
56105         [!objdir] (common-objpfx): Likewise.
56106         [!objdir] (common-objdir): Likewise.
56107         * configure.in (config_makefile): Remove.  Hardcode Makefile in
56108         AC_CONFIG_FILES call.
56109         * configure: Regenerated.
56111         [BZ #13888]
56112         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
56113         or TMPDIR.
56114         (testout): Likewise.
56116         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
56117         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
56118         $(rtld-installed-name).
56119         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
56120         (rtld_installed_name): Likwise.
56121         (runit): Remove function.
56122         (run_getconf): New variable,  Use it for running getconf binary.
56124 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
56126         [BZ #14716]
56127         * string/test-memmem.c (check_result): New function.
56128         (do_one_test): Use it.
56129         (check1): New function.
56130         (test_main): Use it.
56132 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
56134         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
56136 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
56138         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
56139         (_G_LSEEK64): Likewise.
56140         (_G_MMAP64): Likewise.
56141         (_G_FSTAT64): Likewise.
56142         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
56143         (_G_LSEEK64): Likewise.
56144         (_G_MMAP64): Likewise.
56145         (_G_FSTAT64): Likewise.
56146         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
56147         unconditional.  Call __mmap64 directly.
56148         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
56149         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
56150         __lseek64 directly.
56151         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
56152         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
56153         __mmap64 directly.
56154         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
56155         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
56156         __lseek64 directly.
56157         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
56158         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
56159         __lseek64 directly.
56160         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
56161         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
56162         __lseek64 directly.
56163         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
56164         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
56165         __fxstat64 directly.
56166         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
56167         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
56168         unconditional.
56169         (freopen64) [!_G_OPEN64]: Remove conditional code.
56170         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
56171         unconditional.
56172         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
56173         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
56174         unconditional.
56175         (ftello64) [!_G_LSEEK64]: Remove conditional code.
56176         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
56177         unconditional.
56178         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
56179         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
56180         unconditional.
56181         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
56182         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
56183         unconditional.
56184         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
56185         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
56186         unconditional.
56187         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
56188         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
56189         unconditional.
56190         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
56192 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56194         [BZ #12140]
56195         * manual/memory.texi (Malloc Tunable Parameters): Add note
56196         about free list pointers overwriting some perturb bytes.
56197         Wording suggested by Roland McGrath.
56199 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
56201         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
56202         (lgamma_test): Likewise.
56203         (tgamma_test): Likewise.
56205 2012-10-16  Florian Weimer  <fweimer@redhat.com>
56207         [BZ #14700]
56208         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
56209         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
56211 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
56213         * NEWS: Mention BZ #14716.
56214         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
56215         when removing AVAILABLE1_USES_J macro.
56217 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
56219         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
56220         (__bswap_64): __uint64_t for unsigned 64-bit int.
56222 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
56224         * include/string.h (memmem): Declare libc hidden alias.
56225         * string/memmem.c (memmem): Define libc hidden alias.
56226         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
56227         __read, __close instead of open, read, close.
56229 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
56231         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
56232         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
56233         global and hidden.
56234         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
56235         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
56236         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
56237         Likewise.
56238         (__rawmemchr_sse2): Likewise.
56239         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
56240         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
56241         (__strchr_sse2): Likewise.
56242         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
56243         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
56244         (__strcasecmp_sse2): Likewise.
56245         (__strncasecmp_sse2): Likewise.
56246         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
56247         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
56248         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
56249         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
56250         (__strrchr_sse2): Likewise.
56251         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
56252         ifunc-impl-list.c.
56253         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
56254         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
56255         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
56256         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
56257         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
56258         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
56259         * sysdeps/x86_64/multiarch/memset.S: Likewise.
56260         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
56261         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
56262         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
56263         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
56264         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
56265         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
56266         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
56267         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
56268         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
56269         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
56270         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
56271         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
56272         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
56273         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
56274         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
56275         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
56276         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
56277         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
56278         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
56279         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
56280         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
56281         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
56282         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
56284         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
56285         global and hidden.
56286         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
56287         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
56288         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
56289         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
56290         Likewise.
56291         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
56292         Likewise.
56293         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
56294         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
56295         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
56296         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
56297         ifunc-impl-list.c.
56298         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
56299         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
56300         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
56301         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
56302         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
56303         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
56304         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
56305         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
56306         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
56307         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
56308         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
56309         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
56310         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
56311         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
56312         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
56313         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56314         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
56315         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
56316         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
56317         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
56318         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56319         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
56320         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
56321         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
56322         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56323         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
56324         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
56325         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
56326         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
56327         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
56328         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
56329         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
56330         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
56331         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
56332         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
56333         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
56334         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
56335         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
56336         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
56337         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
56338         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
56340         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
56341         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
56342         * include/ifunc-impl-list.h: New file.
56343         * misc/ifunc-impl-list.c: Likewise.
56344         * misc/Makefile (routines): Add ifunc-impl-list.
56345         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
56346         * string/test-string.h: Include <ifunc-impl-list.h>.
56347         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
56348         TEST_NAME]: New variables.
56349         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
56350         are defined.
56351         (test_init): Call __libc_ifunc_impl_list to initialize
56352         func_list if TEST_IFUNC and TEST_NAME are defined.
56354         * string/Makefile (strop-tests): Add bcopy and bzero.
56355         * string/test-bcopy.c: New file.
56356         * string/test-bzero.c: Likewise.
56357         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
56358         defined.
56359         * string/test-memset.c: Support bzero test if TEST_BZERO is
56360         defined.
56361         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
56362         __libc_memmove.
56363         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
56364         __libc_memset.
56365         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
56366         of memset.
56368 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
56370         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
56371         * configure: Regenerated.
56373         * Makeconfig (+link-static-before-libc): Don't include
56374         $(link-static-libc).
56376         * libio/libio.h (_IO_pos_t): Remove.
56378 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
56380         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
56381         McGrath.
56383 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
56385         * crypt/crypt-entry.c: Include fips-private.h.
56386         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
56387         * crypt/md5c-test.c (main): Tolerate disabled MD5.
56388         * sysdeps/unix/sysv/linux/fips-private.h: New file.
56389         * sysdeps/generic/fips-private.h: New file, dummy fallback.
56391 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
56393         * crypt/crypt-private.h: Include stdbool.h.
56394         (_ufc_setup_salt_r): Return bool.
56395         * crypt/crypt-entry.c: Include errno.h.
56396         (__crypt_r): Return NULL with EINVAL for bad salt.
56397         * crypt/crypt_util.c (bad_for_salt): New.
56398         (_ufc_setup_salt_r): Check that salt is long enough and within
56399         the specified alphabet.
56400         * crypt/badsalttest.c: New file.
56401         * crypt/Makefile (tests): Add it.
56402         ($(objpfx)badsalttest): New.
56404 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
56406         * NEWS: Add entry for BZ #14602.
56408 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
56410         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
56411         type-generic.
56412         * math/libm-test.inc: Update comment listing what functions and
56413         macros are tested.
56414         (isgreater_test): New function.
56415         (isgreaterequal_test): Likewise.
56416         (isless_test): Likewise.
56417         (islessequal_test): Likewise.
56418         (islessgreater_test): Likewise.
56419         (isunordered_test): Likewise.
56420         (main): Call the new functions.
56422 2012-10-09  Roland McGrath  <roland@hack.frob.com>
56424         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
56425         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
56426         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
56427         * sysdeps/i386/configure: Regenerated.
56428         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
56429         * sysdeps/mach/configure: Regenerated.
56430         * sysdeps/mach/hurd/configure: Regenerated.
56431         * sysdeps/powerpc/configure: Regenerated.
56432         * sysdeps/powerpc/powerpc32/configure: Regenerated.
56433         * sysdeps/powerpc/powerpc64/configure: Regenerated.
56434         * sysdeps/s390/s390-32/configure: Regenerated.
56435         * sysdeps/s390/s390-64/configure: Regenerated.
56436         * sysdeps/sh/configure: Regenerated.
56437         * sysdeps/sparc/configure: Regenerated.
56438         * sysdeps/unix/sysv/linux/configure: Regenerated.
56439         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
56440         * sysdeps/x86_64/configure: Regenerated.
56442         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
56443         defined.  Don't check if MAP is NULL.
56445 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
56447         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
56448         (_G_stat64): Likewise.
56449         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
56450         (_G_stat64): Likewise.
56451         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
56452         instead of struct _G_stat64.
56453         * libio/fileops.c (mmap_remap_check): Likewise.
56454         (decide_maybe_mmap): Likewise.
56455         (_IO_new_file_seekoff): Likewise.
56456         (_IO_file_stat): Likewise.
56457         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
56458         _G_off64_t.
56459         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
56460         instead of struct _G_stat64.
56461         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
56463 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
56465         [BZ #14602]
56466         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
56467         Replace with ...
56468         (CHECK_EOL): New macro.
56469         (two_way_short_needle): Check beginning of haystack for EOL.  Use
56470         CHECK_EOL.
56471         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
56472         Replace with CHECK_EOL.
56473         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
56474         Replace with CHECK_EOL.
56476 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
56478         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
56479         type-generic.
56480         * math/libm-test.inc: Update comment listing what functions and
56481         macros are tested.
56482         (finite_test): New function.
56483         (isinf_test): Likewise.
56484         (isnan_test): Likewise.
56485         (fpclassify_test): Test subnormal input.
56486         (isfinite_test): Likewise.
56487         (isnormal_test): Likewise.
56488         (main): Call the new functions.
56490 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
56492         [BZ #14660]
56493         * Makerules (%.dynsym): Force C locale when running
56494         $(OBJDUMP) --dynamic-syms.
56496 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
56498         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
56499         <stdint.h>.
56501 2012-10-06  David S. Miller  <davem@davemloft.net>
56503         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
56504         upper 32-bits of the length value in %o2 since we use branch-on-register
56505         tests which consider the entire 64-bit register.
56507 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
56509         * string/test-strstr.c (check2): Add a test for page boundary.
56511 2012-10-05  David S. Miller  <davem@davemloft.net>
56513         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
56514         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
56515         file.
56516         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
56517         sysdep_routines.
56518         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
56519         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
56520         and bzero when HWCAP_SPARC_CRYPTO is present.
56522 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
56524         [BZ #14602]
56525         * string/test-strstr.c (check2): New function.
56526         (test_main): Call check2.
56528         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
56529         and bug-strchr1.
56530         * string/bug-strcasestr1.c (do_test): Moved to ...
56531         * string/test-strcasestr.c (check1): Here.  New function.
56532         (do_one_test): Break out result checking code into ...
56533         (check_result): This.  New function.
56534         (do_one_test): Call check_result.
56535         (test_main): Call check1.
56536         * string/bug-strchr1.c (do_test): Moved to ...
56537         * string/test-strchr.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-strstr1.c (main): Moved to ...
56543         * string/test-strstr.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-strcasestr1.c: Removed.
56549         * string/bug-strchr1.c: Likewise.
56550         * string/bug-strstr1.c: Likewise.
56552         * elf/Makefile (dl-routines): Add hwcaps.
56553         * elf/dl-support.c (_dl_important_hwcaps): Removed.
56554         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
56555         (_dl_important_hwcaps): Moved to ...
56556         * elf/dl-hwcaps.c: Here.  New file.
56557         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
56559         [BZ #14557]
56560         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
56561         if IS_IN_rtld isn't defined.
56563         * elf/dl-support.c (_dl_sysinfo_map): New.
56564         Include "get-dynamic-info.h" and "setup-vdso.h".
56565         (_dl_non_dynamic_init): Call setup_vdso.
56566         * elf/dynamic-link.h: Don't include <assert.h>.
56567         (elf_get_dynamic_info): Moved to ...
56568         * elf/get-dynamic-info.h: Here.  New file.
56569         * elf/dynamic-link.h: Include "get-dynamic-info.h".
56570         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
56571         * elf/setup-vdso.h: Here.  New file.
56572         * elf/rtld.c: Include "setup-vdso.h".
56573         (dl_main): Call setup_vdso.
56575 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
56577         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
56578         creal in comment listing functions tested.  List finite, isinf,
56579         isnan, isless, islessequal, isgreater, isgreaterequal,
56580         islessgreater, isunordered, lgamma_r and pow10 as functions and
56581         macros not tested.  Mention which functions not tested are aliases
56582         for other functions.  Fix typo.  Note that signs of NaNs are not
56583         tested.
56585         * scripts/config.guess: Update from config.git.
56586         * scripts/config.sub: Likewise.
56588 2012-10-04  Roland McGrath  <roland@hack.frob.com>
56590         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
56591         * misc/madvise.c (madvise): Renamed to __madvise.
56592         Make madvise a weak alias.
56593         * include/sys/mman.h: Declare __madvise.
56594         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
56595         * sysdeps/unix/syscalls.list
56596         (madvise): Make __madvise the strong name, and madvise a weak alias.
56597         * sysdeps/unix/sysv/linux/syscalls.list
56598         (madvise, mmap): Remove redundant entries.
56599         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
56600         * malloc/malloc.c (mtrim): Likewise.
56601         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
56603 2012-10-03  Roland McGrath  <roland@hack.frob.com>
56605         * sysdeps/mach/hurd/dl-cache.c: File removed.
56606         * config.h.in (USE_LDCONFIG): New #undef.
56607         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
56608         * configure: Regenerated.
56609         * elf/Makefile (dl-routines): Add dl-cache only under
56610         [$(use-ldconfig) = yes].
56611         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
56612         cache on [USE_LDCONFIG].
56613         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
56614         [USE_LDCONFIG].
56615         * elf/rtld.c (dl_main): Likewise.
56617 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
56619         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
56620         _SC_LEVEL4_CACHE_LINESIZE.
56622 2012-10-03  Roland McGrath  <roland@hack.frob.com>
56624         * sysdeps/unix/bsd/confstr.h: File removed.
56626 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
56628         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
56629         sys/sdt-config.h.
56631 2012-10-02  Roland McGrath  <roland@hack.frob.com>
56633         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
56634         Make 'mapoff' field ElfW(Off) rather than off_t.
56636 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
56638         * nscd/Makefile: Remove nscd-cflags and all its users.
56639         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
56640         (CFLAGS-nonlib): Add compiler flags for nscd modules.
56642         [BZ #10631]
56643         * malloc.c (malloc_printerr): Clarify error message.
56645 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
56647         [BZ #14648]
56648         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56649         Set bit_FMA_Usable if FMA is supported.
56650         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
56651         macro.
56652         (bit_FMA4_Usable): Updated.
56653         (index_FMA_Usable): New macro.
56654         (CPUID_FMA): Likewise.
56655         (HAS_FMA): Defined with bit_FMA_Usable.
56657 2012-10-01  Roland McGrath  <roland@hack.frob.com>
56659         * bits/types.h (__swblk_t): Type removed.
56660         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
56661         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
56662         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56663         (__SWBLK_T_TYPE): Likewise.
56664         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
56665         (__SWBLK_T_TYPE): Likewise.
56666         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56667         (__SWBLK_T_TYPE): Likewise.
56668         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56669         (__SWBLK_T_TYPE): Likewise.
56671 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
56672             Honza Horak <hhorak@redhat.com>
56674         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
56675         (xdr_mapname): Use YPMAXMAP as maxsize.
56676         (xdr_peername): Use YPMAXPEER as maxsize.
56677         (xdr_keydat): Use YPAXRECORD as maxsize.
56678         (xdr_valdat): Use YPMAXRECORD as maxsize.
56680 2012-10-01  Roland McGrath  <roland@hack.frob.com>
56682         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
56684         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
56685         * csu/init-first.c: ... here.
56686         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
56687         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
56688         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
56689         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
56690         * sysdeps/i386/init-first.c: File removed.
56691         * sysdeps/sh/init-first.c: File removed.
56693 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
56695         [BZ #14645]
56696         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
56697         if x * y might underflow to zero and z is zero.
56698         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56699         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56700         * math/libm-test.inc (min_subnorm_value): New variable.
56701         (fma_test): Add more tests.
56702         (fma_test_towardzero): Likewise.
56703         (fma_test_downward): Likewise.
56704         (fma_test_upward): Likewise.
56705         (initialize): Set min_subnorm_value.
56707 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
56709         [BZ #14638]
56710         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
56711         0 + 0.
56712         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
56713         mode for addition resulting in exact zero.
56714         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
56715         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
56716         exact 0 + 0.
56717         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
56718         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56719         * math/libm-test.inc (fma_test): Add more tests.
56720         (fma_test_towardzero): New function.
56721         (fma_test_downward): Likewise.
56722         (fma_test_upward): Likewise.
56723         (main): Call the new functions.
56725 2012-09-28  David S. Miller  <davem@davemloft.net>
56727         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
56729 2012-09-28  Roland McGrath  <roland@hack.frob.com>
56731         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
56732         instead of SIGALRM.
56734         * sysdeps/gnu/_G_config.h: Moved to ...
56735         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
56736         * sysdeps/mach/hurd/_G_config.h: Moved to ...
56737         * sysdeps/generic/_G_config.h: ... here.
56739         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
56741         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
56743         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
56744         Conditionalize target on [libnss_test1.so-version].
56746         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
56748         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
56749         (elfobjdir): Move out of conditionals.
56751         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
56752         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
56753         (__nss_lookup_function): Conditionalize label remove_from_tree on
56754         [!DO_STATIC_NSS || SHARED], matching its only use.
56756 2012-09-28  David S. Miller  <davem@davemloft.net>
56758         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
56759         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
56760         file.
56761         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
56762         sysdep_routines.
56763         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
56764         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
56765         when HWCAP_SPARC_CRYPTO is present.
56767 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
56769         * io/tst-mknodat.c: Create a FIFO instead of a socket.
56771 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
56773         [BZ #6530]
56774         * stdio-common/vfprintf.c (process_string_arg): Revert
56775         2000-07-22 change.
56777 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
56779         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
56780         for testcase.
56781         * stdio-common/tst-sprintf.c: Include <locale.h>
56782         (main): Test sprintf's handling of incomplete multibyte
56783         characters.
56785 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
56787         * elf/dl-runtime.c (VERSYMIDX): Removed.
56788         * elf/dl-version.c (VERSYMIDX): Likewise.
56789         * elf/do-rel.h (VERSYMIDX): Likewise.
56790         (VALIDX): Likewise.
56791         * elf/dynamic-link.h (VERSYMIDX): Likewise.
56792         * elf/rtld.c (VALIDX): Likewise.
56793         (ADDRIDX): Likewise.
56794         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
56795         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
56796         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
56797         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
56798         (VALIDX): Likewise.
56799         (ADDRIDX): Likewise.
56801 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
56803         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
56805 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
56807         [BZ #11438]
56808         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
56809         to global scope.
56810         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
56811         addresses are in the same scope as 192.0.2/24.
56812         * posix/gai.conf: Document new scope table defaults.
56814 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56816         [BZ #5298]
56817         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
56818         for ftell.  Compute offsets from write pointers instead.
56819         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
56821 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56823         [BZ #14543]
56824         * libio/Makefile (tests): New test case tst-fseek.
56825         * libio/tst-fseek.c: New test case to verify that fseek/ftell
56826         combination works in wide mode.
56827         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
56828         state when the external buffer state changes.
56830 2012-09-27  David S. Miller  <davem@davemloft.net>
56832         [BZ #14376]
56833         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
56834         pass reloc->r_addend in as the 'high' argument to
56835         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
56837         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56839 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
56841         * rt/tst-aio2.c: Include <pthread.h>.
56842         * rt/tst-aio3.c: Likewise.
56844 2012-09-27  Steve Ellcey  <sellcey@mips.com>
56846         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
56848 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
56850         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
56851         contents on [SHARED].
56853 2012-09-26  Marek Polacek  <polacek@redhat.com>
56855         [BZ #14530]
56856         [BZ #13741]
56857         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
56858         for C++ and GCC <4.3 as well as for non GCC compilers.
56860 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
56862         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56864 2012-09-25  Roland McGrath  <roland@hack.frob.com>
56866         * Makefile.in (all, install): Declare with .PHONY.
56867         Reported by Michael Hope <michael.hope@linaro.org>.
56869 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56871         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
56872         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
56873         system header.
56874         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
56875         Likewise.
56876         (sydep_routines): Add the new and the internal functions.
56877         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
56878         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
56879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
56880         (GLIBC_2.17): Add the new function.
56881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
56882         (GLIBC_2.17): Likewise.
56883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
56884         (GLIBC_2.17): Likewise.
56885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
56886         (GLIBC_2.17): Likewise.
56887         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
56889 2012-09-25  Alan Modra  <amodra@gmail.com>
56891         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
56892         Add release barrier before setting once_control to say
56893         initialisation is done.  Add hints on lwarx.  Use macro in
56894         place of isync.
56895         (clear_once_control): Add release barrier.
56897 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
56899         [BZ #13629]
56900         * math/s_clog.c (__clog): Handle more values close to |z| = 1
56901         specially.
56902         * math/s_clog10.c (__clog10): Likewise.
56903         * math/s_clog10f.c (__clog10f): Likewise.
56904         * math/s_clog10l.c (__clog10l): Likewise.
56905         * math/s_clogf.c (__clogf): Likewise.
56906         * math/s_clogl.c (__clogl): Likewise.
56907         * math/Makefile (libm-calls): Add x2y2m1.
56908         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
56909         (__x2y2m1): Likewise.
56910         (__x2y2m1l): Likewise.
56911         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
56912         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
56913         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
56914         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
56915         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
56916         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
56917         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
56918         * sysdeps/i386/fpu/libm-test-ulps: Update.
56919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56921         [BZ #14621]
56922         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
56923         int as type of variable DEPTH.
56924         (glob): Use size_t instead of int as type of variables NEWCOUNT
56925         and OLD_PATHC.
56927 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56929         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
56930         Add s_sincosf-sse2.
56931         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
56932         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
56933         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
56934         macros for using routine as __sincosf_ia32.
56935         Use macro for function declaration and weak_alias.
56936         * sysdeps/i386/fpu/libm-test-ulps: Update.
56938         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
56939         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56941         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
56942         subnormal argument.
56943         * math/s_cexpf.c (__cexpf): Likewise.
56944         * math/s_csinf.c (__csinf): Likewise.
56945         * math/s_csinhf.c (__csinhf): Likewise.
56946         * math/s_ctanf.c (__ctanf): Likewise.
56947         * math/s_ctanhf.c (__ctanhf): Likewise.
56948         * math/s_ccosh.c (__ccoshf): Likewise.
56949         * math/s_cexp.c (__cexpl): Likewise.
56950         * math/s_csin.c (__csin): Likewise.
56951         * math/s_csinh.c (__csinh): Likewise.
56952         * math/s_ctan.c (__ctan): Likewise.
56953         * math/s_ctanh.c (ctanh): Likewise.
56954         * math/s_ccoshl.c (__ccoshl): Likewise.
56955         * math/s_cexpl.c (__cexpl): Likewise.
56956         * math/s_csinl.c (__csinl): Likewise.
56957         * math/s_csinhl.c (__csinhl): Likewise.
56958         * math/s_ctanl.c (__ctanl): Likewise.
56959         * math/s_ctanhl.c (__ctanhl): Likewise.
56961 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
56963         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
56964         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
56965         (_IO_off_t): Define to __off_t, not _G_off_t.
56966         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
56967         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
56968         (_IO_wint_t): Define to wint_t, not _G_wint_t.
56969         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
56970         type of __dummy and __dummy2 fields.
56971         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
56972         (_G_ssize_t): Likewise.
56973         (_G_off_t): Likewise.
56974         (_G_pid_t): Likewise.
56975         (_G_uid_t): Likewise.
56976         (_G_wchar_t): Likewise.
56977         (_G_wint_t): Likewise.
56978         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
56979         (_G_ssize_t): Likewise.
56980         (_G_off_t): Likewise.
56981         (_G_pid_t): Likewise.
56982         (_G_uid_t): Likewise.
56983         (_G_wchar_t): Likewise.
56984         (_G_wint_t): Likewise.
56985         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
56986         (_G_ssize_t): Likewise.
56987         (_G_off_t): Likewise.
56988         (_G_pid_t): Likewise.
56989         (_G_uid_t): Likewise.
56990         (_G_wchar_t): Likewise.
56991         (_G_wint_t): Likewise.
56993 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56995         * malloc/arena.c: Include malloc-sysdep.h.
56996         (shrink_heap): Use check_may_shrink_heap to decide if madvise
56997         is sufficient to shrink the heap or an unmap is needed.
56998         * sysdeps/generic/malloc-sysdep.h: New file.  Define
56999         new function check_may_shrink_heap.
57000         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
57001         new function check_may_shrink_heap.
57003 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57005         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
57006         comments.
57008 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
57010         * catgets/test-gencat.sh: Add "set -e".
57011         * elf/tst-pathopt.sh: Likewise.
57012         * grp/tst_fgetgrent.sh: Likewise.
57013         * iconvdata/run-iconv-test.sh: Likewise.
57014         * intl/tst-gettext.sh: Likewise.
57015         * intl/tst-gettext2.sh: Likewise.
57016         * intl/tst-gettext4.sh: Likewise.
57017         * intl/tst-gettext6.sh: Likewise.
57018         * intl/tst-translit.sh: Likewise.
57019         * io/ftwtest-sh: Likewise.
57020         * libio/test-freopen.sh: Likewise.
57021         * malloc/tst-mtrace.sh: Likewise.
57022         * posix/globtest.sh: Likewise.
57023         * posix/tst-getconf.sh: Likewise.
57024         * posix/wordexp-tst.sh: Likewise.
57025         * stdio-common/tst-printf.sh: Likewise.
57026         * stdio-common/tst-unbputc.sh: Likewise.
57027         * stdlib/tst-fmtmsg.sh: Likewise.
57028         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
57029         * catgets/Makefile: Do not specify -e option when running
57030         testsuite shell scripts.
57031         * elf/Makefile: Likewise.
57032         * grp/Makefile: Likewise.
57033         * iconvdata/Makefile: Likewise.
57034         * intl/Makefile: Likewise.
57035         * io/Makefile: Likewise.
57036         * libio/Makefile: Likewise.
57037         * malloc/Makefile: Likewise.
57038         * posix/Makefile: Likewise.
57039         * stdio-common/Makefile: Likewise.
57040         * stdlib/Makefile: Likewise.
57041         * sysdeps/x86_64/Makefile: Likewise.
57043         * io/ftwtest-sh: Add copyright header.
57044         * posix/globtest.sh: Likewise.
57045         * posix/tst-getconf.sh: Likewise.
57046         * posix/wordexp-tst.sh: Likewise.
57047         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
57049 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
57051         [BZ #13679]
57052         * Makeconfig (+link): Defined as $(+link-static) if
57053         $(build-shared) isn't yes.
57054         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
57055         isn't yes.
57056         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
57058         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
57060         [BZ #14562]
57061         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
57062         new chunk size with MALLOC_ALIGN_MASK.
57064 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
57066         [BZ #5044]
57067         * stdio-common/printf_fphex.c: Include <stdbool.h> and
57068         <rounding-mode.h>.
57069         (__printf_fphex): Determine rounding using get_rounding_mode and
57070         round_away.
57071         * stdio-common/tst-printf-round.c (struct hex_test): New
57072         structure.
57073         (hex_tests): New variable.
57074         (test_hex_in_one_mode): New function.
57075         (do_test): Also run tests for hex float output.
57077 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
57079         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
57080         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
57081         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
57082         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
57083         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
57084         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
57085         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
57086         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
57088 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
57090         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
57091         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
57092         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
57093         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
57095 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
57097         [BZ #14579]
57098         * elf/rtld.c (dl_main): Limit the check for self loading to normal
57099         mode only.
57100         * elf/tst-rtld-load-self.sh: New test.
57101         * elf/Makefile: Run it.
57103 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
57105         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
57106         (tst-writev-ENV): Remove.
57107         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
57109 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
57111         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
57113 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
57115         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
57116         unconditional.
57117         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
57118         Likewise.
57119         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
57120         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
57121         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
57122         Likewise.
57124 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
57126         [BZ #14587]
57127         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
57128         * config.make.in (have-cpp-asm-debuginfo): Removed.
57129         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
57130         * configure: Regenerated.
57132 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
57134         [BZ #5044]
57135         * stdio-common/printf_fp.c: Include <stdbool.h> and
57136         <rounding-mode.h>.
57137         (___printf_fp): Determine rounding using get_rounding_mode and
57138         round_away.
57139         * stdio-common/tst-printf-round.c: New file.
57140         * stdio-common/Makefile (tests): Add tst-printf-round.
57141         (link-libm): New variable.
57142         ($(objpfx)tst-printf-round): Depend in $(link-libm).
57144 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
57146         [BZ #14576]
57147         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
57148         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
57149         Likewise.
57150         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
57151         Likewise.
57153 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
57155         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
57156         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
57157         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
57158         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
57160 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
57162         [BZ #14518]
57163         * include/rounding-mode.h: New file.
57164         * sysdeps/generic/get-rounding-mode.h: Likewise.
57165         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
57166         * stdlib/strtod_l.c: Include <rounding-mode.h>.
57167         (MAX_VALUE): New macro.
57168         (MIN_VALUE): Likewise.
57169         (overflow_value): New function.
57170         (underflow_value): Likewise.
57171         (round_and_return): Use overflow_value and underflow_value to
57172         determine return values in overflow and underflow cases.  Use
57173         round_away to determine rounding depending on rounding mode.
57174         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
57175         determine return values in overflow and underflow cases.
57176         * stdlib/tst-strtod-round.c: Include <fenv.h>.
57177         (struct test_results): New structure.
57178         (struct test): Use struct test_results to store expected results
57179         for all rounding modes.
57180         (TEST): Include expected results for all rounding modes.
57181         (test_in_one_mode): New function.
57182         (do_test): Use test_in_one_mode to compute and check results.
57183         Check results for all rounding modes.
57184         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
57185         $(link-libm).
57187 2012-12-09  Allan McRae  <allan@archlinux.org>
57189         * sysdeps/i386/fpu/libm-test-ulps: Update
57191 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
57193         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
57194         (_G_int32_t): Likewise.
57195         (_G_uint16_t): Likewise.
57196         (_G_uint32_t): Likewise.
57197         (_G_HAVE_BOOL): Likewise.
57198         (_G_HAVE_ATEXIT): Likewise.
57199         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
57200         (_G_HAVE_IO_FILE_OPEN): Likewise.
57201         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
57202         (_G_int32_t): Likewise.
57203         (_G_uint16_t): Likewise.
57204         (_G_uint32_t): Likewise.
57205         (_G_HAVE_BOOL): Likewise.
57206         (_G_HAVE_ATEXIT): Likewise.
57207         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
57208         (_G_HAVE_IO_FILE_OPEN): Likewise.
57209         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
57210         (_G_int32_t): Likewise.
57211         (_G_uint16_t): Likewise.
57212         (_G_uint32_t): Likewise.
57213         (_G_HAVE_BOOL): Likewise.
57214         (_G_HAVE_ATEXIT): Likewise.
57215         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
57216         (_G_HAVE_IO_FILE_OPEN): Likewise.
57218 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
57220         * csu/libc-tls.c: Update copyright years.
57222 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
57224         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
57225         [!_G_USING_THUNKS]: Remove conditional code.
57226         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
57227         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
57229         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
57230         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
57231         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
57232         (_G_VTABLE_LABEL_PREFIX): Likewise.
57233         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
57234         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
57235         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
57236         (_G_VTABLE_LABEL_PREFIX): Likewise.
57237         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
57238         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
57239         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
57240         (_G_VTABLE_LABEL_PREFIX): Likewise.
57241         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
57243 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
57245         * libio/Makefile: Include ../Makeconfig before tests.
57246         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
57247         only if $(build-shared) is yes.
57249         * iconv/gconv_db.c: Update copyright years.
57251 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57253         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
57254         unwind info if defined PIC. Fix special cases description.
57255         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
57257         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
57258         DP_HI_MASK entry.
57259         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
57261 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
57263         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
57265         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
57266         is NULL.
57268         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
57269         (LDLIBS-tst-chk4): This.
57270         (LDFLAGS-tst-chk5): Renamed to ...
57271         (LDLIBS-tst-chk5): This.
57272         (LDFLAGS-tst-chk6): Renamed to ...
57273         (LDLIBS-tst-chk6): This.
57274         (LDFLAGS-tst-lfschk4): Renamed to ...
57275         (LDLIBS-tst-lfschk4): This.
57276         (LDFLAGS-tst-lfschk5): Renamed to ...
57277         (LDLIBS-tst-lfschk5): This.
57278         (LDFLAGS-tst-lfschk6): Renamed to ...
57279         (LDLIBS-tst-lfschk6): This.
57281         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
57282         on $(common-objpfx)soversions.mk.
57284 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
57286         [BZ #10014]
57287         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
57288         example host name.
57290 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
57292         * malloc/arena.c (arena_get_retry): New function that gets
57293         another arena for the caller to try its request on.
57294         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
57295         current arena cannot fulfill the request.
57296         (__libc_memalign): Likewise.
57297         (__libc_memalign): Likewise.
57298         (__libc_pvalloc): Likewise.
57299         (__libc_calloc): Likewise.
57301 2012-09-05  John Tobey  <john.tobey@gmail.com>
57303         [BZ #13542]
57304         * manual/arith.texi (Operations on Complex): Fix description
57305         of carg branch cut.
57307 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
57309         [BZ #10014]
57310         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
57311         host name.
57313         [BZ #10038]
57314         * manual/memory.texi (Memory): Make order of menu items match
57315         order of sections.
57317 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57319         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
57320         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
57321         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
57323 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57325         * csu/libc-tls.c (static_dtv): Renamed to ...
57326         (_dl_static_dtv): This.  Make it global.
57327         (_dl_initial_dtv): Removed.
57328         (__libc_setup_tls): Updated.
57329         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
57330         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
57331         DL_INITIAL_DTV.
57333 2012-09-06  Petr Machata  <pmachata@redhat.com>
57335         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
57336         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
57337         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
57338         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
57340 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57342         [BZ #14545]
57343         * csu/libc-tls.c (_dl_initial_dtv): New variable.
57344         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
57345         freeing dtv[-1].
57347 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57349         [BZ #14544]
57350         * Makeconfig (link-static-before-libc): Replace $(+prector)
57351         with $(+prectorT).
57352         (link-static-after-libc): Replace $(+postctor) with
57353         $(+postctorT).
57354         (link-bounded): Replace $(+prector)/$(+postctor) with
57355         $(+prectorT)/$(+postctorT).
57356         (+prectorT): New macro.
57357         (+postctorT): Likewise.
57359 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
57361         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
57362         (round_str): Handle values above the maximum for IBM long double
57363         as inexact.
57364         * stdlib/tst-strtod-round.c (tests): Regenerated.
57366 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57368         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
57369         assembler flag.
57370         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
57371         zarch_nohighgprs around the zarch optimized routines.
57372         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
57373         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
57374         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
57375         for zarch.
57377 2012-09-05  David S. Miller  <davem@davemloft.net>
57379         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57381         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
57382         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
57383         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
57384         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
57385         entries.
57387 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57389         * malloc/arena.c: Fold copyright years.
57390         * malloc/mcheck.c, malloc/memusage.c: Likewise.
57392 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57394         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
57396 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57398         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
57400 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57402         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
57403         change internal state upon failure.
57405 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57407         * malloc/mcheck.c (mcheck_check_all): Fix typo.
57408         * malloc/memusage.c (mmap): Likewise.
57409         (mmap64, mremap): Likewise.  Adjust name in comment.
57411 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
57413         * libio/fileops.c: Fix typos in comments.
57414         * libio/oldfileops.c: Likewise.
57415         * libio/wfileops.c: Likewise.
57417 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
57419         [BZ #1349]
57420         * malloc/Makefile (tests): Add tst-malloc-usable test case.
57421         (tst-malloc-usable-ENV): Set environment for test case.
57422         * malloc/hooks.c (malloc_check_get_size): New function to get
57423         requested size.
57424         * malloc/malloc.c (musable): Use malloc_check_get_size.
57425         * malloc/tst-malloc-usable.c: New test case.
57427 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
57429         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
57431 2012-09-05  Allan McRae  <allan@archlinux.org>
57433         [BZ #13966]
57434         * configure.in (CXX_SYSINCLUDES): Use compiler output to
57435         determine header location.
57436         * configure: Regenerated.
57438 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
57440         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
57441         float format.
57442         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
57443         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
57444         format.
57445         (test): Regenerate.
57447 2012-09-04  David S. Miller  <davem@davemloft.net>
57449         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
57450         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
57451         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
57453 2012-09-04  Florian Weimer  <fweimer@redhat.com>
57455         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
57456         failures.
57458         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
57460 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
57462         [BZ #9914]
57463         * libio/iogetdelim.c: Include <limits.h>.
57464         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
57465         + len + 1 would overflow.
57467 2012-09-03  Andreas Jaeger  <aj@suse.de>
57469         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57470         * sysdeps/i386/fpu/libm-test-ulps: Update.
57472 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57474         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
57475         Add s_sinf-sse2, s_conf-sse2.
57477         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
57478         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
57479         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
57480         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
57482         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
57483         for using routine as __sinf_ia32.
57484         Use macro for function declaration and weak_alias.
57485         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
57486         for using routine as __cosf_ia32.
57487         Use macro for function declaration and weak_alias.
57489         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
57490         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
57492         * sysdeps/x86_64/fpu/s_sinf.S: New file.
57493         * sysdeps/x86_64/fpu/s_cosf.S: New file.
57494         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57496         * math/libm-test.inc (cos_test): Add more test cases.
57497         (sin_test): Likewise.
57498         (sincos_test): Likewise.
57500 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57502         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
57503         (IFUNC_RESOLVE): Make pointers to the specialized implementations
57504         hidden.
57505         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
57507 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
57509         [BZ #14538]
57510         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
57511         first element of the GOT.
57512         (elf_machine_load_address): Return the difference between
57513         the runtime address of _DYNAMIC and elf_machine_dynamic ().
57515 2012-09-01  Allan McRae  <allan@archlinux.org>
57517         [BZ #13412]
57518         * configure.in (AWK): Require gawk version 3.0 or later.
57519         * configure: Regenerated.
57521 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
57523         * sysdeps/unix/sysv/linux/kernel-features.h
57524         (__ASSUME_POSIX_CPU_TIMERS): Remove.
57525         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
57526         [__NR_clock_getres]: Make code unconditional.
57527         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
57528         (clock_getcpuclockid): Remove code left unreachable by removal of
57529         conditionals.
57530         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
57531         code unconditional.
57532         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
57533         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
57534         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
57535         Make code unconditional.
57536         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
57537         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
57538         * sysdeps/unix/sysv/linux/clock_settime.c
57539         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
57540         conditional code.
57541         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
57542         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
57544 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
57546         [BZ #14476]
57547         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
57548         scripts/test-installation.pl.
57550         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
57551         and $ld_so_version if it is set.
57553 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
57555         [BZ #14516]
57556         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
57557         failure if reading from procfs failed.
57558         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
57560 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
57562         * sysdeps/unix/sysv/linux/kernel-features.h
57563         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
57564         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
57565         Remove conditional code.
57566         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57567         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
57568         Remove conditional code.
57569         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57570         * sysdeps/unix/sysv/linux/i386/fxstat.c
57571         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
57572         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57573         * sysdeps/unix/sysv/linux/i386/fxstatat.c
57574         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
57575         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57576         * sysdeps/unix/sysv/linux/i386/lxstat.c
57577         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
57578         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57579         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
57580         Remove conditional code.
57581         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57582         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
57583         Remove conditional code.
57584         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57585         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
57586         <kernel-features.h>.
57587         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
57588         Remove.
57589         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
57590         Remove conditional code.
57591         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57592         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
57593         Remove conditional.
57595 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
57597         [BZ #5400]
57598         * NEWS: Add fixed bug number.
57600 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
57602         [BZ #14519]
57603         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
57604         underflowing exponent in case of negative sign.
57605         * stdlib/tst-strtod-round-data: Add more tests.
57606         * stdlib/tst-strtod-round.c (tests): Regenerated.
57608         [BZ #3479]
57609         * stdlib/strtod_l.c (NDIG): Remove.
57610         (HEXNDIG): Likewise.
57611         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
57612         smallest representable value.
57613         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
57614         lie within an exact representation of 1/2 ulp of the result.
57615         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
57616         unconditionally.
57617         (TENS_P9_IDX): Define unconditionally.
57618         (TENS_P9_SIZE): Likewise.
57619         (TENS_P10_IDX): Likewise.
57620         (TENS_P10_SIZE): Likewise.
57621         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
57622         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
57623         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
57624         entries for 10^2^13 and 10^2^14.
57625         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
57626         (TENS_P13_IDX): Define.
57627         (TENS_P13_SIZE): Likewise.
57628         (TENS_P14_IDX): Likewise.
57629         (TENS_P14_SIZE): Likewise.
57630         (_fpioconst_pow10): Change array size to
57631         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
57632         unconditional.
57633         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
57634         1024]: Add entries for 10^2^13 and 10^2^14.
57635         [LAST_POW10 > _LAST_POW10]: Remove #error.
57636         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
57637         (_fpioconst_pow10): Change array size to
57638         FPIOCONST_POW10_ARRAY_SIZE.
57639         * stdlib/gen-fpioconst.c: New file.
57640         * stdlib/gen-tst-strtod-round.c: Likewise.
57641         * stdlib/tst-strtod-round-data: Likewise.
57642         * stdlib/tst-strtod-round.c: Likewise.
57643         * stdlib/Makefile (tests): Add tst-strtod-round.
57645         [BZ #14459]
57646         * stdlib/strtod_l.c: Include <stdint.h>.
57647         (NDEBUG): Do not define.
57648         (round_and_return): Change EXPONENT parameter to type intmax_t.
57649         Rearrange calculations to avoid internal overflow possibilities.
57650         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
57651         Rearrange calculations to avoid internal overflow possibilities.
57652         Assert that number fits inside MPNSIZE limbs.
57653         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
57654         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
57655         calculations and add assertions to avoid internal overflow
57656         possibilities.  Add casts to avoid signed/unsigned operations.
57657         * stdlib/tst-strtod-overflow.c: New file.
57658         * stdlib/Makefile (tests): Add tst-strtod-overflow.
57660 2012-08-25  Marek Polacek  <polacek@redhat.com>
57662         * time/time.h: Fix some typos in comments.
57664 2012-08-23  Roland McGrath  <roland@hack.frob.com>
57666         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
57667         * posix/tst-rfc3484-2.c: Likewise.
57668         * posix/tst-rfc3484-3.c: Likewise.
57670 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
57672         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
57673         (EF_ARM_ABI_FLOAT_HARD): Likewise.
57675 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
57677         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
57678         #include of fxstatat64.c.
57680 2012-08-22  Roland McGrath  <roland@hack.frob.com>
57682         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
57683         * shadow/getspent_r.c: Likewise.
57684         * shadow/getspnam.c: Likewise.
57685         * shadow/getspnam_r.c: Likewise.
57686         * gshadow/getsgent.c: Likewise.
57687         * gshadow/getsgent_r.c: Likewise.
57688         * gshadow/getsgnam.c: Likewise.
57689         * gshadow/getsgnam_r.c: Likewise.
57690         * inet/getnetbyad.c: Likewise.
57691         * inet/getnetbyad_r.c: Likewise.
57692         * inet/getnetbynm.c: Likewise.
57693         * inet/getnetbynm_r.c: Likewise.
57694         * inet/getnetent.c: Likewise.
57695         * inet/getnetent_r.c: Likewise.
57696         * inet/getproto.c: Likewise.
57697         * inet/getproto_r.c: Likewise.
57698         * inet/getprtent.c: Likewise.
57699         * inet/getprtent_r.c: Likewise.
57700         * inet/getprtname.c: Likewise.
57701         * inet/getprtname_r.c: Likewise.
57702         * inet/getrpcbyname.c: Likewise.
57703         * inet/getrpcbyname_r.c: Likewise.
57704         * inet/getrpcbynumber.c: Likewise.
57705         * inet/getrpcbynumber_r.c: Likewise.
57706         * inet/getrpcent.c: Likewise.
57707         * inet/getrpcent_r.c: Likewise.
57708         * inet/getaliasent.c: Likewise.
57709         * inet/getaliasent_r.c: Likewise.
57710         * inet/getaliasname.c: Likewise.
57711         * inet/getaliasname_r.c: Likewise.
57712         * nscd/getgrgid_r.c: Likewise.
57713         * nscd/getgrnam_r.c: Likewise.
57714         * nscd/gethstbyad_r.c: Likewise.
57715         * nscd/gethstbynm3_r.c: Likewise.
57716         * nscd/getpwnam_r.c: Likewise.
57717         * nscd/getpwuid_r.c: Likewise.
57718         * nscd/getsrvbynm_r.c: Likewise.
57719         * nscd/getsrvbypt_r.c: Likewise.
57720         * nscd/gai.c: Likewise.
57722         * configure.in (build_nscd): New substituted variable, set
57723         by --disable-build-nscd and defaults to $use_nscd.
57724         * configure: Regenerated.
57725         * config.make.in (build-nscd): New substituted variable.
57726         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
57727         Change conditional to require [$(build-nscd) = yes] as well.
57728         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
57730         [BZ# 13696]
57731         * configure.in (use_nscd): New substituted variable, set by
57732         --disable-nscd.  If enabled, define USE_NSCD.
57733         * configure: Regenerated.
57734         * config.h.in: Add USE_NSCD.
57735         * config.make.in (use-nscd): New substituted variable.
57736         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
57737         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
57738         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
57739         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
57740         (CFLAGS-getgrnam_r.c): Likewise.
57741         (CFLAGS-initgroups.c): Likewise.
57742         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
57743         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
57744         Variables removed.
57745         * inet/getnetgrent_r.c
57746         (nscd_setnetgrent): New function, broken out of ...
57747         (setnetgrent): ... here.  Call it.
57748         (innetgr): Conditionalize nscd bits on [USE_NSCD].
57749         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
57750         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
57751         * nscd/Makefile (routines, aux): Move definitions after include of
57752         Makeconfig.  Conditionalize on [$(use-nscd) != no].
57753         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
57754         Conditionalize on [USE_NSCD].
57755         (is_nscd, nscd_init_cb): Likewise.
57756         (nss_load_library): Conditionalize init callback on [USE_NSCD].
57757         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
57758         * nss/nss_db/db-init.c: Likewise.
57759         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
57760         [USE_NSCD].
57761         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
57762         (make_request): Use it.
57763         (cache_valid_p): New function.
57764         (__check_pf): Use it.
57765         * NEWS: Add item for --disable-nscd.
57767 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
57769         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
57770         to support sed >= 4.2.1-20-ga9bf076.
57771         * configure: Regenerated.
57773 2012-08-22  Roland McGrath  <roland@hack.frob.com>
57775         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
57776         Conditionalize whole body on [IREL].
57778 2012-08-22  Jeff Law <law@redhat.com>
57780         [BZ #14505]
57781         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
57782         if the family is PF_UNSPEC.
57784 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
57786         * Makerules (lib-version): Rename from V.
57787         (install-lib-nosubdir): Change V to lib-version.
57789 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
57791         [BZ #14252]
57792         * powerpc32/power6/wcschr.c: New file.
57793         * powerpc32/power6/wcscpy.c: New file.
57794         * powerpc32/power6/wcsrchr.c: New file.
57795         * powerpc64/power6/wcschr.c: New file.
57796         * powerpc64/power6/wcscpy.c: New file.
57797         * powerpc64/power6/wcsrchr.c: New file.
57799 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
57801         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
57802         (two_way_short_needle): Use it.
57803         * string/strstr.c (AVAILABLE1_USES_J): Define.
57804         * string/strcasestr.c: Likewise.
57806         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
57807         array references.
57808         * string/strcasestr.c (TOLOWER): Make side-effect safe.
57810         [BZ #11607]
57811         * NEWS: Add an entry.
57812         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
57813         define their defaults.
57814         (two_way_short_needle): Detect end-of-string on-the-fly.
57815         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
57816         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
57817         * string/bug-strcasestr1.c: New test.
57818         * string/Makefile: Run it.
57820 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
57822         [BZ #11607]
57823         * string/str-two-way.h (two_way_short_needle): Optimize matching of
57824         the first character.
57826 2012-08-21  Roland McGrath  <roland@hack.frob.com>
57828         * csu/elf-init.c (__libc_csu_irel): Function removed.
57829         * csu/libc-start.c (apply_irel): New function.
57830         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
57832 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
57834         * sysdeps/unix/sysv/linux/kernel-features.h
57835         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
57836         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
57837         <kernel-features.h>.
57838         [__NR_fadvise64_64]: Make code unconditional.
57839         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
57840         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
57841         !__NR_fadvise64_64)]: Likewise.
57842         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
57843         !__NR_fadvise64_64))]: Likewise.
57844         [__NR_fadvise64]: Make code unconditional.
57845         [!__NR_fadvise64]: Remove conditional code.
57846         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
57847         <kernel-features.h>.
57848         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
57849         unconditional.
57850         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
57851         conditional code.
57852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
57853         not include <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/s390/s390-32/posix_fadvise64.c: Do not
57859         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.
57865 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
57867         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
57868         slight instruction rearrangements per scrollpipe analysis.
57869         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
57871 2012-08-20  Roland McGrath  <roland@hack.frob.com>
57873         * manual/syslog.texi (syslog; vsyslog, closelog):
57874         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
57875         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
57877         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
57878         DSOCAPS to match condition on defining it.
57880 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
57882         * sysdeps/unix/sysv/linux/kernel-features.h
57883         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
57884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
57885         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
57886         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
57887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
57888         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
57889         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
57890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
57891         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
57892         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
57894         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
57895         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
57897         * sysdeps/unix/sysv/linux/kernel-features.h
57898         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
57899         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
57900         unconditional.
57901         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57902         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
57903         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
57904         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57905         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
57906         Make code unconditional.
57907         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57908         (__mmap64) [!__NR_mmap2]: Likewise.
57909         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
57910         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
57911         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57912         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
57913         [__NR_mmap2]: Make code unconditional.
57914         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57915         (__mmap64) [!__NR_mmap2]: Likewise.
57917 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57919         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
57921 2012-08-18  Andreas Jaeger  <aj@suse.de>
57923         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
57925 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
57927         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
57928         * include/unistd.h (__have_sock_cloexec): Likewise.
57929         (__have_pipe2): Likewise.
57930         (__have_dup3): Likewise.
57932 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
57934         [BZ #9685]
57935         * include/unistd.h (__have_pipe2): Change define into an extern int.
57936         (__have_dup3): Likewise.
57937         * socket/have_sock_cloexec.c: Include fcntl.h.
57938         (__have_pipe2): New variable.
57939         (__have_dup3): Likewise.
57941 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
57943         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
57945 2012-08-17  Marek Polacek  <polacek@redhat.com>
57947         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
57948         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
57950 2012-08-17  Roland McGrath  <roland@hack.frob.com>
57952         * configure.in: Add AC_SUBST for sysheaders.
57953         * configure: Regenerated.
57954         * config.make.in (sysheaders): New substituted variable.
57956         * sysdeps/unix/mkfifo.c: Moved ...
57957         * sysdeps/posix/mkfifo.c: ... here.
57958         * sysdeps/unix/mkfifoat.c: Moved ...
57959         * sysdeps/posix/mkfifoat.c: ... here.
57961         * sysdeps/unix/utime.c: Moved ...
57962         * sysdeps/posix/utime.c: ... here.
57964         * sysdeps/unix/time.c: Moved ...
57965         * sysdeps/posix/time.c: ... here.
57966         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
57967         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
57969         * sysdeps/unix/nice.c: Moved ...
57970         * sysdeps/posix/nice.c: ... here.
57972         * sysdeps/unix/alarm.c: Moved ...
57973         * sysdeps/posix/alarm.c: ... here.
57975         * intl/Makefile ($(codeset_mo)): Depend on the input file.
57977 2012-08-17  Jeff Law <law@redhat.com>
57979         * intl/Makefile (codeset_mo): New variable.
57980         ($(codeset_mo)): New target.
57981         (tst-codeset.out): Depend on that.  Remove explicit rule.
57982         (tst-gettext3.out, tst-gettext5.out): Likewise.
57983         (LOCPATH-ENV, tst-codeset-ENV): New variables.
57984         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
57985         * intl/tst-codeset.sh: Remove.
57986         * intl/tst-gettext3.sh: Likewise.
57987         * intl/tst-gettext5.sh: Likewise.
57989 2012-08-17  Roland McGrath  <roland@hack.frob.com>
57991         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
57992         * sysdeps/unix/syscalls.list: ... here.
57994         * sysdeps/posix/getaddrinfo.c
57995         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
57996         (gaiconf_init, gaiconf_reload): Use them.
57997         [!_STATBUF_ST_NSEC]
57998         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
57999         Define using time_t rather than struct timespec.
58001         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
58002         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
58003         Macros removed.
58004         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
58005         [!NO_THREADS].
58006         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
58007         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
58008         Likewise.
58010         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
58011         __libc_cleanup_push argument.
58013         * bits/param.h: New file.
58014         * misc/sys/param.h: New file.
58015         * include/sys/param.h: New file.
58016         * misc/Makefile (headers): Add bits/param.h.
58017         * sysdeps/generic/sys/param.h: File removed.
58018         * sysdeps/unix/sysv/linux/bits/param.h: New file.
58019         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
58020         * sysdeps/mach/hurd/bits/param.h: New file.
58021         * sysdeps/mach/hurd/sys/param.h: File removed.
58023         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
58024         last change.
58026         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
58027         [_IO_MTSAFE_IO].
58028         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
58029         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
58030         New macros.
58032         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
58033         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
58034         rather than -D_IO_MTSAFE_IO conditionally.
58035         * stdio-common/Makefile (CPPFLAGS): Likewise.
58036         * wcsmbs/Makefile (CPPFLAGS): Likewise.
58037         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
58038         Use $(libio-mtsafe).
58039         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
58040         of -D_IO_MTSAFE_IO.
58041         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
58042         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
58043         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
58044         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
58045         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
58046         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
58047         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
58048         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
58049         (CFLAGS-fread_u_chk.c): Likewise.
58050         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
58051         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
58052         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
58053         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
58054         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
58055         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
58056         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
58057         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
58058         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
58060         * libio/Makefile: Test [$(libc-reentrant) = yes]
58061         instead of [$(filter %REENTRANT, $(defines)) nonempty].
58063         * Makeconfig
58064         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
58065         * sysdeps/pthread/configure: File removed.
58066         * sysdeps/pthread/Makeconfig: New file.
58067         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
58068         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
58070 2012-08-16  Gary Benson  <gbenson@redhat.com>
58072         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
58073         unmapping the first object in a namespace.
58075 2012-08-16  Roland McGrath  <roland@hack.frob.com>
58077         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
58078         (__internal_setnetgrent): ... this.  Add internal_function to
58079         definition.  Add libc_hidden_def.
58080         (setnetgrent): Update caller.
58081         (internal_endnetgrent): Renamed to ...
58082         (__internal_endnetgrent): ... this.  Add internal_function to
58083         definition.  Add libc_hidden_def.
58084         (endnetgrent): Update caller.
58085         (internal_getnetgrent_r): Renamed to ...
58086         (__internal_getnetgrent_r): ... this.  Add internal_function to
58087         definition.  Add libc_hidden_def.
58088         (__getnetgrent_r): Update caller.
58089         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
58091 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
58093         * stdlib/longlong.h: Update from GCC.
58095 2012-08-16  Roland McGrath  <roland@hack.frob.com>
58097         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
58098         on _QL, which is set by umul_ppmm but never used.
58099         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
58100         variables, which are set by GMP macros but never used.
58101         * stdio-common/_itowa.c (_itowa): Likewise.
58102         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
58103         * stdlib/mod_1.c (mpn_mod_1): Likewise.
58105 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
58107         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
58108         struct La_sh_regs is not constant.
58109         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
58110         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
58111         and struct La_sparc64_regs are not constant.
58113 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
58115         * sysdeps/unix/sysv/linux/kernel-features.h
58116         (__ASSUME_POSIX_TIMERS): Remove.
58117         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
58118         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58119         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
58120         Make code unconditional.
58121         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58122         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
58123         Make code unconditional.
58124         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58125         * sysdeps/unix/sysv/linux/clock_nanosleep.c
58126         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
58127         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58128         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
58129         Make code unconditional.
58130         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58131         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
58132         (__libc_missing_posix_timers): Remove.
58134 2012-08-15  Roland McGrath  <roland@hack.frob.com>
58136         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
58137         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
58139         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
58141         * elf/dl-sym.c: Include <stdlib.h>.
58143         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
58144         constants, which avoids warnings in 32-bit builds.
58146         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
58147         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
58149         * misc/lseek.c: File moved to ...
58150         * io/lseek.c: ... here.
58152         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
58154         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
58155         shifting LEN more than 31 bits at once.
58157 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58159         [BZ #14195]
58160         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
58161         segmentation fault for a case of two empty input strings.
58162         * string/test-strncasecmp.c (check1): Renamed to...
58163         (bz12205): ...this.
58164         (bz14195): Add new testcase for two empty input strings and N > 0.
58165         (test_main): Call new testcase, adapt for renamed function.
58167 2012-08-15  Andreas Jaeger  <aj@suse.de>
58169         [BZ #14090]
58170         * crypt/md5test2.c: New test, based on test supplied by Serge
58171         Belyshev <belyshev@depni.sinp.msu.ru>.
58172         * crypt/Makefile (xtests): Add md5test-giant..
58173         * crypt/Makefile ($(objpfx)md5test-giant): Add.
58175 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
58177         [BZ #14090]
58178         * crypt/md5.c (md5_process_block): Don't assume the buffer
58179         length is less than 2**32.
58180         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
58181         length is less than 2**64.
58183 2012-08-15  Roland McGrath  <roland@hack.frob.com>
58185         * string/str-two-way.h: Include <sys/param.h>.
58186         (MAX): Macro removed.
58188         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
58189         Move #define and #undef of memmove to just before and after
58190         including <string.h>.
58192         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
58193         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
58194         and after including <string.h>.  Move declarations of
58195         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
58196         to before #include "string/memmove.c".
58198         * include/dirent.h: Declare __getdirentries.
58200         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
58201         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
58203 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
58205         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
58206         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
58207         * sysdeps/i386/configure: Regenerated.
58208         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
58209         STABS_CURRENT_FILE, and STABS_FUN.
58210         (END): Remove call to STABS_FUN_END.
58211         (STABS_CURRENT_FILE1): Delete.
58212         (STABS_CURRENT_FILE): Likewise.
58213         (STABS_FUN): Likewise.
58214         (STABS_FUN_END): Likewise.
58215         (STABS_FUN2): Likewise.
58216         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
58217         * sysdeps/x86_64/configure: Regenerated.
58219 2012-08-14  Roland McGrath  <roland@hack.frob.com>
58221         * elf/dl-open.c: Include <atomic.h>.
58222         * elf/dl-lookup.c: Likewise.
58224 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
58226         * sysdeps/unix/sysv/linux/kernel-features.h
58227         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
58228         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
58229         unconditionally.
58230         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
58231         unconditionally.
58232         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
58233         condition on __ASSUME_CLONE_THREAD_FLAGS.
58235 2012-08-14  Andreas Jaeger  <aj@suse.de>
58237         * sysdeps/i386/fpu/libm-test-ulps: Update.
58239 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
58241         * include/atomic.h (atomic_exchange_and_add): Split into ...
58242         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
58243         New atomic macros.
58245 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
58247         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58249 2012-08-13  Jeff Law <law@redhat.com>
58251         * manual/stdio.texi (snprintf): Clarify handling of the trailing
58252         null byte in the output string.
58254 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
58256         * sysdeps/unix/sysv/linux/kernel-features.h
58257         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
58258         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
58259         (__ASSUME_ARG_MAX_STACK_BASED): Define.
58260         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
58261         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
58262         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
58263         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
58265 2012-08-09  Jeff Law <law@redhat.com>
58267         [BZ #13939]
58268         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
58269         When avoid_arena is set, don't retry in the that arena.  Pick the
58270         next one, whatever it might be.
58271         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
58272         (arena_lock): Pass in new parameter to arena_get2.
58273         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
58274         arena_get2.
58275         (__libc_malloc): Unify retrying after main arena failure with
58276         __libc_memalign version.
58277         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
58279 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
58281         [BZ #14166]
58282         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
58283         to __redirect_strstr.
58284         (__strstr_sse42): Use typeof __redirect_strstr.
58285         (__strstr_ia32): Likewise.
58286         (__libc_strstr): New prototype.
58287         (strstr): Renamed to ...
58288         (__libc_strstr): This.
58289         (strstr): New strong alias of __libc_strstr.
58290         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
58291         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
58292         __redirect_time.
58293         Include <time.h>.
58294         (__libc_time): New prototype.
58295         (time_ifunc): Replace time with __libc_time.
58296         (time): New strong alias and hidden definition of __libc_time.
58297         (__GI_time): Remove strong alias.
58298         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
58299         Include <stddef.h>.
58300         (memmove): Redefined to __redirect_memmove.
58301         (__memmove_sse2): Use typeof __redirect_memmove.
58302         (__memmove_ssse3): Likewise.
58303         (__memmove_ssse3_back): Likewise.
58304         (__libc_memmove): New prototype.
58305         (memmove): Renamed to ...
58306         (__libc_memmove): This.
58307         (memmove): New strong alias of __libc_memmove.
58309 2012-08-08  Mark Salter  <msalter@redhat.com>
58311         * elf/elf.h
58312         (R_MN10300_TLS_GD): Define.
58313         (R_MN10300_TLS_LD): Likewise.
58314         (R_MN10300_TLS_LDO): Likewise.
58315         (R_MN10300_TLS_GOTIE): Likewise.
58316         (R_MN10300_TLS_IE): Likewise.
58317         (R_MN10300_TLS_LE): Likewise.
58318         (R_MN10300_TLS_DTPMOD): Likewise.
58319         (R_MN10300_TLS_DTPOFF): Likewise.
58320         (R_MN10300_TLS_TPOFF): Likewise.
58321         (R_MN10300_SYM_DIFF): Likewise.
58322         (R_MN10300_ALIGN): Likewise.
58323         (R_MN10300_NUM): Update.
58325 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
58327         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
58328         Remove.
58330 2012-08-08  Roland McGrath  <roland@hack.frob.com>
58332         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
58334         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
58335         sysdeps/unix -> sysdeps/posix move.
58336         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
58338 2012-08-07      Allan McRae     <allan@archlinux.org>
58340         [BZ #14303]
58341         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
58342         (SUNOS_CPP): Likewise.
58343         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
58344         not found.
58345         (open_input): Call CPP using execvp.
58347 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
58349         * sysdeps/unix/sysv/linux/kernel-features.h
58350         (__ASSUME_PROT_GROWSUPDOWN): Remove.
58351         (__ASSUME_NO_CLONE_DETACHED): Likewise.
58352         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
58353         (__ASSUME_WAITID_SYSCALL): Likewise.
58354         * sysdeps/unix/sysv/linux/dl-execstack.c
58355         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
58356         code unconditional.
58357         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
58358         conditional code.
58359         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
58360         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
58361         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
58362         code.
58363         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
58364         unconditional.
58365         [__ASSUME_WAITID_SYSCALL]: Likewise.
58366         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
58368 2012-08-07  Roland McGrath  <roland@hack.frob.com>
58370         * sysdeps/unix/closedir.c: Renamed to ...
58371         * sysdeps/posix/closedir.c: ... here.
58372         * sysdeps/unix/dirfd.c: Renamed to ...
58373         * sysdeps/posix/dirfd.c: ... here.
58374         * sysdeps/unix/dirstream.h: Renamed to ...
58375         * sysdeps/posix/dirstream.h: ... here.
58376         * sysdeps/unix/fdopendir.c: Renamed to ...
58377         * sysdeps/posix/fdopendir.c: ... here.
58378         * sysdeps/unix/opendir.c: Renamed to ...
58379         * sysdeps/posix/opendir.c: ... here.
58380         * sysdeps/unix/readdir.c: Renamed to ...
58381         * sysdeps/posix/readdir.c: ... here.
58382         * sysdeps/unix/readdir_r.c: Renamed to ...
58383         * sysdeps/posix/readdir_r.c: ... here.
58384         * sysdeps/unix/rewinddir.c: Renamed to ...
58385         * sysdeps/posix/rewinddir.c: ... here.
58386         * sysdeps/unix/seekdir.c: Renamed to ...
58387         * sysdeps/posix/seekdir.c: ... here.
58388         * sysdeps/unix/telldir.c: Renamed to ...
58389         * sysdeps/posix/telldir.c: ... here.
58390         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
58391         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
58392         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
58393         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
58395         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
58396         * bits/fcntl.h: ... here.
58398         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
58399         not 0.
58400         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
58401         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
58402         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
58403         (struct flock): Move l_start, l_len to the beginning.
58404         Use __pid_t for l_pid.
58405         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
58406         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
58407         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
58408         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
58409         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
58410         [__USE_LARGEFILE64] (struct flock64): New type.
58411         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
58413         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
58414         * bits/dirent.h: ... here.
58416         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
58417         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
58419 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
58421         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
58422         Change from 2.6.0 to 2.6.16.
58423         * sysdeps/unix/sysv/linux/configure: Regenerated.
58424         * sysdeps/unix/sysv/linux/kernel-features.h
58425         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
58426         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
58427         version.
58428         (__ASSUME_UTIMES): Likewise.
58429         (__ASSUME_CLONE_STOPPED): Remove.
58430         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
58431         architectures, not kernel version.
58432         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
58433         (__ASSUME_NO_CLONE_DETACHED): Likewise.
58434         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
58435         (__ASSUME_WAITID_SYSCALL): Likewise.
58436         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
58437         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
58438         * README: State 2.6.16 as minimum Linux kernel version.  Do not
58439         refer to older versions.
58441 2012-08-06  Roland McGrath  <roland@hack.frob.com>
58443         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
58444         Define alphasort64 as an alias.
58445         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
58446         Define versionsort64 as an alias.
58447         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
58448         Define scandir64 as an alias.
58449         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
58450         Define scandirat64 as an alias.
58451         * dirent/alphasort64.c (alphasort64):
58452         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
58453         * dirent/versionsort64.c: Likewise.
58454         * dirent/scandir64.c: Likewise.
58455         * dirent/scandirat64.c: Likewise.
58456         * sysdeps/wordsize-64/alphasort.c: File removed.
58457         * sysdeps/wordsize-64/alphasort64.c: File removed.
58458         * sysdeps/wordsize-64/scandir.c: File removed.
58459         * sysdeps/wordsize-64/scandir64.c: File removed.
58460         * sysdeps/wordsize-64/scandirat.c: File removed.
58461         * sysdeps/wordsize-64/scandirat64.c: File removed.
58462         * sysdeps/wordsize-64/versionsort.c: File removed.
58463         * sysdeps/wordsize-64/versionsort64.c: File removed.
58464         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
58465         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
58466         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
58467         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
58468         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
58469         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
58470         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
58471         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
58473         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
58474         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
58475         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
58476         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58477         [defined __arch64__ || defined __sparcv9]
58478         (__INO_T_MATCHES_INO64_T): New macro.
58479         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
58480         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
58481         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
58482         * sysdeps/unix/sysv/linux/bits/dirent.h
58483         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
58484         (_DIRENT_MATCHES_DIRENT64): New macro.
58486         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
58487         Define lockf64 as an alias.
58488         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
58489         Define fseeko64 as an alias.
58490         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
58491         Define ftello64 as an alias.
58492         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
58493         Define _IO_fgetpos64 and fgetpos64 as aliases.
58494         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
58495         Define _IO_fsetpos64 and fsetpos64 as aliases.
58496         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
58497         Conditionalize body on this.
58498         * libio/fseeko64.c: Likewise.
58499         * libio/ftello64.c: Likewise.
58500         * libio/iofgetpos64.c: Likewise.
58501         * libio/iofsetpos64.c: Likewise.
58502         * sysdeps/wordsize-64/lockf.c: File removed.
58503         * sysdeps/wordsize-64/lockf64.c: File removed.
58504         * sysdeps/wordsize-64/fseeko.c: File removed.
58505         * sysdeps/wordsize-64/fseeko64.c: File removed.
58506         * sysdeps/wordsize-64/ftello.c: File removed.
58507         * sysdeps/wordsize-64/ftello64.c: File removed.
58508         * sysdeps/wordsize-64/iofgetpos.c: File removed.
58509         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
58510         * sysdeps/wordsize-64/iofsetpos.c: File removed.
58511         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
58512         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
58513         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
58514         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
58515         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
58516         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
58517         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
58518         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
58519         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
58520         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
58521         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
58523         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
58524         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
58525         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
58526         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58527         [defined __arch64__ || defined __sparcv9]
58528         (__OFF_T_MATCHES_OFF64_T): New macro.
58529         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
58530         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
58531         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58532         (__OFF_T_MATCHES_OFF64_T): New macro.
58534 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
58536         * stdlib/secure-getenv.c (__secure_getenv): Replace
58537         GLIBC_2_16 with GLIBC_2_17.
58539 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
58541         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
58542         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
58544 2012-08-03  David S. Miller  <davem@davemloft.net>
58546         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58548 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
58550         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
58551         Remove.
58552         (__ASSUME_CORRECT_SI_PID): Likewise.
58553         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
58554         (__ASSUME_TMPFS_NAME): Likewise.
58555         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
58556         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
58557         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
58558         (HAVE_AUX_SECURE): Make definition unconditional.
58559         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
58560         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
58562 2012-08-03  Roland McGrath  <roland@hack.frob.com>
58564         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
58565         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
58566         * sysdeps/mach/hurd/eloop-threshold.h: New file.
58567         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
58568         __eloop_threshold instead of SYMLOOP_MAX.
58570         * sysdeps/generic/eloop-threshold.h: New file.
58571         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
58572         of MAXSYMLINKS.
58573         * elf/chroot_canon.c (chroot_canon): Likewise.
58575 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
58577         [BZ #13717]
58578         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
58579         Change to 2.6.0 everywhere.
58580         * sysdeps/unix/sysv/linux/configure: Regenerated.
58581         * sysdeps/unix/sysv/linux/kernel-features.h
58582         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
58583         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
58584         kernel versions.
58585         (__ASSUME_POSIX_TIMERS): Define unconditionally.
58586         (__ASSUME_FUTEX_REQUEUE): Remove.
58587         (__ASSUME_STATFS64): Define unconditionally.
58588         (__ASSUME_AT_SECURE): Likewise.
58589         (__ASSUME_CORRECT_SI_PID): Likewise.
58590         (__ASSUME_TGKILL): Define without depending on kernel version for
58591         i386.
58592         (__ASSUME_UTIMES): Likewise.
58593         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
58594         kernel version.
58595         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
58596         (__ASSUME_TMPFS_NAME): Likewise.
58597         * README: Update reference to Linux kernel versions.
58599 2012-08-02  Marek Polacek  <polacek@redhat.com>
58601         [BZ# 14150]
58602         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
58603         libc_cv_asm_type_prefix with %.
58604         * configure: Regenerated.
58605         * include/libc-symbols.h: Remove comment about
58606         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
58607         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
58608         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
58609         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
58610         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
58611         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
58612         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
58613         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
58614         * elf/tst-unique2mod1.c: Likewise.
58615         * elf/tst-unique1mod2.c: Likewise.
58616         * elf/tst-unique1mod1.c: Likewise.
58617         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
58618         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
58619         Replace ASM_TYPE_DIRECTIVE with .type.
58620         * sysdeps/s390/s390-64/sysdep.h: Likewise.
58621         * sysdeps/i386/sysdep.h: Likewise.
58622         * sysdeps/x86_64/sysdep.h: Likewise.
58623         * sysdeps/sh/sysdep.h: Likewise.
58624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
58625         Do not define ASM_TYPE_DIRECTIVE.
58626         * sysdeps/powerpc/sysdep.h: Likewise.
58627         * sysdeps/powerpc/powerpc32/sysdep.h:
58628         Replace ASM_TYPE_DIRECTIVE with .type.
58629         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
58630         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
58631         * sysdeps/i386/fpu/e_powf.S: Likewise.
58632         * sysdeps/i386/fpu/e_expl.S: Likewise.
58633         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
58634         * sysdeps/i386/fpu/e_acosh.S: Likewise.
58635         * sysdeps/i386/fpu/e_pow.S: Likewise.
58636         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
58637         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
58638         * sysdeps/i386/fpu/s_expm1.S: Likewise.
58639         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
58640         * sysdeps/i386/fpu/e_log2.S: Likewise.
58641         * sysdeps/i386/fpu/e_log2l.S: Likewise.
58642         * sysdeps/i386/fpu/e_scalb.S: Likewise.
58643         * sysdeps/i386/fpu/e_powl.S: Likewise.
58644         * sysdeps/i386/fpu/e_log10f.S: Likewise.
58645         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
58646         * sysdeps/i386/fpu/e_logl.S: Likewise.
58647         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
58648         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
58649         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
58650         * sysdeps/i386/fpu/e_log2f.S: Likewise.
58651         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
58652         * sysdeps/i386/fpu/e_log.S: Likewise.
58653         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58654         * sysdeps/i386/fpu/e_logf.S: Likewise.
58655         * sysdeps/i386/fpu/e_log10l.S: Likewise.
58656         * sysdeps/i386/fpu/e_atanh.S: Likewise.
58657         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
58658         * sysdeps/i386/fpu/e_log10.S: Likewise.
58659         * sysdeps/i386/fpu/s_frexp.S: Likewise.
58660         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
58661         * sysdeps/i386/fpu/s_asinh.S: Likewise.
58662         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
58663         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58664         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
58665         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
58666         * sysdeps/i386/i686/strtok.S: Likewise.
58667         * sysdeps/i386/i386-mcount.S: Likewise.
58668         * sysdeps/i386/strtok.S: Likewise.
58669         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
58670         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58671         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58672         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58673         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
58674         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58675         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
58676         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
58677         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58678         * sysdeps/x86_64/_mcount.S: Likewise.
58679         * sysdeps/x86_64/strtok.S: Likewise.
58680         * sysdeps/sh/_mcount.S: Likewise.
58682 2012-08-01  Roland McGrath  <roland@hack.frob.com>
58684         * libio/iofopen.c: Include <fcntl.h>.
58685         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
58686         (_IO_fopen64, fopen64): Define as aliases.
58687         * libio/iofopen64.c: Include <fcntl.h>.
58688         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
58689         Conditionalize body on this.
58690         * sysdeps/wordsize-64/iofopen.c: File removed.
58691         * sysdeps/wordsize-64/iofopen64.c: File removed.
58693 2012-08-01  Marek Polacek  <polacek@redhat.com>
58695         * libc/Makeconfig: Use elf in place of binfmt-subdir.
58696         Use dlfcn directly instead of a variable.
58697         (binfmt-subdir): Do not define.
58698         (dlfcn): Likewise.
58700 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
58702         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
58703         Remove all definitions.
58704         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
58705         <kernel-features.h>.
58706         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
58707         (miss_F_GETOWN_EX): Remove all definitions.
58708         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
58709         macro definition.
58710         [!__ASSUME_FCNTL64]: Remove conditional code.
58711         [__ASSUME_FCNTL64]: Make code unconditional.
58712         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
58713         <kernel-features.h>.
58714         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
58715         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
58716         (lockf64) [__NR_fcntl64]: Make code unconditional.
58717         (lockf64) [__ASSUME_FCNTL64]: Likewise.
58719         * sysdeps/unix/sysv/linux/kernel-features.h
58720         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
58721         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
58722         Make code unconditional.
58723         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
58724         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
58725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
58726         [__NR_vfork]: Make code unconditional.
58727         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
58728         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
58729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
58730         [__NR_vfork]: Make code unconditional.
58731         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
58732         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
58734 2012-08-01  Roland McGrath  <roland@hack.frob.com>
58736         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
58737         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
58739         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
58740         Define mkstemp64 as an alias.
58741         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
58742         Define mkstemps64 as an alias.
58743         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
58744         Define mkostemp64 as an alias.
58745         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
58746         Define mkostemps64 as an alias.
58747         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
58748         Conditionalize body on this.
58749         * misc/mkostemp64.c: Likewise.
58750         * misc/mkostemps64.c: Likewise.
58751         * misc/mkstemps64.c: Likewise.
58752         * sysdeps/wordsize-64/mkstemp64.c: File removed.
58753         * sysdeps/wordsize-64/mkostemp64.c: File removed.
58754         * sysdeps/wordsize-64/mkostemp.c: File removed.
58755         * sysdeps/wordsize-64/mkstemp.c: File removed.
58756         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
58757         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
58758         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
58759         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
58761         [BZ #14138]
58762         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
58763         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
58764         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
58765         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
58767         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
58768         compat_symbol macros from <shlib-compat.h> rather than the underlying
58769         default_symbol_version and symbol_version macros, so that DEFAULT
58770         lines in shlib-versions are respected.
58771         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
58773 2012-08-01  Florian Weimer  <fweimer@redhat.com>
58775         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
58776         Declare with warn_unused_result.
58777         (setgid, setregid, setegid, setresgid): Likewise.
58778         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
58779         Likewise.
58780         * WUR-REPORT: Remove set*id functions.
58782 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
58784         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
58786 2012-07-31  Roland McGrath  <roland@hack.frob.com>
58788         [BZ #10191]
58789         * include/sys/socket.h (__libc_accept, __libc_accept4):
58790         Add attribute_hidden.
58791         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
58793         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
58794         use of PTR_MANGLE.
58795         * inet/getnetgrent_r.c (setup): Likewise.
58797         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
58799 2012-07-31  David S. Miller  <davem@davemloft.net>
58801         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58803 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
58805         [BZ #13629]
58806         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
58807         value between 1.0 and 2.0 and smaller part has absolute value less
58808         than 1.0.
58809         * math/s_clog10.c (__clog10): Likewise.
58810         * math/s_clog10f.c (__clog10f): Likewise.
58811         * math/s_clog10l.c (__clog10l): Likewise.
58812         * math/s_clogf.c (__clogf): Likewise.
58813         * math/s_clogl.c (__clogl): Likewise.
58814         * math/libm-test.inc (clog_test): Add more tests.
58815         (clog10_test): Likewise.
58816         * sysdeps/i386/fpu/libm-test-ulps: Update.
58817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58819 2012-07-31  Florian Weimer  <fweimer@redhat.com>
58821         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
58822         Exit with zero in case no suitable GID is found, and write a
58823         message to standard error.
58825 2012-07-30  Roland McGrath  <roland@hack.frob.com>
58827         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
58828         rather than to 1.
58829         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
58830         (MAXPATHLEN): Removed.
58831         (NOGROUP, NODEV): New macros.
58832         (setbit, clrbit, isset, isclr): New macros.
58833         (howmany, roundup, powerof2): New macros.
58834         (DEV_BSIZE): New macro.
58836         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
58837         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
58839         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
58840         definition on [!__NO_LONG_DOUBLE_MATH].
58842         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
58843         PTR_MANGLE and PTR_DEMANGLE.
58845         * socket/accept4.c (accept4): Rename to __libc_accept4.
58846         Define accept4 as a weak alias.
58848         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
58849         on [_DIRENT_HAVE_D_TYPE].
58850         * io/ftw.c (ftw_dir): Likewise.
58852         * io/xmknod.c (__xmknod): Don't check PATH for being null.
58854         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
58856         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
58857         Use the BSD numbers rather than the arbitrary ones we had.
58858         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
58859         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
58860         (SIGXCPU, SIGXFSZ): New macros.
58861         (_NSIG): Now 32.
58863         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
58864         initializer on [_LIBC_REENTRANT].
58866         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
58867         definitions inside [_POSIX_MAPPED_FILES].
58869         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
58871         * dirent/opendir.c: Include <fcntl.h>.
58873         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
58874         (__libc_getspecific): Likewise.
58875         (__libc_key_create): Likewise.
58877         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
58878         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
58879         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
58880         (tmpfile64): Define as alias.
58881         * sysdeps/wordsize-64/tmpfile.c: File removed.
58882         * sysdeps/wordsize-64/tmpfile64.c: File removed.
58883         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
58884         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
58886         * stdio-common/vfscanf.c: Include <stdbool.h>.
58887         * nss/makedb.c: Likewise.
58888         * stdio-common/_i18n_number.h: Likewise.
58889         * argp/argp-help.c: Likewise.
58890         * posix/wordexp.c: Likewise.
58891         * sysdeps/posix/spawni.c: Likewise.
58892         * nss/nss_files/files-initgroups.c: Likewise.
58893         * stdio-common/reg-modifier.c: Include <stdlib.h>.
58894         * nss/nss_files/files-initgroups.c: Likewise.
58895         * nss/nss_db/db-netgrp.c: Likewise.
58896         * nss/nss_db/db-initgroups.c: Likewise.
58897         * io/fchmodat.c: Include <sys/stat.h>.
58899         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
58900         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
58902         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
58903         [HAVE_MMAP].
58905         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
58906         Add multiple inclusion protection.
58908 2012-07-27  David S. Miller  <davem@davemloft.net>
58910         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58912 2012-07-27  Gary Benson  <gbenson@redhat.com>
58914         [BZ #14298]
58915         * elf/rtld.c: Include <stap-probe.h>.
58916         (dl_main): Added static probes "init_start" and "init_complete".
58917         * elf/dl-load.c: Include <stap-probe.h>.
58918         (lose): Take new parameter "nsid".
58919         Added static probe "map_failed".
58920         (_dl_map_object_from_fd): Pass namespace id to lose.
58921         Added static probe "map_start".
58922         (open_verify): Pass namespace id to lose.
58923         * elf/dl-open.c: Include <stap-probe.h>.
58924         (dl_open_worker) Added static probes "map_complete", "reloc_start"
58925         and "reloc_complete".
58926         * elf/dl-close.c: Include <stap-probe.h>.
58927         (_dl_close_worker): Added static probes "unmap_start" and
58928         "unmap_complete".
58929         * elf/rtld-debugger-interface.txt: New file documenting the above.
58931 2012-07-26  Roland McGrath  <roland@hack.frob.com>
58933         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
58934         rather than a string variable.
58935         * sunrpc/rpc_main.c (h_output): Likewise.
58936         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
58938 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
58940         * inet/check_native.c: New file.
58942 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
58944         [BZ #13629]
58945         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
58946         if larger part has absolute value 1.0.
58947         * math/s_clog10.c (__clog10): Likewise.
58948         * math/s_clog10f.c (__clog10f): Likewise.
58949         * math/s_clog10l.c (__clog10l): Likewise.
58950         * math/s_clogf.c (__clogf): Likewise.
58951         * math/s_clogl.c (__clogl): Likewise.
58952         * math/libm-test.inc (clog_test): Add more tests.
58953         (clog10_test): Likewise.
58954         * sysdeps/i386/fpu/libm-test-ulps: Update.
58955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58957         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
58958         (pltexit): Likewise.
58959         (La_regs): Likewise.
58960         (La_retval): Likewise.
58961         (int_retval): Likewise.
58962         Update #error for removed macros to refer only to definitions in
58963         tst-audit.h.
58964         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
58965         macro.
58966         (pltexit): Likewise.
58967         (La_regs): Likewise.
58968         (La_retval): Likewise.
58969         (int_retval): Likewise.
58970         * elf/tst-auditmod4b.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-auditmod5b.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-auditmod6b.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-auditmod6c.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-auditmod7b.c (pltenter): Remove all definitions of
58995         macro.
58996         (pltexit): Likewise.
58997         (La_regs): Likewise.
58998         (La_retval): Likewise.
58999         (int_retval): Likewise.
59000         * sysdeps/generic/tst-audit.h: Update comment to refer only to
59001         macro definitions in tst-audit.h.
59002         * sysdeps/i386/tst-audit.h: New file.
59003         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
59004         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
59005         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
59006         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
59007         * sysdeps/sh/tst-audit.h: Likewise.
59008         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
59009         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
59010         * sysdeps/x86_64/tst-audit.h: Likewise.
59012 2012-07-26  Andreas Jaeger  <aj@suse.de>
59014         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
59015         ptrace.
59017         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
59018         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
59019         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
59020         PTRACE_O_MASK.
59021         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
59022         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
59023         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
59025         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
59026         value.
59028         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
59029         _sigsys.
59030         (si_call_addr, si_syscall, si_arch): Define new macro.
59031         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
59032         _sigsys.
59033         (si_call_addr, si_syscall, si_arch): Define new marcro.
59034         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
59035         _sigsys.
59036         (si_call_addr, si_syscall, si_arch): Define new macro.
59037         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
59038         _sigsys.
59039         (si_call_addr, si_syscall, si_arch): Define new macro.
59041 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
59043         [BZ #13717]
59044         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59045         Change to 2.4.21 where previously 2.4.1.
59046         * sysdeps/unix/sysv/linux/configure: Regenerated.
59047         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
59048         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
59049         Linux kernel version.
59050         (__ASSUME_STD_AUXV): Remove.
59051         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
59052         kernel version.
59053         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
59054         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
59055         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
59056         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
59057         (__ASSUME_NETLINK_SUPPORT): Likewise.
59058         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
59059         (__no_netlink_support): Remove conditional definition.
59060         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
59061         Remove.
59062         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
59063         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
59064         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
59065         (if_nameindex_ioctl): Remove.
59066         (if_nameindex_netlink): Do not handle __no_netlink_support.
59067         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
59068         code.
59069         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
59070         Remove conditional code.
59071         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
59072         code.
59073         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
59074         unconditional.
59075         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
59076         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
59077         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
59078         Remove.
59079         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
59080         [!__ASSUME_STD_AUXV]: Remove conditional code.
59081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
59082         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
59083         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
59084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
59085         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
59086         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
59087         code.
59088         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
59089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
59090         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
59091         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
59092         conditional code.
59093         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
59094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
59095         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
59096         code.
59097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
59098         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
59099         conditional code.
59100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
59101         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
59102         code unconditional.
59103         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59104         conditional code.
59105         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59106         unconditional.
59107         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59108         conditional code.
59109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59110         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59111         unconditional.
59112         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59113         conditional code.
59114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
59115         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
59116         code unconditional.
59117         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59118         conditional code.
59119         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59120         unconditional.
59121         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59122         conditional code.
59123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
59124         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
59125         code unconditional.
59126         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59127         conditional code.
59128         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59129         unconditional.
59130         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59131         conditional code.
59133 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
59135         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
59136         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
59137         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
59138         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
59139         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
59140         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
59141         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
59142         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
59143         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
59144         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
59145         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
59146         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
59147         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
59148         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
59149         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
59150         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
59151         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
59152         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
59153         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
59154         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
59155         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
59156         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
59157         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
59159 2012-07-25  Florian Weimer  <fweimer@redhat.com>
59161         * Versions.def: Add GLIBC_2.17.
59162         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
59163         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
59164         Introduce __libc_secure_getenv.
59165         * stdlib/Versions (2.17): Add secure_getenv
59166         (GLIBC_PRIVATE): Add __libc_secure_getenv.
59167         * stdlib/secure-getenv.c: Rename __secure_getenv to
59168         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
59169         symbol __secure_getenv for GLIBC_2.0.
59170         * stdlib/tst-secure-getenv.c: New.
59171         * stdlib/Makefile (tests): Add testcase.
59172         * manual/startup.texi (Environment Access): Document
59173         secure_getenv.
59174         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
59175         __libc_secure_getenv.
59176         * inet/ruserpass.c (ruserpass): Likewise.
59177         * malloc/mtrace.c (mtrace): Likewise.
59178         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
59179         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
59180         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
59181         * sysdeps/posix/tempname.c: Likewise.  Evaluate
59182         HAVE_SECURE_GETENV.
59183         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
59184         __secure_getenv to __libc_secure_getenv.
59185         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
59186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59187         Likewise.
59188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59189         Likewise.
59190         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
59191         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
59192         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
59193         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
59194         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
59195         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
59196         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
59198 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
59200         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
59201         (struct La_i86_retval): Likewise.
59202         (struct La_x86_64_regs): Likewise.
59203         (struct La_x86_64_retval): Likewise.
59204         (struct La_x32_regs): Likewise.
59205         (struct La_x32_retval): Likewise.
59206         (struct La_ppc32_regs): Likewise.
59207         (struct La_ppc32_retval): Likewise.
59208         (struct La_ppc64_regs): Likewise.
59209         (struct La_ppc64_retval): Likewise.
59210         (struct La_sh_regs): Likewise.
59211         (struct La_sh_retval): Likewise.
59212         (struct La_s390_32_regs): Likewise.
59213         (struct La_s390_32_retval): Likewise.
59214         (struct La_s390_64_regs): Likewise.
59215         (struct La_s390_64_retval): Likewise.
59216         (struct La_sparc32_regs): Likewise.
59217         (struct La_sparc32_retval): Likewise.
59218         (struct La_sparc64_regs): Likewise.
59219         (struct La_sparc64_retval): Likewise.
59220         (struct audit_ifaces): Remove architecture-specific pltenter and
59221         pltexit members.
59222         * sysdeps/i386/ldsodefs.h: New file.
59223         * sysdeps/powerpc/ldsodefs.h: Likewise.
59224         * sysdeps/s390/ldsodefs.h: Likewise.
59225         * sysdeps/sh/ldsodefs.h: Likewise.
59226         * sysdeps/sparc/ldsodefs.h: Likewise.
59227         * sysdeps/x86_64/ldsodefs.h: Likewise.
59229 2012-07-25  Marek Polacek  <polacek@redhat.com>
59231         [BZ #6808]
59232         * math/libm-test.inc (yn_test): Add another test.
59233         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
59234         to ERANGE when the result is +-Inf.
59235         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
59236         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
59237         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
59238         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
59240 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
59242         * conform/data/time.h-data (NULL): Use macro-constant.  Require
59243         equal to 0.
59244         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
59245         clock_t.
59246         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
59248 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
59250         * configure.in <sysdeps resolving>: Correct printing
59251         Implies_before.
59252         * configure: Regenerate.
59254 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
59256         * math/w_ilogb.c: Include <limits.h>.
59257         * math/w_ilogbl.c: Likewise.
59259 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
59261         * manual/lang.texi (__va_copy): Document primarily as ISO C99
59262         va_copy.  Document allowing for unavailable va_copy only as
59263         pre-C99 compatibility.
59264         * manual/string.texi (Copying and Concatenation): Use va_copy
59265         instead of __va_copy in concat example.
59267 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
59269         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
59270         (__sendto): Use create_address_port.  Initialize APORT and deallocate
59271         it if not null.
59273         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
59274         with O_NOLINK passed to __file_name_lookup.
59276         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
59277         with O_NOLINK passed to __file_name_lookup.
59279         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
59280         negative N or less than NGIDS.
59282         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
59283         type to string_t.  Set ERANGE as errno and return it if NAME is not big
59284         enough.  Use memcpy instead of strncpy.
59286 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
59288         * elf/Makefile (check-data): Remove.
59289         (localplt.data): New vpath directive.
59290         ($(objpfx)check-localplt.out): Use localplt.data from vpath
59291         instead of $(check-data).
59292         * scripts/data/localplt-generic.data: Move to ...
59293         * sysdeps/generic/localplt.data: ... here.
59294         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
59295         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
59296         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
59297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
59298         ... here.
59299         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
59300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
59301         ... here.
59302         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
59303         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
59304         ... here.
59305         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
59306         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
59307         ... here.
59308         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
59309         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
59310         ... here.
59311         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
59312         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
59313         ... here.
59315 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59317         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
59318         PPC32 and PPC64 files.
59319         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
59320         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
59322 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59324         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
59325         __makecontext_ret to ...
59326         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
59327         ... here and call exit if uc_link is NULL.  New file.
59328         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
59329         __makecontext_ret.S.
59330         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
59331         __makecontext_ret to ...
59332         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
59333         ... here and call exit if uc_link is NULL.  New file.
59334         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
59335         __makecontext_ret.S.
59337 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59339         * elf/elf.h (R_390_IRELATIVE): New definition.
59340         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
59341         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
59342         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
59343         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
59344         (elf_machine_lazy_rel): Likewise.
59345         * sysdeps/s390/dl-irel.h: New file.
59346         * sysdeps/s390/s390-64/memcpy.S: New asm code.
59347         * sysdeps/s390/s390-64/memset.S: New asm code.
59348         * sysdeps/s390/s390-64/memcmp.S: New asm code.
59349         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
59350         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
59351         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
59352         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
59353         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
59354         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
59355         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
59356         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
59357         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
59358         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
59359         * sysdeps/s390/s390-32/memcpy.S: New asm code.
59360         * sysdeps/s390/s390-32/memset.S: New asm code.
59361         * sysdeps/s390/s390-32/memcmp.S: New asm code.
59363 2012-07-17  Marek Polacek  <polacek@redhat.com>
59365         [BZ #14349]
59366         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
59367         * sysdeps/s390/s390-64/configure.in: Likewise.
59368         * sysdeps/sparc/configure.in: Likewise.
59369         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
59370         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
59371         * sysdeps/i386/configure.in: Likewise.
59372         * sysdeps/x86_64/configure.in: Likewise.
59373         * sysdeps/sh/configure.in: Likewise.
59374         * sysdeps/s390/s390-32/configure: Regenerated.
59375         * sysdeps/s390/s390-64/configure: Likewise.
59376         * sysdeps/x86_64/configure: Likewise.
59377         * sysdeps/sh/configure: Likewise.
59378         * sysdeps/powerpc/powerpc64/configure: Likewise.
59379         * sysdeps/powerpc/powerpc32/configure: Likewise.
59380         * sysdeps/sparc/configure: Likwise.
59381         * sysdeps/i386/configure: Likewise.
59383         * elf/dl-open.c: Comment fixes.
59385 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
59387         * Makefile [CXX] (check-data): Remove.
59388         [CXX] (c++-types.data): New vpath directive.
59389         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
59390         vpath.  Do not allow for C++ type data being missing.
59391         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
59392         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
59393         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
59394         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
59395         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
59396         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
59397         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
59398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
59399         ... here.
59400         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
59401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
59402         ... here.
59403         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
59404         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
59405         ... here.
59406         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
59407         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
59408         ... here.
59409         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
59410         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
59411         ... here.
59412         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
59413         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
59414         ... here.
59415         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
59416         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
59417         ... here.
59418         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
59419         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
59421         * elf/tls-macros.h (TLS_LE): Move architecture-specific
59422         definitions to architecture-specific files.
59423         (TLS_IE): Likewise.
59424         (TLS_LD): Likewise.
59425         (TLS_GD): Likewise.
59426         * sysdeps/i386/tls-macros.h: New file.
59427         * sysdeps/powerpc/tls-macros.h: Likewise.
59428         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
59429         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
59430         * sysdeps/sh/tls-macros.h: Likewise.
59431         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
59432         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
59433         * sysdeps/x86_64/tls-macros.h: Likewise.
59435 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
59437         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
59438         zero value for regular exit case.
59440         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
59441         (__start_context): Preserve zero value for regular exit case.
59443 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
59444             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59446         * manual/setjmp.texi (setcontext): Clarify normal process
59447         termination when uc_link is the null pointer.
59448         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
59449         exit call.
59451 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
59453         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
59454         preprocessor.  Test for each exception mask separately.
59456 2012-07-16  Andreas Jaeger  <aj@suse.de>
59458         * po/ru.po: Update from translation team.
59460 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
59462         * conform/data/string.h-data (NULL): Use macro-constant.  Require
59463         equal to 0.
59464         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
59465         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
59466         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
59467         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
59468         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59470 2012-07-13  Andreas Jaeger  <aj@suse.de>
59472         * po/fr.po: Update from translation team.
59474 2012-07-12  Marek Polacek  <polacek@redhat.com>
59476         [BZ #14173]
59477         * math/libm-test.inc (yn_test): Add test for BZ #14173.
59478         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
59479         loop condition.
59481 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
59483         [BZ #13717]
59484         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59485         Change to 2.4.1 where previously 2.4.0.
59486         * sysdeps/unix/sysv/linux/configure: Regenerated.
59487         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
59488         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
59489         version.
59490         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
59491         (__ASSUME_AT_CLKTCK): Remove.
59492         (__ASSUME_AT_PAGESIZE): Likewise.
59493         (__ASSUME_AT_XID): Likewise.
59494         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
59495         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
59496         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
59497         unconditionally.
59498         (HAVE_AUX_PAGESIZE): Likewise.
59499         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
59500         [__ASSUME_AT_CLKTCK]: Make code unconditional.
59501         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
59503 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
59505         [BZ #14307]
59506         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
59507         the temporary buffer used to invoke __gethostbyname2_r,
59508         __gethostbyaddr_r and gethostbyname4_r to make room for struct
59509         host_data / struct gaih_addrtuple.
59510         * resolv/nss_dns/dns-host.c (global scope): Move definition of
59511         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
59512         header file nss/nsswitch.h.
59513         * nss/nsswitch.h (global scope): Add definition of implementation
59514         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
59515         resolv/nss_dns/dns-host.c).
59517 2012-07-11  Andreas Jaeger  <aj@suse.de>
59519         * po/fr.po: Update from translation team.
59521         * po/sv.po: Update from translation team
59522         * po/fr.po: Another update from translation team.
59524 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59526         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
59527         for subnormals or multiply small sinh result by itself.
59528         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
59529         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59531 2012-07-11  David S. Miller  <davem@davemloft.net>
59533         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59535 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
59537         [BZ #14347]
59538         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
59539         (INTERNAL_MARK): Shift it here.
59541 2012-07-10  Marek Polacek  <polacek@redhat.com>
59543         [BZ #14151]
59544         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
59545         libc_cv_asm_global_directive with .globl.
59546         * configure: Regenerated.
59547         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
59548         with .globl.
59549         * sysdeps/i386/configure: Regenerated.
59550         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
59551         with .globl.
59552         * sysdeps/x86_64/configure: Regenerated.
59553         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
59554         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
59555         * elf/tst-unique2mod2.c: Likewise.
59556         * elf/tst-unique2mod1.c: Likewise.
59557         * elf/tst-unique1mod2.c: Likewise.
59558         * elf/tst-unique1mod1.c: Likewise.
59559         * sysdeps/s390/s390-32/sysdep.h: Likewise.
59560         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
59561         * sysdeps/s390/s390-64/sysdep.h: Likewise.
59562         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
59563         * sysdeps/mach/sysdep.h: Likewise.
59564         * sysdeps/i386/sysdep.h: Likewise.
59565         * sysdeps/i386/i386-mcount.S: Likewise.
59566         * sysdeps/x86_64/_mcount.S: Likewise.
59567         * sysdeps/x86_64/sysdep.h: Likewise.
59568         * sysdeps/sh/_mcount.S: Likewise.
59569         * sysdeps/sh/sysdep.h: Likewise.
59570         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
59571         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
59572         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
59573         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
59574         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
59575         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
59576         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
59577         * locale/localeinfo.h: Likewise.
59578         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
59579         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
59581 2012-07-09  Roland McGrath  <roland@hack.frob.com>
59583         [BZ #14336]
59584         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
59585         system".
59586         * manual/message.texi (The Uniforum approach): Likewise.
59587         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
59588         (glibc iconv Implementation): Likewise.
59590 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
59592         [BZ #14337]
59593         * math/s_clog.c (__clog): Avoid scaling a value down where that
59594         could result in underflow.
59595         * math/s_clog10.c (__clog10): Likewise.
59596         * math/s_clog10f.c (__clog10f): Likewise.
59597         * math/s_clog10l.c (__clog10l): Likewise.
59598         * math/s_clogf.c (__clogf): Likewise.
59599         * math/s_clogl.c (__clogl): Likewise.
59600         * math/libm-test.inc (clog_test): Add more tests.
59601         (clog10_test): Likewise.
59602         * sysdeps/i386/fpu/libm-test-ulps: Update.
59603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59605 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
59607         [BZ #14283]
59608         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
59609         by 7 not 8 to examine high bit of fractional part.
59611         [BZ #14042]
59612         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
59613         for call to __mcount_internal.
59614         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
59615         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
59616         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
59618 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
59620         [BZ #14154]
59621         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
59622         approximation for values within 0x1p-13f of an odd multiple of
59623         pi/4.
59624         * math/libm-test.inc (tan_test): Do not allow spurious underflow
59625         exception.  Add more tests.
59626         * sysdeps/i386/fpu/libm-test-ulps: Update.
59628         [BZ #6778]
59629         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
59630         inputs and return -1 for them.  Do not check for +Inf in case not
59631         reachable for +Inf.
59632         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
59633         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
59634         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
59635         and return -1 for them.  Do not check for +Inf in case not
59636         reachable for +Inf.
59637         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
59638         define.
59639         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
59640         and return -1 for them.  Do not check for +Inf in case not
59641         reachable for +Inf.
59642         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
59643         spurious underflow.
59644         * sysdeps/i386/fpu/libm-test-ulps: Update.
59645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59647 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
59649         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
59651 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
59653         [BZ #14157]
59654         [BZ #14331]
59655         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
59656         could result in spurious underflow.  Scale down values above
59657         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
59658         * math/s_csqrtf.c (__csqrtf): Likewise.
59659         * math/s_csqrtl.c (__csqrtl): Likewise.
59660         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
59661         spurious underflow.
59662         * sysdeps/i386/fpu/libm-test-ulps: Update.
59663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59665 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
59667         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
59668         xopen-msg.sed.
59669         * catgets/xopen-msg.awk: New file.
59670         * catgets/xopen-msg.sed: Removed.
59672         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
59673         po2text.sed.
59674         * intl/po2test.awk: New file.
59675         * intl/po2test.sed: Removed.
59677 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
59679         [BZ #14328]
59680         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
59681         or multiply small sinh result by itself.
59682         * math/s_ctanf.c (__ctanf): Likewise.
59683         * math/s_ctanh.c (__ctanh): Likewise.
59684         * math/s_ctanhf.c (__ctanhf): Likewise.
59685         * math/s_ctanhl.c (__ctanhl): Likewise.
59686         * math/s_ctanl.c (__ctanl): Likewise.
59687         * math/libm-test.inc (ctan_test_tonearest): New function.
59688         (ctan_test_towardzero): Likewise.
59689         (ctan_test_downward): Likewise.
59690         (ctan_test_upward): Likewise.
59691         (ctanh_test_tonearest): Likewise.
59692         (ctanh_test_towardzero): Likewise.
59693         (ctanh_test_downward): Likewise.
59694         (ctanh_test_upward): Likewise.
59695         (main): Call these new functions.
59696         * sysdeps/i386/fpu/libm-test-ulps: Update.
59697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59699 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
59701         * .gitignore: Delete /ports entry.
59703 2012-07-03  Andreas Jaeger  <aj@suse.de>
59705         * po/bg.po: Update from translation team.
59706         * po/cs.po: Likewise.
59707         * po/de.po: Likewise.
59708         * po/hr.po: Likewise.
59709         * po/nl.pl: Likewise.
59710         * po/pl.po: Likewise.
59711         * po/vi.po: Likewise.
59713 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
59715         * Makeconfig [!+link] (+link-before-libc): New variable.
59716         [!+link] (+link-after-libc): Likewise.
59717         [!+link] (+link-tests): Likewise.
59718         [!+link] (+link): Define in terms of $(+link-before-libc) and
59719         $(+link-after-libc).
59720         [!+link-static] (+link-static-before-libc): New variable.
59721         [!+link-static] (+link-static-after-libc): Likewise.
59722         [!+link-static] (+link-static-tests): Likewise.
59723         [!+link-static] (+link-static): Define in terms of
59724         $(+link-static-before-libc) and $(+link-static-after-libc).
59725         [build-shared] (link-libc-before-gnulib): New variable.
59726         [build-shared] (link-libc-tests): Likewise.
59727         [build-shared] (link-libc): Define in terms of
59728         $(link-libc-before-gnulib).
59729         [!build-shared] (link-libc-tests): New variable.
59730         (link-libc-static-tests): New variable.
59731         [!gnulib] (gnulib-arch): New variable.
59732         [!gnulib] (gnulib-tests): Likewise.
59733         [!gnulib] (static-gnulib-arch): Likewise.
59734         [!gnulib] (static-gnulib-tests): Likewise.
59735         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
59736         Define with "=" instead of ":=".
59737         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
59738         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
59739         * Rules (binaries-all-notests): New variable.
59740         (binaries-all-tests): Likewise.
59741         (binaries-static-notests): Likewise.
59742         (binaries-static-tests): Likewise.
59743         (binaries-all): Define using $(binaries-all-notests) and
59744         $(binaries-all-tests).
59745         (binaries-static): Define using $(binaries-static-notests) and
59746         $(binaries-static-tests).
59747         (binaries-shared-tests): New variable.
59748         (binaries-shared-notests): Likewise.
59749         (binaries-shared): Remove variable.
59750         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
59751         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
59752         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
59753         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
59754         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
59755         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
59756         * elf/Makefile (sln-modules): New variable.
59757         (extra-objs): Add $(sln-modules:=.o).
59758         (ldconfig-modules): Add static-stubs.
59759         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
59760         * elf/static-stubs.c: New file.
59762         [BZ #14283]
59763         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
59764         by 7 not 8 to examine high bit of fractional part.  Use volatile
59765         variables when splitting into final array of floats if
59766         __FLT_EVAL_METHOD__ != 0.
59767         * math/libm-test.inc (cos_test): Add another test.
59768         (sin_test): Likewise.
59769         * sysdeps/i386/fpu/libm-test-ulps: Update.
59771         [BZ #14273]
59772         * math/libm-test.inc (cosh_test): Add more tests.
59774         * version.h (RELEASE): Set to "development".
59775         (VERSION): Set to "2.16.90".
59777 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
59779         * NEWS: Update copyright. Remove last-updated date.
59780         Mention math library bug fixes and timezone data changes.
59781         * README: Mention GNU/Hurd, x32, and HPPA support status.
59783 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
59785         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
59787 2012-06-27  Andreas Jaeger  <aj@suse.de>
59789         * manual/contrib.texi (Contributors): Add Samuel Thibault.
59791 2012-06-25  Andreas Jaeger  <aj@suse.de>
59793         * sysdeps/s390/fpu/libm-test-ulps: Update.
59795 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
59796             Thomas Schwinge  <thomas@codesourcery.com>
59798         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
59799         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
59800         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
59801         fanotify_mark.
59803 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
59805         * sysdeps/mach/start.c: Remove file.
59806         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
59807         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
59808         * sysdeps/sh/init-first.c: Likewise.
59810         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
59811         registers for frame unwinding purposes, add CFI directives.
59812         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
59813         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
59814         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
59815         Likewise.
59817         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
59818         __fortify_fail returning.
59819         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
59821         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
59822         sysdeps/sh/____longjmp_chk.S.
59823         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
59824         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
59825         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
59826         (gen-as-const-headers): Append sigaltstack-offsets.sym.
59828         * sysdeps/sh/abort-instr.h: New file.
59829         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
59830         process in case exit returns.
59832         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
59833         initialize the GOT register before use.
59835         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
59836         calculation of ARGC > 4.
59838         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
59839         meaningful names to some local labels.
59841 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59842             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59844         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
59845         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
59846         (__arch_compare_and_exchange_val_16_acq): Likewise.
59847         (__arch_compare_and_exchange_val_32_acq): Likewise.
59848         (atomic_exchange_and_add): Fix gUSA sequence.
59849         (atomic_add): Likewise.
59850         (atomic_add_negative): Likewise.
59851         (atomic_add_zero): Likewise.
59852         (atomic_bit_test_set): Likewise.
59854 2012-06-22  Andreas Schwab  <schwab@redhat.com>
59856         [BZ #13579]
59857         * include/link.h (struct link_map): Add l_free_initfini.
59858         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
59859         l_initfini.
59860         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
59861         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
59862         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
59863         set.
59865 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
59867         * configure.in: Use AC_LANG_SOURCE.
59868         * configure: Regenerate.
59870 2012-06-22  Roland McGrath  <roland@hack.frob.com>
59872         * configure.in (libc_cv_localstatedir): New substituted variable.
59873         * configure: Regenerated.
59874         * config.make.in (localstatedir): New variable, substituted from
59875         libc_cv_localstatedir.
59876         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
59877         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
59878         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
59879         * sysdeps/gnu/configure: Regenerated.
59881 2012-06-21  Jeff Law  <law@redhat.com>
59883         [BZ #14277]
59884         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
59885         free.  Simplify list management for _LIBC case.
59887 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
59889         [BZ #14273]
59890         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
59891         Clear sign bit of 64-bit integer value before comparing against
59892         overflow value.
59894         * sysdeps/mach/configure: Regenerated.
59896 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
59898         [BZ #14278]
59899         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
59901 2012-06-21  Jeff Law  <law@redhat.com>
59903         [BZ #13882]
59904         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
59905         uint16_t for elements in the "seen" array to avoid char overflows.
59906         * elf/dl-fini.c (_dl_sort_fini): Likewise.
59907         * elf/dl-open.c (dl_open_worker): Likewise.
59909 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
59911         * scripts/list-sources.sh: Scan PORTS for translations.
59912         * po/libc.pot: Regenerated.
59914 2012-06-21  Andreas Jaeger  <aj@suse.de>
59916         [BZ #12194]
59917         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
59918         warning.
59919         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
59920         * bits/byteswap-16.h (__bswap_16): Likewise.
59921         * bits/byteswap.h (__bswap_constant_16): Likewise.
59923 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
59925         [BZ #14117]
59926         * sysdeps/i386/fpu_control.h: Removed.
59927         * sysdeps/x86_64/fpu_control.h: Moved to ...
59928         * sysdeps/x86/fpu_control.h: Here.
59930         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
59931         (_FPU_SETCW): Likewise.
59933 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
59935         [BZ #14117]
59936         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
59937         * sysdeps/x86/fpu/bits/mathinline.h: This.
59938         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
59940         [BZ #14050]
59941         [BZ #14117]
59942         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
59943         functions if __x86_64__ is defined.
59945 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
59947         * string/endian.h: Add !__ASSEMBLER__ condition for including
59948         conversion interfaces.
59950 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
59952         [BZ #14241]
59953         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
59954         of ABS(x) in calculating zero to negative powers other than odd
59955         integers.
59956         * math/libm-test.inc (pow_test): Add more tests.
59958 2012-06-15  Andreas Jaeger  <aj@suse.de>
59960         * manual/contrib.texi (Contributors): Update entry of Liubov
59961         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
59962         Machado Filho.
59964 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
59966         * string/string.h: Add __wur to GNU version of strerror_r.
59968 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
59970         [BZ #14229]
59971         * string/Makefile (tests): Add tst-strtok_r.
59972         * string/tst-strtok_r.c: New file.
59973         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
59974         RAX_LP/RDX_LP on SAVE_PTR.
59976 2012-06-14  Roland McGrath  <roland@hack.frob.com>
59978         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
59980 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
59982         * libm_test.inc (csqrt_test): Allow more spurious underflow
59983         exceptions.
59984         (j0_test): Likewise.
59985         (j1_test): Likewise.
59986         (y0_test): Likewise.
59987         (y1_test): Likewise.
59989 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
59991         * po/Makefile (libc.pot): Use UTF-8 charset.
59993 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
59995         [BZ #14210]
59996         Suppress sign-conversion warning from FD_SET.
59997         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
59998         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
59999         not unsigned long int.
60000         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
60002 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
60004         [BZ #14050]
60005         [BZ #14117]
60006         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
60007         __extern_always_inline instead of __extern_inline.
60008         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
60009         (__signbit): Likewise.
60010         (__signbitl): Support C++ namespace.
60011         (lrintf): New inline function.
60012         (lrint): Likewise.
60013         (llrintf): Likewise.
60014         (llrint): Likewise.
60015         (fmaxf): Likewise.
60016         (fmax): Likewise.
60017         (fminf): Likewise.
60018         (fmin): Likewise.
60019         (rint): Likewise.
60020         (rintf): Likewise.
60021         (ceil): Likewise.
60022         (ceilf): Likewise.
60023         (floor): Likewise.
60024         (floorf): Likewise.
60025         (nearbyint): Likewise.
60026         (nearbyintf): Likewise.
60028 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
60030         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
60031         non-default versions.
60033 2012-06-11  Roland McGrath  <roland@hack.frob.com>
60035         [BZ #14218]
60036         * manual/argp.texi (Argp): Reword argp_parse description slightly.
60038 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
60040         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
60041         (FE_UPWARD, FE_DOWNWARD): Don't define.
60042         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
60043         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
60045         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
60046         reading it.
60047         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
60048         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60050 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60052         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
60053         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
60054         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
60055         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
60057 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
60059         [BZ #14117]
60060         * sysdeps/i386/fpu/bits/fenv.h: Removed.
60061         * sysdeps/i386/fpu/Implies: New file.
60062         * sysdeps/x86_64/fpu/Implies: Likewise.
60063         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
60064         * sysdeps/x86/fpu/bits/fenv.h: This.
60066         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
60067         __SSE_MATH__.
60069 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
60071         [BZ #14134]
60072         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
60073         character 0xffff that matches the last element of the
60074         conversion table.
60076 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60078         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
60079         fmodl commit.
60081 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60083         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
60084         values higher than 25.6283.
60086 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60088         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
60089         subnormal exponent extraction and add some __builtin_expect.
60090         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
60091         Fix for subnormal mantissa calculation.
60093 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
60095         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
60096         cpu2 is -1 and errno is not ENOSYS.
60098 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
60100         [BZ #14117]
60101         * sysdeps/i386/i486/bits/string.h: Renamed to ...
60102         * sysdeps/x86/bits/string.h: This.
60103         * sysdeps/x86_64/bits/string.h: Removed.
60105         * sysdeps/i386/i486/bits/string.h: Define inline functions only
60106         if not compiling for x86-64, but compiling for >= i486.
60108         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
60109         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
60111         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
60112         New macro from Linux kernel 3.4.0.
60113         (FP_XSTATE_MAGIC2): Likewise.
60114         (FP_XSTATE_MAGIC2_SIZE): Likewise.
60115         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
60116         (struct _fpx_sw_bytes): New struct.
60117         (struct _xsave_hdr): Likewise.
60118         (struct _ymmh_state): Likewise.
60119         (struct _xstate): Likewise.
60121         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
60122         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
60123         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
60124         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
60125         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
60126         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
60128         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
60129         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
60130         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
60131         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
60132         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
60133         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
60135 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60137         [BZ #13743]
60138         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
60139         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
60140         (sysdep_headers): Include sys/platform/ppc.h.
60141         * sysdeps/powerpc/test-gettimebase.c: Test for
60142         __ppc_get_timebase() to catch future ISA opcode/insn changes.
60143         * manual/Makefile (appendices): Include platform.texi.
60144         * manual/contrib.texi (Contributors): Update @node pointers.
60145         * manual/maint.texi (Maintenance): Likewise.
60146         (Platform): New node.
60147         * manual/platform.texi: New file.  Document the new features.
60149 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
60150             Jakub Jelinek  <jakub@redhat.com>
60152         [BZ #14188]
60153         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
60154         where __builtin_expect is unavailable.
60156 2012-06-03  David S. Miller  <davem@davemloft.net>
60158         * stdlib/longlong.h: Updated from GCC.
60160 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
60162         [BZ #14042]
60163         * sysdeps/powerpc/powerpc32/mcount.c: New file.
60164         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
60165         __mcount_internal.
60166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
60167         (GLIBC_2.16): Likewise.
60169 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
60171         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
60173 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
60175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
60176         (default-abi): New variable.
60177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
60178         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
60179         variable.
60180         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
60181         Likewise.
60182         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
60183         Likewise.
60184         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
60185         Likewise.
60187         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
60188         definition.  Document in comment.
60190 2012-06-01  David S. Miller  <davem@davemloft.net>
60192         * stdlib/longlong.h: Updated from GCC.
60194 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
60196         [BZ #14117]
60197         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
60198         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
60199         sys/debugreg.h sys/io.h here.
60200         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
60201         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
60202         sys/io.h.
60203         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
60204         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
60205         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
60206         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
60207         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
60208         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
60210         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
60211         Define only if __x86_64__ is defined.
60213 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
60215         [BZ #14048]
60216         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
60217         Use int64_t for variable i.
60218         * math/libm-test.inc (fmod_test): Add more tests.
60220         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
60221         z computation is not scheduled after fetestexcept.
60222         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
60223         Use math_force_eval instead of asm to ensure calculation scheduled
60224         before exception test.
60225         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
60226         Ensure a1 + u.d computation is not scheduled after fetestexcept.
60228 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
60230         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
60231         computation is not scheduled after fetestexcept.
60233 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
60235         [BZ #14117]
60236         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
60237         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
60239 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60241         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
60242         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
60244 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
60246         [BZ #14117]
60247         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
60248         <bits/wordsize.h>.
60249         (__WCHAR_MIN): Support __WORDSIZE == 64.
60250         (__WCHAR_MAX): Likewise.
60252         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
60253         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
60255         [BZ #14183]
60256         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
60257         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
60259         [BZ #14117]
60260         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
60261         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
60263         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
60264         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
60266         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
60267         Defined to 1 if __x86_64__ isn't defined.
60268         (_STAT_VER_LINUX_OLD): New.
60269         (st_atime): Remove duplicate.
60270         (st_mtime): Likewise.
60271         (st_ctime): Likewise.
60273 2012-05-31  David S. Miller  <davem@davemloft.net>
60275         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
60276         entries.
60278 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
60280         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
60281         gen-libm-test.pl.
60283         [BZ #14132]
60284         * elf/dl-reloc.c: Include <_itoa.h>.
60285         (_dl_reloc_bad_type): Remove use of INTUSE.
60286         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
60287         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
60288         * stdio-common/psiginfo.c (psiginfo): Likewise.
60289         * stdio-common/psignal.c (psignal): Likewise.
60290         * string/strsignal.c (strsignal): Likewise.
60291         * include/signal.h (_sys_siglist): Declare hidden proto.
60292         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
60293         INTVARDEF with libc_hidden_data_def.
60294         * stdio-common/itoa-udigits.c: Likewise.
60295         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
60296         (_itoa_lower_digits_internal): Remove declaration.
60297         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
60298         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
60299         (_sys_sigabbrev_internal): Remove aliases.
60300         (_sys_siglist): Define hidden alias.
60302 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
60304         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60305         bits/sysctl.h.
60307 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
60309         [BZ #14117]
60310         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
60311         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
60313         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
60314         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
60315         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
60316         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
60317         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
60318         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
60320         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
60321         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
60322         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
60324         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
60325         with __addr.
60326         (insw): Likewise.
60327         (insl): Likewise.
60328         (outsb): Likewise.
60329         (outsw): Likewise.
60330         (outsl): Likewise.
60332         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
60333         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
60334         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
60336         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
60337         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
60338         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
60339         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
60340         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
60341         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
60343         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
60344         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
60346         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
60347         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
60349         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
60350         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
60351         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
60353         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
60354         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
60355         to ...
60356         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
60358         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
60359         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
60360         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
60362         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
60363         for x86-64.
60364         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
60366 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
60368         * math/math.h (M_El): Use two more decimal places.
60369         (M_LOG2El): Likewise.
60370         (M_LOG10El): Likewise.
60371         (M_LN2l): Likewise.
60372         (M_LN10l): Likewise.
60373         (M_PIl): Likewise.
60374         (M_PI_2l): Likewise.
60375         (M_PI_4l): Likewise.
60376         (M_1_PIl): Likewise.
60377         (M_2_PIl): Likewise.
60378         (M_2_SQRTPIl): Likewise.
60379         (M_SQRT2l): Likewise.
60380         (M_SQRT1_2l): Likewise.
60382 2012-05-31  David S. Miller  <davem@davemloft.net>
60384         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
60385         values between float registers.
60386         * sysdeps/sparc/sparc64/memset.S: Likewise.
60387         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
60389 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
60391         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
60392         -D_FORTIFY_SOURCE=1.
60393         (CPPFLAGS-tst-longjmp_chk.c): Define.
60394         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
60395         (CPPFLAGS-tst-longjmp_chk2.c): Define.
60396         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
60397         CFLAGS-tst-wchar-h.c.
60399 2012-05-31  Marek Polacek  <polacek@redhat.com>
60401         [BZ #14132]
60402         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
60403         __endmntent_internal): Remove declaration.
60404         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
60405         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
60406         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
60408 2012-05-30  David S. Miller  <davem@davemloft.net>
60410         * sysdeps/sparc/sparc32/soft-fp/q_util.c
60411         (___Q_simulate_exceptions): Use real FP ops rather than writing
60412         into the %fsr.
60413         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
60414         Likewise.
60416 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
60418         [BZ #14117]
60419         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
60420         * sysdeps/x86/bits/xtitypes.h: This.
60422         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
60423         * sysdeps/x86/bits/wordsize.h: This.
60425         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
60426         * sysdeps/x86/bits/huge_vall.h: This.
60428         * sysdeps/i386/bits/select.h: Removed.
60429         * sysdeps/x86_64/bits/select.h: Renamed to ...
60430         * sysdeps/x86/bits/select.h: This.
60432         * sysdeps/i386/bits/setjmp.h: Removed.
60433         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
60434         * sysdeps/x86/bits/setjmp.h: This.
60436         * sysdeps/i386/bits/mathdef.h: Removed.
60437         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
60438         * sysdeps/x86/bits/mathdef.h: This.
60440 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
60442         [BZ #14132]
60443         * include/sys/socket.h (__connect_internal)
60444         (__libc_sa_len_internal): Remove declaration.
60445         (__connect, __libc_sa_len): Declare hidden_proto.
60446         (SA_LEN): Remove use of INTUSE.
60447         * socket/connect.c: Add libc_hidden_def.
60448         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
60449         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
60450         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
60451         alias.
60452         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
60453         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
60454         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
60455         of adding _internal alias.
60457 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
60459         [BZ #14117]
60460         * sysdeps/i386/bits/link.h: Removed.
60461         * sysdeps/i386/bits/linkmap.h: Likewise.
60462         * sysdeps/x86_64/bits/link.h: Renamed to ...
60463         * sysdeps/x86/bits/link.h: This.
60464         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
60465         * sysdeps/x86/bits/linkmap.h: This.
60467         * sysdeps/i386/bits/endian.h: Removed.
60468         * sysdeps/x86_64/bits/endian.h: Renamed to ...
60469         * sysdeps/x86/bits/endian.h: This.
60471         * sysdeps/i386/bits/byteswap.h: Removed.
60472         * sysdeps/i386/bits/byteswap-16.h: Likewise.
60473         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
60474         * sysdeps/x86/bits/byteswap.h: This.
60475         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
60476         * sysdeps/x86/bits/byteswap-16.h: This.
60477         * sysdeps/i386/Implies: Add x86.
60478         * sysdeps/x86_64/Implies: Likewise.
60480 2012-05-30  David S. Miller  <davem@davemloft.net>
60482         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
60483         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
60484         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
60485         (FP_TRAPPING_EXCEPTIONS): Define.
60486         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
60487         (FP_TRAPPING_EXCEPTIONS): Define.
60488         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
60489         subnormals only when inexact has been signalled or underflow
60490         exceptions are enabled.
60491         (_FP_PACK_CANONICAL): Likewise.
60493 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
60495         [BZ #14183]
60496         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
60497         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
60499 2012-05-30  Richard Henderson  <rth@twiddle.net>
60501         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
60502         with #ifndef NOT_IN_libc.
60504         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
60505         marked to avoid plt entry.
60507 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
60509         [BZ #14112]
60510         * Makeconfig (default-abi): New macro.
60511         (abi-includes): Likewise.
60512         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
60513         $(abi-$(default-abi)-lib-soname) for soname if defined.
60514         ($(common-objpfx)gnu/lib-names.stmp): Generate from
60515         abi-variants.
60516         * Makefile (installed-stubs): Likewise.
60517         * include/stubs-biarch.h: Removed.
60518         * scripts/lib-names.awk: Only handle one library at a time.
60519         * scripts/soversions.awk: Remove WORDSIZE support.
60520         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
60521         entries.
60522         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
60523         Removed.
60524         (syscall-list-default-condition): Likewise.
60525         (syscall-list-default-condition): Likewise.
60526         (syscall-list-includes): Likewise.
60527         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
60528         syscall-list-* with abi-*.  Handle undefined abi-variants.
60529         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
60530         * sysdeps/unix/sysv/linux/i386/Implies: New file.
60531         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
60532         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
60533         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
60534         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
60535         Removed.
60536         (syscall-list-32-options): Likewise.
60537         (syscall-list-32-condition): Likewise.
60538         (syscall-list-64-options): Likewise.
60539         (syscall-list-64-condition): Likewise.
60540         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
60541         macro.
60542         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
60543         Renamed to ...
60544         (abi-*): This.
60545         (abi-64-ld-soname): New macro.
60546         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
60547         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
60548         Renamed to ...
60549         (abi-*): This.
60550         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
60551         * sysdeps/x86_64/x32/shlib-versions: Likewise.
60553 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
60555         * sysdeps/unix/sysv/linux/kernel-features.h
60556         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
60557         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
60558         include <kernel-features.h>.
60559         [!__NR_ftruncate64]: Remove conditional code.
60560         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60561         [__NR_ftruncate64]: Make code unconditional.
60562         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60563         * sysdeps/unix/sysv/linux/truncate64.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/powerpc/powerpc32/ftruncate64.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/truncate64.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.
60582         * configure.in (libc_cv_fpie): Weaken to a compile test using
60583         LIBC_TRY_CC_OPTION.
60584         * configure: Regenerated.
60586 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60588         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
60589         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
60590         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
60591         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
60592         Refreshed.
60593         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
60594         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
60595         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
60596         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
60597         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
60598         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
60599         Refreshed.
60601 2012-05-27  David S. Miller  <davem@davemloft.net>
60603         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
60604         (___Q_zero): New.
60605         (__Q_simulate_exceptions): Return void.  Change to simulate
60606         exceptions by writing into the %fsr.
60607         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
60608         (__Qp_handle_exceptions): Likewise.
60609         (numbers): Delete.
60610         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
60611         __Qp_handle_exceptions.
60612         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
60613         __Qp_handle_exceptions.
60614         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
60615         as unused and give dummy FP_RND_NEAREST initializer.
60616         (FP_INHIBIT_RESULTS): Define.
60617         (___Q_simulate_exceptions): Update declaration.
60618         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
60619         formatting.
60620         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
60621         as unused and give dummy FP_RND_NEAREST initializer.
60622         (__Qp_handle_exceptions): Update declaration.
60623         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
60624         formatting.
60626 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
60628         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
60629         the temporary FPU control word.
60630         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
60631         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
60632         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
60633         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
60634         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
60635         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
60636         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
60637         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
60638         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
60639         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
60640         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60642 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60644         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
60645         fields.
60647 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
60649         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
60650         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
60651         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
60652         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
60653         Likewise.
60654         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
60655         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
60656         Likewise.
60658 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
60660         * po/h.po: Update from translation team.
60662 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
60664         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
60666         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
60667         handling of denormals.
60668         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
60669         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
60670         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
60671         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
60672         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
60673         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
60674         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
60675         Likewise.
60677 2012-05-26  Marek Polacek  <polacek@redhat.com>
60679         [BZ #14152]
60680         * math/libm-test.inc (fma_test): Don't always expect underflow
60681         exception.
60683 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60685         [BZ #12416]
60686         * elf/tst-execstack.c: Include stackinfo.h.
60687         (do_test): Adjust test case to ensure that pthread_getattr_np
60688         behaviour remains the same after marking stack executable.
60690 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
60692         * sysdeps/unix/sysv/linux/kernel-features.h
60693         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
60694         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
60695         kernel-features.h.
60696         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
60697         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
60698         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
60699         kernel-features.h.
60700         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
60701         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
60703 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
60705         * configure.in: Define the default includes to being none.
60706         * configure: Regenerated.
60708 2012-05-25  Roland McGrath  <roland@hack.frob.com>
60710         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
60711         * sysdeps/x86_64/setjmp.S: Likewise.
60712         * sysdeps/i386/bsd-setjmp.S: Likewise.
60713         * sysdeps/i386/bsd-_setjmp.S: Likewise.
60714         * sysdeps/i386/setjmp.S: Likewise.
60715         * sysdeps/i386/__longjmp.S: Likewise.
60716         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
60717         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
60719         * include/stap-probe.h: New file.
60720         * configure.in: Handle --enable-systemtap.
60721         * configure: Regenerated.
60722         * config.h.in (USE_STAP_PROBE): New #undef.
60723         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
60724         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
60725         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
60727 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
60729         [BZ #13717]
60730         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
60731         to 2.4.0 where earlier.
60732         * sysdeps/unix/sysv/linux/configure: Regenerated.
60733         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
60734         <kernel-features.h>.
60735         [__ASSUME_32BITUIDS]: Make code unconditional.
60736         [!__ASSUME_32BITUIDS]: Remove conditional code.
60737         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
60738         <kernel-features.h>.
60739         [__ASSUME_32BITUIDS]: Make code unconditional.
60740         [!__ASSUME_32BITUIDS]: Remove conditional code.
60741         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
60742         [__ASSUME_32BITUIDS]: Make code unconditional.
60743         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
60744         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
60745         <kernel-features.h>.
60746         [__ASSUME_32BITUIDS]: Make code unconditional.
60747         [!__ASSUME_32BITUIDS]: Remove conditional code.
60748         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
60749         <kernel-features.h>.
60750         [__ASSUME_32BITUIDS]: Make code unconditional.
60751         [!__ASSUME_32BITUIDS]: Remove conditional code.
60752         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
60753         <kernel-features.h>.
60754         [__ASSUME_32BITUIDS]: Make code unconditional.
60755         [!__ASSUME_32BITUIDS]: Remove conditional code.
60756         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
60757         <kernel-features.h>.
60758         [__ASSUME_32BITUIDS]: Make code unconditional.
60759         [!__ASSUME_32BITUIDS]: Remove conditional code.
60760         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
60761         <kernel-features.h>.
60762         [__ASSUME_32BITUIDS]: Make code unconditional.
60763         [!__ASSUME_32BITUIDS]: Remove conditional code.
60764         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
60765         <kernel-features.h>.
60766         [__ASSUME_32BITUIDS]: Make code unconditional.
60767         [!__ASSUME_32BITUIDS]: Remove conditional code.
60768         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
60769         <kernel-features.h>.
60770         [__ASSUME_32BITUIDS]: Make code unconditional.
60771         [!__ASSUME_32BITUIDS]: Remove conditional code.
60772         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
60773         <kernel-features.h>.
60774         [__ASSUME_32BITUIDS]: Make code unconditional.
60775         [!__ASSUME_32BITUIDS]: Remove conditional code.
60776         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
60777         <kernel-features.h>.
60778         [__ASSUME_32BITUIDS]: Make code unconditional.
60779         [!__ASSUME_32BITUIDS]: Remove conditional code.
60780         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
60781         <kernel-features.h>.
60782         [__ASSUME_32BITUIDS]: Make code unconditional.
60783         [!__ASSUME_32BITUIDS]: Remove conditional code.
60784         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
60785         <kernel-features.h>.
60786         [__NR_setresgid] (__setresgid): Do not declare.
60787         [__ASSUME_32BITUIDS]: Make code unconditional.
60788         [!__ASSUME_32BITUIDS]: Remove conditional code.
60789         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
60790         <kernel-features.h>.
60791         [__NR_setresuid] (__setresuid): Do not declare.
60792         [__ASSUME_32BITUIDS]: Make code unconditional.
60793         [!__ASSUME_32BITUIDS]: Remove conditional code.
60794         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
60795         <kernel-features.h>.
60796         [__ASSUME_32BITUIDS]: Make code unconditional.
60797         [!__ASSUME_32BITUIDS]: Remove conditional code.
60798         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
60799         <kernel-features.h>.
60800         [__ASSUME_32BITUIDS]: Make code unconditional.
60801         [!__ASSUME_32BITUIDS]: Remove conditional code.
60802         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
60803         <kernel-features.h>.
60804         [__ASSUME_32BITUIDS]: Make code unconditional.
60805         [!__ASSUME_32BITUIDS]: Remove conditional code.
60806         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
60807         <kernel-features.h>.
60808         [__ASSUME_32BITUIDS]: Make code unconditional.
60809         [!__ASSUME_32BITUIDS]: Remove conditional code.
60810         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
60811         <kernel-features.h>.
60812         [__ASSUME_32BITUIDS]: Make code unconditional.
60813         [!__ASSUME_32BITUIDS]: Remove conditional code.
60814         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
60815         <kernel-features.h>.
60816         [__ASSUME_32BITUIDS]: Make code unconditional.
60817         [!__ASSUME_32BITUIDS]: Remove conditional code.
60818         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
60819         <kernel-features.h>.
60820         [__ASSUME_32BITUIDS]: Make code unconditional.
60821         [!__ASSUME_32BITUIDS]: Remove conditional code.
60822         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
60823         <kernel-features.h>.
60824         [__ASSUME_32BITUIDS]: Make code unconditional.
60825         [!__ASSUME_32BITUIDS]: Remove conditional code.
60826         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
60827         <kernel-features.h>.
60828         [__ASSUME_32BITUIDS]: Make code unconditional.
60829         [!__ASSUME_32BITUIDS]: Remove conditional code.
60830         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
60831         <kernel-features.h>.
60832         [__ASSUME_32BITUIDS]: Make code unconditional.
60833         [!__ASSUME_32BITUIDS]: Remove conditional code.
60834         * sysdeps/unix/sysv/linux/kernel-features.h
60835         (__ASSUME_SETRESUID_SYSCALL): Remove.
60836         (__ASSUME_SETRESGID_SYSCALL): Likewise.
60837         (__ASSUME_32BITUIDS): Likewise.
60838         (__ASSUME_LDT_WORKS): Likewise.
60839         (__ASSUME_O_DIRECTORY): Likewise.
60840         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
60841         architecture but not kernel version.
60842         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
60843         (__ASSUME_MMAP2_SYSCALL): Likewise.
60844         (__ASSUME_STAT64_SYSCALL): Likewise.
60845         (__ASSUME_IPC64): Likewise.
60846         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
60847         <kernel-features.h>.
60848         [__ASSUME_32BITUIDS]: Make code unconditional.
60849         [!__ASSUME_32BITUIDS]: Remove conditional code.
60850         * sysdeps/unix/sysv/linux/opendir.c: Do not include
60851         <kernel-features.h>.
60852         [__ASSUME_O_DIRECTORY]: Make code unconditional.
60853         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
60854         132096]: Remove conditional code.
60855         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
60856         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
60857         <kernel-features.h>.
60858         [__ASSUME_32BITUIDS]: Make code unconditional.
60859         [!__ASSUME_32BITUIDS]: Remove conditional code.
60860         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
60861         <kernel-features.h>.
60862         [__ASSUME_32BITUIDS]: Make code unconditional.
60863         [!__ASSUME_32BITUIDS]: Remove conditional code.
60864         * sysdeps/unix/sysv/linux/setegid.c: Do not include
60865         <kernel-features.h>.
60866         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
60867         unconditional.
60868         (__setresgid): Do not declare.
60869         [__ASSUME_32BITUIDS]: Make code unconditional.
60870         [!__ASSUME_32BITUIDS]: Remove conditional code.
60871         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
60872         <kernel-features.h>.
60873         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
60874         unconditional.
60875         (__setresuid): Do not declare.
60876         [__ASSUME_32BITUIDS]: Make code unconditional.
60877         [!__ASSUME_32BITUIDS]: Remove conditional code.
60878         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
60879         <kernel-features.h>.
60880         [__ASSUME_32BITUIDS]: Make code unconditional.
60881         [!__ASSUME_32BITUIDS]: Remove conditional code.
60882         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
60883         <kernel-features.h>.
60884         [__ASSUME_32BITUIDS]: Make code unconditional.
60885         [!__ASSUME_32BITUIDS]: Remove conditional code.
60887 2012-05-25  Richard Henderson  <rth@twiddle.net>
60889         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
60890         dl_hwcap to ifunc resolver.
60891         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
60892         elf_ifunc_invoke.
60893         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
60894         dl_hwcap to ifunc resolver.
60895         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
60897 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
60899         [BZ #14153]
60900         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
60901         for |x| <= 2**-26, not 2**-57.
60902         * math/libm-test.inc (acos_test): Do not allow spurious underflow
60903         exception.
60905 2012-05-24  Jeff Law  <law@redhat.com>
60907         * stdio-common/Makefile (tests): Add bug25.
60908         * stdio-common/bug25.c: New test.
60910 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
60912         [BZ #13576]
60913         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
60914         multiple of MALLOC_ALIGNMENT in size.
60915         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
60917 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
60919         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
60920         Require >= 256.
60921         (FILENAME_MAX): Use macro-int-constant.
60922         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
60923         (_IOFBF): Use macro-int-constant.
60924         (_IOLBF): Likewise.
60925         (_IONBF): Likewise.
60926         (SEEK_CUR): Likewise.
60927         (SEEK_END): Likewise.
60928         (SEEK_SET): Likewise.
60929         (TMP_MAX): Likewise.
60930         (EOF): Use macro-int-constant.  Require < 0.
60931         (NULL): Use macro-constant.  Require == 0.
60932         (stdin): Require type to be FILE *.
60933         (stdout): Likewise.
60934         (stderr): Likewise.
60935         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
60936         macro-int-constant.
60937         (EXIT_SUCCESS): Likewise.
60938         (NULL): Use macro-constant.  Require == 0.
60939         (RAND_MAX): Use macro-int-constant.
60940         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
60941         [C99-based standards] (strtof): Require function.
60942         [C99-based standards] (strtold): Likewise.
60943         [C99-based standards] (strtoll): Likewise.
60944         [C99-based standards] (strtoull): Likewise.
60945         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
60946         [ISO || ISO99 || ISO11] (limits.h): Likewise.
60947         [ISO || ISO99 || ISO11] (math.h): Likewise.
60948         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
60949         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
60950         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60952 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
60954         [BZ #14132]
60955         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
60956         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
60957         * intl/dgettext.c (DCGETTEXT): Likewise.
60958         * intl/gettext.c (DCGETTEXT): Likewise.
60959         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
60960         * posix/regex_internal.h (gettext): Likewise.
60961         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
60962         Remove declaration.
60963         * include/argz.h (__argz_count_internal)
60964         (__argz_stringify_internal): Remove declaration.
60965         (__argz_count, __argz_stringify): Declare hidden proto.
60966         * intl/dcgettext.c: Remove use of INTDEF.
60967         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
60968         * string/argz-stringify.c: Likewise.
60969         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
60970         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
60971         Declare hidden proto.
60972         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
60973         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
60974         Declare hidden proto.
60975         * include/stdio.h (__asprintf_internal): Don't declare.
60976         (__asprintf): Don't define as macro.  Declare hidden proto.
60977         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
60978         (__fsetlocking): Declare hidden proto.
60979         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
60980         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
60981         hidden proto.
60982         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
60983         (_IO_setlinebuf): Remove use of INTUSE.
60984         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
60985         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
60986         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
60987         Remove declaration.
60988         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
60989         (_IO_do_flush): Remove use of INTUSE.
60990         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
60991         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
60992         (_IO_adjust_column, _IO_least_wmarker)
60993         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
60994         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
60995         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
60996         (_IO_default_doallocate, _IO_wdefault_doallocate)
60997         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
60998         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
60999         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
61000         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
61001         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
61002         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
61003         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
61004         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
61005         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
61006         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
61007         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
61008         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
61009         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
61010         proto.
61011         (_IO_flush_all_internal, _IO_adjust_column_internal)
61012         (_IO_default_uflow_internal, _IO_default_finish_internal)
61013         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
61014         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
61015         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
61016         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
61017         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
61018         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
61019         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
61020         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
61021         (_IO_file_close_internal, _IO_file_close_it_internal)
61022         (_IO_file_underflow_internal, _IO_file_overflow_internal)
61023         (_IO_file_init_internal, _IO_file_attach_internal)
61024         (_IO_file_fopen_internal, _IO_file_read_internal)
61025         (_IO_file_sync_internal, _IO_file_seek_internal)
61026         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
61027         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
61028         (_IO_str_underflow_internal, _IO_str_overflow_internal)
61029         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
61030         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
61031         (_IO_list_all_internal, _IO_link_in_internal)
61032         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
61033         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
61034         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
61035         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
61036         (_IO_do_write_internal, _IO_padn_internal)
61037         (_IO_getline_info_internal, _IO_getline_internal)
61038         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
61039         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
61040         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
61041         (_IO_vfscanf_internal, _IO_vfprintf_internal)
61042         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
61043         (_IO_init_internal, _IO_un_link_internal): Don't declare.
61044         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
61045         with libc_hidden_ver, remove use of INTUSE.
61046         * libio/genops.c: Likewise.
61047         * libio/freopen.c: Likewise.
61048         * libio/freopen64.c: Likewise.
61049         * libio/iofclose.c: Likewise.
61050         * libio/iofdopen.c: Likewise.
61051         * libio/iofflush.c: Likewise.
61052         * libio/iofflush_u.c: Likewise.
61053         * libio/iofgets.c: Likewise.
61054         * libio/iofgets_u.c: Likewise.
61055         * libio/iofopen.c: Likewise.
61056         * libio/iofopncook.c: Likewise.
61057         * libio/iofread.c: Likewise.
61058         * libio/iofread_u.c: Likewise.
61059         * libio/ioftell.c: Likewise.
61060         * libio/iofwrite.c: Likewise.
61061         * libio/iogetline.c: Likewise.
61062         * libio/iogets.c: Likewise.
61063         * libio/iogetwline.c: Likewise.
61064         * libio/iopadn.c: Likewise.
61065         * libio/iopopen.c: Likewise.
61066         * libio/ioseekoff.c: Likewise.
61067         * libio/ioseekpos.c: Likewise.
61068         * libio/iosetbuffer.c: Likewise.
61069         * libio/iosetvbuf.c: Likewise.
61070         * libio/ioungetc.c: Likewise.
61071         * libio/ioungetwc.c: Likewise.
61072         * libio/iovdprintf.c: Likewise.
61073         * libio/iovsprintf.c: Likewise.
61074         * libio/iovsscanf.c: Likewise.
61075         * libio/memstream.c: Likewise.
61076         * libio/obprintf.c: Likewise.
61077         * libio/oldfileops.c: Likewise.
61078         * libio/oldiofclose.c: Likewise.
61079         * libio/oldiofdopen.c: Likewise.
61080         * libio/oldiofopen.c: Likewise.
61081         * libio/oldiopopen.c: Likewise.
61082         * libio/oldstdfiles.c: Likewise.
61083         * libio/putc.c: Likewise.
61084         * libio/setbuf.c: Likewise.
61085         * libio/setlinebuf.c: Likewise.
61086         * libio/stdfiles.c: Likewise.
61087         * libio/strops.c: Likewise.
61088         * libio/vasprintf.c: Likewise.
61089         * libio/vscanf.c: Likewise.
61090         * libio/vsnprintf.c: Likewise.
61091         * libio/vswprintf.c: Likewise.
61092         * libio/wfiledoalloc.c: Likewise.
61093         * libio/wfileops.c: Likewise.
61094         * libio/wgenops.c: Likewise.
61095         * libio/wmemstream.c: Likewise.
61096         * libio/wstrops.c: Likewise.
61097         * libio/__fpurge.c: Likewise.
61098         * libio/__fsetlocking.c: Likewise.
61099         * assert/assert.c: Likewise.
61100         * debug/fgets_chk.c: Likewise.
61101         * debug/fgets_u_chk.c: Likewise.
61102         * debug/fread_chk.c: Likewise.
61103         * debug/fread_u_chk.c: Likewise.
61104         * debug/gets_chk.c: Likewise.
61105         * debug/obprintf_chk.c: Likewise.
61106         * debug/vasprintf_chk.c: Likewise.
61107         * debug/vdprintf_chk.c: Likewise.
61108         * debug/vsnprintf_chk.c: Likewise.
61109         * debug/vsprintf_chk.c: Likewise.
61110         * malloc/mtrace.c: Likewise.
61111         * misc/error.c: Likewise.
61112         * misc/syslog.c: Likewise.
61113         * stdio-common/asprintf.c: Likewise.
61114         * stdio-common/fxprintf.c: Likewise.
61115         * stdio-common/getw.c: Likewise.
61116         * stdio-common/isoc99_fscanf.c: Likewise.
61117         * stdio-common/isoc99_scanf.c: Likewise.
61118         * stdio-common/isoc99_vfscanf.c: Likewise.
61119         * stdio-common/isoc99_vscanf.c: Likewise.
61120         * stdio-common/isoc99_vsscanf.c: Likewise.
61121         * stdio-common/printf-prs.c: Likewise.
61122         * stdio-common/printf_fp.c: Likewise.
61123         * stdio-common/printf_fphex.c: Likewise.
61124         * stdio-common/printf_size.c: Likewise.
61125         * stdio-common/putw.c: Likewise.
61126         * stdio-common/scanf.c: Likewise.
61127         * stdio-common/sprintf.c: Likewise.
61128         * stdio-common/tmpfile.c: Likewise.
61129         * stdio-common/vfprintf.c: Likewise.
61130         * stdio-common/vfscanf.c: Likewise.
61131         * stdlib/strfmon_l.c: Likewise.
61132         * sunrpc/openchild.c: Likewise.
61133         * sunrpc/xdr_stdio.c: Likewise.
61134         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
61135         * sysdeps/mach/hurd/tmpfile.c: Likewise.
61137 2012-05-24  Roland McGrath  <roland@hack.frob.com>
61139         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
61141         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
61142         in the third column, to generate for the shared library an IFUNC
61143         that uses _dl_vdso_vsym.
61144         * Makerules (COMPILE.c, compile-stdin.c): New variables.
61145         * Makeconfig (object-suffixes-noshared): New variable.
61147         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
61148         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
61149         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
61150         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
61152         [BZ #14132]
61153         * include/sys/time.h (__gettimeofday): Remove macro.
61154         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
61155         * time/gettimeofday.c (__gettimeofday): Remove #undef.
61156         Remove INTDEF.
61157         (__gettimeofday): Add libc_hidden_def.
61158         (gettimeofday): Add libc_hidden_weak.
61159         * sysdeps/mach/gettimeofday.c: Likewise.
61160         * sysdeps/posix/gettimeofday.c: Likewise.
61161         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
61162         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
61163         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
61164         (__gettimeofday_internal): Remove strong_alias.
61165         (__gettimeofday): Add libc_hidden_def.
61166         (gettimeofday): Add libc_hidden_weak.
61167         * sysdeps/unix/syscalls.list (gettimeofday):
61168         Remove __gettimeofday_internal alias.
61170 2012-05-24  Daniel Jacobowitz  <drow@false.org>
61171             H.J. Lu  <hongjiu.lu@intel.com>
61173         [BZ #12495]
61174         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
61175         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
61176         (largebin_index_32_big): New.
61177         (largebin_index): Use it for 16-byte alignment.
61178         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
61179         correction with front_misalign.
61181 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
61183         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
61184         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
61185         Likewise.
61186         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
61187         Likewise.
61188         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
61189         Likewise.
61190         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
61191         Likewise.
61192         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
61193         Likewise.
61194         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
61195         Likewise.
61196         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
61197         Likewise.
61198         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
61199         Likewise.
61200         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
61201         Likewise.
61202         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
61203         Likewise.
61204         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
61205         Likewise.
61206         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
61207         Likewise.
61209         * scripts/data/c++-types-x32-linux-gnu.data: New file.
61210         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
61212 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
61214         [BZ #10846]
61215         [BZ #14036]
61216         * math/libm-test.inc (exp_test): Add test from bug 14036.
61217         (pow_test): Add test from bug 10846.
61219         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
61220         and other flags.
61221         (special_function): Do not include flags in test name.
61222         (parse_args): Likewise.
61223         * sysdeps/i386/fpu/libm-test-ulps: Update.
61224         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
61225         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
61226         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
61227         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61229         * math/gen-libm-test.pl (%beautify): Add entries for underflow
61230         exceptions.
61231         * math/libm-test.inc ("Philosophy"): Update comment about
61232         exception testing.
61233         (UNDERFLOW_EXCEPTION): New macro.
61234         (UNDERFLOW_EXCEPTION_OK): Likewise.
61235         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
61236         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
61237         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
61238         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
61239         (INVALID_EXCEPTION_OK): Update value.
61240         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
61241         (OVERFLOW_EXCEPTION_OK): Likewise.
61242         (IGNORE_ZERO_INF_SIGN): Likewise.
61243         (test_exceptions): Handle underflow exceptions.
61244         (acos_test): Update for underflow exception expectations.
61245         (cexp_test): Likewise.
61246         (clog_test): Likewise.
61247         (clog10_test): Likewise.
61248         (csqrt_test): Likewise.
61249         (ctan_test): Likewise.
61250         (ctanh_test): Likewise.
61251         (exp_test): Likewise.
61252         (exp10_test): Likewise.
61253         (exp2_test): Likewise.
61254         (expm1_test): Likewise.
61255         (fma_test): Likewise.
61256         (j0_test): Likewise.
61257         (jn_test): Likewise.
61258         (nexttoward_test): Likewise.
61259         (pow_test): Likewise.
61260         (scalbn_test): Likewise.
61261         (scalbln_test): Likewise.
61262         (tan_test): Likewise.
61263         (y1_test): Likewise.
61264         * sysdeps/i386/fpu/libm-test-ulps: Update.
61265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61267 2012-05-23  David S. Miller  <davem@davemloft.net>
61269         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
61270         (__libc_sigaction): Remove unused local variables.
61272 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
61274         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
61276 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
61278         mktime: avoid signed integer overflow
61279         * time/mktime.c (__mktime_internal): Do not mishandle the case
61280         where diff == INT_MIN.
61282         mktime: simplify computation of average
61283         * time/mktime.c (ranged_convert): Use new time_t_avg function
61284         instead of rolling our own (probably-slower) code.
61286         mktime: do not assume signed right shift propagates sign bit
61287         * time/mktime.c (isdst_differ): New static function.
61288         (__mktime_internal): No need to normalize tm_isdst now.
61289         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
61290         tm_isdst values.
61292         mktime: merge another wrapv change from gnulib
61293         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
61294         from some compilers.
61296         mktime: remove incorrect attempt at unusual arithmetics
61297         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
61298         The code didn't really work on such machines anyway.
61299         (TYPE_MINIMUM): Assume two's complement.
61300         (twos_complement_arithmetic): Verify that long_int and time_t
61301         are two's complement (or unsigned, in the latter case).
61303         mktime: check signed shifts on long_int and time_t, too
61304         * time/mktime.c (SHR): Check that shifts work as desired
61305         on the types long_int and time_t too, as SHR is used on
61306         such types.
61308         mktime: do not assume 'long' is wide enough
61309         * time/mktime.c (verify): Move decl up.
61310         (long_int): New type.
61311         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
61312         to remove assumption in the code that 'long' is wide enough to
61313         store year values.  This assumption is not true on x32 and on
61314         some non-glibc platforms.
61316         mktime: merge wrapv change from gnulib
61317         * time/mktime.c (WRAPV): New macro.
61318         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
61319         (guess_time_tm, __mktime_internal): Do not assume that signed
61320         integer overflow wraps around; modern compilers generate code
61321         where this assumption is no longer valid.
61323 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
61325         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
61326         Replace "jmp L(pseudo_end)" with "ret".
61327         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
61328         Likewise.
61330 2012-05-23  Andreas Jaeger  <aj@suse.de>
61332         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
61333         * sysdeps/unix/sysv/linux/poll.c: Remove file.
61335 2012-05-23  Andreas Jaeger  <aj@suse.de>
61336             Maximilian Attems  <max@stro.at>
61338         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
61339         New macros.
61341 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
61343         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
61344         code so that pseudo_end is just ret and the stack pointer is
61345         correct also for static library in error case.
61347 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
61349         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
61350         move to syscalls.list.
61351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
61352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
61353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
61354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
61356         * manual/install.texi (Running make install): Do not mention Linux
61357         kernel version for which pt_chown is not needed.
61358         (Linux): Do not mention problems with nscd with 2.0 kernels.
61359         * INSTALL: Regenerated.
61361 2012-05-23  Andreas Jaeger  <aj@suse.de>
61363         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
61364         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
61365         macro.
61366         * sysdeps/unix/sysv/linux/s390/bits/mman.h
61367         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61368         * sysdeps/unix/sysv/linux/sh/bits/mman.h
61369         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61370         * sysdeps/unix/sysv/linux/i386/bits/mman.h
61371         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61372         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
61373         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61374         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
61375         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61376         * sysdeps/unix/sysv/linux/bits/in.h
61377         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
61379 2012-05-22  Roland McGrath  <roland@hack.frob.com>
61381         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
61382         (PREPARE_VERSION): Just use assert instead, it will be elided
61383         under [NDEBUG] anyway.
61385 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
61387         * sysdeps/unix/sysv/linux/Makefile: Include
61388         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
61389         (sysdep_routines): Remove sysctl.
61390         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
61391         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
61392         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
61393         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
61394         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
61396 2012-05-22  Andreas Jaeger  <aj@suse.de>
61398         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
61399         that pseudo_end is just ret and the stack pointer is correct also
61400         for static library in error case.
61402 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
61404         [BZ #14122]
61405         * nss/nsswitch.c (defconfig_entries): New variable.
61406         (__nss_database_lookup): Don't leak defconfig entries.
61407         (nss_parse_service_list): Don't leak on error paths.
61408         (free_database_entries): New function.
61409         (free_defconfig): New function.
61410         (free_mem): Move common code to free_database_entries.
61412 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
61414         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
61415         Add arch_prctl.
61416         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
61418         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
61419         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
61420         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
61421         New macro.
61422         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
61423         (INTERNAL_SYSCALL_TYPES): Likewise.
61424         (LOAD_ARGS_TYPES_[1-6]): Likewise.
61425         (LOAD_REGS_TYPES_[1-6]): Likewise.
61426         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
61427         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
61429 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61431         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
61432         copysignl for GLIBC_2_0.
61433         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
61434         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
61435         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
61436         logbl for GLIBC_2_0.
61437         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
61438         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
61440 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
61442         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
61443         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
61445         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
61446         Use "neg %eax".
61448         * time/mktime.c: Update copyright years.
61450 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
61452         mktime: merge comment-quoting-style change from gnulib
61453         * time/mktime.c: Quote 'like this' in comments.
61454         The GNU coding standards suggest that we no longer quote `like this',
61455         as "`" and "'" are typically rendered asymmetrically nowadays.
61456         The typical gnulib style is to quote 'like this' when quoting
61457         code, and "like this" when quoting English.
61459         * time/mktime.c (compile-command): Add "-I.".
61461         mktime: merge mktime-internal.h change from gnulib
61462         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
61464         mktime: merge time_r change from gnulib
61465         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
61467         mktime: merge DEBUG change from gnulib
61468         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
61469         case system <time.h> has a #define.
61471         mktime: merge <sys/types.h> change from gnulib
61472         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
61473         since <time.t> is now guaranteed to define time_t.
61475         mktime: merge HAVE_CONFIG_H change from gnulib
61476         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
61478 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
61480         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
61481         Use "neg %eax".
61483         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
61484         __rlim_t cast.
61485         (struct rusage): Use anonymous union to pad each field to
61486         __syscall_slong_t.
61488 2012-05-21  David S. Miller  <davem@davemloft.net>
61490         * Makefules (o-iterator): Remove .s cases.
61491         (compile-command.s): Delete.
61492         (COMPILE.s): Delete.
61493         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
61495 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
61497         * configure.in (libc_cv_predef_stack_protector): Only consider
61498         "foobar" and "__stack_chk_fail" lines in libc_undefs.
61499         * configure: Regenerated.
61501 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
61503         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
61504         New macro.  Use R*LP on int and pointer.
61505         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
61506         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
61507         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
61508         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
61510         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
61511         [__WORDSIZE_TIME64_COMPAT32] instead of
61512         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
61513         (struct utmp): Likewise.
61514         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
61515         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
61516         Renamed to ...
61517         (__WORDSIZE_TIME64_COMPAT32): This.
61518         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
61519         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
61520         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
61521         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
61522         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
61523         (__WORDSIZE_TIME64_COMPAT32): New macro.
61525 2012-05-21  Andreas Jaeger  <aj@suse.de>
61527         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
61528         only if [SHARED]. Add prototype for __wcschr_ia32.
61530 2012-05-21  Roland McGrath  <roland@hack.frob.com>
61532         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
61533         of %rbp unmolested in the jmp_buf while mangling the low bits.
61534         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
61535         unmolested high bits of %rbp while demangling the low bits.
61536         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
61538 2012-05-21  Andreas Jaeger  <aj@suse.de>
61540         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
61541         * sunrpc/svc_simple.c: Use it for registerrpc.
61542         * sunrpc/xcrypt.c: Use it for passwd2des.
61544         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
61546 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
61548         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
61549         Don't define if [__SYSCALL_WORDSIZE != 32].
61550         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
61551         New macro.
61553 2012-05-21  Bruno Haible  <bruno@clisp.org>
61554             Andreas Jaeger  <aj@suse.de>
61556         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
61557         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
61558         inptr and inend for must_buffer_ch.
61559         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
61560         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
61561         * stdio-common/Makefile (tests): Remove bug15.
61562         (bug15-ENV): Remove macro.
61563         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
61564         anymore.
61566 2012-05-19  Andreas Jaeger  <aj@suse.de>
61567             Roland McGrath  <roland@hack.frob.com>
61569         * manual/contrib.texi: Completely rewritten. It contains now an
61570         alphabetical list of contributors and their contributions.
61572 2012-05-21  Richard Henderson  <rth@twiddle.net>
61574         * misc/getauxval.c (__getauxval): Use unsigned long int.
61575         * misc/sys/auxv.h: Include <sys/cdefs.h>.
61576         (getauxval): Use unsigned long int.
61578 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
61580         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
61582 2012-05-21  Roland McGrath  <roland@hack.frob.com>
61584         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
61585         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
61586         __alignof__ (long double).
61588 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61590         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61592 2012-05-20  Richard Henderson  <rth@twiddle.net>
61594         * misc/getauxval.c: New file.
61595         * misc/sys/auxv.h: New file.
61596         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
61597         (routines): Add getauxval.
61598         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
61599         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
61600         * elf/dl-sysdep.c (_dl_auxv): Remove.
61601         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
61602         * elf/dl-support.c (_dl_auxv): New variable.
61603         (_dl_aux_init): Initialize it.
61604         * manual/startup.texi (Auxiliary Vector): New node.
61605         * sysdeps/generic/bits/hwcap.h: New file.
61606         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
61607         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
61608         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
61609         * sysdeps/sparc/sysdep.h: ... here.  Include it.
61610         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
61611         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
61612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61613         Update.
61614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
61615         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
61616         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
61617         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
61618         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
61619         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
61620         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
61621         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
61623 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61625         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61627 2012-05-19  David S. Miller  <davem@davemloft.net>
61629         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61631 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
61633         [BZ #14123]
61634         * math/s_ccosh.c: Include <float.h>
61635         (__ccosh): Avoid internal overflow calculating sinh and cosh
61636         values before multiplying by sin and cos values.
61637         * math/s_ccoshf.c: Likewise.
61638         * math/s_ccoshl.c: Likewise.
61639         * math/s_csin.c: Likewise.
61640         * math/s_csinf.c: Likewise.
61641         * math/s_csinl.c: Likewise.
61642         * math/s_csinh.c: Likewise.
61643         * math/s_csinhf.c: Likewise.
61644         * math/s_csinhl.c: Likewise.
61645         * math/libm-test.inc (ccos_test): Add more tests.
61646         (ccosh_test): Likewise.
61647         (csin_test): Likewise.
61648         (csinh_test): Likewise.
61649         * sysdeps/i386/fpu/libm-test-ulps: Update.
61650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61652 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
61654         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
61655         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
61657         * sysdeps/x86_64/x32/_itoa.h: Add comment.
61659 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
61661         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
61662         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
61663         * sysdeps/powerpc/soft-fp/Versions: Likewise.
61664         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
61665         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
61666         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
61667         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
61668         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
61669         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
61670         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
61671         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
61672         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
61673         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
61674         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
61675         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
61676         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
61677         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
61678         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
61679         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
61680         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
61681         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
61682         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
61683         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
61684         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
61685         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
61686         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
61687         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
61688         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
61689         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
61690         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
61691         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
61693 2012-05-18  Andreas Jaeger  <aj@suse.de>
61695         * csu/.gitignore: Delete.
61697 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
61699         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
61700         (timex): Use __syscall_slong_t.
61702 2012-05-18  Andreas Jaeger  <aj@suse.de>
61703             Carlos O'Donell  <carlos_odonell@mentor.com>
61705         * manual/install.texi (Configuring and compiling): Update
61706         description about files modified in the source directory.
61707         * INSTALL: Regenerated.
61709 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
61711         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
61712         value.  Use "or" to set return value to -1.
61713         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
61714         negate return value.
61716 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61718         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
61719         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
61720         failure if the compiler has Graphite support disabled.
61721         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
61722         Likewise.
61723         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
61724         (CFLAGS-memmove.c): Likewise.
61725         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
61726         Likewise.
61728 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
61730         * sysdeps/x86_64/x32/_itoa.h: New file.
61732         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
61733         getdents system call only if kernel and user dirents have the
61734         same d_ino and d_off.
61736         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
61737         LLONG_MAX != LONG_MAX.
61738         (_itoa_word): Use _ITOA_WORD_TYPE on value.
61739         (_fitoa_word): Likewise.
61741         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
61742         years.
61743         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
61744         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
61745         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
61747         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
61748         include <bits/wordsize.h>.  Check __x86_64__ instead of
61749         __WORDSIZE.
61750         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
61751         if __x86_64__ is defined.  Use anonymous union on fpstate.
61753         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
61754         anonymous union.
61756 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
61758         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
61759         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
61760         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
61761         Refer to _rtld_local_ro instead of _rtld_global_ro.
61762         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
61763         Likewise.
61764         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
61765         Likewise.
61766         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
61767         Likewise.
61768         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
61769         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
61770         of _rtld_global, and rtld_progname instead of _dl_argv[0].
61772         [BZ #10882]
61773         * sysdeps/powerpc/powerpc32/dl-machine.c
61774         (__elf_machine_runtime_setup) [PROF]: Don't reference
61775         _dl_prof_resolve.
61777 2012-05-18  Andreas Jaeger  <aj@suse.de>
61779         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
61780         function only available for GCCs before 3.4 since GCC 3.4
61781         introduced a builtin.
61782         (lrint): Likewise.
61783         (llrintf): Likewise.
61784         (llrint): Likewise.
61785         (fmaxf): Likewise.
61786         (fmax): Likewise.
61787         (fminf): Likewise.
61788         (fmin): Likewise.
61789         (rint): Likewise.
61790         (rintf): Likewise.
61791         (nearbyint): Likewise.
61792         (nearbyintf): Likewise.
61793         (ceil): Likewise.
61794         (ceilf): Likewise.
61795         (floor): Likewise.
61796         (floorf): Likewise.
61798 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61800         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
61801         on both fields and cast pointer to __syscall_ulong_t.
61803         * bits/types.h (__fsword_t): New type.
61804         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
61805         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
61806         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61807         (__FSWORD_T_TYPE): Likewise.
61808         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61809         (__FSWORD_T_TYPE): Likewise.
61810         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61811         (__FSWORD_T_TYPE): Likewise.
61812         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
61813         (__FSWORD_T_TYPE): Likewise.
61814         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
61815         __SWORD_TYPE with __fsword_t.
61816         (statfs64): Likewise.
61818 2012-05-17  David S. Miller  <davem@davemloft.net>
61820         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
61822 2012-05-17  Andreas Jaeger  <aj@suse.de>
61824         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
61825         warning.
61827 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61829         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
61831 2012-05-17  Andreas Jaeger  <aj@suse.de>
61833         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
61834         when it is used.
61836 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
61838         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
61840 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61842         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
61843         * sysdeps/x86_64/tst-mallocalign1.c: New file.
61845 2012-05-17  Andreas Jaeger  <aj@suse.de>
61846             Carlos O'Donell  <carlos_odonell@mentor.com>
61848         [BZ #14059]
61849         * sysdeps/x86_64/multiarch/init-arch.h
61850         (bit_YMM_Usable): Rename to...
61851         (bit_AVX_Usable): ... this.
61852         (bit_FMA4_Usable): New macro.
61853         (bit_XMM_state): New macro.
61854         (bit_YMM_state): New macro.
61855         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
61856         [__ASSEMBLER__] (index_AVX_Usable): ... this.
61857         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
61858         (CPUID_OSXSAVE): New macro.
61859         (CPUID_AVX): New macro.
61860         (CPUID_FMA4): New macro.
61861         (index_YMM_Usable): Rename to...
61862         (index_AVX_Usable): ... this.
61863         (HAS_AVX): Use HAS_ARCH_FEATURE.
61864         (HAS_FMA4): Likewise.
61865         (HAS_YMM_USABLE): Remove.
61866         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61867         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
61868         are present.
61869         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
61870         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
61871         * sysdeps/x86_64/multiarch/Makefile: Likewise.
61872         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
61873         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
61875 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
61877         * math/libm-test.c: Support platforms without multiple rounding modes.
61878         * math/bug-nextafter.c: Support platforms without FP exceptions.
61879         * math/bug-nexttoward.c: Likewise.
61880         * math/test-fenv.c: Likewise.
61881         * math/test-misc.c: Likewise.
61882         * stdlib/bug-getcontext.c: Likewise.
61884 2012-05-17  Andreas Jaeger  <aj@suse.de>
61886         * manual/examples/search.c (critter_cmp): Change signature to
61887         avoid warnings.
61888         * manual/string.texi (Collation Functions): Likewise.
61890 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61892         * bits/types.h: Fold copyright years.
61893         * bits/typesizes.h: Likewise.
61894         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
61895         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
61896         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
61897         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
61898         * time/time.h: Likewise.
61900 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
61902         [BZ #208]
61903         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
61904         in instead of returning them.  Return void.
61905         (__libc_mallinfo): Accumulate over all arenas.
61906         (__malloc_stats): Adjust for change in int_mallinfo interface.
61908 2012-05-16  Roland McGrath  <roland@hack.frob.com>
61910         [BZ #10375]
61911         * configure.in (NM): Add AC_CHECK_TOOL for it.
61912         (libc_extra_cflags): New substituted variable.
61913         Check for -fstack-protector being used implicitly.
61914         * configure: Regenerated.
61915         * config.make.in (config-extra-cflags): New variable,
61916         gets @libc_extra_cflags@.
61917         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
61919         [BZ #10375]
61920         * configure.in: Check for _FORTIFY_SOURCE being predefined.
61921         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
61922         * configure: Regenerated.
61923         * config.make.in (CPPUNDEFS): New substituted variable.
61924         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
61925         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
61926         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
61928 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61930         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
61931         (mq_attr): Use __syscall_slong_t.
61933 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61935         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
61936         Check __x86_64__ instead of __WORDSIZE.
61937         (_STAT_VER_LINUX): Likewise.
61938         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
61939         __syscall_ulong_t and __syscall_slong_t.
61940         (stat64): Likewise.
61942 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61944         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
61946 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61948         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
61950 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61952         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
61953         __syscall_ulong_t.
61955         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
61956         include <bits/wordsize.h>.  Check __x86_64__ instead of
61957         __WORDSIZE.
61958         (greg_t): Use "__extension__ long long int" if __x86_64__ is
61959         defined.
61960         (mcontext_t): Replace "unsigned long" with "unsigned long long".
61962         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
61963         include <bits/wordsize.h>.  Check __x86_64__ instead of
61964         __WORDSIZE.
61965         (user_regs_struct): Use "__extension__ unsigned long long"
61966         instead of "unsigned long" if __x86_64__ is defined.
61967         (user): Likewise.  Pad after pointer field if __ILP32__ is
61968         defined.
61970 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
61972         * configure.in (makeinfo): Require version 4.5 or later.  Allow
61973         versions 5 to 9.
61974         * configure: Regenerated.
61975         * manual/install.texi (texinfo): Increase version requirement to
61976         4.5 or later.
61977         * INSTALL: Regenerated.
61979         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
61981 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61983         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
61985         * sysdeps/x86_64/x32/ffs.c: New file.
61987         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
61988         __syscall_ulong_t.
61989         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
61990         defined.  Use __syscall_ulong_t.
61991         (shminfo): Use __syscall_ulong_t.
61992         (shm_info): Likewise.
61994         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
61995         __syscall_ulong_t.
61997         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
61998         <bits/wordsize.h>.
61999         (msgqnum_t): Use __syscall_ulong_t.
62000         (msglen_t): Likewise.
62001         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
62002         __syscall_ulong_t.
62004         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
62005         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
62007         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
62009         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
62010         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
62012         * sysvipc/sys/msg.h (msgbuf): Replace long int with
62013         __syscall_slong_t.
62015         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
62016         include <bits/wordsize.h>.  Check __x86_64__ instead of
62017         __WORDSIZE.
62019         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
62020         "unsigned long long int" if __x86_64__ is defined.
62021         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
62023         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
62024         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
62025         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
62027         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
62028         <stdint.h>.
62029         (GET_PC): Cast to uintptr_t first.
62030         (GET_FRAME): Likewise.
62031         (GET_STACK): Likewise.
62033         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
62034         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
62035         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
62036         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
62037         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
62038         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
62039         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
62040         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
62041         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
62042         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
62043         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
62044         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
62045         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
62046         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
62047         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
62048         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
62049         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
62050         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
62051         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
62052         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
62053         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
62054         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
62055         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
62056         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
62057         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
62058         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
62059         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
62060         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
62061         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
62063 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
62065         * Makerules (+depfiles): Also collect depfiles from .oS in
62066         $(extra-objs).
62067         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
62068         .oS, $(libnldbl-routines)).
62070         * Makerules (native-compile-mkdep-flags): Define.
62071         * sunrpc/Makefile (extra-objs): Add $(addprefix
62072         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
62073         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
62074         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
62075         calling $(make-target-directory).
62077 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62079         * bits/types.h (__snseconds_t): Removed.
62080         * time/time.h (struct timespec): Replace __snseconds_t with
62081         __syscall_slong_t.
62082         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
62083         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
62084         Likewise.
62085         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62086         (__SNSECONDS_T_TYPE): Likewise.
62087         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62088         (__SNSECONDS_T_TYPE): Likewise.
62089         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62090         (__SNSECONDS_T_TYPE): Likewise.
62092 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62094         * sysdeps/mach/hurd/bits/typesizes.h
62095         (__SYSCALL_SLONG_TYPE): New macro.
62096         (__SYSCALL_ULONG_TYPE): Likewise.
62098 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62100         * bits/types.h (__syscall_slong_t): New type.
62101         (__syscall_ulong_t): Likewise.
62103         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
62104         (__SYSCALL_ULONG_TYPE): Likewise.
62105         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62106         (__SYSCALL_SLONG_TYPE): Likewise.
62107         (__SYSCALL_ULONG_TYPE): Likewise.
62108         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62109         (__SYSCALL_SLONG_TYPE): Likewise.
62110         (__SYSCALL_ULONG_TYPE): Likewise.
62111         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62112         (__SYSCALL_SLONG_TYPE): Likewise.
62113         (__SYSCALL_ULONG_TYPE): Likewise.
62115 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62117         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
62118         Add sigaltstack-offsets.sym.
62119         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
62120         <sigaltstack-offsets.h>.
62121         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
62122         longjmp_msg pointer.
62123         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
62124         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
62125         signal stack.
62126         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
62128 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
62130         * elf/stackguard-macros.h: Remove file.
62131         * sysdeps/generic/stackguard-macros.h: New file.
62132         * sysdeps/i386/stackguard-macros.h: Likewise.
62133         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
62134         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
62135         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
62136         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
62137         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
62138         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
62139         * sysdeps/x86_64/stackguard-macros.h: Likewise.
62140         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
62141         <elf/stackguard-macros.h>.
62143         [BZ #14109]
62144         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
62145         __aligned__ in attribute.
62146         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
62147         (gregset_t): Likewise.
62149 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62151         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
62152         * sysdeps/x86_64/64/Implies-after: Here.  New file.
62153         * sysdeps/x86_64/x32/Implies-after: New file.
62155 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62157         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
62158         and access return value for _dl_profile_fixup.  Use R10_LP to
62159         load frame size.
62161 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62163         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
62165 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62167         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
62168         * sysdeps/x86_64/x32/sysdep.h: New file.
62170 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62172         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
62173         * sysdeps/x86_64/setjmp.S: Likewise.
62175 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62177         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
62178         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
62179         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
62180         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
62181         remove unused global constant.
62183 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
62185         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
62186         include of <not-cancel.h>.
62188 2012-05-15  Roland McGrath  <roland@hack.frob.com>
62190         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
62192 2012-05-15  Jeff Law  <law@redhat.com>
62193             Andreas Jaeger  <aj@suse.de>
62195         [BZ #13594]
62196         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
62197         out from...
62198         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
62199         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
62200         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
62201         code changing __hst_map_handle.map.
62203 2012-05-15  Roland McGrath  <roland@hack.frob.com>
62205         * configure.in (sysnames): Look for Implies-before and Implies-after
62206         files.
62207         * configure: Regenerated.
62209 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62211         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
62212         8-byte data alignment with LP_SIZE alignment.
62214 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62216         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
62217         into R10_LP.
62219 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62221         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
62223 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62225         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
62226         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
62227         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
62228         Likewise.
62229         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
62231 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62233         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
62234         (stackinfo_sub_sp): Likewise.
62236 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62238         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
62239         RAX_LP.
62241 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62243         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
62244         into R*_LP.
62246 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62248         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
62249         sizes into R*_LP.
62251 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62253         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
62255 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62257         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
62258         into R11_LP and load __x86_64_shared_cache_size_half into
62259         R8_LP.
62261 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62263         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
62264         R8_LP.
62266 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62268         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
62269         logb for POWER7.
62270         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
62271         logbf for POWER7.
62272         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
62273         logbl for POWER7.
62274         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
62275         powerpc32/power7/fpu/s_logb.c via #include.
62276         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
62277         powerpc32/power7/fpu/s_logbf.c via #include.
62278         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
62279         powerpc32/power7/fpu/s_logbl.c via #include.
62281 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
62283         * README.libm: Remove file.
62285 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62287         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
62288         count for x32.  Use R*_LP and omit operand-size suffix.
62290 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62292         * shlib-versions: Move x86_64-.*-linux.* entries to ...
62293         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
62294         * sysdeps/x86_64/x32/shlib-versions: New file.
62296 2012-05-14  Roland McGrath  <roland@hack.frob.com>
62298         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
62299         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
62300         Use _dl_fatal_printf instead.
62302 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
62304         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
62305         set if not set by the user.  Do not allow for being unset.
62306         * sysdeps/unix/sysv/linux/configure: Regenerated.
62308 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62310         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
62311         the `q' suffix from lea and replace .quad with ASM_ADDR.
62313 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62315         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
62316         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
62317         instead of $17.
62318         (PTR_DEMANGLE): Likewise.
62320 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62322         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
62323         (LP_OP): Likewise.
62324         (ASM_ADDR): Likewise.
62325         (RAX_LP): Likewise.
62326         (RBP_LP): Likewise.
62327         (RBX_LP): Likewise.
62328         (RCX_LP): Likewise.
62329         (RDI_LP): Likewise.
62330         (RSI_LP): Likewise.
62331         (RSP_LP): Likewise.
62332         (R8_LP): Likewise.
62333         (R9_LP): Likewise.
62334         (R10_LP): Likewise.
62335         (R10_LP): Likewise.
62336         (R11_LP): Likewise.
62337         (R12_LP): Likewise.
62338         (R13_LP): Likewise.
62339         (R14_LP): Likewise.
62340         (R15_LP): Likewise.
62342 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62344         * sysdeps/x86_64/x32/dl-machine.h: New file.
62346 2012-05-14  Andreas Jaeger  <aj@suse.de>
62348         * manual/Makefile (subdir): Remove export of subdir.
62349         (all): Remove target.
62350         (.PHONY): Remove all from list.
62351         (mkinstalldirs): Remove.
62352         (.PHONY): Remove installdirs from list.
62353         ($(inst_infodir)/libc.info): Use make-target-directory.
62354         (installdirs): Remove.
62355         (subdir_%): Remove.
62356         (glibc-targets): Remove.
62357         (lib): Remove.
62358         (stubs): Remove.
62359         ($(objpfx)stubs ../po/manual.pot): Remove.
62360         ($(objpfx)stamp%): Remove.
62361         (make-target-directory): Remove.
62362         (subdir_install): Remove.
62363         (routines): Remove.
62364         (aux): Remove.
62365         (sources): Remove.
62366         (objects): Remove.
62367         (headers): Remove.
62369         [BZ #13750]
62370         * manual/.gitignore: Remove, it's not needed anymore.
62371         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
62372         all files in it.
62373         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
62374         directory.
62375         (texis): Renamed to $(objpfx)texis.
62376         (texis-path): New, contains path to generated files.
62377         (chapters.%): Use texis-path for complete path, add extra argument
62378         libc-texinfo.sh.
62379         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
62380         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
62381         (summary,texi, stamp-summary): Use complete path of
62382         files. Generate files in build dir.
62383         (dir-add.texi): Build in build dir.
62384         (libm-err.texi,stamp-libm-err): Likewise.
62385         (version.texi, stamp-version): Likewise.
62386         (.%c.texi): Likewise.
62387         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
62388         (mostlyclean): Remove target.
62389         (realclean): Remove target.
62390         (generated): Add new variable with contents from mostlyclean and
62391         realclean, remove entries duplicated in common-mostlyclean, add
62392         stamp-libm-err and stamp-version.
62393         (generated-dirs): Add libc directory.
62394         ($(inst_infodir)/libc.info): Install files from build dir.
62396         * manual/install.texi (Configuring and compiling): Adjust since
62397         the info files are not part of the tar ball anymore.
62399 2012-05-14  Andreas Jaeger  <aj@suse.de>
62401         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
62402         variable.
62404 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
62406         [BZ #13717]
62407         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
62408         to 2.2.0 where earlier.
62409         * sysdeps/unix/sysv/linux/configure: Regenerated.
62410         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
62411         Remove conditional code.
62412         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
62413         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
62414         Remove conditional code.
62415         [!__NR_lchown]: Likewise.
62416         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
62417         [__NR_lchown]: Likewise.
62418         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
62419         comment referencing __ASSUME_LCHOWN_SYSCALL.
62420         * sysdeps/unix/sysv/linux/i386/sigaction.c
62421         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62422         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62423         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
62424         Remove conditional code.
62425         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
62426         (__protocol_available): Remove #if 0 code.
62427         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
62428         conditional code.
62429         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
62430         * sysdeps/unix/sysv/linux/kernel-features.h
62431         (__ASSUME_GETCWD_SYSCALL): Don't define.
62432         (__ASSUME_REALTIME_SIGNALS): Likewise.
62433         (__ASSUME_PREAD_SYSCALL): Likewise.
62434         (__ASSUME_PWRITE_SYSCALL): Likewise.
62435         (__ASSUME_POLL_SYSCALL): Likewise.
62436         (__ASSUME_LCHOWN_SYSCALL): Likewise.
62437         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
62438         non-SPARC.
62439         (__ASSUME_SIOCGIFNAME): Don't define.
62440         (__ASSUME_MSG_NOSIGNAL): Likewise.
62441         (__ASSUME_SENDFILE): Define unconditionally.
62442         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
62443         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
62444         conditional code.
62445         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
62446         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
62447         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
62448         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
62449         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
62450         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
62451         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
62452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
62453         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
62454         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
62456         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
62457         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
62459         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62460         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
62462         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62463         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
62465         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
62466         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
62468         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
62469         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
62471         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62472         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
62474         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62475         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62476         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
62477         Remove conditional code.
62478         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62479         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
62480         Remove conditional code.
62481         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62482         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
62483         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
62484         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
62485         Remove conditional code.
62486         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62487         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
62488         Remove conditional code.
62489         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62490         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
62491         Remove conditional code.
62492         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62493         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
62494         Remove conditional code.
62495         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62496         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
62497         Remove conditional code.
62498         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62499         * sysdeps/unix/sysv/linux/sh/pwrite64.c
62500         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62501         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62502         * sysdeps/unix/sysv/linux/sigaction.c
62503         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62504         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62505         * sysdeps/unix/sysv/linux/sigpending.c
62506         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62507         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62508         * sysdeps/unix/sysv/linux/sigprocmask.c
62509         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62510         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62511         * sysdeps/unix/sysv/linux/sigsuspend.c
62512         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62513         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62514         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
62515         (__libc_missing_rt_sigs): Remove.
62516         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
62517         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
62518         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
62519         Remove conditional code.
62520         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
62521         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
62522         return 1.
62523         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
62524         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
62525         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
62526         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
62528 2012-05-14  Andreas Jaeger  <aj@suse.de>
62530         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
62531         it's not used in glibc.
62532         (__coshm1): Likewise.
62533         (__acosh1p): Likewise.
62534         (__sgn): Likewise.
62536         * manual/string.texi (Copying and Concatenation): Add missing
62537         variable in concat example.
62538         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
62540 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62542         [BZ #14103]
62543         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
62544         __builtin_clzl with __builtin_clzll.
62546 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62548         [BZ #14104]
62549         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
62550         libc_freeres_ptr.
62552 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62554         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
62555         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
62556         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
62557         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
62559 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
62561         * NEWS: Update ia64 info.
62563 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
62565         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
62566         used as bcopy.
62568 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
62570         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
62571         * sysdeps/unix/syscalls.list (dup3): Likewise.
62572         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
62573         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
62575 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
62577         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
62578         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
62580 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
62582         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
62583         thread pointer.
62584         (TLS_IE): Use mov/add instead of movq/addq to load thread
62585         pointer.
62586         (TLS_GD_PREFIX): New.
62587         (TLS_GD): Use it.
62589 2012-05-11  David S. Miller  <davem@davemloft.net>
62591         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
62592         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
62593         (_FPU_SETCW): Likewise.
62595 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
62597         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
62598         is 32-byte aligned.
62600 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
62602         [BZ #11837]
62603         * iconvdata/gb18030.c: Update tables.
62604         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
62605         characters specially.
62606         (BODY for TO_LOOP): Add encoding of missing ranges.
62608 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
62610         [BZ #13673]
62611         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
62612         * sysdeps/mach/hurd/dup3.c: Likewise.
62613         * sysdeps/mach/hurd/readlinkat.c: Likewise.
62614         * sysdeps/powerpc/memmove.c:: Likewise.
62616 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
62618         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
62619         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
62621 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
62623         * elf/elf.h (R_X86_64_RELATIVE64): New.
62624         (R_X86_64_NUM): Updated.
62625         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
62626         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
62627         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
62628         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
62629         tst-quad1pie tst-quad2pie
62630         (modules-names): Add tst-quadmod1 tst-quadmod2.
62631         ($(objpfx)tst-quad1): New dependency.
62632         ($(objpfx)tst-quad2): Likewise.
62633         ($(objpfx)tst-quad1pie): Likewise.
62634         ($(objpfx)tst-quad2pie): Likewise.
62635         * sysdeps/x86_64/tst-quad1.c: New file.
62636         * sysdeps/x86_64/tst-quad1pie.c: New file.
62637         * sysdeps/x86_64/tst-quad2.c: Likewise.
62638         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
62639         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
62640         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
62641         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
62642         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
62644 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62646         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
62647         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
62648         * streams/stropts.h (t_scalar_t): Define type.
62650         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
62651         (_PATH_PRESERVE): Set to "/var/lib".
62652         (_PATH_RWHODIR): Set to "/var/spool/rwho".
62654         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
62655         instead of int.
62657         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
62658         if __dir_mkfile succeeded.
62660         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
62661         checking for _hurd_dtablesize.  Unlock it right after having
62662         finished _hurd_dtable allocation.
62664 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62666         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
62667         * sysdeps/mach/hurd/configure: Regenerated.
62668         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
62669         special-casing to...
62670         * sysdeps/gnu/configure.in: ... this new file.
62671         * sysdeps/unix/sysv/linux/configure: Regenerated.
62672         * sysdeps/gnu/configure: New generated file.
62674         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
62675         for Linux: use nsec instead of usec, as well as:
62676         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
62677         members of type struct timespec.
62678         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
62679         New macros.
62680         (struct stat64): Likewise.
62681         (_STATBUF_ST_NSEC): New macro.
62682         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
62684         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
62685         __strtoul_internal rather than strtoul.
62687 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62689         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
62690         and reject them.
62692 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62694         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
62695         which preserves existing values.
62696         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
62698 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62700         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
62701         TIMEOUT values.  Return EINVAL for NFDS values either negative or
62702         greater than FD_SETSIZE.
62704 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62706         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
62707         allocated, call __vm_protect to finish enabling the existing space, and
62708         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
62709         allocate the remainder.
62711 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62713         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
62714         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
62716 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62718         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
62719         sysdeps/mach/hurd/readlink.c.
62721         * posix/tst-sysconf.c (posix_options): Only use
62722         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
62723         _POSIX_SYNCHRONIZED_IO when they are defined
62724         * sysdeps/mach/hurd/bits/posix_opt.h:
62725         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
62726         (_XOPEN_REALTIME): Undefine macro.
62727         (_XOPEN_REALTIME_THREADS): Undefine macro.
62728         (_XOPEN_SHM): Undefine macro.
62729         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
62730         macro to -1.
62731         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
62732         macro to -1.
62733         (_POSIX_ASYNC_IO): Undefine macro.
62734         (_POSIX_PRIORITIZED_IO): Undefine macro.
62735         (_POSIX_SPIN_LOCKS): Define macro to -1.
62737         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
62738         SA_NODEFER, SA_RESETHAND.
62739         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
62740         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
62741         F_DUPFD_CLOEXEC.
62743 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62745         * elf/Makefile (pldd-modules): Define unconditionally.
62747 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62749         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
62751 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62753         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
62754         Return ENOENT when name is empty.
62755         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
62757 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62759         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
62761         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
62763 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62765         Fix mlock in all cases except non-readable pages.
62766         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
62767         instead of VM_PROT_ALL as parameter to __vm_wire function.
62769         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
62770         (__mkdir): When path is `/', just fail with EEXIST.
62771         * sysdeps/mach/hurd/mkdirat.c: Likewise.
62773 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62775         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
62776         <sys/uio.h> (for writev).
62777         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
62778         and <sys/param.h> (for MIN).
62780 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62782         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
62783         REQUESTED_TIME.  Properly set the remaining time and return EINTR
62784         if interrupted.
62786 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62788         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
62789         Depend on against $(link-rpcuserlibs).
62791 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62793         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
62794         (__libc_stack_end): Do not use attribute_relro.
62795         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
62796         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
62797         to libthread-provided value.
62798         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
62799         attribute_relro.
62801 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62803         [BZ #3748]
62804         * bits/libc-lock.h (__libc_once_get): New macro.
62805         * sysdeps/mach/bits/libc-lock.h: Likewise.
62806         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
62807         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
62808         instead of using implementation details.
62810         * libio/fileops.c: Unconditionally include <kernel-features.h>.
62811         * libio/freopen.c: Likewise.
62812         * libio/freopen64.c: Likewise.
62813         * misc/syslog.c: Likewise.
62814         * nscd/connections.c: Likewise.
62815         * nscd/netgroupcache.c: Likewise.
62816         * sysdeps/posix/getcwd.c: Likewise.
62818 2012-05-10  Roland McGrath  <roland@hack.frob.com>
62820         * math/w_ilogbf.c: Add #include <limits.h>.
62822 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62824         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
62825         path instead of returning without unlocking.
62827         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
62828         immediate-write ioctls.
62829         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
62831 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62833         * sysdeps/mach/hurd/i386/init-first.c (init): Use
62834         __builtin_frame_address instead of making assumptions about the
62835         location of the return address relative to DATA.  Force early load of
62836         the return address.
62837         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
62838         __builtin_frame_address.
62840         dup3 for GNU Hurd.
62841         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
62842         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
62843         implement dup3 and do some further code clean-ups.
62844         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
62845         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
62847 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62849         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
62851         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
62852         HURD_CRITICAL_END around holding _hurd_dtable_lock.
62853         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
62854         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
62855         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
62856         d->port.lock.
62858         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
62859         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
62860         when handler == SIG_ERR, not when handler != SIG_ERR.
62862 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62864         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
62865         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
62866         definitions.
62868         accept4 for GNU Hurd.
62869         * include/sys/socket.h (__libc_accept4): New prototype.
62870         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
62871         to implement __libc_accept4.
62872         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
62873         __libc_accept4.
62874         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
62876         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
62877         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
62878         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
62879         signal-defines.sym.
62881 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62883         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
62885 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62887         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
62888         assertion on O_CLOEXEC flag.
62889         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
62890         * hurd/intern-fd.c: Likewise.
62891         * hurd/port2fd.c: Likewise.
62893 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62895         [BZ #3906]
62896         * bits/in.h (IPV6_PKTINFO): Define new macro.
62897         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
62899 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62901         [BZ #13954]
62902         [BZ #13955]
62903         [BZ #13956]
62904         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
62905         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
62906         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
62907         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
62908         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62909         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
62910         * math/libm-test.inc (logb_test) : Additional logb tests.
62912 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
62913             Andreas Jaeger  <aj@suse.de>
62915         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
62916         * configure: Regenerated.
62917         * config.h.in (LINK_OBSOLETE_RPC): New macro.
62918         * config.make.in (link-obsolete-rpc): New substituted variable.
62919         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
62920         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
62921         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
62922         (shared-only-routines): Don't set it under [link-obsolete-rpc],
62923         so that libc.a contains the symbols.
62924         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
62925         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
62926         * sunrpc/auth_none.c: Likewise.
62927         * sunrpc/auth_unix.c: Likewise.
62928         * sunrpc/authdes_prot.c: Likewise.
62929         * sunrpc/authuxprot.c: Likewise.
62930         * sunrpc/clnt_gen.c: Likewise.
62931         * sunrpc/clnt_perr.c: Likewise.
62932         * sunrpc/clnt_raw.c: Likewise.
62933         * sunrpc/clnt_simp.c: Likewise.
62934         * sunrpc/clnt_tcp.c: Likewise.
62935         * sunrpc/clnt_udp.c: Likewise.
62936         * sunrpc/clnt_unix.c: Likewise.
62937         * sunrpc/des_crypt.c: Likewise.
62938         * sunrpc/des_soft.c: Likewise.
62939         * sunrpc/get_myaddr.c: Likewise.
62940         * sunrpc/key_call.c: Likewise.
62941         * sunrpc/key_prot.c: Likewise.
62942         * sunrpc/netname.c: Likewise.
62943         * sunrpc/pm_getmaps.c: Likewise.
62944         * sunrpc/pm_getport.c: Likewise.
62945         * sunrpc/pmap_clnt.c: Likewise.
62946         * sunrpc/pmap_prot.c: Likewise.
62947         * sunrpc/pmap_prot2.c: Likewise.
62948         * sunrpc/pmap_rmt.c: Likewise.
62949         * sunrpc/publickey.c: Likewise.
62950         * sunrpc/rpc_cmsg.c: Likewise.
62951         * sunrpc/rpc_common.c: Likewise.
62952         * sunrpc/rpc_dtable.c: Likewise.
62953         * sunrpc/rpc_prot.c: Likewise.
62954         * sunrpc/rpc_thread.c: Likewise.
62955         * sunrpc/rtime.c: Likewise.
62956         * sunrpc/svc.c: Likewise.
62957         * sunrpc/svc_auth.c: Likewise.
62958         * sunrpc/svc_raw.c: Likewise.
62959         * sunrpc/svc_run.c: Likewise.
62960         * sunrpc/svc_tcp.c: Likewise.
62961         * sunrpc/svc_udp.c: Likewise.
62962         * sunrpc/svc_unix.c: Likewise.
62963         * sunrpc/svcauth_des.c: Likewise.
62964         * sunrpc/xcrypt.c: Likewise.
62965         * sunrpc/xdr.c: Likewise.
62966         * sunrpc/xdr_array.c: Likewise.
62967         * sunrpc/xdr_float.c: Likewise.
62968         * sunrpc/xdr_intXX_t.c: Likewise.
62969         * sunrpc/xdr_mem.c: Likewise.
62970         * sunrpc/xdr_rec.c: Likewise.
62971         * sunrpc/xdr_ref.c: Likewise.
62972         * sunrpc/xdr_sizeof.c: Likewise.
62973         * sunrpc/xdr_stdio.c: Likewise.
62975 2012-05-10  Roland McGrath  <roland@hack.frob.com>
62977         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
62978         change.  Update copyright years.
62980 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
62982         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
62984 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
62985             Joseph Myers  <joseph@codesourcery.com>
62986             Paul Pluzhnikov  <ppluzhnikov@google.com>
62988         [BZ #14012]
62989         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
62990         requiring rpcgen.
62991         [cross-compiling] (extra-libs): Likewise.
62992         [cross-compiling] (extra-libs-others): Likewise.
62993         [cross-compiling] (librpcsvc-routines): Likewise.
62994         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
62995         [cross-compiling] (omit-deps): Likewise.
62996         (sunrpc-CPPFLAGS): New variable.
62997         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
62998         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
62999         (cross-rpcgen-objs): New variable.
63000         (extra-objs): Append $(cross-rpcgen-objs).
63001         ($(cross-rpcgen-objs)): New rule.
63002         ($(objpfx)cross-rpcgen): Likewise.
63003         (rpcgen-cmd): Define to use $(built-program-file).  Expand
63004         comment.
63005         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
63006         ($(objpfx)x%.stmp): Likewise.
63007         * sunrpc/proto.h [IS_IN_build] (_): Define.
63008         [IS_IN_build] (_libc_intl_domainname): Likewise.
63010 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63012         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
63013         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
63014         and R_X86_64_TPOFF64.
63016 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
63018         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
63019         sysdeps/unix/sysv/syscalls.list.
63020         (stime): Likewise.
63021         (utime): Likewise.
63022         * sysdeps/unix/sysv/syscalls.list: Remove file.
63024 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
63026         [BZ #3440]
63027         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
63028         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
63029         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
63030         (__LC_IDENTIFICATION): Make these macros useful in #if
63031         expressions, as required by C99.
63033 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
63035         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
63036         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
63037         after this.
63039 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
63041         * stdlib/longlong.h: Updated from GCC.
63043 2012-05-09  Andreas Jaeger  <aj@suse.de>
63045         * nscd/nscd.c (run_modes): Make named enum, reorder so that
63046         default is first entry.
63047         (run_mode): Set type.
63048         (main): Remove informal message about syslog.
63049         (options): Fix typo.
63051         [BZ #14053]
63052         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
63053         to asm.
63054         (lrint): Likewise.
63055         (llrintf): Likewise.
63056         (llrint): Likewise.
63057         (rint): Likewise.
63058         (rintf): Likewise.
63059         (nearbyint): Likewise.
63060         (nearbyintf): Likewise.
63062 2012-05-09  Andreas Jaeger  <aj@suse.de>
63063             Pedro Alves  <palves@redhat.com>
63065         * nscd/nscd.c (run_mode): Use enum.
63066         (main): Cleanup coding style issue.
63068 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
63069             Andreas Jaeger  <aj@suse.de>
63071         * nscd/nscd.c (go_background): Replaced with...
63072         (run_mode): ... this.
63073         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
63074         (options): Add -F --foreground.
63075         (main): Implement it.
63076         (parse_opt): Parse it.
63078 2012-05-09  Andreas Jaeger  <aj@suse.de>
63080         [BZ #14083]
63081         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
63082         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
63083         -Wconversion warning.
63084         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
63085         Likewise.
63087 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
63089         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
63090         == 0.
63091         (LC_ALL): Use macro-int-constant.
63092         (LC_COLLATE): Likewise.
63093         (LC_CTYPE): Likewise.
63094         (LC_MESSAGES): Likewise.
63095         (LC_MONETARY): Likewise.
63096         (LC_NUMERIC): Likewise.
63097         (LC_TIME): Likewise.
63098         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
63099         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
63100         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63101         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
63102         Specify type.
63103         [C99-based standards] (float_t): Expect type.
63104         [C99-based standards] (double_t): Expect type.
63105         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
63106         type.
63107         [C99-based standards] (HUGE_VALL): Likewise.
63108         [C99-based standards] (INFINITY): Likewise.
63109         [C99-based standards] (NAN): Likewise.
63110         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
63111         [C99-based standards] (FP_NAN): Likewise.
63112         [C99-based standards] (FP_NORMAL): Likewise.
63113         [C99-based standards] (FP_SUBNORMAL): Likewise.
63114         [C99-based standards] (FP_ZERO): Likewise.
63115         [C99-based standards] (FP_FAST_FMA): Use
63116         optional-macro-int-constant.  Specify type.  Require == 1.
63117         [C99-based standards] (FP_FAST_FMAF): Likewise.
63118         [C99-based standards] (FP_FAST_FMAL): Likewise.
63119         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
63120         [C99-based standards] (FP_ILOGBNAN): Likewise.
63121         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
63122         Specify type.
63123         [C99-based standards] (MATH_ERREXCEPT): Likewise.
63124         [C99-based standards] (math_errhandling): Specify type.
63125         [ISO99 || ISO11] (signgam): Do not allow.
63126         [non-C99-based standards] (copysignf): Do not allow.
63127         [non-C99-based standards] (exp2f): Likewise.
63128         [non-C99-based standards] (log2f): Likewise.
63129         [non-C99-based standards] (modff): Allow.
63130         [non-C99-based standards] (erff): Do not allow.
63131         [non-C99-based standards] (erfcf): Likewise.
63132         [non-C99-based standards] (gammaf): Likewise.
63133         [non-C99-based standards] (hypotf): Likewise.
63134         [non-C99-based standards] (j0f): Likewise.
63135         [non-C99-based standards] (j1f): Likewise.
63136         [non-C99-based standards] (jnf): Likewise.
63137         [non-C99-based standards] (lgammaf): Likewise.
63138         [non-C99-based standards] (tgammaf): Likewise.
63139         [non-C99-based standards] (y0f): Likewise.
63140         [non-C99-based standards] (y1f): Likewise.
63141         [non-C99-based standards] (ynf): Likewise.
63142         [non-C99-based standards] (isnanf): Likewise.
63143         [non-C99-based standards] (acoshf): Likewise.
63144         [non-C99-based standards] (asinhf): Likewise.
63145         [non-C99-based standards] (atanhf): Likewise.
63146         [non-C99-based standards] (cbrtf): Likewise.
63147         [non-C99-based standards] (expm1f): Likewise.
63148         [non-C99-based standards] (ilogbf): Likewise.
63149         [non-C99-based standards] (log1pf): Likewise.
63150         [non-C99-based standards] (logbf): Likewise.
63151         [non-C99-based standards] (nextafterf): Likewise.
63152         [non-C99-based standards] (remainderf): Likewise.
63153         [non-C99-based standards] (rintf): Likewise.
63154         [non-C99-based standards] (scalbf): Likewise.
63155         [non-C99-based standards] (copysignl): Likewise.
63156         [non-C99-based standards] (exp2l): Likewise.
63157         [non-C99-based standards] (log2l): Likewise.
63158         [non-C99-based standards] (modfl): Allow.
63159         [non-C99-based standards] (erfl): Do not allow.
63160         [non-C99-based standards] (erfcl): Likewise.
63161         [non-C99-based standards] (gammal): Likewise.
63162         [non-C99-based standards] (hypotl): Likewise.
63163         [non-C99-based standards] (j0l): Likewise.
63164         [non-C99-based standards] (j1l): Likewise.
63165         [non-C99-based standards] (jnl): Likewise.
63166         [non-C99-based standards] (lgammal): Likewise.
63167         [non-C99-based standards] (tgammal): Likewise.
63168         [non-C99-based standards] (y0l): Likewise.
63169         [non-C99-based standards] (y1l): Likewise.
63170         [non-C99-based standards] (ynl): Likewise.
63171         [non-C99-based standards] (isnanl): Likewise.
63172         [non-C99-based standards] (acoshl): Likewise.
63173         [non-C99-based standards] (asinhl): Likewise.
63174         [non-C99-based standards] (atanhl): Likewise.
63175         [non-C99-based standards] (cbrtl): Likewise.
63176         [non-C99-based standards] (expm1l): Likewise.
63177         [non-C99-based standards] (ilogbl): Likewise.
63178         [non-C99-based standards] (log1pl): Likewise.
63179         [non-C99-based standards] (logbl): Likewise.
63180         [non-C99-based standards] (nextafterl): Likewise.
63181         [non-C99-based standards] (remainderl): Likewise.
63182         [non-C99-based standards] (rintl): Likewise.
63183         [non-C99-based standards] (scalbl): Likewise.
63184         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63185         [non-C99-based standards] (FP_*): Do not allow.
63186         [C99-based standards] (FP_*): Change to
63187         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
63188         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
63189         allow.
63190         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
63191         (SIG_ERR): Likewise.
63192         [X/Open-based standards] (SIG_HOLD): Likewise.
63193         (SIG_IGN): Likewise.
63194         (SIGABRT): Use macro-int-constant.  Specify type.  Require
63195         positive value.
63196         (SIGFPE): Likewise.
63197         (SIGILL): Likewise.
63198         (SIGINT): Likewise.
63199         (SIGSEGV): Likewise.
63200         (SIGTER): Likewise.
63201         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
63202         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
63203         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
63204         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
63205         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
63206         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
63207         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
63208         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
63209         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
63210         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
63211         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
63212         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
63213         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
63214         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
63215         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
63216         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
63217         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
63218         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
63219         [X/Open-based standards] (SIGTRAP): Likewise.
63220         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
63221         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
63222         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
63223         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
63224         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
63225         allow.
63227 2012-05-08  Ian Wienand  <ianw@vmware.com>
63229         [BZ #14080]
63230         * time/tzset.c (__tzset_parse_tz): Update default rules for
63231         daylight time changes in the Energy Policy Act of 2005.
63233 2012-05-09  Andreas Jaeger  <aj@suse.de>
63235         [BZ #13983]
63236         * elf/ldconfig.c (parse_conf): Change string to make clear that
63237         ldconfig only issued a warning if ld.so.conf does not exist.
63239 2012-05-08  David S. Miller  <davem@davemloft.net>
63241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
63242         movxtod instead of popping the value on the stack.
63244         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63246 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
63248         * config.h.in: Add HAVE_ARM_PCS_VFP.
63250 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
63252         [BZ #13979]
63253         * include/features.h: Warn if user requests __FORTIFY_SOURCE
63254         checking but the checks are disabled for any reason.
63256 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
63258         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
63259         and ELF64_R_TYPE with ELFW(R_TYPE).
63261 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
63263         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
63264         (ulimit): Likewise.
63266         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
63267         (settimeofday): Likewise.
63269 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
63271         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
63272         a struct th_u2 inside the union, and move tu_block/tu_code into
63273         a new th_u3 union of tu_block/tu_code inside of that.  Move
63274         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
63275         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
63276         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
63277         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
63278         (th_stuff): Change to th_u1.tu_stuff.
63279         (th_data): Define.
63280         (th_msg): Change to th_u1.th_u2.tu_data.
63282 2012-05-07  David S. Miller  <davem@davemloft.net>
63284         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63286         [BZ #14074]
63287         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
63288         (SETUP_PIC_REG): Use it.
63289         (SETUP_PIC_REG_LEAF): Use it.
63291 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
63293         [BZ #13885]
63294         [BZ #13923]
63295         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63296         USE_AS_EXPM1L.
63297         (EXPL_FINITE): Likewise.
63298         (FLDLOG): Likewise.
63299         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
63300         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
63301         e_expl.S.
63302         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63303         USE_AS_EXPM1L.
63304         (EXPL_FINITE): Likewise.
63305         (FLDLOG): Likewise.
63306         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
63307         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
63308         e_expl.S.
63309         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
63310         test of -max_value argument for long double.
63311         * sysdeps/i386/fpu/libm-test-ulps: Update.
63312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63314 2012-05-06  David S. Miller  <davem@davemloft.net>
63316         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
63317         quad soft-float symbols whose references which are compiler
63318         generated.
63319         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
63321 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
63323         [BZ #13884]
63324         [BZ #13914]
63325         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63326         USE_AS_EXP10L.
63327         (EXPL_FINITE): Likewise.
63328         (FLDLOG): Likewise.
63329         (c0): Likewise.
63330         (c1): Likewise.
63331         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
63332         Adjust comments for base varying.
63333         (__expl_finite): Change alias to EXPL_FINITE.
63334         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
63335         e_expl.S.
63336         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
63337         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
63338         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
63339         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
63340         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63341         USE_AS_EXP10L.
63342         (EXPL_FINITE): Likewise.
63343         (FLDLOG): Likewise.
63344         (c0): Likewise.
63345         (c1): Likewise.
63346         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
63347         Adjust comments for base varying.
63348         (__expl_finite): Change alias to EXPL_FINITE.
63349         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
63350         tests for bugs.
63351         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63353         [BZ #14064]
63354         * math/libm-test.inc (check_float_internal): Correct ulp
63355         calculation for subnormal expected results.
63357 2012-05-06  Andreas Jaeger  <aj@suse.de>
63359         * Makeconfig (+math-flags): New, set to -frounding-math.
63360         (+cflags): Add +math-flags so that all of glibc gets compiled with
63361         it.
63363         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
63365 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
63367         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
63368         Disable one test.
63370         [BZ #13787]
63371         [BZ #13922]
63372         [BZ #14036]
63373         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
63374         (__ieee754_expl): Allow for and saturate large arguments.
63375         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
63376         (u_threshold): Likewise.
63377         (__exp): Call __ieee754_exp before checking for overflow and
63378         underflow.
63379         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
63380         (u_threshold): Likewise.
63381         (__expf): Call __ieee754_expf before checking for overflow and
63382         underflow.
63383         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
63384         (u_threshold): Likewise.
63385         (__expl): Call __ieee754_expl before checking for overflow and
63386         underflow.
63387         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
63388         (__ieee754_expl): Allow for and saturate large arguments.
63389         * math/libm-test.inc (exp_test): Add another test.  Do not allow
63390         missing overflow exception on overflow.
63391         (expm1_test): Do not allow missing overflow exception on overflow.
63393         * sysdeps/i386/fpu/e_expl.c: Move to ...
63394         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
63395         rather than using inline asm.
63396         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
63397         * sysdeps/x86_64/fpu/e_expl.S: Copy from
63398         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
63400         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
63401         (nice): Likewise.
63402         (poll): Likewise.
63403         (signal): Likewise.
63404         (time): Likewise.
63405         (times): Likewise.
63407 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
63409         * sysdeps/unix/syscalls.list (adjtime): Add entry from
63410         sysdeps/unix/common/syscalls.list.
63411         (fchmod): Likewise.
63412         (fchown): Likewise.
63413         (ftruncate): Likewise.
63414         (getrusage): Likewise.
63415         (gettimeofday): Likewise.
63416         (setpgid): Likewise.
63417         (setregid): Likewise.
63418         (setreuid): Likewise.
63419         (sigaction): Likewise.
63420         (truncate): Likewise.
63421         (vhangup): Likewise.
63422         * sysdeps/unix/common/syscalls.list: Remove file.
63423         * sysdeps/unix/bsd/Implies: Don't include unix/common.
63424         * sysdeps/unix/sysv/linux/Implies: Likewise.
63426 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
63428         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
63429         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
63430         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
63431         Moved to ...
63432         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
63433         Here.
63434         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
63435         to ...
63436         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
63437         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
63438         to ...
63439         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
63440         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
63441         to ...
63442         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
63443         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
63444         to ...
63445         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
63446         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
63447         to ...
63448         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
63449         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
63450         to ...
63451         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
63452         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
63453         to ...
63454         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
63455         Here.
63456         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
63457         to ...
63458         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
63459         Here.
63460         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
63461         to ...
63462         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
63463         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
63464         Moved to ...
63465         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
63466         Here.
63467         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
63468         to ...
63469         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
63471 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
63473         * sysdeps/unix/common/bits/dirent.h: Remove file.
63474         * sysdeps/unix/common/bits/fcntl.h: Likewise.
63476         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
63477         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
63478         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
63479         * sysdeps/unix/bsd/isatty.c: Likewise.
63480         * sysdeps/unix/bsd/tcdrain.c: Likewise.
63481         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
63482         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
63484 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63486         [BZ #13563]
63487         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
63488         long double comparison inaccuracies.
63489         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
63490         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63492 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
63494         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
63495         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
63497 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
63499         [BZ #14049]
63500         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
63501         nonzero digits before rounding a hex value.
63502         * stdlib/tst-strtod.c (tests): Add another test.
63504 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63506         * sysdeps/s390/fpu/libm-test-ulps: Update.
63508 2012-05-03  Andreas Jaeger  <aj@suse.de>
63510         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
63511         does not get optimized out.
63512         (malloc_opt_barrier): New.
63514 2012-05-03  Andreas Jaeger  <aj@suse.de>
63515             Roland McGrath  <roland@hack.frob.com>
63517         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
63518         intermediate file deletion.
63519         (generated): Add .symlist files.
63521 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
63523         [BZ #13775]
63524         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
63525         Redirect under this condition.
63526         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
63527         [__USE_GNU] (__dprintf_chk): Not under this condition.
63528         [__USE_GNU] (__vdprintf_chk): Likewise.
63529         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
63530         under this condition.
63531         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
63532         [__USE_XOPEN2K8] (dprintf): Define under this condition.
63533         [__USE_XOPEN2K8] (vdprintf): Likewise.
63534         [__USE_GNU] (__dprintf_chk): Not under this condition.
63535         [__USE_GNU] (__vdprintf_chk): Likewise.
63536         [__USE_GNU] (dprintf): Likewise.
63537         [__USE_GNU] (vdprintf): Likewise.
63539 2012-05-03  Roland McGrath  <roland@hack.frob.com>
63541         * elf/Makefile (common-generated): Set this instead of generated for
63542         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
63543         $(all-built-dso)-derived lists.
63545 2012-05-03  Andreas Jaeger  <aj@suse.de>
63547         * sysdeps/i386/fpu/libm-test-ulps: Update.
63549         * FAQ: Removed.
63550         * FAQ.in: Likewise.
63551         * scripts/gen-FAQ.pl: Likewise.
63552         * manual/install.texi (Installation): Point to online location of
63553         FAQ.
63554         * Makefile (files-for-dist): Remove FAQ.
63555         (FAQ): Remove.
63557 2012-05-02  Allan McRae  <allan@archlinux.org>
63559         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
63560         (LDFLAGS-reldepmod5.so): Likewise.
63561         (LDFLAGS-reldep6mod1.so): Likewise.
63562         (LDFLAGS-reldep6mod4.so): Likewise.
63563         (LDFLAGS-reldep8mod3.so): Likewise.
63564         (LDFLAGS-unload4mod1.so): Likewise.
63565         (LDFLAGS-unload4mod2.so): Likewise.
63566         (LDFLAGS-tst-initorder): Likewise.
63567         (LDFLAGS-tst-initordera2.so): Likewise.
63568         (LDFLAGS-tst-initordera3.so): Likewise.
63569         (LDFLAGS-tst-initordera4.so): Likewise.
63570         (LDFLAGS-tst-initorderb2.so): Likewise.
63571         (LDFLAGS-noload): Likewise.
63572         (LDFLAGS-next): Likewise.
63573         (LDFLAGS-order2mod1.so): Likewise.
63574         (LDFLAGS-order2mod2.so): Likewise.
63575         (LDFLAGS-tst-initorder2): Likewise.
63576         (LDFLAGS-tst-initorder2a.so): Likewise.
63577         (LDFLAGS-tst-initorder2b.so): Likewise.
63578         (LDFLAGS-tst-initorder2c.so): Likewise.
63579         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
63581 2012-05-02  David S. Miller  <davem@davemloft.net>
63583         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63585 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
63587         [BZ #14055]
63588         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
63590 2012-05-02  Andreas Jaeger  <aj@suse.de>
63592         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
63593         since we manipulate rounding mode.
63594         (CPPFLAGS-test-idouble.c): Likewise.
63595         (CPPFLAGS-test-ifloat.c): Likewise.
63596         (CFLAGS-test-ldouble.c): Likewise.
63597         (CFLAGS-test-double.c): Likewise.
63598         (CFLAGS-test-float.c): Likewise.
63599         (CFLAGS-test-misc.c): Likewise.
63600         (CFLAGS-test-test-fenv.c): Likewise.
63602 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63604         [BZ #2550]
63605         [BZ #2570]
63606         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
63607         comparisons to determine direction to adjust input.
63609 2012-05-01  Roland McGrath  <roland@hack.frob.com>
63611         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
63612         output to the target.
63614         * scripts/localplt.awk: New file.
63615         * elf/Makefile ($(objpfx)check-localplt): Target removed.
63616         (check-localplt-CFLAGS): Variable removed.
63617         ($(all-built-dso:=.jmprel)): New static pattern rule.
63618         (generated): Add those targets.
63619         (localplt-built-dso): New variable.
63620         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
63622         * elf/check-localplt.c: File removed.
63624         * scripts/check-execstack.awk: New file.
63625         * elf/Makefile ($(objpfx)check-execstack): Target removed.
63626         (check-execstack-CFLAGS): Variable removed.
63627         ($(objpfx)check-execstack.h): Target removed.
63628         ($(objpfx)execstack-default): New target.
63629         (generated): Add that instead of check-execstack.h.
63630         ($(all-built-dso:=.phdr)): New static pattern rule.
63631         (generated): Add those targets.
63632         * elf/check-execstack.c: File removed.
63634         * scripts/check-textrel.awk: New file.
63635         * elf/Makefile ($(objpfx)check-textrel): Target removed.
63636         (check-textrel-CFLAGS): Variable removed.
63637         (all-built-dso): Use := to define.o
63638         ($(all-built-dso:=.dyn)): New static pattern rule.
63639         (generated): Add those targets.
63640         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
63641         * config.make.in (READELF): New substituted variable.
63642         * elf/check-textrel.c: File removed.
63644 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
63646         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
63647         allow.
63648         * conform/data/ctype.h-data [C99-based standards] (isblank):
63649         Expect function.
63650         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
63651         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
63652         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63653         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
63654         Specify type.  Require positive value.
63655         (EILSEQ): Likewise.
63656         (ERANGE): Likewise.
63657         [ISO || POSIX] (EILSEQ): Do not expect.
63658         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
63659         Specify type.  Require positive value.
63660         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
63661         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
63662         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
63663         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
63664         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
63665         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
63666         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
63667         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
63668         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
63669         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
63670         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
63671         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
63672         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
63673         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
63674         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
63675         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
63676         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
63677         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
63678         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
63679         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
63680         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
63681         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
63682         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
63683         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
63684         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
63685         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
63686         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
63687         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
63688         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
63689         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
63690         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
63691         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
63692         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
63693         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
63694         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
63695         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
63696         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
63697         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
63698         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
63699         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
63700         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
63701         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
63702         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
63703         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
63704         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
63705         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
63706         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
63707         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
63708         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
63709         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
63710         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
63711         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
63712         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
63713         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
63714         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
63715         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
63716         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
63717         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
63718         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
63719         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
63720         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
63721         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
63722         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
63723         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
63724         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
63725         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
63726         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
63727         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
63728         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
63729         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
63730         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
63731         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
63732         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
63733         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
63734         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
63735         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
63736         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
63737         Require >= 2.
63738         (FLT_ROUNDS): Expect as macro, not constant.
63739         (FLT_MANT_DIG): Use macro-int-constant.
63740         (DBL_MANT_DIG): Likewise.
63741         (LDBL_MANT_DIG): Likewise.
63742         (FLT_DIG): Likewise.
63743         (DBL_DIG): Likewise.
63744         (LDBL_DIG): Likewise.
63745         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
63746         (DBL_MIN_EXP): Likewise.
63747         (LDBL_MIN_EXP): Likewise.
63748         (FLT_MAX_EXP): Use macro-int-constant.
63749         (DBL_MAX_EXP): Likewise.
63750         (LDBL_MAX_EXP): Likewise.
63751         (FLT_MAX_10_EXP): Likewise.
63752         (DBL_MAX_10_EXP): Likewise.
63753         (LDBL_MAX_10_EXP): Likewise.
63754         (FLT_MAX): Use macro-constant.
63755         (DBL_MAX): Likewise.
63756         (LDBL_MAX): Likewise.
63757         (FLT_EPSILON): Use macro-constant.  Give upper bound.
63758         (DBL_EPSILON): Likewise.
63759         (LDBL_EPSILON): Likewise.
63760         (FLT_MIN): Likewise.
63761         (DBL_MIN): Likewise.
63762         (LDBL_MIN): Likewise.
63763         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
63764         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
63765         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
63766         [ISO11] (FLT_HAS_SUBNORM): Likewise.
63767         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
63768         [ISO11] (DBL_DECIMAL_DIG): Likewise.
63769         [ISO11] (FLT_DECIMAL_DIG): Likewise.
63770         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
63771         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
63772         [ISO11] (FLT_TRUE_MIN): Likewise.
63773         [ISO11] (LDBL_TRUE_MIN): Likewise.
63774         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63775         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
63776         (SCHAR_MIN): Use macro-int-constant.  Specify type.
63777         (SCHAR_MAX): Likewise.
63778         (UCHAR_MAX): Likewise.
63779         (CHAR_MIN): Likewise.
63780         (CHAR_MAX): Likewise.
63781         (MB_LEN_MAX): Use macro-int-constant.
63782         (SHRT_MIN): Use macro-int-constant.  Specify type.
63783         (SHRT_MAX): Likewise.
63784         (USHRT_MAX): Likewise.
63785         (INT_MAX): Likewise.
63786         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
63787         bound negative.
63788         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
63789         bound with "U".
63790         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
63791         bound with "L".
63792         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
63793         bound negative.  Suffix upper bound with "L".
63794         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
63795         bound with "UL".
63796         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
63797         Specify type.
63798         [C99-based standards] (LLONG_MAX): Likewise.
63799         [C99-based standards] (ULLONG_MAX): Likewise.
63800         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
63801         == 0.
63802         [ISO11] (max_align_t): Require type.
63803         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63805         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
63806         from $CFLAGS, without defining away __attribute__ calls.
63807         (checknamespace): Use $CFLAGS_namespace.
63809         * conform/conformtest.pl (@keywords): Only include C99 keywords
63810         for standards based on C99 or C11.
63812         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
63813         Disable tests.
63814         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
63815         UNIX98]: Likewise.
63817         * conform/conformtest.pl: Handle "macro-int-constant" and test for
63818         usability of symbols in #if.
63820         * conform/conformtest.pl: If macro or constant types start
63821         "promoted:", expect the symbol to be of the following type
63822         promoted by the integer promotions.
63824         * conform/conformtest.pl: Parse all "constant" and "macro" lines
63825         in one place.  Also handle "macro-constant".
63827         * conform/conformtest.pl: Only accept expected macro values with
63828         "==".  Parse all "macro" lines in one place.
63829         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
63831         * conform/conformtest.pl: Handle braced types on "constant" lines
63832         instead of handling "typed-constant".
63833         * conform/data/signal.h-data: Use "constant" instead of
63834         "typed-constant".
63836         * conform/conformtest.pl: Handle "optional-" at start of lines in
63837         one place rather than duplicating several cases.  Handle each
63838         format of "macro" line with initial "optional-".
63840         * conform/conformtest.pl: Only accept expected constant or
63841         optional-constant values with "==".  Parse all "constant" lines in
63842         one place.  Parse all "optional-constant" lines in one place.
63843         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
63844         * conform/data/fmtmsg.h-data: Likewise.
63845         * conform/data/netinet/in.h-data: Likewise.
63846         * conform/data/tar.h-data: Likewise.
63847         * conform/data/limits.h-data: Use "==" form on "constant" and
63848         "optional-constant" lines.
63850         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
63851         Use -std=c99 for XOPEN2K.
63852         (@knownproblems): Remove.
63853         (newtoken): Don't check %isknown.
63855         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
63856         Do not expect macro.
63857         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
63858         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
63859         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
63860         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
63861         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
63862         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
63863         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
63864         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
63865         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
63866         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
63867         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
63868         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
63869         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
63870         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
63871         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
63872         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
63873         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
63874         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
63875         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
63876         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
63877         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
63878         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
63879         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
63880         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
63881         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
63882         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
63883         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
63884         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
63885         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
63886         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
63887         [XPG3] (acosh): Likewise.
63888         [XPG3] (asinh): Likewise.
63889         [XPG3] (atanh): Likewise.
63890         [XPG3] (cbrt): Likewise.
63891         [XPG3] (expm1): Likewise.
63892         [XPG3] (ilogb): Likewise.
63893         [XPG3] (log1p): Likewise.
63894         [XPG3] (logb): Likewise.
63895         [XPG3] (nextafter): Likewise.
63896         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
63897         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
63898         [XPG3] (remainder): Likewise.
63899         [XPG3] (rint): Likewise.
63900         [XPG3 || XPG4 || UNIX98] (round): Likewise.
63901         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
63902         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
63903         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
63904         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
63905         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
63906         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
63907         [UNIX98 || XOPEN2K] (scalb): Expect.
63908         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
63909         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
63910         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
63911         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
63912         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
63913         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
63914         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
63915         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
63916         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
63917         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
63918         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
63919         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
63920         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
63921         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
63922         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
63923         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
63924         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
63925         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
63926         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
63927         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
63928         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
63929         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
63930         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
63931         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
63932         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
63933         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
63934         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
63935         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
63936         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
63937         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
63938         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
63939         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
63940         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
63941         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
63942         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
63943         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
63944         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
63945         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
63946         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
63947         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
63948         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
63949         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
63950         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
63951         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
63952         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
63953         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
63954         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
63955         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
63956         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
63957         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
63958         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
63959         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
63960         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
63961         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
63962         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
63963         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
63964         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
63965         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
63966         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
63967         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
63968         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
63969         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
63970         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
63971         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
63972         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
63973         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
63974         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
63975         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
63976         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
63977         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
63978         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
63979         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
63980         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
63981         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
63982         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
63983         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
63984         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
63985         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
63986         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
63987         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
63988         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
63989         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
63990         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
63991         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
63992         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
63993         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
63994         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
63995         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
63996         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
63997         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
63998         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
63999         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
64000         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
64001         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
64002         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
64003         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
64004         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
64005         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
64006         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
64007         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
64008         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
64009         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
64010         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
64011         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
64012         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
64013         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
64014         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
64015         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
64016         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
64017         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
64018         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
64019         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
64020         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
64021         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
64022         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
64023         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
64024         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
64025         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
64026         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
64027         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
64028         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
64029         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
64030         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
64031         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
64032         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
64033         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
64034         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
64035         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
64036         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
64037         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
64038         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
64039         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
64040         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
64041         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
64042         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
64043         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
64044         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
64046         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
64047         _XOPEN_SOURCE_EXTENDED for XPG4.
64049         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
64051         * Makeconfig (localtime): Remove variable.
64052         (inst_localtime-file): Likewise.
64054 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
64056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
64057         Update.
64058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64059         Update.
64060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
64061         Update.
64062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
64063         Update.
64064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
64065         Update.
64066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
64067         Update.
64068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64069         Update.
64070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
64071         Update.
64072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
64073         Update.
64075 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
64077         [BZ #2550]
64078         [BZ #2570]
64079         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
64080         comparisons to determine direction to adjust input.
64081         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
64082         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
64083         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
64084         Likewise.
64085         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
64086         Likewise.
64087         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
64088         Likewise.
64089         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
64090         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
64091         Likewise.
64092         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
64093         Likewise.
64094         * math/libm-test.inc (nexttoward_test): Add more tests.
64096 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
64098         [BZ #14040]
64099         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
64100         in version GLIBC_2.1, not GLIBC_2.0.
64101         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
64102         Likewise.
64104 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
64106         [BZ #13942]
64107         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
64108         (1 - x) * (1 + x).
64109         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
64110         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
64111         * math/libm-test.inc (acos_test): Add more tests.
64112         (asin_test): Likewise.
64113         * sysdeps/i386/fpu/libm-test-ulps: Update.
64114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64116         [BZ #14034]
64117         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
64118         of square root.
64119         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
64120         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
64121         * math/libm-test.inc (acos_test_tonearest): New function.
64122         (acos_test_towardzero): Likewise.
64123         (acos_test_downward): Likewise.
64124         (acos_test_upward): Likewise.
64125         (asin_test_tonearest): Likewise.
64126         (asin_test_towardzero): Likewise.
64127         (asin_test_downward): Likewise.
64128         (asin_test_upward): Likewise.
64129         (main): Call the new functions.
64130         * sysdeps/i386/fpu/libm-test-ulps: Update.
64131         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64133         [BZ #13884]
64134         [BZ #13924]
64135         * math/e_exp10.c: Include <float.h>.
64136         (__ieee754_exp10): Handle underflow here rather than multiplying
64137         large negative argument by M_LN10.
64138         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
64139         of __ieee754_expf.
64140         * math/e_exp10l.c: Include <float.h>.
64141         (__ieee754_exp10l): Handle underflow here rather than multiplying
64142         large negative argument by M_LN10l.
64143         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
64144         spurious overflow exception on underflow.
64146 2012-04-29  Marek Polacek  <polacek@redhat.com>
64148         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
64149         (__fortify_function): New macro.
64150         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
64151         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
64152         __extern_always_inline.
64153         * libio/bits/stdio2.h: Likewise.
64154         * libio/bits/stdio.h: Likewise.
64155         * string/string.h: Likewise.
64156         * string/bits/string3.h: Likewise.
64157         * include/stdio.h: Likewise.
64158         * stdlib/bits/stdlib.h: Likewise.
64159         * stdlib/stdlib.h: Likewise.
64160         * rt/bits/mqueue2.h: Likewise.
64161         * rt/mqueue.h: Likewise.
64162         * posix/bits/unistd.h: Likewise.
64163         * posix/unistd.h: Likewise.
64164         * io/bits/poll2.h: Likewise.
64165         * io/bits/fcntl2.h: Likewise.
64166         * io/fcntl.h: Likewise.
64167         * io/sys/poll.h: Likewise.
64168         * misc/bits/syslog.h: Likewise.
64169         * misc/bits/syslog-ldbl.h: Likewise.
64170         * misc/sys/syslog.h: Likewise.
64171         * socket/bits/socket2.h: Likewise.
64172         * socket/sys/socket.h: Likewise.
64173         * debug/tst-chk1.c: Likewise.
64174         * wcsmbs/bits/wchar2.h: Likewise.
64175         * wcsmbs/bits/wchar-ldbl.h: Likewise.
64176         * wcsmbs/wchar.h: Likewise.
64178 2012-04-29  Andreas Jaeger  <aj@suse.de>
64180         * Makerules (tests): Remove enable-check-abi protection.
64181         (check-abi-warn): Remove.
64182         (check-abi-%): Remove check-abi-warn usage.
64184         * configure.in: Remove check-abi configure option.
64185         * configure: Regenerated.
64186         * config.make.in (enable-check-abi): Remove.
64188 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
64190         [BZ #14033]
64191         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
64192         double functions to double *_finite functions.
64194         [BZ #13941]
64195         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
64196         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
64197         LDBL_MIN_EXP.
64198         * stdio-common/Makefile (tests): Add tst-sprintf3.
64199         * stdio-common/tst-sprintf3.c: New file.
64201         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
64202         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
64204 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
64206         * conform/conformtest.pl: Remove duplicate typed-constant
64207         handling.
64209 2012-04-28  David S. Miller  <davem@davemloft.net>
64211         * Makerules (%.abilist): Add vpath on sysdep_dirs.
64212         (check-abi-%): Remove AWK script prerequisite and explicit
64213         abilist directory.
64214         (check-abi): Rewrite to just diff the symlist with the abilist.
64215         (config-tls, config-abi-config): Delete, no longer used.
64216         (update-abi-%): Remove AWK script and explicit abilist directory.
64217         (update-abi): Rewrite to simply compare and conditionally copy the
64218         symlist and the sysdep abilist file.  Remove update-abi-config
64219         checks.
64220         * abilist/ld.abilist: Remove.
64221         * abilist/libBrokenLocale.abilist: Remove.
64222         * abilist/libanl.abilist: Remove.
64223         * abilist/libcrypt.abilist: Remove.
64224         * abilist/libdl.abilist: Remove.
64225         * abilist/librt.abilist: Remove.
64226         * abilist/libthread_db.abilist: Remove.
64227         * abilist/libutil.abilist: Remove.
64228         * scripts/extract-abilist.awk: Remove.
64229         * scripts/merge-abilist.awk: Remove.
64230         * sysdeps/generic/libcidn.abilist: New file.
64231         * sysdeps/generic/libnss_compat.abilist: New file.
64232         * sysdeps/generic/libnss_db.abilist: New file.
64233         * sysdeps/generic/libnss_dns.abilist: New file.
64234         * sysdeps/generic/libnss_files.abilist: New file.
64235         * sysdeps/generic/libnss_hesiod.abilist: New file.
64236         * sysdeps/generic/libnss_nis.abilist: New file.
64237         * sysdeps/generic/libnss_nisplus.abilist: New file.
64238         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
64239         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
64240         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
64241         file.
64242         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
64243         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
64244         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
64245         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
64246         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
64247         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
64248         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
64249         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
64250         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
64251         file.
64252         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
64253         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
64254         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
64255         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
64256         file.
64257         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
64258         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
64259         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
64260         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
64261         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
64262         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
64263         file.
64264         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
64265         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
64266         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
64267         file.
64268         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
64269         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
64270         New file.
64271         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
64272         New file.
64273         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
64274         New file.
64275         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
64276         New file.
64277         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
64278         New file.
64279         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
64280         New file.
64281         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
64282         New file.
64283         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
64284         New file.
64285         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
64286         New file.
64287         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
64288         New file.
64289         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
64290         New file.
64291         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
64292         New file.
64293         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
64294         New file.
64295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
64296         file.
64297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
64298         New file.
64299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
64300         New file.
64301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
64302         file.
64303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
64304         New file.
64305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
64306         New file.
64307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
64308         file.
64309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
64310         New file.
64311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
64312         New file.
64313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
64314         New file.
64315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
64316         New file.
64317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
64318         New file.
64319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
64320         New file.
64321         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
64322         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
64323         file.
64324         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
64325         New file.
64326         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
64327         file.
64328         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
64329         file.
64330         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
64331         file.
64332         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
64333         file.
64334         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
64335         file.
64336         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64337         New file.
64338         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
64339         file.
64340         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
64341         file.
64342         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
64343         New file.
64344         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
64345         file.
64346         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
64347         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
64348         file.
64349         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
64350         New file.
64351         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
64352         file.
64353         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
64354         file.
64355         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
64356         file.
64357         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
64358         file.
64359         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
64360         file.
64361         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64362         New file.
64363         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
64364         file.
64365         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
64366         file.
64367         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
64368         New file.
64369         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
64370         file.
64371         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
64372         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
64373         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
64374         file.
64375         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
64376         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
64377         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
64378         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
64379         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
64380         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
64381         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
64382         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
64383         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
64384         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
64385         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
64386         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
64387         file.
64388         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
64389         New file.
64390         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
64391         file.
64392         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
64393         file.
64394         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
64395         file.
64396         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
64397         file.
64398         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
64399         file.
64400         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
64401         New file.
64402         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
64403         New file.
64404         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
64405         file.
64406         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
64407         New file.
64408         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
64409         file.
64410         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
64411         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
64412         file.
64413         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
64414         New file.
64415         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
64416         file.
64417         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
64418         file.
64419         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
64420         file.
64421         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
64422         file.
64423         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
64424         file.
64425         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
64426         New file.
64427         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
64428         New file.
64429         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
64430         file.
64431         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
64432         New file.
64433         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
64434         file.
64436 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
64438         * conform/conformtest.pl: Fix typo in handling typed-constant from
64439         allow-header.
64441 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
64443         * README: Cut down references to pre-2.6 Linux kernels and
64444         Linuxthreads.  Update lists of configurations in libc and ports
64445         and sort alphabetically.  Say "or newer" with Linux kernel version
64446         requirements.
64448         * config.h.in [IS_IN_build]: Allow compiling without optimization.
64450 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64452         [BZ #887]
64453         * math/libm-test.inc (logb_test_downward): New test to expose
64454         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
64455         rounding mode.
64457 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
64459         [BZ #14027]
64460         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
64461         to be done.
64462         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
64463         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
64465 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
64467         * sysdeps/unix/i386/brk.S: Remove file.
64468         * sysdeps/unix/i386/dl-brk.S: Likewise.
64469         * sysdeps/unix/i386/pipe.S: Likewise.
64470         * sysdeps/unix/i386/sigreturn.S: Likewise.
64471         * sysdeps/unix/i386/syscall.S: Likewise.
64472         * sysdeps/unix/i386/vfork.S: Likewise.
64473         * sysdeps/unix/i386/wait.S: Likewise.
64475         * sysdeps/unix/common/tcsendbrk.c: Move to ...
64476         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
64478         * configure.in (arm*-none*): Do not allow without
64479         --enable-hacker-mode.
64480         (netbsd*): Remove case setting base_os.
64481         (386bsd*): Likewise.
64482         (freebsd*): Likewise.
64483         (bsdi*): Likewise.
64484         (osf*): Likewise.
64485         (sunos*): Likewise.
64486         (ultrix*): Likewise.
64487         (newsos*): Likewise.
64488         (dynix*): Likewise.
64489         (*bsd*): Likewise.
64490         (sysv*): Likewise.
64491         (isc*): Likewise.
64492         (esix*): Likewise.
64493         (sco*): Likewise.
64494         (minix*): Likewise.
64495         (irix4*): Likewise.
64496         (irix6*): Likewise.
64497         (solaris[2-9]*): Likewise.
64498         (none): Likewise.
64499         * configure: Regenerated.
64501 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64503         [BZ #11521]
64504         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
64505         overflow or cancellation in calculating denominator.
64506         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
64507         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
64508         down expression to avoid unexpected rounding in newer GCCs.
64509         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
64511 2012-04-26  David S. Miller  <davem@davemloft.net>
64513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
64514         long-double compat symbols.
64515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
64516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
64517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
64518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
64519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
64520         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
64521         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
64522         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
64523         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
64524         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
64525         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
64526         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
64527         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
64529 2012-04-25  David S. Miller  <davem@davemloft.net>
64531         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
64532         HWCAP_* values only after the memory barriers have been defined.
64533         (atomic_full_barrier): Define.
64534         (atomic_read_barrier): Define.
64535         (atomic_write_barrier): Define.
64537 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64539         * shlib-versions: Add libgcc_s version information.
64540         * sysdeps/generic/libgcc_s.h: Remove.
64541         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
64542         libgcc_s.h.
64543         * sysdeps/gnu/unwind-resume.c: Likewise.
64544         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
64546 2012-04-25  David S. Miller  <davem@davemloft.net>
64548         * sysdeps/unix/sparc/brk.S: Delete.
64549         * sysdeps/unix/sparc/dl-brk.S: Delete.
64550         * sysdeps/unix/sparc/pipe.S: Delete.
64551         * sysdeps/unix/sparc/sysdep.S: Delete.
64552         * sysdeps/unix/sparc/sysdep.h: Delete.
64553         * sysdeps/unix/sparc/vfork.S: Delete.
64554         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
64555         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
64556         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
64557         (ret_ERRVAL, r0, r1, MOVE): Define.
64558         (JUMPTARGET): Remove.
64559         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
64560         sysdeps/unix/sparc/sysdep.h
64561         (ENTRY, END): Remove.
64562         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
64564 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
64566         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
64567         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
64568         -DIS_IN_build.
64570         * timezone/README: Update upstream location and email address for
64571         tzcode and tzdata.
64572         * timezone/zdump.c: Update from tzcode 2012b.
64573         * timezone/zic.c: Likewise.
64575         * configure.in (libc_cv_as_needed): Remove test.
64576         * configure: Regenerated.
64577         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
64578         conditional definition.
64579         [$(have-as-needed) != yes] (no-as-needed): Likewise.
64580         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
64581         * config.make.in (have-as-needed): Remove variable.
64583 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
64584             Paul Pluzhnikov  <ppluzhnikov@google.com>
64586         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
64587         strings correctly.
64589 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
64591         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
64592         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
64593         * sysdeps/sh/strlen.S: Likewise.
64595 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
64597         * sysdeps/unix/fork.S: Remove file.
64598         * sysdeps/unix/i386/fork.S: Likewise.
64599         * sysdeps/unix/sparc/fork.S: Likewise.
64601         * sysdeps/unix/system.c: Remove file.
64602         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
64604         * sysdeps/unix/getegid.S: Remove file.
64605         * sysdeps/unix/geteuid.S: Likewise.
64607 2012-04-24  Roland McGrath  <roland@hack.frob.com>
64609         * scripts/check-localplt.awk: New file.
64610         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
64611         of diff.
64612         * scripts/data/localplt-generic.data: Add a comment.
64614         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
64615         NODE when __dir_mkfile failed.
64616         * sysdeps/mach/hurd/symlinkat.c: Likewise.
64617         Reported by Ludovic Courtès <ludo@gnu.org>.
64619 2012-04-24  Andreas Jaeger  <aj@suse.de>
64621         * Makerules (common-clean): Also remove gen-as-const-headers
64622         files.
64624 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
64626         * Makerules (native-compile): Do not change working directory for
64627         build.  Use $(OUTPUT_OPTION) in command.
64628         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
64630 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64632         [BZ #13886]
64633         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
64634         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
64635         * math/libm-test.inc (floor_test): Add more tests.
64636         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
64638 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
64640         * sysdeps/unix/getdents.c: Remove file.
64641         * sysdeps/unix/sysv/getdents.c: Likewise.
64642         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
64644         * sysdeps/unix/syscalls.list (madvise): Add syscall from
64645         sysdeps/unix/mman/syscalls.list.
64646         (mmap): Likewise.
64647         (mprotect): Likewise.
64648         (msync): Likewise.
64649         (munmap): Likewise.
64650         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
64651         * sysdeps/unix/mman/syscalls.list: Remove.
64652         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
64654         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
64655         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
64656         * configure: Regenerated.
64657         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
64658         $(libgcc_s_suffix).
64659         * config.make.in (libgcc_s_suffix): Remove variable.
64661 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
64663         * sysdeps/unix/sysv/gethostname.c: Move to ...
64664         * sysdeps/posix/gethostname.c: ... here.
64666         * sysdeps/unix/execve.S: Remove file.
64668         * sysdeps/unix/_exit.S: Remove file.
64670 2012-04-23  Andreas Jaeger  <aj@suse.de>
64672         [BZ #13739]
64673         * manual/Makefile: Remove make dist support, there's no
64674         need for a stand-alone documentation tar ball.
64675         (TEXI2DVI): Define always, it's not in Makeconfig.
64676         (dist): Removed.
64677         (tar-it): Removed.
64678         (edition): Removed.
64679         (glibc-doc-$(edition).tar): Removed
64680         (%.Z): Removed.
64681         (%.gz): Removed.
64682         (%.uu): Removed.
64683         (ETAGS): Remove, it's in Makeconfig.
64684         (move-if-change): Remove, it's in Makeconfig.
64686 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
64688         [BZ #13970]
64689         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
64690         (strtod, strtof, strtold, strtol, strtoul, strtoq)
64691         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
64692         (strtod_l, strtof_l, strtold_l): Remove __wur.
64693         It is not necessarily an error to ignore strtol's return value.
64694         One can reliably look at the stored endptr to decide whether
64695         the number had valid syntax.
64697 2012-04-21  Andreas Jaeger  <aj@suse.de>
64699         [BZ #13739]
64700         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
64702 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
64704         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
64705         * sysdeps/unix/sysv/Versions: Remove file.
64707 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
64709         [BZ #13927]
64710         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64712 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
64714         [BZ #7064]
64715         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
64716         version from __vm86.
64718 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
64720         * sysdeps/unix/common/lxstat.c: Remove file.
64721         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
64723         * sysdeps/unix/sysv/Makefile: Remove file.
64725         * sysdeps/unix/sysv/direct.h: Remove file.
64727         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
64728         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
64729         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
64730         * sysdeps/unix/sysv/bits/signum.h: Likewise.
64731         * sysdeps/unix/sysv/bits/stat.h: Likewise.
64732         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
64733         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
64735         * sysdeps/unix/sysv/setrlimit.c: Remove file.
64737         * sysdeps/unix/xmknod.c: Remove file.
64738         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
64740         * sysdeps/unix/sysv/settimeofday.c: Remove file.
64742         * sysdeps/unix/sysv/i386/time.S: Remove file.
64744         * sysdeps/unix/fxstat.c: Remove file.
64745         * sysdeps/unix/xstat.c: Likewise.
64746         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
64748         * sysdeps/unix/sysv/sigaction.c: Remove file.
64750         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
64751         (sysdep_headers): Remove variable.
64752         [termio.h not in sysdep_headers] (generated): Likewise.
64753         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
64754         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
64755         * sysdeps/unix/sysv/tcdrain.c: Likewise.
64756         * sysdeps/unix/sysv/tcflow.c: Likewise.
64757         * sysdeps/unix/sysv/tcflush.c: Likewise.
64758         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
64759         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
64760         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
64761         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
64762         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
64764         * sysdeps/unix/siglist.c: Remove file.
64766         * sysdeps/unix/getppid.S: Remove file.
64768         * sysdeps/unix/mkdir.c: Remove file.
64769         * sysdeps/unix/rmdir.c: Likewise.
64771 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
64773         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
64774         ERR_MAX value.
64775         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
64776         errlist-compat value.
64778 2012-04-18  David S. Miller  <davem@davemloft.net>
64780         * sysdeps/generic/memcopy.h (reg_char): Delete.
64781         * debug/strcat_chk.c: Use char, not reg_char.
64782         * debug/strcpy_chk.c: Likewise.
64783         * debug/strncat_chk.c: Likewise.
64784         * debug/strncpy_chk.c: Likewise.
64785         * string/memchr.c: Likewise.
64786         * string/memrchr.c: Likewise.
64787         * string/rawmemchr.c: Likewise.
64788         * string/strcat.c: Likewise.
64789         * string/strchr.c: Likewise.
64790         * string/strchrnul.c: Likewise.
64791         * string/strcmp.c: Likewise.
64792         * string/strcpy.c: Likewise.
64793         * string/strncat.c: Likewise.
64794         * string/strncmp.c: Likewise.
64795         * string/strncpy.c: Likewise.
64797 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
64799         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
64800         __builtin_memcopy is called when src and dest ranges are known to not
64801         overlap.
64803 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
64805         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
64806         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
64807         fwd_align_merge macro call.
64808         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
64809         bwd_align_merge macro call.
64810         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
64812 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
64814         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
64815         bwd_align_merge macros.
64816         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
64817         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
64818         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
64820 2012-04-18  David S. Miller  <davem@davemloft.net>
64822         * sysdeps/sparc/sparc64/memcopy.h: Delete.
64824 2012-04-18  Andreas Jaeger  <aj@suse.de>
64826         [BZ# 6794]
64827         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
64828         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
64829         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
64831         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
64832         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
64833         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
64835         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
64836         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
64837         Adjust for changed ldbl-128 files.
64839         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
64840         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
64841         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
64843 2012-04-17  David S. Miller  <davem@davemloft.net>
64845         * sysdeps/sparc/sparc32/memcopy.h: Delete.
64847 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
64849         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
64850         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
64851         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
64852         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
64853         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
64854         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
64856 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64858         [BZ #6794]
64859         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
64860         * math/libm-test.inc: Add ilogb errno and exception tests.
64861         * math/w_ilogb.c: New file: ilogb wrapper.
64862         * math/w_ilogbf.c: New file: ilogbf wrapper.
64863         * math/w_ilogbl.c: New file: ilogbl wrapper.
64864         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
64865         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
64866         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
64867         exception being thrown with 0.0 as argument.
64868         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
64869         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
64870         exception being thrown with 0.0 as argument.
64871         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
64872         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
64873         exception being thrown with 0.0 as argument.
64874         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
64875         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
64876         exception being thrown with 0.0 as argument.
64877         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
64878         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
64879         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
64880         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
64881         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
64882         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
64883         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
64884         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
64885         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
64887 2012-04-17  Petr Baudis  <pasky@ucw.cz>
64889         * include/sys/uio.h: Change __vector to __iovec to avoid clash
64890         with altivec.
64892 2012-04-16  Marek Polacek  <polacek@redhat.com>
64894         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
64896 2012-04-16  Marek Polacek  <polacek@redhat.com>
64898         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
64899         operands of fdivp instruction.
64901 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
64903         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
64904         * elf/tst-auditmod3b.c: Likewise.
64905         * elf/tst-auditmod4b.c: Likewise.
64906         * elf/tst-auditmod5b.c: Likewise.
64907         * elf/tst-auditmod6b.c: Likewise.
64908         * elf/tst-auditmod6c.c: Likewise.
64909         * elf/tst-auditmod7b.c: Likewise.
64910         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
64911         * sysdeps/x86_64/preconfigure.in: Likewise.
64912         * sysdeps/x86_64/preconfigure: Regenerated.
64914 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
64916         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
64917         __ILP32__.
64919 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
64921         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64922         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
64924 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
64926         [BZ #13973]
64927         * locale/iso-639.def: Fix gl language name. Spotted by
64928         Yaron Shahrabani.
64930 2012-04-12  Roland McGrath  <roland@hack.frob.com>
64932         [BZ #2074]
64933         * libio/libio.h (__io_write_fn): Update comment.
64935 2012-04-12  Petr Baudis  <pasky@ucw.cz>
64937         [BZ #2074]
64938         * stdio.texi (Hook Functions): The user provided writer function
64939         is not allowed to return -1.
64941 2012-04-11  David S. Miller  <davem@davemloft.net>
64943         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64945 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
64947         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
64948         Add a leading slash to rtkaio.
64950 2012-04-11  Jim Meyering  <meyering@redhat.com>
64952         [BZ #11959]
64953         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
64954         It is not necessarily an error to ignore fwrite's return
64955         value.  One can reliably use ferror to test for errors after
64956         the fact.
64958 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
64960         * bits/types.h (__snseconds_t): New type.
64961         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
64963         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
64964         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64965         (__SNSECONDS_T_TYPE): Likewise.
64966         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64967         (__SNSECONDS_T_TYPE): Likewise.
64968         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64969         (__SNSECONDS_T_TYPE): Likewise.
64971 2012-04-10  Andreas Jaeger  <aj@suse.de>
64973         [BZ #2636]
64974         * manual/time.texi (Processor Time): Return type of times is
64975         elapsed real time since an arbitrary point in the past.
64976         (CPU Time): Move CLK_TCK from here...
64977         (Processor Time): ...to here.  Correct description.
64978         * manual/conf.texi (Constants for Sysconf): Correct description of
64979         _SC_CLK_TCK.
64981 2012-04-10  David S. Miller  <davem@davemloft.net>
64983         [BZ #13967]
64984         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
64985         where the is a gap between DT_REL(A) and DT_JMPREL.
64987 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
64989         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
64990         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
64991         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
64993 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
64995         * elf/dl-support.c (_dl_inhibit_cache): New variable.
64996         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
64997         (dl_main): Handle --inhibit-cache.
64998         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
64999         _dl_inhibit_cache.
65000         * elf/dl-load.c (_dl_map_object): Use it.
65001         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
65003 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
65005         [BZ #13872]
65006         * sysdeps/i386/fpu/e_powl.S (p78): New object.
65007         (__ieee754_powl): Saturate large exponents rather than testing for
65008         overflow of y*log2(x).
65009         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65010         * math/libm-test.inc (pow_test): Do not permit spurious overflow
65011         exceptions.
65013         [BZ #11521]
65014         * math/s_ctan.c: Include <float.h>.
65015         (__ctan): Avoid internal overflow or cancellation in calculating
65016         denominator.
65017         * math/s_ctanf.c: Likewise.
65018         * math/s_ctanl.c: Likewise.
65019         * math/s_ctanh.c: Likewise.
65020         * math/s_ctanhf.c: Likewise.
65021         * math/s_ctanhl.c: Likewise.
65022         * math/libm-test.inc (ctan_test): Add more tests.
65023         (ctanh_test): Likewise.
65024         * sysdeps/i386/fpu/libm-test-ulps: Update.
65025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65027 2012-04-09  Andreas Jaeger  <aj@suse.de>
65029         [BZ #6894]
65030         * manual/filesys.texi (Directory Entries): Mention that d_namlen
65031         is an optional BSD extension.
65033         [BZ #10254]
65034         * manual/stdio.texi (Opening Streams): Document additional fopen
65035         parameters.
65037 2012-04-09  Roland McGrath  <roland@hack.frob.com>
65039         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
65040         %eax without telling the compiler.
65042 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
65044         [BZ # 13963]
65045         * manual/install.texi: Use sourceware.org.
65047 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
65049         [BZ #13873]
65050         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
65051         (__ieee754_pow): Generate overflow and underflow using huge*huge
65052         and tiny*tiny rather than just returning constant infinity or zero
65053         for large exponents.
65054         * math/libm-test.inc (pow_test): Require overflow exceptions for
65055         applicable cases of large exponents.
65057         [BZ #706]
65058         * sysdeps/i386/fpu/e_pow.S (p10): New object.
65059         (__ieee754_pow): Use iterative multiplication algorithm only for
65060         integer exponents with absolute value below 1024.  Check for odd
65061         integer exponents when using algorithm for real exponents.
65062         * math/libm-test.inc (pow_test): Add more tests.
65063         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65065 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
65067         [BZ #13705]
65068         * math/libm-test.inc (exp_test): Do not allow overflow exception
65069         on underflow test.
65071 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
65073         [BZ #13705]
65074         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
65075         instead of __kernel_standard_f.
65077 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
65079         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
65080         * sysdeps/x86_64/memset_chk.S: Likewise.
65082 2012-04-08  Andreas Jaeger  <aj@suse.de>
65084         [BZ #10153]
65085         * manual/startup.texi (Environment Access): Describe return value
65086         for putenv and setenv.
65088         [BZ #6895]
65089         * manual/filesys.texi (Directory Entries): Add description for
65090         DT_LNK.
65092         [BZ #6890]
65093         * manual/filesys.texi (Directory Entries): Clarify that it's file
65094         system not operating system in the description of DT_UNKNOWN.
65096         [BZ #6578]
65097         * manual/syslog.texi (closelog): Fix reference, it's openlog.
65099 2012-04-08  Stephen Compall  <s11@member.fsf.org>
65101         [BZ #6649]
65102         * manual/llio.texi (Opening and Closing Files): Add cross
65103         reference to explain mode argument.
65105 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
65107         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
65108         * sysdeps/x86_64/memset_chk.S: Likewise.
65110 2012-04-07  David S. Miller  <davem@davemloft.net>
65112         * elf/elf.h (R_SPARC_WDISP10): Define.
65113         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
65114         R_SPARC_SIZE32.
65115         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
65116         R_SPARC_SIZE64 and R_SPARC_H34.
65118 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
65120         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
65121         conditions and remove no longer applicable assertion.
65123 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
65125         * bits/byteswap.h: Include <features.h>.
65126         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
65127         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
65129 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
65131         * bits/byteswap.h (__bswap_16): Removed.
65132         Include <bits/byteswap-16.h> to get __bswap_16.
65133         * sysdeps/i386/bits/byteswap.h: Likewise.
65134         * sysdeps/s390/bits/byteswap.h: Likewise.
65135         * sysdeps/x86_64/bits/byteswap.h: Likewise.
65136         * bits/byteswap-16.h: New file.
65137         * sysdeps/i386/bits/byteswap-16.h: Likewise.
65138         * sysdeps/s390/bits/byteswap-16.h: Likewise.
65139         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
65140         * string/Makefile (headers): Add bits/byteswap-16.h.
65142 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
65144         [BZ #13895]
65145         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
65146         extra indirection.
65147         * nss/Makefile (tests-static, tests): Add tst-nss-static.
65148         * nss/tst-nss-static.c: New.
65150 2012-04-06  Robert Millan  <rmh@gnu.org>
65152         [BZ #6486]
65153         * manual/llio.texi (File Position Primitive): lseek
65154         refers to WHENCE when it really means OFFSET.
65156 2012-04-06  Andreas Jaeger  <aj@suse.de>
65158         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
65159         strncmp declarations.
65161         * abilist/libc.abilist: Add __poll and __ppoll.
65163 2012-04-05  David S. Miller  <davem@davemloft.net>
65165         * scripts/check-local-headers.sh: Accept a host triplet in the
65166         path matched by the exclude regexp.
65168         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
65169         definition.
65170         * sysdeps/powerpc/powerpc32/dl-machine.h
65171         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
65172         * sysdeps/s390/s390-32/dl-machine.h
65173         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
65174         * sysdeps/sparc/sparc32/dl-machine.h
65175         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
65176         * sysdeps/sparc/sparc64/dl-machine.h
65177         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
65179         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
65180         lazy binding.
65181         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
65182         undefined symbol errors.
65184         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
65185         DT_NEEDED entries.
65187 2012-04-05  Michael Matz  <matz@suse.de>
65189         [BZ #13592]
65190         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
65192 2012-04-05  Andreas Jaeger  <aj@suse.de>
65194         [BZ #13908]
65195         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
65196         comment.
65198 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65200         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
65201         which ROUND is no valid rounding mode.
65203 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65205         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
65206         read again.
65207         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
65209 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65211         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
65212         an exception using FPU order intentionally.
65214 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65216         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
65217         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
65218         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
65219         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
65221 2012-04-05  Simon Josefsson  <simon@josefsson.org>
65223         [BZ #12340]
65224         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
65225         EINVAL when BUFLEN is too smal.
65227 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
65229         [BZ #13553]
65230         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
65231         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
65233 2012-04-03  Andreas Jaeger  <aj@suse.de>
65235         [BZ #13938]
65236         * manual/setjmp.texi (System V contexts): Fix sentence.
65238         [BZ #13926]
65239         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
65240         New macro for this case.
65241         [!__GNUC__] (__bswap_64): New inline function for this case.
65242         * sysdeps/x86_64/bits/byteswap.h: Likewise.
65243         * bits/byteswap.h: Likewise.
65244         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
65245         ull, guard with __GLIBC_HAVE_LONG_LONG.
65247         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
65248         __GLIBC_HAVE_LONG_LONG.
65250         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
65251         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
65253 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
65255         [BZ #13691]
65256         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
65257         inptr and inend, rather than using last_ch.
65259 2012-04-02  David S. Miller  <davem@davemloft.net>
65261         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
65262         * stdio-common/printf-parse.h (read_int): Change return type to
65263         'int', return -1 on INT_MAX overflow.
65264         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
65265         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
65266         overflows INT_MAX.  Check for overflow of in-format-string precision
65267         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
65268         SIZE_MAX not INT_MAX for integer overflow test.
65269         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
65270         skip the construct in the format string but do not record anything.
65271         * stdio-common/bug22.c: Adjust to test both width/prevision
65272         INT_MAX overflow as well as total length INT_MAX overflow.  Check
65273         explicitly for proper errno values.
65275 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
65277         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
65278         CHAR_MAX.
65279         * string/test-strcmp.c [! WIDE]: Likewise.
65280         * time/tst-mktime2.c: Likewise for INT_MAX.
65281         * string/test-string.h: #include <sys/param.h> for MIN.
65283         * csu/init-first.c (__libc_init_first): Call __ctype_init.
65284         * sysdeps/i386/init-first.c (init): Likewise.
65285         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
65286         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
65287         * sysdeps/sh/init-first.c (init): Likewise.
65289 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
65291         * po/ru.po: Update from translation team.
65292         * po/vi.po: Likewise.
65294 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
65296         * resolv/nss_dns/dns-host.c: Merge copyright years.
65298 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65300         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
65301         Optimize memcpy with prefetch if
65302         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
65303         src, dst pointers have unequal 16 byte alignments.
65305 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
65307         [BZ #13928]
65308         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
65309         from a CNAME entry and return the minimum ttl for the query.
65310         (gaih_getanswer_slice): Likewise.
65312 2012-03-30  Jeff Law  <law@redhat.com>
65314         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
65315         due to long keys.
65316         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
65317         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
65319         * resolv/nss_dns/dns-host.c: Update copyright year.
65321 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
65323         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
65324         requests to save a system call.  Fix check that all bytes are sent.
65326         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
65327         comments for sendmmsg.
65329 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65331         [BZ #13691]
65332         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
65333         with only 1 character between 0x0041 and 0x01b0.
65334         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
65335         * wcsmbs/tst-mbsnrtowcs.c: New file.
65337 2012-03-29  David S. Miller  <davem@davemloft.net>
65339         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
65340         small copies by hand.
65342 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65344         [BZ #13761]
65345         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
65346         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
65347         group memberships.
65349 2012-03-28  David S. Miller  <davem@davemloft.net>
65351         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
65352         that branches into memcpy.
65353         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
65354         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
65355         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
65356         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
65357         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
65358         bits.
65359         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
65360         implementation too.
65361         * sysdeps/sparc/mempcpy.S: New file.
65363         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
65364         the IFUNC routine in the libc case.
65365         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
65367         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
65368         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
65369         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
65370         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
65371         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
65372         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
65373         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
65374         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
65376         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
65377         loop to 256 bytes instead of 64 bytes and fix test signedness.
65379         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
65380         * sysdeps/sparc/sparc32/Makefile: rather than here...
65381         * sysdeps/sparc/sparc64/Makefile: and here.
65383 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
65385         * malloc/mallocbug.c: Avoid warnings about unused variables.
65387 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
65389         [BZ #13760]
65390         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
65391         in the right place. Discard and retry query if response is
65392         larger than input buffer size.
65394 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
65396         [BZ #369]
65397         [BZ #2678]
65398         [BZ #3866]
65399         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
65400         x for large integer exponent.
65401         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
65402         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
65403         sign of result as needed afterwards.
65404         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
65405         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
65406         result for underflowing pow the same as for overflow.
65407         (__kernel_standard_l): Handle powl overflow and underflow here
65408         rather than calling __kernel_standard.
65409         * math/libm-test.inc (pow_test): Add more tests.
65411         [BZ #3868]
65412         [BZ #13879]
65413         [BZ #13910]
65414         [BZ #13911]
65415         [BZ #13912]
65416         [BZ #13913]
65417         [BZ #13915]
65418         [BZ #13916]
65419         [BZ #13917]
65420         [BZ #13918]
65421         [BZ #13919]
65422         [BZ #13920]
65423         [BZ #13921]
65424         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
65425         * sysdeps/ieee754/k_standard.c: Include <float.h>.
65426         (__kernel_standard_l): New function.
65427         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
65428         __kernel_standard.
65429         * math/w_acosl.c (__acosl): Likewise.
65430         * math/w_asinl.c (__asinl): Likewise.
65431         * math/w_atan2l.c (__atan2l): Likewise.
65432         * math/w_atanhl.c (__atanhl): Likewise.
65433         * math/w_coshl.c (__coshl): Likewise.
65434         * math/w_exp10l.c (__exp10l): Likewise.
65435         * math/w_exp2l.c (__exp2l): Likewise.
65436         * math/w_fmodl.c (__fmodl): Likewise.
65437         * math/w_hypotl.c (__hypotl): Likewise.
65438         * math/w_j0l.c (__j0l, __y0l): Likewise.
65439         * math/w_j1l.c (__j1l, __y1l): Likewise.
65440         * math/w_jnl.c (__jnl, __ynl): Likewise.
65441         * math/w_lgammal.c (__lgammal): Likewise.
65442         * math/w_log10l.c (__log10l): Likewise.
65443         * math/w_log2l.c (__log2l): Likewise.
65444         * math/w_logl.c (__logl): Likewise.
65445         * math/w_powl.c (__powl): Likewise.
65446         * math/w_remainderl.c (__remainderl): Likewise.
65447         * math/w_scalbl.c (sysv_scalbl): Likewise.
65448         * math/w_sinhl.c (__sinhl): Likewise.
65449         * math/w_sqrtl.c (__sqrtl): Likewise.
65450         * math/w_tgammal.c (__tgammal): Likewise.
65451         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
65452         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
65453         * math/libm-test.inc (acos_test): Add more tests.
65454         (acosh_test): Likewise.
65455         (asin_test): Likewise.
65456         (atanh_test): Likewise.
65457         (exp_test): Likewise.
65458         (exp10_test): Likewise.
65459         (exp2_test): Likewise.
65460         (expm1_test): Likewise.
65461         (lgamma_test): Likewise.
65462         (log_test): Likewise.
65463         (log10_test): Likewise.
65464         (log1p_test): Likewise.
65465         (log2_test): Likewise.
65466         (pow_test): Do not allow some spurious overflow exceptions.
65467         (sqrt_test): Add more tests.
65468         (tgamma_test): Likewise.
65469         (y0_test): Likewise.
65470         (y1_test): Likewise.
65471         (yn_test): Likewise.
65473 2012-03-27  Anton Blanchard  <anton@samba.org>
65475         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
65476         MAP_HUGETLB.
65477         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
65478         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
65479         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
65481 2012-03-27  David S. Miller  <davem@davemloft.net>
65483         * conform/Makefile: Run run-conformtest.sh using $(BASH).
65485         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
65486         have-as-vis3 check.
65488 2012-03-27  Andreas Jaeger  <aj@suse.de>
65490         * sysdeps/x86_64/elf/configure.in: Moved to ...
65491         * sysdeps/x86_64/configure.in: ... here.
65492         * sysdeps/x86_64/elf/start.S: Moved to ...
65493         * sysdeps/x86_64/start.S: ... here.
65494         * sysdeps/x86_64/elf/configure: Delete.
65496         * sysdeps/x86_64/configure.in: Merge contents from
65497         sysdeps/i386/configure.in (without i686 check).
65499         * sysdeps/i386/elf/Versions: Merge into ...
65500         * sysdeps/i386/Versions: ... this.
65501         * sysdeps/i386/elf/Versions: Delete file.
65502         * sysdeps/i386/elf/start.S: Moved to ...
65503         * sysdeps/i386/start.S: ...here.
65504         * sysdeps/i386/elf/configure.in: Merge into...
65505         * sysdeps/i386/configure.in: ...here.
65506         * sysdeps/i386/elf/configure.in: Delete file.
65507         * sysdeps/i386/elf/configure: Delete file.
65509         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
65510         * debug/backtracesyms.c: ... here.
65511         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
65512         * debug/backtracesymsfd.c: ... here.
65513         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
65514         * sysdeps/generic/ifunc-sel.h: ... here.
65516         * sysdeps/unix/i386/start.c: Delete file.
65517         * sysdeps/unix/sparc/start.c: Delete file.
65518         * sysdeps/unix/start.c: Delete file.
65520         * sysdeps/sh/elf/configure.in: Moved to ...
65521         * sysdeps/sh/configure.in: ... here.
65522         * sysdeps/sh/elf/start.S: Moved to ...
65523         * sysdeps/sh/start.S: ... here.
65524         * sysdeps/sh/elf/configure: Delete file.
65526         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
65527         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
65528         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
65529         * sysdeps/powerpc/powerpc64/entry.h: ... here.
65530         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
65531         * sysdeps/powerpc/powerpc64/start.S: here.
65532         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
65533         * sysdeps/powerpc/powerpc64/Makefile: ... this.
65534         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
65535         * sysdeps/powerpc/powerpc64/configure.in: ... this.
65536         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
65538         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
65539         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
65540         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
65541         * sysdeps/powerpc/powerpc32/start.S: ... here.
65542         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
65543         * sysdeps/powerpc/powerpc32/configure.in: ... this.
65544         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
65546         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
65547         * sysdeps/powerpc/ifunc-sel.h: ... here.
65548         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
65549         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
65551         * sysdeps/sparc/elf/configure.in: Moved to ...
65552         * sysdeps/sparc/configure.in: ... here.
65553         * sysdeps/sparc/elf/configure: Delete file.
65554         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
65555         * sysdeps/sparc/sparc32/start.S: ... here.
65556         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
65557         * sysdeps/sparc/sparc64/start.S: ... here.
65558         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
65559         * sysdeps/sparc/sparc32/Makefile: ... this.
65560         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
65561         * sysdeps/sparc/sparc64/Makefile: ... this.
65563         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
65564         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
65565         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
65566         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
65567         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
65568         * sysdeps/s390/s390-32/setjmp.S: ... here.
65569         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
65570         * sysdeps/s390/s390-32/configure.in: ... here.
65571         * sysdeps/s390/s390-32/elf/configure: Delete file.
65572         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
65573         * sysdeps/s390/s390-32/start.S: ... here.
65575         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
65576         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
65577         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
65578         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
65579         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
65580         * sysdeps/s390/s390-64/setjmp.S: ... here.
65581         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
65582         * sysdeps/s390/s390-64/configure.in: ... here
65583         * sysdeps/s390/s390-64/elf/configure: Delete file.
65584         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
65585         * sysdeps/s390/s390-64/start.S: ... here.
65586         * sysdeps/s390/s390-64/elf/configure: Delete.
65588         * configure.in: Remove support for elf directories in sysdeps.
65590         * configure: Regenerated.
65591         * sysdeps/i386/configure: Regenerated.
65592         * sysdeps/powerpc/powerpc32/configure: Regenerated.
65593         * sysdeps/powerpc/powerpc64/configure: Regenerated.
65594         * sysdeps/s390/s390-32/configure: Regenerated.
65595         * sysdeps/s390/s390-64/configure: Regenerated.
65596         * sysdeps/sh/configure: Regenerated.
65597         * sysdeps/sparc/configure: Regenerated.
65598         * sysdeps/x86_64/configure: Regenerated.
65600 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
65602         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65604         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
65605         denormal result into account.
65607 2012-03-25  Roland McGrath  <roland@hack.frob.com>
65609         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
65610         Reported by Allan McRae <allan@archlinux.org>.
65612 2012-03-23  Jeff Law  <law@redhat.com>
65614         * nss/getnssent.c (__nss_getent): Fix typo.
65616 2012-03-23  David S. Miller  <davem@davemloft.net>
65618         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65620 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
65622         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
65623         to pad to uint64_t for each field.
65624         (dl_tls_index): Replace unsigned long with uint64_t.
65626 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
65627         Paul Pluzhnikov  <ppluzhnikov@google.com>
65629         [BZ #6528]
65630         * grp/Makefile (otherlibs): Don't set it.
65631         * inet/Makefile (otherlibs): Likewise.
65632         * login/Makefile (otherlibs): Likewise.
65633         * nscd/Makefile (otherlibs): Likewise.
65634         * posix/Makefile (otherlibs): Likewise.
65635         * pwd/Makefile (otherlibs): Likewise.
65636         * rt/Makefile (otherlibs): Likewise.
65637         * sunrpc/Makefile (otherlibs): Likewise.
65638         * nss/Makefile (otherlibs): Likewise.
65639         Add libnss_files to routines and static-only-routines.
65640         ($(objpfx)getent): Remove rule.
65641         * resolv/Makefile: Add libnss_dns and libresolv to routines and
65642         static-only-routines.
65644 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
65646         [BZ #13892]
65647         * math/s_cexp.c: Include <float.h>.
65648         (__cexp): Handle exp result overflowing not necessarily
65649         overflowing both real and imaginary parts of result.
65650         * math/s_cexpf.c: Likewise.
65651         * math/s_cexpl.c: Likewise.
65652         * math/libm-test.inc (cexp_test): Add more tests.
65653         * sysdeps/i386/fpu/libm-test-ulps: Update.
65654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65656 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
65658         * include/link.h (ELFW): New macro.
65659         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
65660         Replace ELF64_R_TYPE with ELFW(R_TYPE).
65662 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
65664         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
65665         with uint64_t.
65667 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
65669         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
65670         declaration.
65671         (struct La_x32_retval): Likewise.
65673 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
65675         * sysdeps/x86_64/preconfigure.in: New file.
65676         * sysdeps/x86_64/preconfigure: New generated file.
65678 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
65680         [BZ #13824]
65681         * math/e_exp2l.c: Include <float.h>.
65682         (__ieee754_exp2l): Handle overflow and underflow cases
65683         separately.  Only pass fractional part of argument to
65684         __ieee754_expl.
65685         * math/libm-test.inc (exp2_test): Add more tests.
65687         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
65688         negating x to take absolute value.
65689         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
65690         Likewise.
65691         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
65692         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
65693         Likewise.
65694         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
65695         computing low part if x was negated.
65696         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
65698 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
65700         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
65701         la_x32_gnu_pltexit.
65702         (pltexit): Cast int_retval to ptrdiff_t.
65703         * elf/tst-auditmod3b.c: Likewise.
65704         * elf/tst-auditmod4b.c: Likewise.
65705         * elf/tst-auditmod5b.c: Likewise.
65706         * elf/tst-auditmod6b.c: Likewise.
65707         * elf/tst-auditmod6c.c: Likewise.
65708         * elf/tst-auditmod7b.c: Likewise.
65710         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
65711         and x32_gnu_pltexit.
65713         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
65714         __ELF_NATIVE_CLASS.
65715         (La_x32_regs): New macro.
65716         (La_x32_retval): Likewise.
65717         (la_x32_gnu_pltenter): New function prototype.
65718         (la_x32_gnu_pltexit): Likewise.
65720 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
65722         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
65723         exponent.
65725         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65727         * configure.in (libc_cv_cc_nofma): Check for option to disable
65728         generation of FMA instructions.
65729         * configure: Regenerate.
65730         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
65731         * sysdeps/ieee754/dbl-64/Makefile: New file.
65732         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
65733         Remove brandred-fma4.
65734         (CFLAGS-brandred-fma4.c): Remove.
65735         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
65736         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
65737         define.
65738         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
65739         define.
65741 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
65743         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
65744         LLONG_MAX != LONG_MAX.
65745         (_itoa_word): Use _ITOA_WORD_TYPE on value.
65746         (_fitoa_word): Likewise.
65747         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
65748         LLONG_MAX != LONG_MAX.
65749         * stdio-common/_itowa.h: Include <_itoa.h>.
65750         (_itowa_word): Use _ITOA_WORD_TYPE on value.
65751         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
65752         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
65753         only if not defined.
65754         (_ITOA_WORD_TYPE): Likewise.
65755         (_itoa_word): Use _ITOA_WORD_TYPE on value.
65756         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
65758 2012-03-21  David S. Miller  <davem@davemloft.net>
65760         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65762 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
65764         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
65765         of x86_64 when setting libc_cv_slibdir, libdir and
65766         libc_cv_localedir.
65767         * sysdeps/unix/sysv/linux/configure: Regenerated.
65769 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
65771         * manual/lang.texi (Old Varargs): Remove section.
65772         (How Variadic): Update menu.
65773         (va_start): Do not mention varargs.h.
65775 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
65776             Joseph Myers  <joseph@codesourcery.com>
65778         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
65779         link test.
65780         * configure: Regenerated.
65782 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
65784         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
65785         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
65786         conformtest.pl
65788 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
65790         * NOTES: Remove.
65791         * Makefile (files-for-dist): Remove NOTES.
65792         (NOTES): Remove rule.
65793         * README: Don't refer to NOTES.
65794         * manual/creature.texi: Don't include macros.texi.
65795         * manual/intro.texi (creature.texi): Remove comment referring to
65796         NOTES.
65798         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
65799         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
65800         * configure: Regenerated.
65801         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
65802         LIBC_TRY_CC_OPTION.
65803         (libc_cv_as_i686): Likewise.
65804         (libc_cv_cc_avx): Likewise.
65805         (libc_cv_cc_sse2avx): Likewise.
65806         (libc_cv_cc_fma4): Likewise.
65807         (libc_cv_cc_novzeroupper): Likewise.
65808         * sysdeps/i386/configure: Regenerated.
65810         [BZ #13883]
65811         * sysdeps/i386/fpu/s_cexp.S: Remove.
65812         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
65813         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
65814         * math/libm-test.inc (cexp_test): Add more tests.
65815         * sysdeps/i386/fpu/libm-test-ulps: Update.
65816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65818 2012-03-21  Allan McRae  <allan@archlinux.org>
65820         * timezone/Makefile: Do not install iso3166.tab and zone.tab
65822 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
65824         [BZ #13871]
65825         * math/w_exp2.c: Do not include <float.h>.
65826         (o_threshold, u_threshold): Remove.
65827         (__exp2): Calculate result before checking finiteness and calling
65828         __kernel_standard.
65829         * math/w_exp2f.c: Likewise.
65830         * math/w_exp2l.c: Likewise.
65831         * math/libm-test.inc (exp2_test): Require overflow exception for
65832         1e6 input.
65834         [BZ #3866]
65835         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
65836         range of signed 64-bit integers before using fistpll.  Remove
65837         checks for whether integers fit in mantissa bits.
65838         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
65839         the range of signed 32-bit integers before using fistpl.  Remove
65840         checks for whether integers fit in mantissa bits.
65841         * sysdeps/i386/fpu/e_powl.S (p64): New object.
65842         (__ieee754_powl): Test for y outside the range of signed 64-bit
65843         integers before using fistpll.  Reduce 64-bit values to 63-bit
65844         ones as needed.
65845         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
65846         divide-by-zero is raised for zero to large negative powers.
65847         * sysdeps/x86_64/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         * math/libm-test.inc (pow_test): Add more tests.
65853 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65855         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
65856         <stdio-common/_itoa.h>.
65857         * debug/segfault.c: Likewise.
65858         * elf/dl-cache.c: Likewise.
65859         * elf/dl-minimal.c: Likewise.
65860         * elf/dl-misc.c: Likewise.
65861         * elf/dl-sysdep.c: Likewise.
65862         * elf/dl-version.c: Likewise.
65863         * elf/rtld.c: Likewise.
65864         * hurd/hurdsock.c: Likewise.
65865         * hurd/lookup-retry.c: Likewise.
65866         * malloc/malloc.c: Likewise.
65867         * malloc/mtrace.c: Likewise.
65868         * nscd/nscd_getgr_r.c: Likewise.
65869         * nscd/nscd_getpw_r.c: Likewise.
65870         * nscd/nscd_getserv_r.c: Likewise.
65871         * posix/getopt_init.c: Likewise.
65872         * posix/wordexp.c: Likewise.
65873         * stdio-common/_itoa.c: Likewise.
65874         * stdio-common/printf_fphex.c: Likewise.
65875         * stdio-common/vfprintf.c: Likewise.
65876         * string/_strerror.c: Likewise.
65877         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
65878         * sysdeps/i386/i686/hp-timing.h: Likewise.
65879         * sysdeps/mach/_strerror.c: Likewise.
65880         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
65881         * sysdeps/mach/hurd/sethostid.c: Likewise.
65882         * sysdeps/mach/hurd/xmknodat.c: Likewise.
65883         * sysdeps/mach/xpg-strerror.c: Likewise.
65884         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
65885         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
65886         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
65887         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
65888         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
65889         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
65890         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
65891         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
65892         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
65893         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
65894         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
65895         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
65896         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
65897         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
65898         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
65899         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
65900         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
65901         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
65902         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
65903         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
65904         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
65906         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
65908         * stdio-common/_itoa.h: Moved to ...
65909         * sysdeps/generic/_itoa.h: Here.
65911         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
65913         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
65914         instead of "_itoa.h" and "_itowa.h".
65915         * stdio-common/vfprintf.: Likewise.
65917 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65919         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
65920         <bits/wordsize.h>.
65921         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
65922         (__signbit): Likwise.
65923         (llrintf): Likwise.
65924         (llrint): Likwise.
65926 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65928         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
65929         __WORDSIZE != 64.
65931 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
65933         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
65934         OVERFLOW_EXCEPTION_OK.
65935         * math/libm-test.inc ("Philosophy"): Update comment about
65936         exception testing.
65937         (OVERFLOW_EXCEPTION): Define.
65938         (OVERFLOW_EXCEPTION_OK): Likewise.
65939         (INVALID_EXCEPTION_OK): Renumber.
65940         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
65941         (IGNORE_ZERO_INF_SIGN): Likewise.
65942         (test_exceptions): Handle FE_OVERFLOW.
65943         (exp10_test): Expect overflow exceptions.
65944         (exp2_test): Likewise.
65945         (expm1_test): Likewise.
65946         (nextafter_test): Likewise.
65947         (pow_test): Likewise.
65948         (scalbn_test): Likewise.
65949         (scalbln_test): Likewise.
65951 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65953         * sysdeps/x86_64/bits/atomic.h
65954         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
65955         64bit integer.
65956         (atomic_exchange_acq): Likewise.
65957         (__arch_exchange_and_add_body): Likewise.
65958         (__arch_add_body): Likewise.
65959         (atomic_add_negative): Likewise.
65960         (atomic_add_zero): Likewise.
65962 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65964         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
65965         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
65967 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65969         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
65970         Check __x86_64__ instead of __WORDSIZE.
65972 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65974         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
65976 2012-03-19  David S. Miller  <davem@davemloft.net>
65978         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65980         * sysdeps/sparc/fpu/fenv_private.h: New file.
65981         * sysdeps/sparc/fpu/math_private.h: Use it.
65982         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
65983         Remove.
65984         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
65985         (libc_feholdexcept_setroundl): Remove.
65986         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
65987         Remove.
65988         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
65989         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
65991 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65993         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
65994         int64_t instead of long int.
65995         (INSERT_WORDS64): Likwise.
65997 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65999         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
66000         _Unwind_GetCFA return to _Unwind_Ptr first.
66002 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
66004         [BZ #13629]
66005         * math/s_clog.c: Include <float.h>.
66006         (__clog): Scale large or subnormal inputs.
66007         * math/s_clogf.c: Likewise.
66008         * math/s_clogl.c: Likewise.
66009         * math/s_clog10.c: Include <float.h>.
66010         (M_LOG10_2): Define.
66011         (__clog10): Scale large or subnormal inputs.
66012         * math/s_clog10f.c: Likewise.
66013         * math/s_clog10l.c: Likewise.
66014         * math/libm-test.inc (clog_test): Add more tests.
66015         (clog10_test): Likewise.
66016         * sysdeps/i386/fpu/libm-test-ulps: Update.
66017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66019         [BZ #11451]
66020         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
66021         x and y.
66022         * math/libm-test.inc (atan2_test): Add another test.
66024         * Makerules (common-objdir-compile): Remove.
66025         * sysdeps/unix/Makefile (config-generated): Do not add
66026         $(unix-generated) to variable.
66027         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
66028         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
66029         Remove rule.
66030         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
66031         Likewise.
66032         [generic bits/local_lim.h] (before-compile): Do not append to
66033         variable.
66034         [generic bits/local_lim.h] (common-generated): Likewise.
66035         [generic sys/param.h] (before-compile): Do not append to variable.
66036         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
66037         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
66038         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
66039         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
66040         include.
66041         [generic sys/param.h] (sys/param.h-includes): Remove variable.
66042         [generic sys/param.h] (sys/param.h-includes): Remove rule.
66043         [generic sys/param.h] ($(addprefix
66044         $(common-objpfx),$(sys/param.h-includes))): Likewise.
66045         [generic sys/param.h] (common-generated): Do not append to
66046         variable.
66047         [generic sys/param.h] (sysdep_headers): Likewise.
66048         [generic bits/errno.h] (before-compile): Do not append to
66049         variable.
66050         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
66051         rule.
66052         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
66053         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
66054         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
66055         [generic bits/errno.h] (common-generated): Do not append to
66056         variable.
66057         [generic bits/ioctls.h] (before-compile): Do not append to
66058         variable.
66059         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
66060         rule.
66061         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
66062         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
66063         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
66064         rule.
66065         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
66066         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
66067         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
66068         [generic bits/ioctls.h] (common-generated): Do not append to
66069         variable.
66070         [generic sys/syscall.h] (syscall.h): Remove variable.
66071         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
66072         rule.
66073         [generic sys/syscall.h] (before-compile): Do not append to
66074         variable.
66075         [generic sys/syscall.h] (common-generated): Likewise.
66076         * sysdeps/unix/errnos-tmpl.c: Remove file.
66077         * sysdeps/unix/errnos.awk: Likewise.
66078         * sysdeps/unix/ioctls-tmpl.c: Likewise.
66079         * sysdeps/unix/ioctls.awk: Likewise.
66080         * sysdeps/unix/mk-local_lim.c: Likewise.
66081         * sysdeps/unix/snarf-ioctls: Likewise.
66083 2012-03-19  Richard Henderson  <rth@twiddle.net>
66085         * sysdeps/i386/fpu/fenv_private.h: New file.
66086         * sysdeps/i386/fpu/math_private.h: Use it.
66087         (math_opt_barrier, math_force_eval): Remove.
66088         (libc_feholdexcept_setround_53bit): Remove.
66089         (libc_feupdateenv_53bit): Remove.
66090         * sysdeps/x86_64/fpu/math_private.h: Likewise.
66091         (math_opt_barrier, math_force_eval): Remove.
66092         (libc_feholdexcept): Remove.
66093         (libc_feholdexcept_setround): Remove.
66094         (libc_fetestexcept, libc_fesetenv): Remove.
66095         (libc_feupdateenv_test): Remove.
66096         (libc_feupdateenv, libc_feholdsetround): Remove.
66097         (libc_feresetround): Remove.
66099         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
66100         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
66102         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
66103         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
66104         (libc_feupdateenv_testl): New.
66105         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
66106         (libc_feupdateenv_testf): New.
66107         (libc_feupdateenv): Use libc_feupdateenv_test.
66108         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
66109         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
66111         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
66112         (libc_feholdsetroundf, libc_feholdsetroundl): New.
66113         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
66114         (libc_feresetround_noex): New.
66115         (libc_feresetround_noexf): New.
66116         (libc_feresetround_noexl): New.
66117         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
66118         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
66119         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
66120         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
66121         SET_RESTORE_ROUND.
66122         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
66123         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
66124         (__cos): Likewise.
66125         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
66126         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
66127         SET_RESTORE_ROUND_NOEX.
66128         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
66129         SET_RESTORE_ROUND_NOEXF.
66130         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
66131         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
66132         (libc_feholdsetroundf): New.
66133         (libc_feresetround, libc_feresetroundf): New.
66135         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
66136         (libc_feholdexcept_setround_53bit): Convert from macro to function.
66137         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
66139         * sysdeps/generic/math_private.h: Include <fenv.h>.
66140         (default_libc_feholdexcept): New.
66141         (default_libc_feholdexcept_setround): New.
66142         (default_libc_fesetenv, default_libc_feupdateenv): New.
66143         (libc_feholdexcept): Only define if undefined.
66144         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
66145         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
66146         (libc_feholdexcept_setroundl): Likewise.
66147         (libc_feholdexcept_setround_53bit): Likewise.
66148         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
66149         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
66150         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
66151         (libc_feupdateenv_53bit): Likewise.
66152         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
66153         (libc_feholdexcept): Convert from macro to inline function.
66154         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
66155         (libc_fesetenv, libc_feupdateenv): Likewise.
66157         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
66158         not previously defined.
66159         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
66160         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
66161         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
66162         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
66163         * sysdeps/ieee754/flt-32/math_private.h: New file.
66164         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
66165         math_private.h below SET_FLOAT_WORD.
66166         (__isnan, __isinf_ns, __finite): Remove.
66167         (__isnanf, __isinf_nsf, __finitef): Remove.
66169 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
66171         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66173 2012-03-17  David S. Miller  <davem@davemloft.net>
66175         [BZ #6471]
66176         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
66177         for 2.16.
66179 2012-03-16  David S. Miller  <davem@davemloft.net>
66181         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
66182         warnings.
66184         [BZ #6471]
66185         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
66186         properly.
66187         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
66188         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
66189         sysdep_routines when subdir is sysvipc.
66190         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
66191         __getshmlba helper.
66193         * sysdeps/sparc/fpu/libm-test/ulps: Update.
66195 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66197         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
66198         [__LP64__].
66200 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66202         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
66203         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
66204         (__lround): Renamed to ...
66205         (__llround): This.  Replace long int with long long int.
66206         Define lround functions as aliases of llround functions.
66207         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
66209 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66211         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
66212         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
66213         adresses to uintptr_t.  Replace "long int" and "unsigned long
66214         int" with "greg_t" on va_arg.
66216 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66218         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
66219         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
66221         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
66222         Move e_machine check before EI_CLASS check.  Handle x32
66223         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
66224         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
66225         SKIP_EM_IA_64 and include
66226         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
66228         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
66229         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
66230         (add_system_dir): New macro.
66232         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
66233         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
66235 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
66237         [BZ #2551]
66238         [BZ #2552]
66239         [BZ #2553]
66240         [BZ #2554]
66241         [BZ #2562]
66242         [BZ #2563]
66243         [BZ #2565]
66244         [BZ #2566]
66245         [BZ #2576]
66246         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
66247         (y0): Likewise.
66248         * math/w_j0f.c (j0f): Likewise.
66249         (y0f): Likewise.
66250         * math/w_j0l.c (__j0l): Likewise.
66251         (__y0l): Likewise.
66252         * math/w_j1.c (j1): Likewise.
66253         (y1): Likewise.
66254         * math/w_j1f.c (j1f): Likewise.
66255         (y1f): Likewise.
66256         * math/w_j1l.c (__j1l): Likewise.
66257         (__y1l): Likewise.
66258         * math/w_jn.c (jn): Likewise.
66259         (yn): Likewise.
66260         * math/w_jnf.c (jnf): Likewise.
66261         (ynf): Likewise.
66262         * math/w_jnl.c (__jnl): Likewise.
66263         (__ynl): Likewise.
66264         * math/libm-test.inc (j0_test): Add more tests.
66265         (j1_test): Likewise.
66266         (jn_test): Likewise.  Add trailing semicolon to existing test.
66267         (y0_test): Likewise.
66268         (y1_test): Likewise.
66269         * sysdeps/i386/fpu/libm-test-ulps: Update.
66270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66272         [BZ #13851]
66273         [BZ #13854]
66274         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
66275         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
66276         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
66277         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
66278         (__tanl): Set errno for infinite argument.
66279         * sysdeps/i386/fpu/mptan.c: Remove.
66280         * sysdeps/i386/fpu/s_tan.S: Likewise.
66281         * sysdeps/i386/fpu/s_tanl.S: Likewise.
66282         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
66283         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
66284         * math/libm-test.inc (tan_test): Add more tests and enable more
66285         tests for double and long double.
66286         * sysdeps/i386/fpu/libm-test-ulps: Update.
66287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66289 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
66291         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
66292         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
66294 2012-03-16  Roland McGrath  <roland@hack.frob.com>
66296         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
66297         * configure.in: Use it for both main tree and add-ons.
66298         * configure: Regenerated.
66300 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66302         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
66304 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
66306         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
66307         in comment.
66309         [BZ #13851]
66310         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
66311         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
66312         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
66313         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
66314         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
66315         infinite argument.
66316         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
66317         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
66318         != 0 for prec == 2.
66319         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
66320         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
66321         * sysdeps/i386/fpu/s_cosl.S: Likewise.
66322         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
66323         * sysdeps/i386/fpu/s_sinl.S: Likewise.
66324         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
66325         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
66326         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
66327         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
66328         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
66329         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
66330         * math/libm-test.inc (cos_test): Add more tests and enable more
66331         tests for long double.
66332         (sin_test): Likewise.
66333         (sincos_test): Likewise.
66334         * sysdeps/i386/fpu/libm-test-ulps: Update.
66335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66337 2012-03-16  David S. Miller  <davem@davemloft.net>
66339         * sysdeps/sparc/fpu/math_private.h: New file.
66341 2012-03-15  David S. Miller  <davem@davemloft.net>
66343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
66344         file.
66345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
66346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
66347         file.
66348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
66349         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
66350         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
66351         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
66352         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
66353         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
66354         sysdep routines.
66355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
66357         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
66358         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
66360         * sysdeps/sparc/sparc-ifunc.h: New file.
66361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
66362         sparc-ifunc.h
66363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
66364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
66365         Likewise.
66366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
66367         Likewise.
66368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
66369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
66370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
66371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
66372         Likewise.
66373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
66374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
66375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
66376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
66377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
66378         Likewise.
66379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
66380         Likewise.
66381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
66382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
66383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
66384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
66385         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
66386         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
66387         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
66388         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
66389         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
66390         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
66391         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
66392         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
66393         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
66394         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
66395         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
66396         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
66397         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
66398         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
66399         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
66400         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
66401         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
66402         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
66403         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
66404         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
66406 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
66408         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
66409         scaling.
66410         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66412 2012-03-15  Andreas Jaeger  <aj@suse.de>
66414         [BZ #13852]
66415         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
66416         ieee754/flt-32 implementation for sin, cos and sincos.
66417         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
66418         * sysdeps/i386/fpu/s_cosf.S: Likewise.
66419         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
66420         * sysdeps/i386/fpu/s_sinf.S: Likewise.
66421         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
66422         ieee754/flt-32 implementation for tan.
66424         * math/libm-test.inc (cos_test): Enable some large input tests for
66425         float as well
66426         (sin_test): Likewise.
66427         (sincos_test): Likewise.
66428         (tan_test): Add tests for large input.
66430         * sysdeps/i386/fpu/libm-test-ulps: Update.
66432 2012-03-15  Andreas Jaeger  <aj@suse.de>
66434         [BZ #13658]
66435         * math/libm-test.inc (cos_test): Add more test cases.
66436         (sin_test): Likewise.
66437         (sincos_test): Likewise.
66439 2012-03-15  Andreas Jaeger  <aj@suse.de>
66441         [BZ #13837]
66442         * math/libm-test.inc (cos_test): Add a test case for large input
66443         value.
66444         (sin_test): Likewise.
66445         (sincos_test): Likewise.
66447 2012-03-15  Andreas Jaeger  <aj@suse.de>
66448             Joseph Myers  <joseph@codesourcery.com>
66450         [BZ #13658]
66451         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
66452         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
66453         * sysdeps/i386/fpu/branred.c: Likewise.
66454         * sysdeps/i386/fpu/dosincos.c: Likewise.
66455         * sysdeps/i386/fpu/mpa.c: Likewise.
66456         * sysdeps/i386/fpu/s_cos.S: Likewise.
66457         * sysdeps/i386/fpu/s_sin.S: Likewise.
66458         * sysdeps/i386/fpu/s_sincos.S: Likewise.
66459         * sysdeps/i386/fpu/sincos32.c: Likewise.
66461         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
66462         Define.
66463         (libc_feupdateenv_53bit): Define.
66464         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
66465         Define.
66466         (libc_feupdateenv_53bit): Define.
66468         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
66469         53 bit (without extend i386 double precision).
66471         * math/libm-test.inc (sincos_test): Add tests for large input.
66472         (sin): Likewise.
66473         (cos): Likewise.
66475         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
66477 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
66479         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66481 2012-03-15  David S. Miller  <davem@davemloft.net>
66483         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
66484         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
66485         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
66486         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
66487         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
66488         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
66489         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
66490         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
66491         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
66492         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
66493         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
66494         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
66495         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
66496         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
66497         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
66498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
66499         file.
66500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
66501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
66502         file.
66503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
66504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
66505         file.
66506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
66507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
66508         file.
66509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
66510         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
66511         fmin/fmax sysdep routines.
66512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
66514 2012-03-14  David S. Miller  <davem@davemloft.net>
66516         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
66517         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
66518         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
66519         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
66520         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
66521         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
66522         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
66523         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
66524         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
66525         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
66526         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
66527         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
66528         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
66529         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
66530         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
66531         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
66532         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
66533         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
66534         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
66535         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
66536         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
66537         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
66538         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
66539         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
66540         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
66541         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
66542         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
66543         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
66544         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
66545         routines.
66546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
66547         file.
66548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
66549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
66550         file.
66551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
66552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
66553         file.
66554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
66555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
66556         file.
66557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
66558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
66559         file.
66560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
66561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
66562         file.
66563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
66564         file.
66565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
66566         file.
66567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
66568         file.
66569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
66570         New file.
66571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
66572         file.
66573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
66574         file.
66575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
66576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
66577         file.
66578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
66579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
66580         file.
66581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
66582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
66583         file.
66584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
66585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
66586         VIS3 routines.
66588         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
66589         New file.
66591         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66593         * sysdeps/sparc/configure.in: New file.
66594         * sysdeps/sparc/configure: Generate.
66595         * configure.in (libc_cv_sparc_as_vis3): Substitute.
66596         * configure: Regenerate.
66597         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
66598         * config.make.in (have-as-vis3): New.
66599         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
66600         available use -Av9d instead of -Av9a.
66601         * sysdeps/sparc/sparc64/Makefile: Likewise.
66602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
66603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
66604         New file.
66605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
66606         file.
66607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
66608         New file.
66609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
66610         file.
66611         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
66612         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
66613         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
66614         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
66615         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
66617         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
66618         fzeros/fnegs to load 0x80000000 into a float register instead of
66619         using the stack.
66620         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
66622 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
66624         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66625         bits/syscall.h.
66626         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
66627         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
66628         ($(inst_includedir)/bits/syscall.h): Remove rule.
66629         ($(objpfx)bits/syscall.d): Include instead of
66630         $(objpfx)syscall-list.d.
66631         (generated): Change syscall-list.h and syscall-list.d to
66632         bits/syscall.h and bits/syscall.d.
66634 2012-03-14  Roland McGrath  <roland@hack.frob.com>
66636         [BZ #13846]
66637         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
66639 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
66641         [BZ #13841]
66642         * math/s_csqrt.c: Include <float.h>.
66643         (__csqrt): Scale large or subnormal inputs.
66644         * math/s_csqrtf.c: Likewise.
66645         * math/s_csqrtl.c: Likewise.
66646         * math/libm-test.inc (csqrt_test): Add more tests.
66647         * sysdeps/i386/fpu/libm-test-ulps: Update.
66648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66650         [BZ #13840]
66651         * math/libm-test.inc (hypot_test): Add more tests.
66653 2012-03-13  David S. Miller  <davem@davemloft.net>
66655         [BZ #13840]
66656         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
66657         double-precision for the calculation instead of scaling.
66659 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
66661         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
66662         manipulate bits before adding and subtracting TWO52[sx].
66663         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
66664         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
66665         Likewise.
66666         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
66668 2012-03-13  David S. Miller  <davem@davemloft.net>
66670         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
66671         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
66672         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
66673         rtld-global-offsets.h
66674         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
66676         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
66677         large parameters.
66679         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
66681         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
66682         'err' in the ifdef scope in which it is actually used.
66684         * nss/nss_db/db-init.c: Include string.h
66686 2012-03-12  David S. Miller  <davem@davemloft.net>
66688         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
66689         masking out of the most significant byte of random value used.
66690         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
66691         Fix coding style in previous change.
66693         * sysdeps/unix/sysv/linux/kernel-features.h
66694         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
66695         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
66696         expression.
66697         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
66698         later.
66700 2012-03-11  David S. Miller  <davem@davemloft.net>
66702         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
66703         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
66704         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
66705         for 'resultvar' otherwise things get truncated on 64-bit.
66707         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
66708         Fix masking out of the most significant byte of random value used.
66710         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66712 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
66714         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66716 2012-03-09  David S. Miller  <davem@davemloft.net>
66718         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
66719         variables with appropriate CPP guards.
66720         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
66721         from the frame pointer, not the stack pointer.  Correct layout
66722         comments.  Fix test on resulting framesize and the management of
66723         the outregs buffer for pltexit.  Preserve floating point return
66724         values across _dl_call_pltexit call.
66725         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
66726         framesize and the management of the outregs buffer for pltexit.
66727         Preserve floating point return values across _dl_call_pltexit
66728         call.
66729         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
66730         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
66731         (la_sparc64_gnu_pltexit): New functions.
66732         (print_exit): Fix format string for return register value.
66734 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
66736         * sunrpc/Makefile (others): Add rpcgen.
66737         ($(objpfx)rpcgen): Remove special build rule and dependency on
66738         libc.
66739         * sunrpc/rpcgen.c: New file.
66741 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
66743         [BZ #13673]
66744         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
66745         * stdio-common/bug-vfprintf-nargs.c: Likewise.
66746         * sysdeps/i386/crti.S: Likewise.
66747         * sysdeps/i386/crtn.S: Likewise.
66748         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
66749         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
66750         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
66751         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
66752         * sysdeps/sh/crti.S: Likewise.
66753         * sysdeps/sh/crtn.S: Likewise.
66754         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
66756         [BZ #13673]
66757         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
66758         with URL.
66759         * locale/programs/locfile-kw.gperf: Likewise.
66760         * locale/programs/charmap-kw.h: Regenerated.
66761         * locale/programs/locfile-kw.h: Likewise.
66763         [BZ #13673]
66764         * intl/plural.y: Replace FSF snail mail address with URL.
66765         * intl/plural.c: Regenerated.
66767 2012-03-09  Richard Henderson  <rth@twiddle.net>
66769         * include/math_private.h: Remove file.
66770         * math/math_private.h: Move file ...
66771         * sysdeps/generic/math_private.h: ... here.
66773         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
66774         * sysdeps/powerpc/fpu/math_private.h: Likewise.
66775         * sysdeps/x86_64/fpu/math_private.h: Likewise.
66777         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
66778         and <math_private.h>.
66779         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
66780         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
66781         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
66782         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
66783         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
66784         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
66785         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
66786         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66787         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
66788         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66789         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66790         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
66791         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
66792         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66793         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
66794         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
66795         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
66796         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
66797         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
66798         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
66799         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66800         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
66801         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
66802         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66803         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
66804         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
66805         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
66806         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
66807         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66808         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
66809         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
66810         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66811         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
66812         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
66813         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
66814         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
66815         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
66816         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
66817         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
66818         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66819         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
66820         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
66821         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
66822         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
66823         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
66824         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
66825         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
66826         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
66827         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
66828         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
66829         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
66830         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
66831         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
66832         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
66833         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
66834         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
66835         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
66836         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
66837         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
66838         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
66839         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
66840         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
66841         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66842         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
66843         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
66844         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
66845         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
66846         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
66847         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
66848         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
66849         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
66850         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
66851         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
66852         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66853         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
66854         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
66855         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
66856         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
66857         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
66858         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
66859         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
66860         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
66861         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
66862         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
66863         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
66864         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
66865         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
66866         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
66867         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
66868         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
66869         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
66870         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
66871         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66872         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
66873         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
66874         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
66875         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
66876         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
66877         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
66878         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
66879         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
66880         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
66881         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
66882         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
66883         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
66884         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
66885         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
66886         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
66887         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
66888         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
66889         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
66890         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
66891         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
66892         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
66893         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
66894         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
66895         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
66896         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
66897         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
66898         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
66899         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
66900         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
66901         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
66902         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
66903         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
66904         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
66905         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
66906         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
66907         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
66908         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
66909         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
66910         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
66911         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
66912         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
66913         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
66914         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
66915         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
66916         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
66917         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
66918         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
66919         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
66920         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
66921         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
66922         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
66923         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
66924         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
66925         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
66926         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
66927         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
66928         * sysdeps/ieee754/k_standard.c: Likewise.
66929         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
66930         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
66931         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
66932         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
66933         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
66934         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
66935         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
66936         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
66937         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
66938         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
66939         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
66940         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
66941         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
66942         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
66943         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
66944         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
66945         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
66946         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
66947         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
66948         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
66949         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
66950         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
66951         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
66952         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
66953         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
66954         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
66955         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
66956         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
66957         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
66958         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
66959         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
66960         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
66961         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
66962         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
66963         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
66964         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
66965         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
66966         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
66967         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
66968         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
66969         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
66970         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
66971         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
66972         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
66973         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
66974         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
66975         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
66976         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
66977         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
66978         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
66979         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
66980         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
66981         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
66982         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
66983         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
66984         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
66985         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
66986         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
66987         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
66988         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
66989         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
66990         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
66991         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
66992         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
66993         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
66994         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
66995         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
66996         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
66997         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
66998         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
66999         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
67000         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
67001         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
67002         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
67003         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
67004         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
67005         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
67006         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
67007         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
67008         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
67009         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
67010         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
67011         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
67012         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
67013         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
67014         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
67015         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
67016         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
67017         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
67018         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
67019         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
67020         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
67021         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
67022         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
67023         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
67024         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
67025         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
67026         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
67027         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
67028         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
67029         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
67030         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
67031         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
67032         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
67033         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
67034         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
67035         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
67036         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
67037         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
67038         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
67039         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
67040         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
67041         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
67042         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
67043         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
67044         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
67045         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
67046         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
67047         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
67048         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
67049         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
67050         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
67051         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
67052         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
67053         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
67054         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
67055         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
67056         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
67057         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
67058         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
67059         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
67060         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
67061         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
67062         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
67063         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
67064         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
67065         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
67066         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
67067         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
67068         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
67069         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
67070         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
67071         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
67072         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
67073         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
67074         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
67075         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
67076         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
67077         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
67078         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
67079         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
67080         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
67081         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
67082         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
67083         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
67084         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
67085         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
67086         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
67087         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
67088         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
67089         * sysdeps/ieee754/s_lib_version.c: Likewise.
67090         * sysdeps/ieee754/s_matherr.c: Likewise.
67091         * sysdeps/ieee754/s_signgam.c: Likewise.
67092         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
67093         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67094         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
67095         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
67096         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
67097         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
67098         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
67099         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
67100         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
67101         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
67102         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
67103         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
67104         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
67105         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
67106         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
67107         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
67108         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
67109         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
67110         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
67111         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
67112         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
67114 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
67116         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
67117         * sunrpc/rpc_main.c: Likewise.
67118         * sunrpc/rpc_svcout.c: Likewise.
67120 2012-03-09  David S. Miller  <davem@davemloft.net>
67122         * include/math_private.h: New file.
67124 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
67126         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
67127         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
67128         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
67129         from <bits/socket_type.h>.
67130         (enum __socket_type): Don't define here.
67131         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
67132         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67133         bits/socket_type.h.
67135         [BZ #13566]
67136         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
67137         checking __USE_GNU.
67139         * Makerules ($(inst_includedir)/%.h): New rule.
67140         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
67141         (install-others): Remove variable setting.
67142         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
67144 2012-03-08  Richard Henderson  <rth@twiddle.net>
67146         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
67147         from macro to inline function; merge with the
67148         !__LIBC_INTERNAL_MATH_INLINES version.
67149         (__ieee754_sqrtf): Likewise.
67151         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
67152         to inline function.
67153         (__rintf, __floor, __floorf): Likewise.
67155         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
67156         macro to inline function.
67157         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
67159         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
67160         not <math/math_private.h>.
67162 2012-03-08  David S. Miller  <davem@davemloft.net>
67164         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
67165         copyright year.
67166         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
67168 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
67170         * resolv/gai_misc.c (handle_requests): Fix struct timespec
67171         normalization.
67172         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
67173         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
67175 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
67177         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
67178         be defined individually, they must be defined as a block.  Define
67179         S for printing a string instead of hidint the different by using a
67180         macro for adding the 'l'.
67181         * stdio-common/tst-fphex-wide.c: Adjust.
67183 2012-03-07  Marek Polacek  <polacek@redhat.com>
67185         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
67187 2012-03-08  Marek Polacek  <polacek@redhat.com>
67189         [BZ #13806]
67190         * stdio-common/Makefile (tests): Add tst-fphex-wide.
67191         * stdio-common/tst-fphex.c: Define a few macros to make the
67192         test reusable.  Use them.
67193         * stdio-common/tst-fphex-wide.c: New file.
67195 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
67197         [BZ #6911]
67198         * manual/macros.texi (gnusystems): New macro.
67199         (nongnusystems): Likewise.
67200         (gnulinuxhurdsystems): Likewise.
67201         (gnuhurdsystems): Likewise..
67202         (gnulinuxsystems): Likewise.
67203         * manual/charset.texi: Use new macros or @theglibc{} to refer to
67204         variants of the GNU system, not "GNU system".
67205         * manual/conf.texi: Likewise.
67206         * manual/errno.texi: Likewise.  Update example of errno macro
67207         expansion.
67208         * manual/filesys.texi: Likewise.
67209         (getumask): Document as specific to GNU/Hurd.
67210         * manual/install.texi: Likewise.  Reword some references to
67211         GNU/Linux.
67212         * manual/intro.texi: Likewise.
67213         * manual/io.texi: Likewise.
67214         (File Name Portability): Detail which constraints are inapplicable
67215         to all GNU systems and which are only inapplicable to GNU/Hurd.
67216         * manual/job.texi: Likewise.
67217         * manual/llio.texi: Likewise.
67218         (O_NOCTTY): Document as present on GNU/Linux.
67219         * manual/maint.texi: Likewise.
67220         * manual/memory.texi: Likewise.
67221         * manual/pattern.texi: Likewise.
67222         * manual/pipe.texi: Likewise.
67223         * manual/process.texi: Likewise.
67224         * manual/resource.texi: Likewise.
67225         (RUSAGE_CHILDREN): Remove statement about specifying a particular
67226         child on GNU/Hurd.
67227         * manual/setjmp.texi: Likewise.
67228         * manual/signal.texi: Likewise.
67229         * manual/startup.texi: Likewise.
67230         * manual/stdio.texi: Likewise.
67231         * manual/terminal.texi: Likewise.
67232         (ONLCR): Document as POSIX.
67233         (OXTABS): Document availability on GNU/Linux as XTABS.
67234         (ONOEOT): Document availability separately from other bits.
67235         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
67236         * manual/time.texi: Likewise.
67237         * manual/users.texi: Likewise.
67238         * INSTALL: Regenerated.
67239         * sysdeps/gnu/errlist.c: Regenerated.
67241         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
67242         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
67243         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
67244         puts.
67245         * configure: Regenerated.
67247 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
67249         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
67250         default includes instead of AC_HEADER_CHECK.
67251         * sysdeps/i386/configure: Regenerated.
67253         [BZ #10716]
67254         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
67255         * math/s_cacoshf.c (__cacoshf): Likewise.
67256         * math/s_cacoshl.c (__cacoshl): Likewise.
67257         * math/s_casinh.c (__casinh): Set signs of result from argument.
67258         * math/s_casinhf.c (__casinhf): Likewise.
67259         * math/s_casinhl.c (__casinhl): Likewise.
67260         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
67261         (casinh_test): Add more tests.
67262         * sysdeps/i386/fpu/libm-test-ulps: Update.
67263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67265 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
67267         * po/zh_TW.po: Update from translation team.
67269         * login/Makefile (distribute): Remove variable.
67270         * catgets/Makefile: Likewise.
67271         * mach/Makefile: Likewise.
67272         * malloc/Makefile: Likewise.
67273         * misc/Makefile: Likewise.
67274         * iconv/Makefile: Likewise.
67275         * nscd/Makefile: Likewise.
67276         * hurd/Makefile: Likewise.
67277         * manual/Makefile: Likewise.
67278         * locale/Makefile: Likewise.
67279         * intl/Makefile: Likewise.
67280         * conform/Makefile: Likewise.
67281         * nss/Makefile: Likewise.
67282         * time/Makefile: Likewise.
67283         * soft-fp/Makefile: Likewise.
67284         * dirent/Makefile: Likewise.
67285         * gmon/Makefile: Likewise.
67286         * po/Makefile: Likewise.
67287         * rt/Makefile: Likewise.
67288         * socket/Makefile: Likewise.
67289         * math/Makefile: Likewise.
67290         * signal/Makefile: Likewise.
67291         * debug/Makefile: Likewise.
67292         * elf/Makefile: Likewise.
67293         * timezone/Makefile: Likewise.
67294         * stdlib/Makefile: Likewise.
67295         * iconvdata/Makefile: Likewise.
67296         * sunrpc/Makefile: Likewise.
67297         * io/Makefile: Likewise.
67298         * argp/Makefile: Likewise.
67299         * inet/Makefile: Likewise.
67300         * hesiod/Makefile: Likewise.
67301         * grp/Makefile: Likewise.
67302         * csu/Makefile: Likewise.
67303         * wctype/Makefile: Likewise.
67304         * crypt/Makefile: Likewise.
67305         * libio/Makefile: Likewise.
67306         * string/Makefile: Likewise.
67307         * nis/Makefile: Likewise.
67308         * resolv/Makefile: Likewise.
67309         * stdio-common/Makefile: Likewise.
67310         * wcsmbs/Makefile: Likewise.
67311         * dlfcn/Makefile: Likewise.
67312         * posix/Makefile: Likewise.
67314         [BZ #6959]
67315         * timezone/Makefile: Don't install timezone files, just the programs
67316         and scripts.
67318 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
67320         * nss/databases.def: Add missing gshadow entry.
67322         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
67324 2012-03-06  Marek Polacek  <polacek@redhat.com>
67326         [BZ #13726]
67327         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
67328         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
67329         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
67330         * stdio-common/tst-long-dbl-fphex.c: New file.
67332 2012-03-06  David S. Miller  <davem@davemloft.net>
67334         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67335         (set_obp_int): New function.
67336         (get_obp_int): New function.
67337         (__get_clockfreq_via_dev_openprom): Likewise.
67338         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
67339         Avoid unused variable warnings on 'val' and use builtin_expect.
67340         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
67341         __builtin_expect.
67342         (INLINE_CLONE_SYSCALL): Likewise.
67344 2012-03-05  David S. Miller  <davem@davemloft.net>
67346         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67348 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
67350         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67352         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
67353         only for |x| >= 40.
67354         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
67356 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
67358         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
67359         Replace gettimeofday with __vdso_gettimeofday.
67361         * sysdeps/unix/sysv/linux/x86_64/init-first.c
67362         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
67363         __vdso_clock_gettime and __vdso_getcpu.
67365         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
67366         time with __vdso_time.
67368 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
67370         * manual/lang.texi (size_t): Note types to which size_t may be
67371         equivalent with the GNU C Library, but do not describe when
67372         differences between them are significant.
67374 2012-03-05  Andreas Jaeger  <aj@suse.de>
67376         * sysdeps/i386/fpu/libm-test-ulps: Update.
67378 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
67380         [BZ #3976]
67381         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
67382         (__ieee754_pow): Save and restore rounding mode and use
67383         round-to-nearest for main computations.
67384         * math/libm-test.inc (pow_test_tonearest): New function.
67385         (pow_test_towardzero): Likewise.
67386         (pow_test_downward): Likewise.
67387         (pow_test_upward): Likewise.
67388         (main): Call the new functions.
67389         * sysdeps/i386/fpu/libm-test-ulps: Update.
67390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67392         [BZ #3976]
67393         * math/libm-test.inc (cosh_test_tonearest): New function.
67394         (cosh_test_towardzero): Likewise.
67395         (cosh_test_downward): Likewise.
67396         (cosh_test_upward): Likewise.
67397         (sinh_test_tonearest): Likewise.
67398         (sinh_test_towardzero): Likewise.
67399         (sinh_test_downward): Likewise.
67400         (sinh_test_upward): Likewise.
67401         (main): Call the new functions.
67402         * sysdeps/i386/fpu/libm-test-ulps: Update.
67403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67405 2012-03-05  Tom de Vries  <tom@codesourcery.com>
67407         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
67408         default stack guard is set in last bytes.
67409         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
67411 2012-03-05  Kees Cook  <keescook@chromium.org>
67413         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
67415         [BZ #13656]
67416         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
67417         possibly allocate from heap instead of stack.
67418         * stdio-common/bug-vfprintf-nargs.c: New file.
67419         * stdio-common/Makefile (tests): Add nargs overflow test.
67421 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
67423         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67425 2012-03-03  Marek Polacek  <polacek@redhat.com>
67427         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
67428         * math/math_private.h: Likewise.
67429         * stdlib/tst-strtod.c: Likewise.
67430         * sysdeps/i386/i486/bits/atomic.h: Likewise.
67431         * sysdeps/x86_64/bits/atomic.h: Likewise.
67433 2012-03-02  David S. Miller  <davem@davemloft.net>
67435         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
67436         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
67437         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
67438         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
67439         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
67440         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
67441         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
67442         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
67444 2012-03-02  Roland McGrath  <roland@hack.frob.com>
67446         [BZ #13792]
67447         * manual/examples/README: New file, says the example source files
67448         can be used under GPL>=2.
67449         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
67450         line containing just "*/".
67451         * manual/examples/add.c: Add copyright header (GPL>=2).
67452         * manual/examples/argp-ex1.c: Likewise.
67453         * manual/examples/argp-ex2.c: Likewise.
67454         * manual/examples/argp-ex3.c: Likewise.
67455         * manual/examples/argp-ex4.c: Likewise.
67456         * manual/examples/atexit.c: Likewise.
67457         * manual/examples/db.c: Likewise.
67458         * manual/examples/dir.c: Likewise.
67459         * manual/examples/dir2.c: Likewise.
67460         * manual/examples/execinfo.c: Likewise.
67461         * manual/examples/filecli.c: Likewise.
67462         * manual/examples/filesrv.c: Likewise.
67463         * manual/examples/fmtmsgexpl.c: Likewise.
67464         * manual/examples/genpass.c: Likewise.
67465         * manual/examples/inetcli.c: Likewise.
67466         * manual/examples/inetsrv.c: Likewise.
67467         * manual/examples/isockad.c: Likewise.
67468         * manual/examples/longopt.c: Likewise.
67469         * manual/examples/memopen.c: Likewise.
67470         * manual/examples/memstrm.c: Likewise.
67471         * manual/examples/mkfsock.c: Likewise.
67472         * manual/examples/mkisock.c: Likewise.
67473         * manual/examples/mygetpass.c: Likewise.
67474         * manual/examples/pipe.c: Likewise.
67475         * manual/examples/popen.c: Likewise.
67476         * manual/examples/rprintf.c: Likewise.
67477         * manual/examples/search.c: Likewise.
67478         * manual/examples/select.c: Likewise.
67479         * manual/examples/setjmp.c: Likewise.
67480         * manual/examples/sigh1.c: Likewise.
67481         * manual/examples/sigusr.c: Likewise.
67482         * manual/examples/stpcpy.c: Likewise.
67483         * manual/examples/strdupa.c: Likewise.
67484         * manual/examples/strftim.c: Likewise.
67485         * manual/examples/strncat.c: Likewise.
67486         * manual/examples/subopt.c: Likewise.
67487         * manual/examples/swapcontext.c: Likewise.
67488         * manual/examples/termios.c: Likewise.
67489         * manual/examples/testopt.c: Likewise.
67490         * manual/examples/testpass.c: Likewise.
67491         * manual/examples/timeval_subtract.c: Likewise.
67493         [BZ #13792]
67494         * manual/time.texi (Elapsed Time): Move timeval_subtract example
67495         function to ...
67496         * manual/timeval_subtract.c.texi: ... here, new file.
67498 2012-03-02  David S. Miller  <davem@davemloft.net>
67500         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
67502 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
67504         [BZ #3976]
67505         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
67506         (__sin): Save and restore rounding mode and use round-to-nearest
67507         for all computations.
67508         (__cos): Save and restore rounding mode and use round-to-nearest
67509         for all computations.
67510         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
67511         <fenv.h>.
67512         (tan): Save and restore rounding mode and use round-to-nearest for
67513         all computations.
67514         * math/libm-test.inc (cos_test_tonearest): New function.
67515         (cos_test_towardzero): Likewise.
67516         (cos_test_downward): Likewise.
67517         (cos_test_upward): Likewise.
67518         (sin_test_tonearest): Likewise.
67519         (sin_test_towardzero): Likewise.
67520         (sin_test_downward): Likewise.
67521         (sin_test_upward): Likewise.
67522         (tan_test_tonearest): Likewise.
67523         (tan_test_towardzero): Likewise.
67524         (tan_test_downward): Likewise.
67525         (tan_test_upward): Likewise.
67526         (main): Call the new functions.
67527         * sysdeps/i386/fpu/libm-test-ulps: Update.
67528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67530         [BZ #10135]
67531         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
67532         small n, then large n, before computing and testing k+n.
67533         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
67534         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
67535         Likewise.
67536         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
67537         Likewise.
67538         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
67539         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
67540         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
67541         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
67542         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
67543         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
67544         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
67545         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
67546         * math/libm-test.inc (scalbn_test): Add more tests.
67547         (scalbln_test): Likewise.
67549         * manual/filesys.texi (mode_t): Describe constraints on size and
67550         signedness, not exact equivalence to a particular type.
67551         (ino_t): Likewise.
67552         (ino64_t): Likewise.
67553         (dev_t): Likewise.
67554         (nlink_t): Likewise.
67555         (blkcnt_t): Likewise.
67556         (blkcnt64_t): Likewise.
67557         * manual/llio.texi (off_t): Likewise.
67559         [BZ #3976]
67560         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
67561         (__ieee754_exp): Save and restore rounding mode and use
67562         round-to-nearest for all computations.
67563         * math/libm-test.inc (exp_test_tonearest): New function.
67564         (exp_test_towardzero): Likewise.
67565         (exp_test_downward): Likewise.
67566         (exp_test_upward): Likewise.
67567         (main): Call the new functions.
67568         * sysdeps/i386/fpu/libm-test-ulps: Update.
67569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67571 2012-03-01  Chris Demetriou  <cgd@google.com>
67573         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
67574         have predictable order.
67576 2012-03-01  David S. Miller  <davem@davemloft.net>
67578         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
67580         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
67581         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
67582         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
67583         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
67585         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
67586         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
67587         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
67588         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
67589         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
67590         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
67591         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
67592         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
67593         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
67595         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67597         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
67598         * sysdeps/sparc/fpu/libm-test-ulps: to here.
67599         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
67601         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
67602         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
67603         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
67604         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
67605         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
67606         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
67607         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
67608         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
67609         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
67610         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
67611         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
67612         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
67613         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
67614         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
67615         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
67616         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67617         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
67618         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
67619         * sysdeps/sparc/elf/configure: Regenerated.
67621 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
67623         * configure.in (AS, LD): Require binutils 2.20 or later.
67624         * configure: Regenerated.
67625         * manual/install.texi (Tools for Compilation): Give binutils 2.20
67626         as required minimum version.
67627         * INSTALL: Regenerated.
67629         [BZ #2541]
67630         [BZ #4108]
67631         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
67632         before squaring exponent.
67633         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
67634         bottom long double and 27 bits of top long double before squaring
67635         exponent.
67636         * math/libm-test.inc (erfc_test): Add more tests.
67637         * sysdeps/i386/fpu/libm-test-ulps: Update.
67638         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
67639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67641 2012-03-01  Kai Tietz  <ktietz@redhat.com>
67643         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
67644         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
67645         containing bit-fields.
67646         * soft-fp/extended.h (_FP_UNION_E): Likewise.
67647         * soft-fp/single.h (_FP_UNION_S): Likewise.
67648         * soft-fp/double.h (_FP_UNION_D): Likewise.
67650 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
67652         [BZ #13786]
67653         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
67654         not include ../strcmp.S.
67655         [USE_AS_STRNCASECMP_L]: Likewise.
67656         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
67657         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
67658         * sysdeps/i386/i686/multiarch/strncase_l-c.c
67659         (__strncasecmp_l_ia32): Define as alias to
67660         __strncasecmp_l_nonascii.
67662         [BZ #5794]
67663         * math/libm-test.inc (expm1_test): Add test for bug 5794.
67664         * sysdeps/i386/fpu/libm-test-ulps: Update.
67665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67667         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
67668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67670 2012-02-29  Jeff Law  <law@redhat.com>
67672         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
67673         out of bounds read.
67675 2012-02-29  Marek Polacek  <polacek@redhat.com>
67677         [BZ #13706]
67678         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
67679         * elf/Makefile: Add rules to run tst-unused-dep.out.
67681 2012-02-28  David S. Miller  <davem@davemloft.net>
67683         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
67684         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
67685         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
67686         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
67687         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
67688         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
67690 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
67692         * math/libm-test.inc (llround_test): Move one test from
67693         lround_test.  Use TEST_f_L in moved test.
67694         (lround_test): Move misplaced test to llround_test.  Add testcase
67695         from bug 2561.
67697 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
67699         * sysdeps/x86_64/fpu/e_expf.S: New file.
67700         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
67702 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
67704         [BZ #13637]
67705         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
67706         of remain_len that may cause incomplete multi-byte character and
67707         false match.
67708         * posix/bug-regex33.c: New file.
67709         * posix/Makefile (tests): Add bug-regex33.
67711 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
67713         * manual/macros.texi: New file.
67714         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
67715         * manual/libc.texinfo: Include macros.texi.
67716         * manual/creatute.texi: Likewise.
67717         * manual/install.texi: Likewise.
67718         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
67719         @glibcadj{} in references to the GNU C Library.
67720         * manual/charset.texi: Likewise.
67721         * manual/conf.texi: Likewise.
67722         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
67723         when not using those macros.
67724         * manual/creature.texi: Likewise.
67725         * manual/crypt.texi: Likewise.
67726         * manual/errno.texi: Likewise.
67727         * manual/filesys.texi: Likewise.
67728         * manual/header.texi: Likewise.
67729         * manual/install.texi: Likewise.
67730         * manual/intro.texi: Likewise.
67731         * manual/io.texi: Likewise.
67732         * manual/job.texi: Likewise.
67733         * manual/lang.texi: Likewise.
67734         * manual/libc.texiinfo: Likewise.
67735         * manual/llio.texi: Likewise.
67736         * manual/locale.texi: Likewise.
67737         * manual/maint.texi: Likewise.
67738         * manual/math.texi: Likewise.
67739         * manual/memory.texi: Likewise.
67740         * manual/message.texi: Likewise.
67741         * manual/nss.texi: Likewise.
67742         * manual/pattern.texi: Likewise.
67743         * manual/process.texi: Likewise.
67744         * manual/resource.texi: Likewise.
67745         * manual/search.texi: Likewise.
67746         * manual/setjmp.texi: Likewise.
67747         * manual/signal.texi: Likewise.
67748         * manual/socket.texi: Likewise.
67749         * manual/startup.texi: Likewise.
67750         * manual/stdio.texi: Likewise.
67751         * manual/string.texi: Likewise.
67752         * manual/sysinfo.texi: Likewise.
67753         * manual/syslog.texi: Likewise.
67754         * manual/terminal.texi: Likewise.
67755         * manual/time.texi: Likewise.
67756         * manual/users.texi: Likewise.
67757         * INSTALL: Regenerated.
67758         * NOTES: Regenerated.
67759         * sysdeps/gnu/errlist.c: Regenerated.
67761 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
67763         * include/dirent.h: Include <dirstream.h> before
67764         <dirent/dirent.h>.
67766 2012-02-28  David S. Miller  <davem@davemloft.net>
67768         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
67769         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
67770         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
67771         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
67773 2012-02-27  David S. Miller  <davem@davemloft.net>
67775         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
67776         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
67777         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
67778         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
67780         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
67781         frame pointer instead of stack pointer relative arg slot.
67782         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
67783         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
67784         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
67786 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
67788         [BZ #3992]
67789         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
67791 2012-02-27  David S. Miller  <davem@davemloft.net>
67793         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
67794         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
67795         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
67796         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
67797         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
67798         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
67799         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
67800         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
67802 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
67804         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
67805         later.  Allow versions 5-9.
67806         * configure: Regenerated.
67807         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
67808         required minimum version and 4.6 as recommended version.  Do not
67809         mention bugs in GCC 2.7 and 2.8.
67810         * INSTALL: Regenerated.
67812 2012-02-27  David S. Miller  <davem@davemloft.net>
67814         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
67815         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
67816         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
67817         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
67818         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
67819         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
67820         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
67821         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
67823         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
67824         manipulate bits before adding and subtracting TWO112[sx].
67825         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
67827 2012-02-27  Roland McGrath  <roland@hack.frob.com>
67829         [BZ #13775]
67830         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
67831         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
67832         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
67833         being in POSIX, because they are in 1003.1-2008.
67835         * rt/tst-aio.c: Include <fcntl.h>.
67836         * rt/tst-aio7.c: Likewise.
67837         * rt/tst-aio64.c: Likewise.
67839         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
67841 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
67843         * manual/install.texi (--with-headers): Describe headers as
67844         interface headers, not private headers.
67845         (Specific advice for GNU/Linux systems): Describe use of headers
67846         from "make headers_install", not private headers from older
67847         kernels.
67848         * INSTALL: Regenerated.
67849         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
67850         Change to 2.6.19.
67851         * sysdeps/unix/sysv/linux/configure: Regenerated.
67853         * manual/llio.texi (fclean): Remove documentation.
67855         * manual/Makefile (libc-texi-generated): New variable.  Include
67856         version.texi.
67857         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
67858         $(libc-texi-generated), not duplicated list of files.
67859         (version.texi, stamp-version): New rules.
67860         (realclean): Remove $(libc-texi-generated), not individual files
67861         from that list.  Do not remove dir-add.texinfo.
67862         * manual/libc.texinfo: Comment out uses of edition numbers and
67863         references to printed manual.  Remove last-updated dates.
67864         (EDITION): Comment out.
67865         (ISBN): Likewise.
67866         (VERSION, UPDATED): Remove.
67867         (version.texi): Include.
67869 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
67871         * sysdeps/posix/spawni.c: Include <signal.h>.
67872         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
67873         * sysdeps/pthread/aio_fsync.c: Likewise.
67875 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
67877         * conform/Makefile (tests): Run only when not cross-compiling and
67878         when fast-check is not defined.
67880         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
67881         * conform/data/limits.h-data: Fixes for POSIX2008.
67882         * conform/run-conformtest.sh: Run all tests.
67883         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
67884         headers.
67885         * include/bits/dlfcn.h: Likewise.
67886         * include/langinfo.h: Likewise.
67887         * include/monetary.h: Likewise.
67888         * include/sys/poll.h: Likewise.
67890         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
67891         for __USE_GNU.
67892         * posix/spawn.h: Define __need_sigset_t.
67893         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
67894         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
67895         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
67896         to get sigevent_t only.
67897         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
67898         only for __USE_GNU.
67899         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
67900         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
67901         process_vm_writev only for __USE_GNU.
67902         * termios/termios.h: Declare tcgetsid also for POSIX2008.
67904         * conform/Makefile: For now ignore errors from run-conformtest.
67905         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
67906         POSIX to avoid namespace pollution.  Don't prepend headers.
67907         * conform/data/aio.h-data: Fixes for POSIX testing.
67908         * conform/data/fcntl.h-data: Likewise.
67909         * conform/data/glob.h-data: Likewise.
67910         * conform/data/grp.h-data: Likewise.
67911         * conform/data/pthread.h-data: Likewise.
67912         * conform/data/pwd.h-data: Likewise.
67913         * conform/data/signal.h-data: Likewise.
67914         * conform/data/spawn.h-data: Likewise.
67915         * conform/data/stdio.h-data: Likewise.
67916         * conform/data/stdlib.h-data: Likewise.
67917         * conform/data/stropts.h-data: Likewise.
67918         * conform/data/sys/mman.h-data: Likewise.
67919         * conform/data/sys/stat.h-data: Likewise.
67920         * conform/data/sys/types.h-data: Likewise.
67921         * conform/data/sys/wait.h-data: Likewise.
67922         * conform/data/time.h-data: Likewise.
67923         * conform/data/unistd.h-data: Likewise.
67924         * conform/data/utime.h-data: Likewise.
67926         * io/sys/stat.h: fchmod was always in POSIX.
67927         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
67928         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
67929         * rt/aio.h: Define __need_timespec before including <time.h>.
67930         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
67931         struct.  Add forward declaration of pthread_attr_t and use it in
67932         sigevent.
67933         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
67934         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
67935         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
67936         always remove CLK_TCK definition.
67938 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
67940         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
67942 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
67944         * conform/run-conformtest.sh: New file.
67945         * conform/Makefile: Run run-conformtest for tests.
67946         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
67947         support.
67949         * conform/data/uchar.h-data: New file.
67950         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
67951         * conform/data/arpa/inet.h-data: Likewise.
67952         * conform/data/assert.h-data: Likewise.
67953         * conform/data/complex.h-data: Likewise.
67954         * conform/data/cpio.h-data: Likewise.
67955         * conform/data/ctype.h-data: Likewise.
67956         * conform/data/dirent.h-data: Likewise.
67957         * conform/data/dlfcn.h-data: Likewise.
67958         * conform/data/errno.h-data: Likewise.
67959         * conform/data/fcntl.h-data: Likewise.
67960         * conform/data/float.h-data: Likewise.
67961         * conform/data/fmtmsg.h-data: Likewise.
67962         * conform/data/fnmatch.h-data: Likewise.
67963         * conform/data/ftw.h-data: Likewise.
67964         * conform/data/glob.h-data: Likewise.
67965         * conform/data/grp.h-data: Likewise.
67966         * conform/data/iconv.h-data: Likewise.
67967         * conform/data/inttypes.h-data: Likewise.
67968         * conform/data/langinfo.h-data: Likewise.
67969         * conform/data/libgen.h-data: Likewise.
67970         * conform/data/limits.h-data: Likewise.
67971         * conform/data/locale.h-data: Likewise.
67972         * conform/data/math.h-data: Likewise.
67973         * conform/data/monetary.h-data: Likewise.
67974         * conform/data/mqueue.h-data: Likewise.
67975         * conform/data/ndbm.h-data: Likewise.
67976         * conform/data/net/if.h-data: Likewise.
67977         * conform/data/netdb.h-data: Likewise.
67978         * conform/data/netinet/in.h-data: Likewise.
67979         * conform/data/nl_types.h-data: Likewise.
67980         * conform/data/poll.h-data: Likewise.
67981         * conform/data/pthread.h-data: Likewise.
67982         * conform/data/pwd.h-data: Likewise.
67983         * conform/data/regex.h-data: Likewise.
67984         * conform/data/sched.h-data: Likewise.
67985         * conform/data/search.h-data: Likewise.
67986         * conform/data/semaphore.h-data: Likewise.
67987         * conform/data/setjmp.h-data: Likewise.
67988         * conform/data/signal.h-data: Likewise.
67989         * conform/data/spawn.h-data: Likewise.
67990         * conform/data/stdarg.h-data: Likewise.
67991         * conform/data/stdio.h-data: Likewise.
67992         * conform/data/stdlib.h-data: Likewise.
67993         * conform/data/string.h-data: Likewise.
67994         * conform/data/strings.h-data: Likewise.
67995         * conform/data/stropts.h-data: Likewise.
67996         * conform/data/sys/ipc.h-data: Likewise.
67997         * conform/data/sys/mman.h-data: Likewise.
67998         * conform/data/sys/msg.h-data: Likewise.
67999         * conform/data/sys/resource.h-data: Likewise.
68000         * conform/data/sys/select.h-data: Likewise.
68001         * conform/data/sys/sem.h-data: Likewise.
68002         * conform/data/sys/shm.h-data: Likewise.
68003         * conform/data/sys/socket.h-data: Likewise.
68004         * conform/data/sys/stat.h-data: Likewise.
68005         * conform/data/sys/statvfs.h-data: Likewise.
68006         * conform/data/sys/time.h-data: Likewise.
68007         * conform/data/sys/timeb.h-data: Likewise.
68008         * conform/data/sys/times.h-data: Likewise.
68009         * conform/data/sys/types.h-data: Likewise.
68010         * conform/data/sys/uio.h-data: Likewise.
68011         * conform/data/sys/un.h-data: Likewise.
68012         * conform/data/sys/utsname.h-data: Likewise.
68013         * conform/data/sys/wait.h-data: Likewise.
68014         * conform/data/syslog.h-data: Likewise.
68015         * conform/data/tar.h-data: Likewise.
68016         * conform/data/termios.h-data: Likewise.
68017         * conform/data/utime.h-data: Likewise.
68018         * conform/data/utmpx.h-data: Likewise.
68019         * conform/data/varargs.h-data: Likewise.
68020         * conform/data/wchar.h-data: Likewise.
68021         * conform/data/wctype.h-data: Likewise.
68022         * conform/data/wordexp.h-data: Likewise.
68024         * include/stropts.h: New file.
68025         * include/uchar.h: New file.
68026         * include/aio.h: Changes to allow conformtest.pl to use the headers.
68027         * include/assert.h: Likewise.
68028         * include/ctype.h: Likewise.
68029         * include/dirent.h: Likewise.
68030         * include/dlfcn.h: Likewise.
68031         * include/fcntl.h: Likewise.
68032         * include/fnmatch.h: Likewise.
68033         * include/glob.h: Likewise.
68034         * include/grp.h: Likewise.
68035         * include/libio.h: Likewise.
68036         * include/locale.h: Likewise.
68037         * include/math.h: Likewise.
68038         * include/net/if.h: Likewise.
68039         * include/netdb.h: Likewise.
68040         * include/netinet/in.h: Likewise.
68041         * include/pthread.h: Likewise.
68042         * include/pwd.h: Likewise.
68043         * include/regex.h: Likewise.
68044         * include/sched.h: Likewise.
68045         * include/search.h: Likewise.
68046         * include/setjmp.h: Likewise.
68047         * include/signal.h: Likewise.
68048         * include/stdio.h: Likewise.
68049         * include/stdlib.h: Likewise.
68050         * include/string.h: Likewise.
68051         * include/sys/cdefs.h: Likewise.
68052         * include/sys/mman.h: Likewise.
68053         * include/sys/msg.h: Likewise.
68054         * include/sys/resource.h: Likewise.
68055         * include/sys/select.h: Likewise.
68056         * include/sys/socket.h: Likewise.
68057         * include/sys/stat.h: Likewise.
68058         * include/sys/statvfs.h: Likewise.
68059         * include/sys/time.h: Likewise.
68060         * include/sys/times.h: Likewise.
68061         * include/sys/uio.h: Likewise.
68062         * include/sys/utsname.h: Likewise.
68063         * include/sys/wait.h: Likewise.
68064         * include/termios.h: Likewise.
68065         * include/time.h: Likewise.
68066         * include/ulimit.h: Likewise.
68067         * include/unistd.h: Likewise.
68068         * include/utime.h: Likewise.
68069         * include/wchar.h: Likewise.
68070         * include/wctype.h: Likewise.
68071         * include/wordexp.h: Likewise.
68073         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
68075         * time/time.h: TIME_UTC must be a macro.
68076         Make timespec_get available for ISO C11 only as well.
68078 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
68080         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
68081         Reported by Peng Haitao <penght@cn.fujitsu.com>.
68083 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
68085         * configure.in: Use -o not -a in test for unsupported multi-arch.
68087 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
68089         * manual/texinfo.tex: Update to version 2012-01-19.16.
68091 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
68093         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
68095 2012-02-24  Roland McGrath  <roland@hack.frob.com>
68097         [BZ #13738]
68098         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
68099         * manual/fdl-1.3.texi: New file.
68100         * manual/fdl-1.1.texi: File removed.
68102         [BZ #13738]
68103         * manual/libc.texinfo (FDL_VERSION): New @set.
68104         Use it for mention of FDL in cover text.
68105         (Documentation License): Use it in @include file name.
68107 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68108             Roland McGrath  <roland@hack.frob.com>
68110         [BZ #5461]
68111         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
68112         (not LONG_LONG_MAX and LONG_LONG_MIN.
68113         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
68114         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
68115         name.
68116         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
68118 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68120         [BZ #2547]
68121         [BZ #11365]
68122         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
68123         manipulate bits before adding and subtracting TWO23[sx].
68124         * math/libm-test.inc (nearbyint_test): Add more tests.
68126 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68128         [BZ #2548]
68129         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
68130         bits before adding and subtracting TWO23[sx].
68131         * math/libm-test.inc (rint_test): Add more tests.
68132         (rint_test_tonearest): Likewise.
68133         (rint_test_towardzero): Likewise.
68134         (rint_test_downward): Likewise.
68135         (rint_test_upward: Likewise.
68137 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68139         [BZ #10110]
68140         * include/stdc-predef.h: New file.  Extracted from features.h.
68141         * include/features.h: Include stdc-predef.h.
68142         * Makefile (headers): Add stdc-predef.h.
68143         * CONFORMANCE (Compiler limitations): Update.
68145 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68147         * manual/libc.texinfo (VERSION, UPDATED): Revert.
68149 2012-02-21  David S. Miller  <davem@davemloft.net>
68151         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
68152         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
68154 2012-02-20  David S. Miller  <davem@davemloft.net>
68156         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
68157         using a normal save/restore sequence, rather than allocating a
68158         dummy stack frame just to store a frame pointer and restore.
68159         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
68161 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
68163         * manual/install.texi: Fix stray word in line-wrapped comment.
68165 2012-02-20  David S. Miller  <davem@davemloft.net>
68167         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
68168         both binutils and gcc support GOTDATA.
68170         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
68171         "rd %pc" in the PIC register setup sequences.
68173         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
68174         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
68175         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
68176         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
68177         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
68178         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
68179         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68180         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
68181         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
68182         (SYSCALL_ERROR_HANDLER): Likewise.
68183         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
68184         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
68185         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
68186         (SYSCALL_ERROR_HANDLER): Likewise.
68188         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
68189         (HAVE_GCC_GOTDATA): New.
68190         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
68191         relocation support in both binutils and gcc.
68192         * sysdeps/sparc/elf/configure: Regenerate.
68194         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
68195         * sysdeps/sparc/sparc32/elf/configure: Delete.
68196         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
68197         * sysdeps/sparc/sparc64/elf/configure: Delete.
68198         * sysdeps/sparc/elf/configure.in: New file.
68199         * sysdeps/sparc/elf/configure: Generate.
68201         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
68202         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
68203         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
68204         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
68205         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
68207 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
68209         * manual/install.texi: Do not mention specific glibc version
68210         numbers.
68211         * manual/libc.texinfo (VERSION, UPDATED): Update.
68212         (@copying): Use @copyright{} and range of years.
68214 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
68216         [BZ #13695]
68217         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
68218         [crti.S not in sysdirs] (generated): Do not append.
68219         [crti.S not in sysdirs] (omit-deps): Likewise.
68220         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
68221         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
68222         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
68223         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
68224         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
68225         Likewise.
68226         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
68227         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
68228         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
68229         * csu/defs.awk: Remove file.
68230         * sysdeps/generic/initfini.c: Likewise.
68231         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
68232         variable.
68233         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
68234         Likewise.
68236 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
68238         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
68239         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
68240         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
68241         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
68242         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
68243         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
68244         <bits/epoll.h>.
68245         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
68246         (__EPOLL_PACKED): Define to empty if not defined by
68247         <bits/epoll.h>.
68248         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
68249         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68250         bits/epoll.h.
68252 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
68254         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
68255         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
68256         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
68257         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
68258         <bits/timerfd.h>.
68259         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
68260         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68261         bits/timerfd.h.
68263 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
68265         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
68266         in C locale.
68267         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
68268         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
68269         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
68270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68272 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
68274         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68275         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
68277 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
68279         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
68280         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
68281         defined.
68282         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
68283         Likewise.
68284         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
68285         entry for 2.16.
68287 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
68289         * math/w_acos.c: Use non-signaling floating-point comparisons.
68290         * math/w_acosf.c: Likewise.
68291         * math/w_acosh.c: Likewise.
68292         * math/w_acoshf.c: Likewise.
68293         * math/w_acoshl.c: Likewise.
68294         * math/w_acosl.c: Likewise.
68295         * math/w_asin.c: Likewise.
68296         * math/w_asinf.c: Likewise.
68297         * math/w_asinl.c: Likewise.
68298         * math/w_atanh.c: Likewise.
68299         * math/w_atanhf.c: Likewise.
68300         * math/w_atanhl.c: Likewise.
68301         * math/w_exp2.c: Likewise.
68302         * math/w_exp2f.c: Likewise.
68303         * math/w_exp2l.c: Likewise.
68304         * math/w_j0.c: Likewise.
68305         * math/w_j0f.c: Likewise.
68306         * math/w_j0l.c: Likewise.
68307         * math/w_j1.c: Likewise.
68308         * math/w_j1f.c: Likewise.
68309         * math/w_j1l.c: Likewise.
68310         * math/w_jn.c: Likewise.
68311         * math/w_jnf.c: Likewise.
68312         * math/w_log.c: Likewise.
68313         * math/w_log10.c: Likewise.
68314         * math/w_log10f.c: Likewise.
68315         * math/w_log10l.c: Likewise.
68316         * math/w_log2.c: Likewise.
68317         * math/w_log2f.c: Likewise.
68318         * math/w_log2l.c: Likewise.
68319         * math/w_logf.c: Likewise.
68320         * math/w_logl.c: Likewise.
68321         * math/w_sqrt.c: Likewise.
68322         * math/w_sqrtf.c: Likewise.
68323         * math/w_sqrtl.c: Likewise.
68324         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
68325         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
68326         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68327         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
68328         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
68330 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
68332         [BZ #9739]
68333         * manual/string.texi (strnlen): Use correct parameter name in
68334         equivalent expression.
68336 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
68338         [BZ #11174]
68339         * manual/users.texi (seteuid): Consistently use neweuid for
68340         argument name.
68342 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
68344         [BZ #13704]
68345         * manual/nss.texi (Services in the NSS configuration): Correct
68346         list of services in example configuration file.
68348 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
68350         [BZ #11322]
68351         * manual/arith.texi: Remove statements about negative zero
68352         behaving identically to zero.
68354 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
68356         [BZ #5993]
68357         * manual/install.texi: Do not document upgrading from libc5.
68359 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
68361         [BZ #4596]
68362         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
68364 2012-02-18  David S. Miller  <davem@davemloft.net>
68366         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
68367         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
68368         %o7 across the call.
68369         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
68370         instead.
68371         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
68372         SETUP_PIC_REG_LEAF.
68373         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68374         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
68375         * sysdeps/sparc/crtn.S: Likewise.
68377 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
68379         * aout/Makefile: Remove.
68381 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
68383         [BZ #13058]
68384         * manual/examples/argp-ex1.c (main): Format definition in GNU
68385         style.
68386         * manual/examples/argp-ex2.c (main): Likewise.
68387         * manual/examples/argp-ex3.c (main): Likewise.
68388         * manual/examples/argp-ex4.c (main): Likewise.
68389         * manual/examples/longopt.c (main): Use new-style prototype
68390         definition.
68391         * manual/examples/strncat.c (main): Specify return type and use
68392         (void) for arguments.
68393         * manual/examples/subopt.c (main): Use char **argv argument.
68395 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68397         [BZ #5077]
68398         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
68399         rounding modes.
68401 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
68403         [BZ #6907]
68404         * manual/string.texi (strchr): Change when strchrnul is
68405         recommended.
68407 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
68409         [BZ #174]
68410         * manual/locale.texi (setlocale): Document LOCPATH.
68412 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68414         [BZ #10210]
68415         * manual/process.texi (execle): Move @dots{} before last argument.
68417 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
68419         [BZ #12047]
68420         * manual/charset.texi (Generic Charset Conversion): Fix typo
68421         (LC_TYPE -> LC_CTYPE).
68423 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
68425         [BZ #5805]
68426         * manual/arith.texi (scalbn): Use @var{} on parameter names.
68427         (scalbnf): Likewise.
68428         (scalbnl): Likewise.
68429         (scalbln): Likewise.
68430         (scalblnf): Likewise.
68431         (scalblnl): Likewise.
68432         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
68433         (vwarnx): Likewise.
68434         (verr): Likewise.
68435         (verrx): Likewise.
68436         * manual/filesys.texi (telldir): Use braces around return type.
68437         * manual/llio.texi (mmap): Add space after comma.
68438         (mmap64): Likewise.
68439         * manual/math.texi (jn): Use @var{} on parameter names.
68440         (jnf): Likewise.
68441         (jnl): Likewise.
68442         (yn): Likewise.
68443         (ynf): Likewise.
68444         (ynl): Likewise.
68445         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
68446         line.
68447         * manual/resource.texi (ulimit): Use @dots{} instead of literal
68448         "...".
68449         (sched_get_priority_min): Remove semicolon on @deftypefun line.
68450         (sched_get_priority_max): Likewise.
68451         * manual/signal.texi (sigvec): Add space after comma.
68452         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
68453         names.
68454         (if_indextoname): Likewise.
68455         (if_freenameindex): Likewise.
68456         (sendto): Use ',' instead of '.' in prototype.
68457         * manual/startup.texi (syscall): Use @dots{} instead of literal
68458         "...".
68459         * manual/stdio.texi (__fpending): Separate initial words of
68460         paragraph from @deftypefun line.
68461         * manual/syslog.texi (syslog): Use @dots{} instead of literal
68462         "...".
68463         (vsyslog): Use @var{} on parameter names.
68464         * manual/terminal.texi (stty): Use @var{} on parameter names.
68465         * manual/users.texi (getutmp): Use @var{} on parameter names.
68466         (getutmpx): Likewise.
68468 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68470         [BZ #6884]
68471         * manual/stdio.texi (fopen): Fix typos in description of
68472         ",ccs=STRING".
68474 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
68476         [BZ #4026]
68477         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
68478         get clock_id definition.
68480 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
68482         [BZ #4822]
68483         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
68484         (madvise): Cast every argument to void on its own.
68486 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68488         [BZ #9902]
68489         * manual/startup.texi (Exit Status): Fix typo.
68491 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68493         [BZ #10140]
68494         * manual/examples/argp-ex1.c: Include <stdlib.h>.
68495         * manual/examples/argp-ex2.c: Likewise.
68496         * manual/examples/argp-ex3.c: Likewise.
68498 2012-02-16  Richard Henderson  <rth@redhat.com>
68500         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
68501         * sysdeps/s390/s390-32/initfini.c: Remove.
68502         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
68503         * sysdeps/s390/s390-64/initfini.c: Remove.
68505 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
68507         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
68508         compiler output for sysdeps/generic/initfini.c.
68509         * sysdeps/sh/elf/initfini.c: Remove file.
68511 2012-02-16  David S. Miller  <davem@davemloft.net>
68513         [BZ #11494]
68514         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
68516         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
68517         * sysdeps/sparc/crti.S: New file.
68518         * sysdeps/sparc/crtn.S: New file.
68519         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
68520         * sysdeps/sparc/sparc64/Makefile: Likewise.
68522 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
68524         [BZ #3335]
68525         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
68527 2012-02-15  Roland McGrath  <roland@hack.frob.com>
68529         [BZ #4822]
68530         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
68532         * mach/devstream.c (cookie_io_functions_t): Macro removed.
68533         (write, read, close): Likewise.
68534         Patch by Aurelien Jarno <aurelien@aurel32.net>.
68536 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
68538         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
68539         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
68540         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
68541         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
68542         <bits/signalfd.h>.
68543         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
68544         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68545         bits/signalfd.h.
68547 2012-02-14  Marek Polacek  <polacek@redhat.com>
68549         * sysdeps/x86_64/crti.S: New file.
68550         * sysdeps/x86_64/crtn.S: New file.
68551         * sysdeps/x86_64/elf/initfini.c: Remove file.
68553 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
68555         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
68556         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
68557         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
68558         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
68559         <bits/inotify.h>.
68560         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
68561         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68562         bits/inotify.h.
68564 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
68566         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
68567         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
68568         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
68569         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
68570         <bits/eventfd.h>.
68571         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
68572         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68573         bits/eventfd.h.
68575 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
68577         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
68578         __feraiseexcept instead of feraiseexcept.
68580         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
68581         nanosleep invocations.
68582         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
68583         strings, and add error checking for a nanosleep invocations.
68585 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
68587         Replace FSF snail mail address with URLs, as per GNU coding standards.
68588         Most of the snail mail addresses were wrong anyway, and omitting
68589         them makes the source code easier to maintain.  Almost all of the
68590         changes are to license notices and to locale LC_IDENTIFICATION
68591         addresses, except for this one:
68592         * manual/libc.texinfo: In "Published by", give the FSF's URL,
68593         not its snail mail address.
68595 2012-02-09  Richard Henderson  <rth@twiddle.net>
68597         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
68598         of kernel-features.h.
68600         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
68602 2012-02-08  Marek Polacek  <polacek@redhat.com>
68604         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
68605         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
68606         * sysdeps/gnu/_G_config.h: Likewise.
68607         * sysdeps/generic/_G_config.h: Likewise.
68609 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
68611         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
68612         tests.
68613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68615         * sysdeps/powerpc/powerpc32/crti.S: New file.
68616         * sysdeps/powerpc/powerpc32/crtn.S: New file.
68617         * sysdeps/powerpc/powerpc64/crti.S: New file.
68618         * sysdeps/powerpc/powerpc64/crtn.S: New file.
68620         * Makeconfig (have-initfini): Don't set.
68621         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
68622         * configure.in (nopic_initfini): Don't substitute.
68623         * config.h.in (HAVE_INITFINI): Don't #undef.
68624         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
68625         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
68627 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
68629         Support crti.S and crtn.S provided directly by architectures.
68630         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
68631         [crti.S in sysdirs] (omit-deps): Likewise.
68632         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
68633         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
68634         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
68635         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
68636         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
68637         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
68638         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
68639         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
68640         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
68641         compiler output for sysdeps/generic/initfini.c.
68642         * sysdeps/i386/elf/Makefile: Remove file.
68643         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
68645 2012-02-07  Marek Polacek  <polacek@redhat.com>
68647         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
68648         * sysdeps/gnu/_G_config.h: Likewise.
68649         * sysdeps/mach/hurd/_G_config.h: Likewise.
68651 2012-02-07  Marek Polacek  <polacek@redhat.com>
68653         * math/Makefile (tests): Add tst-CMPLX2.
68654         * math/tst-CMPLX2.c: New file.
68656 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
68658         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68660         * math/libm-test.inc (jn_test): Add missing L suffix.
68662 2012-02-06  Marek Polacek  <polacek@redhat.com>
68664         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
68665         * sysdeps/i386/fpu/e_powf.S: Likewise.
68666         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
68667         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
68668         * sysdeps/i386/fpu/e_acosh.S: Likewise.
68669         * sysdeps/i386/fpu/e_pow.S: Likewise.
68670         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
68671         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
68672         * sysdeps/i386/fpu/s_expm1.S: Likewise.
68673         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
68674         * sysdeps/i386/fpu/e_log2.S: Likewise.
68675         * sysdeps/i386/fpu/e_log2l.S: Likewise.
68676         * sysdeps/i386/fpu/e_scalb.S: Likewise.
68677         * sysdeps/i386/fpu/e_powl.S: Likewise.
68678         * sysdeps/i386/fpu/s_log1p.S: Likewise.
68679         * sysdeps/i386/fpu/e_log10f.S: Likewise.
68680         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
68681         * sysdeps/i386/fpu/e_logl.S: Likewise.
68682         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
68683         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
68684         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
68685         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
68686         * sysdeps/i386/fpu/e_log2f.S: Likewise.
68687         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
68688         * sysdeps/i386/fpu/e_log.S: Likewise.
68689         * sysdeps/i386/fpu/s_cexp.S: Likewise.
68690         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
68691         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
68692         * sysdeps/i386/fpu/e_logf.S: Likewise.
68693         * sysdeps/i386/fpu/e_log10l.S: Likewise.
68694         * sysdeps/i386/fpu/e_atanh.S: Likewise.
68695         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
68696         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
68697         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
68698         * sysdeps/i386/fpu/e_log10.S: Likewise.
68699         * sysdeps/i386/fpu/s_frexp.S: Likewise.
68700         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
68701         * sysdeps/i386/fpu/s_asinh.S: Likewise.
68702         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
68703         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
68704         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
68705         * sysdeps/i386/asm-syntax.h: Likewise.
68706         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
68707         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68708         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
68709         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
68710         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
68711         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
68712         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
68713         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
68714         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
68715         * sysdeps/powerpc/sysdep.h: Likewise.
68716         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
68717         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
68719 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
68721         [BZ #411]
68722         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
68724 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
68726         * sysdeps/i386/sysdep.h: Include <features.h>.
68727         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
68728         version.
68730 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
68732         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
68733         Define.
68734         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
68735         LOAD_PIC_REG_STR.
68737 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
68739         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
68740         (SETUP_PIC_REG): Use GET_PC_THUNK.
68741         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
68742         macro.
68744 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
68746         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
68747         for non-PIC compilation.
68748         (SETUP_PIC_REG): Add .p2align directive.
68749         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
68750         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
68751         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
68752         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
68753         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
68754         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
68755         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
68756         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
68757         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
68758         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
68759         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
68760         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
68761         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
68762         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
68763         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
68764         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
68765         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
68766         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
68767         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
68768         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
68769         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
68770         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
68771         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
68772         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
68773         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
68774         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
68775         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
68776         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
68777         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
68778         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
68779         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
68780         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
68781         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
68782         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
68783         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
68784         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
68785         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
68786         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
68787         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
68788         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
68789         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
68791 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
68793         * math/tst-CMPLX.c: Include <stdio.h>.
68795 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
68797         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
68798         float.
68799         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
68800         * sysdeps/sparc/bits/mathdef.h: Likewise.
68802 2012-01-31  Marek Polacek  <polacek@redhat.com>
68804         * libio/libio.h: Don't define _PARAMS.
68805         * locale/programs/config.h: Don't define PARAMS.
68806         * stdlib/strtol_l.c: Likewise.
68807         (__strtol_l): Remove PARAMS from the prototype.
68809 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
68811         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
68812         names.  Just use the correct names.  Remove unnecessary wrapper
68813         functions.
68814         * malloc/arena.c: Likewise.
68815         * malloc/hooks.c: Likewise.
68817         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
68818         ARENA_TEST says not to.  Simplify test for creation of a new arena.
68819         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
68821 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
68823         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
68824         into tail calls.
68825         (update_get_addr): New function.
68826         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
68827         GET_ADDR_MODULE parameter.
68829 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
68831         * crypt/cert.c: Remove __STDC__ conditionals.
68832         * crypt/crypt-entry.c: Likewise.
68833         * crypt/crypt_util.c: Likewise.
68834         * libio/filedoalloc.c: Likewise.
68835         * libio/fileops.c: Likewise.
68836         * libio/genops.c: Likewise.
68837         * libio/iofclose.c: Likewise.
68838         * libio/iofdopen.c: Likewise.
68839         * libio/iofopen.c: Likewise.
68840         * libio/iofopen64.c: Likewise.
68841         * libio/iogetdelim.c: Likewise.
68842         * libio/iopopen.c: Likewise.
68843         * libio/obprintf.c: Likewise.
68844         * libio/oldfileops.c: Likewise.
68845         * libio/oldiofclose.c: Likewise.
68846         * libio/oldiofdopen.c: Likewise.
68847         * libio/oldiofopen.c: Likewise.
68848         * libio/oldiopopen.c: Likewise.
68849         * libio/wfiledoalloc.c: Likewise.
68850         * libio/wgenops.c: Likewise.
68851         * locale/programs/xmalloc.c: Likewise.
68852         * misc/syslog.c: Likewise.
68853         * stdio-common/xbug.c: Likewise.
68854         * string/memchr.c: Likewise.
68855         * string/memcmp.c: Likewise.
68856         * string/memrchr.c: Likewise.
68857         * string/rawmemchr.c: Likewise.
68858         * sysdeps/posix/getcwd.c: Likewise.
68859         * time/strftime_l.c: Likewise.
68861 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
68863         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
68864         * config.make.in (config-cflags-sse2avx): Define.
68865         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
68866         Fix typo.
68868 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
68870         * scripts/config.guess: Update from upstream config git repository.
68871         * scripts/config.sub: Likewise.
68873 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
68875         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
68876         (EM_NUM): Update.
68877         (R_TILEPRO_*, R_TILEGX_*): New macros.
68879         * scripts/firstversions.awk: Fix bug in version range handling.
68881         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
68883         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
68885         * include/sys/epoll.h: New file.
68886         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
68887         libc_hidden_def.
68889 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
68891         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
68892         Avoid unnecessary __WORDSIZE == 64 test.
68893         (fmaxf): Use VEX format if possible.
68894         (fmax): Likewise.
68895         (fminf): Likewise.
68896         (fmin): Likewise.
68898         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
68899         * math/math_private.h: Remove libc_fegetround* and
68900         libc_fesetround*.
68901         * sysdeps/i386/configure.in: Check for -msse2avx.
68902         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
68903         also if SSE2AVX is defined.
68904         Remove libc_fegetround* and libc_fesetround*.
68905         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
68906         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
68907         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
68908         of HAS_YMM_USABLE.
68909         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
68910         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
68911         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
68912         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
68913         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
68915         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
68917 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68919         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
68920         size is not set.
68921         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
68923 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
68925         [BZ #13618]
68926         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
68927         relocation.
68928         * Makeconfig (libm): Define.
68929         * elf/Makefile: Add rules to build and run tst-relsort1.
68930         * elf/tst-relsort1.c: New file.
68931         * elf/tst-relsort1mod1.c: New file.
68932         * elf/tst-relsort1mod2.c: New file.
68934 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
68936         * math/s_ldexp.c: Remove __STDC__ conditionals.
68937         * math/s_ldexpf.c: Likewise.
68938         * math/s_ldexpl.c: Likewise.
68939         * math/s_nextafter.c: Likewise.
68940         * math/s_nexttowardf.c: Likewise.
68941         * math/s_significand.c: Likewise.
68942         * math/s_significandf.c: Likewise.
68943         * math/s_significandl.c: Likewise.
68944         * math/w_jnl.c: Likewise.
68945         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
68946         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
68947         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
68948         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
68949         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
68950         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
68951         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
68952         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
68953         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
68954         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
68955         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
68956         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
68957         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
68958         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
68959         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
68960         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
68961         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
68962         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
68963         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
68964         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
68965         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
68966         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
68967         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
68968         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
68969         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
68970         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
68971         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
68972         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
68973         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
68974         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
68975         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
68976         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
68977         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
68978         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
68979         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
68980         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
68981         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
68982         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
68983         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
68984         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
68985         * sysdeps/ieee754/k_standard.c: Likewise.
68986         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
68987         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
68988         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
68989         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
68990         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
68991         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
68992         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
68993         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
68994         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
68995         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
68996         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
68997         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
68998         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
68999         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
69000         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
69001         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
69002         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
69003         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
69004         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
69005         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
69006         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
69007         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
69008         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
69009         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
69010         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
69011         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
69012         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
69013         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
69014         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
69015         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
69016         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
69017         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
69018         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
69019         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
69020         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
69021         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
69022         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
69023         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
69024         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
69025         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
69026         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
69027         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
69028         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
69029         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
69030         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
69031         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
69032         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
69033         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
69034         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
69035         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
69036         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
69037         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
69038         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
69039         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
69040         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
69041         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
69042         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
69043         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
69044         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
69045         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
69046         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
69047         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
69048         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
69049         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
69050         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
69051         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
69052         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
69053         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
69054         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
69055         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
69056         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
69057         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
69058         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
69059         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
69060         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
69061         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
69062         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
69063         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
69064         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
69065         * sysdeps/ieee754/s_matherr.c: Likewise.
69066         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
69067         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
69068         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
69069         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
69071 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
69073         * crypt/md5.h: Remove __STDC__ conditionals.
69074         * libio/libioP.h: Likewise.
69075         * locale/programs/config.h: Likewise.
69076         * sysdeps/generic/sysdep.h: Likewise.
69077         * sysdeps/i386/asm-syntax.h: Likewise.
69078         * sysdeps/s390/asm-syntax.h: Likewise.
69079         * sysdeps/unix/sysdep.h: Likewise.
69080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
69081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
69083 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
69085         * libio/libio.h: Remove __STDC__ conditionals.
69086         * malloc/obstack.h: Likewise.
69087         * math/complex.h: Likewise.
69088         * math/math.h: Likewise.
69089         * sysdeps/generic/_G_config.h: Likewise.
69090         * sysdeps/gnu/_G_config.h: Likewise.
69091         * sysdeps/mach/hurd/_G_config.h: Likewise.
69092         * sysdeps/powerpc/bits/mathdef.h: Likewise.
69093         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
69094         * sysdeps/sparc/bits/mathdef.h: Likewise.
69096 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
69098         [BZ #13583]
69099         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
69100         Clean up HAS_* macros.
69101         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
69102         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
69103         possible.
69104         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
69105         HAS_AVX.
69106         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
69107         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
69108         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
69109         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
69110         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
69112 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
69114         * elf/tst-unique3.cc (gets): Remove declaration.
69115         * elf/tst-unique3lib.cc (gets): Likewise.
69116         * elf/tst-unique3lib2.cc (gets): Likewise.
69117         * elf/tst-unique4.cc (gets): Likewise.
69119 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
69121         * include/stdio.h: Add C++ protection.  Add gets declarations and
69122         definitions.
69123         * debug/tst-chk1.c: Don't declare gets here.
69124         * stdio-common/tst-gets.c: Likewise.
69126 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
69128         * posix/glob: Remove directory.
69130 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
69132         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
69134 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
69136         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
69137         of the non-standard EPFNOSUPPORT.
69139 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69141         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
69142         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
69143         ANYWHERE set to 1 only on KERN_NO_SPACE error.
69145 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
69147         * wcsmbs/uchar.h: Test __STDC_VERSION__.
69149 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
69151         * nscd/aicache.c (addhstaiX): Do not cache negative results of
69152         transient errors.
69153         * nscd/grpcache.c (cache_addgr): Likewise.
69154         * nscd/hstcache.c (cache_addhst): Likewise.
69155         * nscd/initgrcache.c (addinitgroupsX): Likewise.
69156         * nscd/pwdcache.c (cache_addpw): Likewise.
69157         * nscd/servicescache.c (cache_addserv): Likewise.
69159 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
69161         * malloc/malloc.c: Various cleanups.
69162         * malloc/hooks.c: Likewise.
69164         * stdlib/Makefile (tests): Add bug-fmtmsg1.
69165         * stdlib/bug-fmtmsg1.c: New file.
69167         * stdlib/fmtmsg.c (init): Add missing unlock.
69168         Patch by Peng Haitao <penght@cn.fujitsu.com>.
69170 2012-01-12  Marek Polacek  <polacek@redhat.com>
69172         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
69173         and _GNU_SOURCE.
69175 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
69177         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
69178         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
69179         macro to ensure uniqueness of label name.
69180         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
69181         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
69183 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
69185         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
69187         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
69188         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
69189         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
69190         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
69192 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
69194         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
69196         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
69197         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
69198         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
69200         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
69202         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
69203         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
69204         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
69205         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
69207         * math/bits/math-finite.h: Add ldexp support.
69209 2012-01-10  Marek Polacek  <polacek@redhat.com>
69211         * locale/programs/localedef.h (show_archive_content): Add noreturn
69212         attribute.
69214 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
69216         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
69218 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
69220         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
69222         * io/Makefile (headers): Add bits/poll2.h.
69224 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
69226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
69227         typo #include statement.
69229 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
69231         * include/sys/cdefs.h: Define __attribute_alloc_size.
69232         * catgets/gencat.c: Add alloc_size attribute and apply consistently
69233         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
69234         * elf/pldd.c: Likewise.
69235         * iconv/iconv_charmap.c: Likewise.
69236         * iconv/iconvconfig.c: Likewise.
69237         * iconv/strtab.c: Likewise.
69238         * locale/programs/locale.c: Likewise.
69239         * locale/programs/localedef.h: Likewise.
69240         * locale/programs/simple-hash.c: Likewise.
69241         * nscd/nscd.h: Likewise.
69242         * nss/makedb.c: Likewise.
69243         * sysdeps/generic/ldconfig.h: Likewise.
69244         * locale/programs/localedef.c: Remove xmalloc prototype.
69245         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
69247 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
69249         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
69250         appropriate.
69252 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
69254         * math/Makefile (tests): Add tst-CMPLX.
69255         * math/tst-CMPLX.c: New file.
69257         * math/complex.h (CMPLXL): Fix typo.
69259         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
69260         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
69261         GLIBC_2.16.
69262         * debug/tst-chk1.c: Add poll and ppoll tests.
69263         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
69264         * include/sys/poll.h: Add hidden proto for ppoll.
69265         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
69266         * sysdeps/mach/hurd/ppoll.c: Likewise.
69267         * io/ppoll.c: Likewise.
69268         * debug/poll_chk.c: New file.
69269         * debug/ppoll_chk.c: New file.
69270         * include/bits/poll2.h: New file.
69271         * io/bits/poll2.h: New file.
69273         [BZ #1350]
69274         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
69276         * configure.in: static is always set to yes.  Remove.
69277         * config.make.in: Don't set build-static.
69278         * Makeconfig: Remove use of build-static.
69279         * dlfcn/Makefile: Likewise.
69280         * elf/Makefile: Likewise.
69281         * math/Makefile: Likewise.
69282         * misc/Makefile: Likewise.
69283         * nptl/Makefile: Likewise.
69284         * sysdeps/mach/hurd/Makefile: Likewise.
69286         * configure.in: PWD_P is not used anymore.
69287         * config.make.in: Remove PWD_P entry.
69289         * configure.in: Remove last remnants of RANLIB.
69290         No need to check for signed size_t anymore.
69291         Don't set libc_commonpagesize and libc_relro_required here for Alpha
69292         and IA-64.
69293         Remove __builtin_expect test because we require at least gcc 3.4.
69294         * aclocal.m4: Likewise.
69296         * wcsmbs/mbrtoc16.c: Implement using towc function.
69297         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
69298         * wcsmbs/wcsmbsload.c: Likewise.
69299         * iconv/gconv_simple.c: Likewise.
69300         * iconv/gconv_int.h: Likewise.
69301         * iconv/gconv_builtin.h: Likewise.
69302         * iconv/iconv_prog.c: Remove CHAR16 handling.
69304         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
69306         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
69308         * configure.in: Remove --with-elf and --enable-bounded options.
69309         Dont set base_machine for ia64.  More non-ELF conditions removed.
69310         Remove testing and setting of leading underscore information.
69311         * config.make.in (build-bounded): Set to no.
69312         * config.h.in: Remove NO_UNDERSCORES entry.
69313         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
69314         them.
69315         * csu/start.c: Remove !NO_UNDERSCORE code.
69316         * locale/localeinfo.h: Likewise.
69317         * sysdeps/generic/machine-gmon.h: Likewise.
69318         * sysdeps/generic/sysdep.h: Likewise.
69319         * sysdeps/i386/sysdep.h: Likewise.
69320         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
69321         * sysdeps/mach/sysdep.h: Likewise.
69322         * sysdeps/s390/s390-32/sysdep.h: Likewise.
69323         * sysdeps/s390/s390-64/sysdep.h: Likewise.
69324         * sysdeps/sh/sysdep.h: Likewise.
69325         * sysdeps/sparc/sparc32/alloca.S: Likewise.
69326         * sysdeps/unix/i386/sysdep.S: Likewise.
69327         * sysdeps/unix/sparc/start.c: Likewise.
69328         * sysdeps/unix/sparc/sysdep.S: Likewise.
69329         * sysdeps/unix/sparc/sysdep.h: Likewise.
69330         * sysdeps/unix/start.c: Likewise.
69331         * sysdeps/unix/x86_64/sysdep.S: Likewise.
69332         * sysdeps/x86_64/sysdep.h: Likewise.
69334 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
69336         [BZ #13553]
69337         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
69338         for non-gcc.
69339         * argp/argp-fmtstream.h: Use const instead __const.
69340         * argp/argp.h: Likewise.
69341         * assert/assert.h: Likewise.
69342         * bits/fenv.h: Likewise.
69343         * bits/sched.h: Likewise.
69344         * bits/sigset.h: Likewise.
69345         * bits/sigthread.h: Likewise.
69346         * catgets/nl_types.h: Likewise.
69347         * conform/data/pthread.h-data: Likewise.
69348         * crypt/crypt-private.h: Likewise.
69349         * crypt/crypt.h: Likewise.
69350         * crypt/crypt_util.c: Likewise.
69351         * ctype/ctype.h: Likewise.
69352         * debug/execinfo.h: Likewise.
69353         * debug/mbsnrtowcs_chk.c: Likewise.
69354         * debug/mbsrtowcs_chk.c: Likewise.
69355         * debug/wcsnrtombs_chk.c: Likewise.
69356         * debug/wcsrtombs_chk.c: Likewise.
69357         * debug/wcstombs_chk.c: Likewise.
69358         * dirent/dirent.h: Likewise.
69359         * dlfcn/dlfcn.h: Likewise.
69360         * elf/neededtest4.c: Likewise.
69361         * grp/grp.h: Likewise.
69362         * gshadow/gshadow.h: Likewise.
69363         * iconv/gconv.h: Likewise.
69364         * iconv/gconv_int.h: Likewise.
69365         * iconv/gconv_simple.c: Likewise.
69366         * iconv/iconv.h: Likewise.
69367         * iconv/loop.c: Likewise.
69368         * iconv/skeleton.c: Likewise.
69369         * include/aio.h: Likewise.
69370         * include/aliases.h: Likewise.
69371         * include/argz.h: Likewise.
69372         * include/arpa/inet.h: Likewise.
69373         * include/assert.h: Likewise.
69374         * include/dirent.h: Likewise.
69375         * include/dlfcn.h: Likewise.
69376         * include/execinfo.h: Likewise.
69377         * include/fcntl.h: Likewise.
69378         * include/fenv.h: Likewise.
69379         * include/glob.h: Likewise.
69380         * include/grp.h: Likewise.
69381         * include/libintl.h: Likewise.
69382         * include/mntent.h: Likewise.
69383         * include/netdb.h: Likewise.
69384         * include/pwd.h: Likewise.
69385         * include/rpc/netdb.h: Likewise.
69386         * include/sched.h: Likewise.
69387         * include/search.h: Likewise.
69388         * include/shadow.h: Likewise.
69389         * include/signal.h: Likewise.
69390         * include/stdio.h: Likewise.
69391         * include/stdlib.h: Likewise.
69392         * include/string.h: Likewise.
69393         * include/sys/socket.h: Likewise.
69394         * include/sys/stat.h: Likewise.
69395         * include/sys/statfs.h: Likewise.
69396         * include/sys/statvfs.h: Likewise.
69397         * include/sys/syslog.h: Likewise.
69398         * include/sys/time.h: Likewise.
69399         * include/sys/uio.h: Likewise.
69400         * include/time.h: Likewise.
69401         * include/unistd.h: Likewise.
69402         * include/utmp.h: Likewise.
69403         * include/wchar.h: Likewise.
69404         * include/wctype.h: Likewise.
69405         * inet/aliases.h: Likewise.
69406         * inet/arpa/inet.h: Likewise.
69407         * inet/netinet/ether.h: Likewise.
69408         * inet/netinet/in.h: Likewise.
69409         * intl/libintl.h: Likewise.
69410         * io/bits/fcntl2.h: Likewise.
69411         * io/fcntl.h: Likewise.
69412         * io/ftw.h: Likewise.
69413         * io/sys/poll.h: Likewise.
69414         * io/sys/stat.h: Likewise.
69415         * io/sys/statfs.h: Likewise.
69416         * io/sys/statvfs.h: Likewise.
69417         * io/utime.h: Likewise.
69418         * libio/bits/stdio.h: Likewise.
69419         * libio/bits/stdio2.h: Likewise.
69420         * libio/libio.h: Likewise.
69421         * libio/libioP.h: Likewise.
69422         * libio/stdio.h: Likewise.
69423         * locale/lc-ctype.c: Likewise.
69424         * locale/locale.h: Likewise.
69425         * login/utmp.h: Likewise.
69426         * malloc/arena.c: Likewise.
69427         * malloc/malloc.c: Likewise.
69428         * malloc/malloc.h: Likewise.
69429         * malloc/mcheck.c: Likewise.
69430         * malloc/mtrace.c: Likewise.
69431         * math/bits/mathcalls.h: Likewise.
69432         * math/fenv.h: Likewise.
69433         * math/math_private.h: Likewise.
69434         * misc/bits/error.h: Likewise.
69435         * misc/bits/syslog.h: Likewise.
69436         * misc/err.h: Likewise.
69437         * misc/error.h: Likewise.
69438         * misc/fstab.h: Likewise.
69439         * misc/mntent.h: Likewise.
69440         * misc/regexp.h: Likewise.
69441         * misc/search.h: Likewise.
69442         * misc/sgtty.h: Likewise.
69443         * misc/sys/mman.h: Likewise.
69444         * misc/sys/syslog.h: Likewise.
69445         * misc/sys/uio.h: Likewise.
69446         * misc/sys/xattr.h: Likewise.
69447         * misc/ttyent.h: Likewise.
69448         * nis/rpcsvc/ypclnt.h: Likewise.
69449         * nss/nss.h: Likewise.
69450         * posix/bits/unistd.h: Likewise.
69451         * posix/fnmatch.h: Likewise.
69452         * posix/glob.h: Likewise.
69453         * posix/sched.h: Likewise.
69454         * posix/spawn.h: Likewise.
69455         * posix/sys/wait.h: Likewise.
69456         * posix/unistd.h: Likewise.
69457         * posix/wordexp.h: Likewise.
69458         * pwd/pwd.h: Likewise.
69459         * resolv/netdb.h: Likewise.
69460         * resource/sys/resource.h: Likewise.
69461         * rt/aio.h: Likewise.
69462         * rt/bits/mqueue2.h: Likewise.
69463         * rt/mqueue.h: Likewise.
69464         * shadow/shadow.h: Likewise.
69465         * signal/signal.h: Likewise.
69466         * socket/send.c: Likewise.
69467         * socket/sendto.c: Likewise.
69468         * socket/sys/socket.h: Likewise.
69469         * stdio-common/printf.h: Likewise.
69470         * stdlib/bits/stdlib.h: Likewise.
69471         * stdlib/fmtmsg.h: Likewise.
69472         * stdlib/monetary.h: Likewise.
69473         * stdlib/stdlib.h: Likewise.
69474         * stdlib/ucontext.h: Likewise.
69475         * streams/stropts.h: Likewise.
69476         * string/argz.h: Likewise.
69477         * string/bits/string2.h: Likewise.
69478         * string/string.h: Likewise.
69479         * string/strings.h: Likewise.
69480         * sunrpc/rpc/auth.h: Likewise.
69481         * sunrpc/rpc/auth_des.h: Likewise.
69482         * sunrpc/rpc/clnt.h: Likewise.
69483         * sunrpc/rpc/netdb.h: Likewise.
69484         * sunrpc/rpc/pmap_clnt.h: Likewise.
69485         * sunrpc/rpc/xdr.h: Likewise.
69486         * sysdeps/generic/inttypes.h: Likewise.
69487         * sysdeps/generic/net/if.h: Likewise.
69488         * sysdeps/generic/sys/swap.h: Likewise.
69489         * sysdeps/gnu/net/if.h: Likewise.
69490         * sysdeps/gnu/utmpx.h: Likewise.
69491         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
69492         * sysdeps/i386/i486/bits/string.h: Likewise.
69493         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
69494         * sysdeps/s390/bits/string.h: Likewise.
69495         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
69496         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
69497         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
69498         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
69499         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
69500         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
69501         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
69502         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
69503         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
69504         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
69505         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
69506         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
69507         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
69508         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
69509         * sysdeps/unix/sysv/linux/readv.c: Likewise.
69510         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
69511         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
69512         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69513         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
69514         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
69515         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
69516         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
69517         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
69518         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
69519         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
69520         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
69521         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
69522         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
69523         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
69524         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
69525         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
69526         * sysvipc/sys/ipc.h: Likewise.
69527         * sysvipc/sys/msg.h: Likewise.
69528         * sysvipc/sys/sem.h: Likewise.
69529         * sysvipc/sys/shm.h: Likewise.
69530         * termios/termios.h: Likewise.
69531         * time/sys/time.h: Likewise.
69532         * time/time.h: Likewise.
69533         * wcsmbs/bits/wchar2.h: Likewise.
69534         * wcsmbs/uchar.h: Likewise.
69535         * wcsmbs/wchar.h: Likewise.
69536         * wctype/wctype.h: Likewise.
69538         [BZ #13551]
69539         * Makeconfig: Remove all but ELF support including AIX support.
69540         * Makerules: Likewise.
69541         * config.h.in: Likewise.
69542         * config.make.in: Likewise.
69543         * configure: Likewise.
69544         * configure.in: Likewise.
69545         * csu/Makefile: Likewise.
69546         * csu/version.c: Likewise.
69547         * debug/Makefile: Likewise.
69548         * dlfcn/Makefile: Likewise.
69549         * elf/Makefile: Likewise.
69550         * extra-lib.mk: Likewise.
69551         * iconv/Makefile: Likewise.
69552         * include/libc-symbols.h: Likewise.
69553         * include/shlib-compat.h: Likewise.
69554         * resolv/Makefile: Likewise.
69555         * resolv/res_libc.c: Likewise.
69556         * rt/Makefile: Likewise.
69557         * sysdeps/i386/asm-syntax.h: Likewise.
69558         * sysdeps/i386/sysdep.h: Likewise.
69559         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
69560         * sysdeps/mach/sysdep.h: Likewise.
69561         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
69562         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
69563         * sysdeps/s390/asm-syntax.h: Likewise.
69564         * sysdeps/s390/s390-32/sysdep.h: Likewise.
69565         * sysdeps/s390/s390-64/sysdep.h: Likewise.
69566         * sysdeps/sh/sysdep.h: Likewise.
69567         * sysdeps/unix/sparc/sysdep.h: Likewise.
69568         * sysdeps/wordsize-32/divdi3.c: Likewise.
69569         * sysdeps/x86_64/sysdep.h: Likewise.
69571         * argp/Versions: Remove _argp_unlock_xxx.
69573         [BZ #13559]
69574         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
69575         * abilist/libBrokenLocale.abilist: Likewise.
69576         * abilist/libanl.abilist: Likewise.
69577         * abilist/libc.abilist: Likewise.
69578         * abilist/libcrypt.abilist: Likewise.
69579         * abilist/libdl.abilist: Likewise.
69580         * abilist/libm.abilist: Likewise.
69581         * abilist/libnsl.abilist: Likewise.
69582         * abilist/libpthread.abilist: Likewise.
69583         * abilist/libresolv.abilist: Likewise.
69584         * abilist/librt.abilist: Likewise.
69585         * abilist/libthread_db.abilist: Likewise.
69586         * abilist/libutil.abilist: Likewise.
69587         * abilist/libnss_db.abilist: New file.
69589         * scripts/abilist.awk: Add support for indirect functions.
69591         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
69593         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
69595         * shlib-versions: Remove entries for ports architectures.
69597         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
69598         files in ports.
69599         * elf/stackguard-macros.h: Remove support for IA-64.
69600         * elf/tst-auditmod1.c: Likewise.
69601         * sysdeps/generic/ldsodefs.h: Likewise.
69603         * sysdeps/unix/sysv/linux/configure.in: Ports should define
69604         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
69605         configure files.
69607         [BZ #13552]
69608         * configure.in: Remove --enable-omitfp support.
69609         * FAQ.in: Adjust.
69610         * config.make.in: Likewise.
69611         * Makeconfig: Likewise.
69612         * manual/install.texi: Likewise.
69614         In case anyone cares, the IA-64 architecture could move to ports.
69615         * sysdeps/ia64/*: Removed.
69616         * sysdeps/unix/sysv/linux/ia64/*: Removed.
69617         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
69619         [BZ #13555]
69620         * configure.in: Remove entries for unsupported architectures.
69622         [BZ #13533]
69623         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
69624         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
69625         routines.
69626         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
69627         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
69628         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
69629         fall back to using wcrtomb.
69630         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
69631         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
69632         renaming.
69633         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
69634         * wcsmbs/tst-c16c32-1.c: New file.
69636         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
69637         local variable.
69639         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
69641         * elf/tst-unique3.cc: Add explicit declaration of gets.
69642         * elf/tst-unique3lib.cc: Likewise.
69643         * elf/tst-unique3lib2.cc: Likewise.
69644         * elf/tst-unique4.cc: Likewise.
69646         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
69648 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
69650         [BZ #13566]
69651         * assert/assert.h (static_assert): Don't define for C++.
69652         * libio/stdio.h (gets): Do declare for C++ <= C++11.
69653         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
69655 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
69657         * iconv/loop.c (single loop): Fix assertion in storing of
69658         remaining bytes.
69660         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
69662 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
69664         * posix/getconf.c: Update copyright year.
69665         * nss/getent.c: Likewise.
69666         * nss/makedb.c: Likewise.
69667         * iconv/iconvconfig.c: Likewise.
69668         * iconv/iconv_prog.c: Likewise.
69669         * elf/ldconfig.c: Likewise.
69670         * elf/pldd.c: Likewise.
69671         * elf/sotruss.ksh: Likewise.
69672         * catgets/gencat.c: Likewise.
69673         * csu/version.c: Likewise.
69674         * elf/ldd.bash.in: Likewise.
69675         * elf/sprof.c (print_version): Likewise.
69676         * locale/programs/locale.c: Likewise.
69677         * locale/programs/localedef.c: Likewise.
69678         * login/programs/pt_chown.c: Likewise.
69679         * nscd/nscd.c (print_version): Likewise.
69680         * debug/xtrace.sh: Likewise.
69681         * malloc/memusage.sh: Likewise.
69682         * malloc/mtrace.pl: Likewise.
69683         * debug/catchsegv.sh: Likewise.
69685 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
69687         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
69688         pure attribute.
69690 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
69692         [BZ #13533]
69693         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
69694         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
69695         transformations.
69696         * iconv/gconv_int.h: Likewise.
69697         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
69698         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
69699         from libc for GLIBC_2.16.
69700         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
69701         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
69702         * wcsmbs/uchar.h: Really define mbstate_t.
69703         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
69704         * wcsmbs/c16rtomb.c: New file.
69705         * wcsmbs/mbrtoc16.c: New file.
69706         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
69707         for C/POSIX locale.
69708         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
69709         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
69711         * wcsmbs/wchar.h: Add missing __restrict.
69713 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
69715         [BZ #13532]
69716         * time/Makefile (routines): Add timespec_get.
69717         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
69718         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
69719         timespec for ISO C11.
69720         * time/timespec_get.c: New file.
69721         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
69722         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
69724         [BZ #13531]
69725         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
69726         * stdlib/stdlib.h: Declare aligned_alloc.
69727         * Versions.def: Add GLIBC_2.16 for libc.
69728         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
69730         [BZ 13527]
69731         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
69732         ISO C11.
69734         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
69735         code.
69737         [BZ #13528]
69738         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
69740         [BZ #13529]
69741         * assert/assert.h (static_assert): Define.
69743         * version.h: Update for 2.16 development version.
69745         [BZ #13526]
69746         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
69747         _ISOC11_SOURCE.
69749         * version.h (RELEASE): Bump for 2.15 release.
69750         * include/features.h (__GLIBC_MINOR__): Bump to 15.
69752         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
69753         Patch by Marek Polacek <mpolacek@redhat.com>.
69755         * bits/byteswap.h: Protect long long constants with __extension__.
69756         * sysdeps/i386/bits/byteswap.h: Likewise.
69757         * sysdeps/ia64/bits/byteswap.h: Likewise.
69758         * sysdeps/s390/bits/byteswap.h: Likewise.
69759         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69761 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69763         [BZ #13540]
69764         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
69765         destination buffer.
69766         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
69768 2011-12-23  Marek Polacek  <polacek@redhat.com>
69770         * elf/dl-addr.c (determine_info): Add inline keyword.
69771         * elf/tst-auditmod4b.c (check_avx): Likewise.
69772         * elf/tst-auditmod6b.c (check_avx): Likewise.
69773         * elf/tst-auditmod6c.c (check_avx): Likewise.
69774         * elf/tst-auditmod7b.c (check_avx): Likewise.
69776 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
69778         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
69779         !__SSE_MATH__.
69781 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69783         [BZ #13540]
69784         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
69785         processing for last bytes.
69787 2011-08-06  Bruno Haible  <bruno@clisp.org>
69789         [BZ #13061]
69790         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
69791         U+0385, not to U+1FEE.
69793         [BZ #13062]
69794         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
69795         entry for U+00A5 U+0301.
69797 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
69799         [BZ #13166]
69800         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
69801         buffer for the output is too small.
69803         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
69804         optimization.
69806         [BZ #13185]
69807         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
69808         SSE flags if possible.
69810 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69812         [BZ #13540]
69813         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
69814         processing for last bytes.
69816 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
69818         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
69819         (syscall-list-default-options, syscall-list-default-condition)
69820         (syscall-list-includes): Define.
69821         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
69822         list of ABIs and options and #if conditions for each ABI.  Do not
69823         handle common syscalls between ABIs specially.
69824         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
69825         Remove.
69826         (syscall-list-variants, syscall-list-32bit-options)
69827         (syscall-list-32bit-condition, syscall-list-64bit-options)
69828         (syscall-list-64bit-condition): Define.
69829         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
69830         (syscall-list-variants, syscall-list-32bit-options)
69831         (syscall-list-32bit-condition, syscall-list-64bit-options)
69832         (syscall-list-64bit-condition): Define.
69833         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
69834         Remove.
69835         (syscall-list-variants, syscall-list-32bit-options)
69836         (syscall-list-32bit-condition, syscall-list-64bit-options)
69837         (syscall-list-64bit-condition): Define.
69838         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
69839         Remove.
69840         (syscall-list-variants, syscall-list-32bit-options)
69841         (syscall-list-32bit-condition, syscall-list-64bit-options)
69842         (syscall-list-64bit-condition): Define.
69844 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
69846         * locale/iso-639.def: Add brx entry.
69848         [BZ #13328]
69849         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
69850         Proposed by Mariusz_Cukr <marcukr@op.pl>.
69852         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
69853         __feraiseexcept_renamed.
69855 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
69857         [BZ #13538]
69858         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
69859         EPOLLET with unsigned values.
69860         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
69861         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
69863         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
69864         to large cancellation.
69865         * math/s_cacoshf.c: Likewise.
69866         * math/s_cacoshl.c: Likewise.
69868 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
69870         [BZ #13305]
69871         [BZ #12786]
69872         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
69873         * math/s_cacoshf.c: Likewise.
69874         * math/s_cacoshl.c: Likewise.
69876 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
69878         [BZ #13439]
69879         * iconv/gconv.h: Define __GCONV_SWAP.
69880         * iconvdata/unicode.c: The swap bit must be stored in __flags.
69881         * iconvdata/utf-16.c: Likewise.
69882         * iconvdata/utf-32.c: Likewise.
69884 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
69886         [BZ #13524]
69887         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
69888         numerator after shifting it by one limb.
69890 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
69892         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
69893         under [__USE_EXTERN_INLINES].
69895 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
69897         [BZ #13446]
69898         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
69900 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69902         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
69903         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
69904         optimized code.
69905         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
69906         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
69907         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
69908         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
69909         for strncasecmp/strncasecmp_l compilation.
69910         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
69911         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
69913 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
69915         [BZ #13484]
69916         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
69917         of __asm__.
69919 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
69921         [BZ #13506]
69922         * time/tzfile.c (__tzfile_read): Check values from file header.
69924 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
69926         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
69927         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
69928         * powerpc/powerpc32/dl-start.S: Likewise.
69929         * powerpc/powerpc32/elf/start.S: Likewise.
69930         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
69931         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
69932         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
69933         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
69934         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
69935         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
69936         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
69937         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
69938         * powerpc/powerpc32/fpu/s_round.S: Likewise.
69939         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
69940         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
69941         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
69942         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
69943         * powerpc/powerpc32/memset.S: Likewise.
69944         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
69945         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
69946         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
69947         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
69948         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
69949         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
69950         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
69951         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
69952         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
69953         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
69954         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
69955         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
69956         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
69958 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69960         * math/libm-test.inc: Added more nearbyint tests.
69961         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
69962         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
69963         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
69964         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
69966 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
69968         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
69969         FD_CLOEXEC.
69971 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69973         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
69974         Add wcscpy-ssse3 wcscpy-c.
69975         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
69976         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
69977         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
69978         * sysdeps/x86_64/wcschr.S: New file.
69979         * sysdeps/x86_64/wcsrchr.S: New file.
69980         * string/test-strcmp.c: Remove checking of wcscmp function for
69981         wrong alignments.
69982         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
69983         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
69984         wcsrchr-sse2 wcsrchr-c.
69985         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
69986         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
69987         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
69988         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
69989         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
69990         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
69991         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
69992         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
69993         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
69994         * wcsmbc/wcschr.c (WCSCHR): New macro.
69996 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69998         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
69999         * wcsmbs/test-wcsrchr.c: New file.
70000         * string/test-strrchr.c: Add wcsrchr support.
70001         (WIDE): New macro.
70002         * wcsmbs/test-wcscpy.c: New file.
70003         * string/test-strcpy.c: Add wcscpy support.
70004         (WIDE): New macro.
70006 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
70008         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
70009         the inner loop.
70011 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
70013         [BZ #13472]
70014         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
70016 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
70018         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
70019         Minor optimizations.
70021         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
70022         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
70023         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
70025 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
70027         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
70028         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
70029         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
70030         for gcc to avoid warnings.
70031         * inet/Makefile (tests): Add tst-checks.
70032         * inet/tst-checks.c: New file.
70034         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
70035         warning.
70037         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
70038         __wmemcmp_sse2.
70040         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
70041         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
70043         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
70045 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
70047         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
70048         problem.
70050         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
70052 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
70054         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
70055         conditional on GCC version.
70056         (__arch_compare_and_exchange_val_8_acq)
70057         (__arch_compare_and_exchange_val_16_acq)
70058         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
70059         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
70060         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
70062 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
70064         * sysdeps/sh/backtrace.c: New file.
70066 2011-12-02  Andreas Schwab  <schwab@redhat.com>
70068         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
70069         parenthesis.
70071 2011-12-01  Andreas Schwab  <schwab@redhat.com>
70073         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
70074         falling back to utime.
70076 2011-11-30  Andreas Schwab  <schwab@redhat.com>
70078         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
70079         expectations for float.
70081 2011-11-29  Andreas Schwab  <schwab@redhat.com>
70083         * locale/weight.h (findidx): Add parameter len.
70084         * locale/weightwc.h (findidx): Likewise.
70085         * posix/fnmatch_loop.c (FCT): Adjust caller.
70086         * posix/regcomp.c (build_equiv_class): Likewise.
70087         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
70088         * posix/regexec.c (check_node_accept_bytes): Likewise.
70089         * string/strcoll_l.c (STRCOLL): Likewise.
70090         * string/strxfrm_l.c (STRXFRM): Likewise.
70092 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
70094         * Makefile.in: Remove CVSOPT handling.
70095         * configure.in: Remove use of AC_REVISION.
70096         * iconvdata/Makefile (distribute): No need to filter out CVS.
70097         * scripts/list-sources.sh: Remove CVS, subversion and monotone
70098         handling.
70100 2011-11-16  Andreas Schwab  <schwab@redhat.com>
70102         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
70103         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
70104         [USE_AS_STRNCASECMP_L]: Likewise.
70105         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
70106         NO_TLS_DIRECT_SEG_REFS.
70107         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
70108         Fix argument offsets for non-PIC.
70109         [USE_AS_STRNCASECMP_L]: Likewise.
70110         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
70111         NO_TLS_DIRECT_SEG_REFS.
70113 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
70115         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
70116         O_CLOEXEC.
70117         * locale/loadlocale.c (_nl_load_locale): Likewise.
70119 2011-11-15  Andreas Schwab  <schwab@redhat.com>
70121         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
70122         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
70123         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
70124         (SYSCALL_GETTIME): Set errno on error.
70126         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
70127         count references to noai6ai_cached.
70129 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
70131         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
70133         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
70134         FD_CLOEXEC for /proc/self/maps.
70136         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
70137         FD_CLOEXEC for /proc/meminfo.
70139         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
70140         gai.conf.
70142         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
70143         FD_CLOEXEC for given file.
70145         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
70147         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
70148         FD_CLOEXEC for /etc/hosts.
70149         (_gethtent): Likewise.
70151         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
70153         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
70154         cancellation and set FD_CLOEXEC for /etc/netgroup.
70156         * nss/nss_files/files-key.c (search): Don't allow cancellation when
70157         reading /etc/publickey.
70159         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
70160         allow cancellation when reading /etc/group.
70162         * nss/nss_files/files-alias.c (internal_setent): Don't allow
70163         cancellation.
70164         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
70166         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
70167         when using data file.
70169         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
70171         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
70172         (write_nis_obj): Use "c" and "e" in fopen.
70174         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
70176         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
70178         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
70180         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
70182         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
70183         locale.alias.
70185         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
70187         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
70189         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
70191         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
70192         file parsing and set FD_CLOEXEC.
70194 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
70196         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
70198 2011-11-14  Andreas Schwab  <schwab@redhat.com>
70200         * malloc/arena.c (arena_get2): Don't call reused_arena when
70201         _int_new_arena failed.
70203 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
70205         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
70206         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
70207         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
70208         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
70209         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
70210         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
70211         to compile strcasecmp and strncasecmp.
70212         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
70213         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
70215         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
70217 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
70219         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
70220         locale-defines.sym to gen-as-const-headers.
70221         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
70222         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
70223         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
70224         to compile strcasecmp and strncasecmp.
70225         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
70226         strcasecmp_l and strncasecmp_l.
70227         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
70228         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
70229         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
70230         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
70231         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
70232         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
70233         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
70234         * sysdeps/i386/i686/multiarch/strncase.S: New file.
70235         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
70236         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
70237         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
70239 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
70241         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
70242         result of SYSDEP_GETTIME_CPU to retval.
70243         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
70244         parameter list to macro.  Remove trailing semicolon.  Adjust users.
70246         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
70247         variable.
70249         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
70250         mantissa words.
70251         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
70253         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
70254         from unused variable.
70256         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
70257         DWARF definitions.
70258         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
70259         for assembling.
70261         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
70262         over namespaces.
70264         * sunrpc/rpc_prot.c (rejected): Fix case value.
70266         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
70267         unsigned long long int to avoid warnings in shift.
70269         * posix/regex_internal.c (re_string_reconstruct): Actually use result
70270         of use of trans.
70271         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
70272         variable tmp.
70274         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
70275         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
70276         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
70278         * nis/nis_table.c (nis_list): Use variable of correct type for
70279         result of __follow_path call.
70281 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70283         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
70284         of math functions ceil, trunc, floor, round, and sqrt, when
70285         avaliable on the platform.
70286         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
70287         name clash.
70288         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
70289         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
70290         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
70292 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
70294         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
70295         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
70297 2011-11-11  Roland McGrath  <roland@hack.frob.com>
70299         * include/unistd.h: Fix __readlink return type.
70300         Reported by Chris Metcalf <cmetcalf@tilera.com>.
70302 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
70304         * stdlib/ucontext.h: Undo last change for makecontext.
70306 2011-11-11  Andreas Schwab  <schwab@redhat.com>
70308         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
70310         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
70311         * setjmp/setjmp.h: Mark functions as non-leaf.
70312         * setjmp/bits/setjmp2.h: Likewise.
70313         * stdlib/ucontext.h: Likewise.
70315 2011-11-10  Andreas Schwab  <schwab@redhat.com>
70317         * malloc/arena.c (_int_new_arena): Don't increment narenas.
70318         (reused_arena): Don't check arena limit.
70319         (arena_get2): Atomically check arena limit.
70321 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
70323         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
70324         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
70326         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
70327         instructions.
70329 2011-11-07  Andreas Schwab  <schwab@redhat.com>
70331         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
70332         handler when locking.
70334         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
70335         Fix size of allocated buffer.
70337 2011-11-04  Andreas Schwab  <schwab@redhat.com>
70339         [BZ #10103]
70340         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
70341         declarations for long double functions.
70342         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
70344         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
70346 2011-11-03  Andreas Schwab  <schwab@redhat.com>
70348         * nscd/nscd.c (main): Don't start AVC thread until credentials are
70349         installed.
70351         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
70352         is disabled.
70354 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70356         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
70358 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
70360         * include/alloca.h (stackinfo_alloca_round): Define.
70361         (extend_alloca): Use it.
70362         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
70363         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
70364         here.
70366         * scripts/check-local-headers.sh: Ignore libaudit.h.
70368         * nscd/Makefile (extra-objs): Make recursively expanded.
70370 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
70372         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
70373         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
70375         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
70376         * posix/tst-rfc3484-2.c: Likewise.
70377         * posix/tst-rfc3484-3.c: Likewise.
70379         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
70380         process_vm_writev.
70381         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
70382         process_vm_writev.
70383         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
70384         process_vm_writev from libc using GLIBC_2.15 version.
70386         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
70388 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
70390         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
70391         stack usage.
70393 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
70395         [BZ #13367]
70396         * nss/getent.c (initgroups_keys): Show error message in case no group
70397         names are given.
70399         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
70400         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
70401         __bump_nl_timestamp.
70402         * nscd/connections (nscd_init): When host database is served open
70403         netlink socket and request notification about configuration changes.
70404         (main_loop_poll): Track netlink file descriptor and bump timestamp
70405         in case data becomes available.
70406         (main_loop_epoll): Likewise.
70407         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
70408         (database_pers_head): Add extra_data fileds.
70409         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
70410         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
70411         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
70412         Adjust caller.
70413         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
70414         in6ai data, call __free_in6ai.
70415         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
70416         Add -DHAVE_NETLINK.
70417         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
70418         interface information.  Reuse previous data if netlink timestamp
70419         is not changed.
70420         (__bump_nl_timestamp): New function.
70421         (__free_in6ai): New function.
70423 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
70425         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
70426         close_not_cancel_no_status here.
70427         (__check_pf): Reorganize code a bit to not call close twice if OOM.
70429 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
70431         [BZ #13276]
70432         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
70433         return value.
70435         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
70436         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
70437         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
70439 2011-07-03  Andreas Jaeger  <aj@suse.de>
70441         [BZ #10709]
70442         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
70443         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
70444         * math/libm-test.inc (sin_test): Add test case.
70446 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
70448         [BZ #13337]
70449         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
70450         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
70452         * elf/chroot_canon.c (chroot_canon): Cleanups.
70454         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
70456         [BZ #13335]
70457         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
70458         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
70460         * string/test-strchr.c: Make usable for strchrnul testing.
70461         * string/test-strchrnul.c: New file.
70462         * string/Makefile (strop-tests): Add strchrnul.
70464         * po/it.po: Update from translation team.
70465         * po/es.po: Likewise.
70467 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
70469         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
70470         the three constants needed as parameters.  Drop the others.
70471         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
70472         __m128i_strloadu_tolower.
70473         Create and initialize variable zero and use it in all the places
70474         where _mm_setzero_si128 was used.
70476         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
70477         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
70478         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
70479         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
70480         anymore.
70481         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
70482         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
70483         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
70484         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
70485         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
70486         __mpranred, __mptan.
70487         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
70488         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
70489         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
70490         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
70491         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
70492         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
70493         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
70494         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
70495         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
70497 2011-10-28  Andreas Schwab  <schwab@redhat.com>
70499         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
70500         redefine if SHARED.
70501         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
70503         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
70504         wide char related routines to wcsmbs subdir.
70506 2011-10-27  Andreas Schwab  <schwab@redhat.com>
70508         [BZ #13344]
70509         * misc/sys/cdefs.h (__THROWNL): Define.
70510         * posix/unistd.h: Use __THREADNL instead of __THREAD
70511         for memory synchronization functions.
70513 2011-10-26  Roland McGrath  <roland@hack.frob.com>
70515         [BZ #13349]
70516         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
70517         doesn't exist.
70518         * manual/stdio.texi (Obstack Streams): Node removed.
70520 2011-10-26  Andreas Schwab  <schwab@redhat.com>
70522         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
70523         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
70524         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
70526         * math/math_private.h (math_force_eval): Allow non-addressable
70527         arguments.
70528         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
70530 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
70532         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
70533         file is not needed.
70535         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
70536         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
70537         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
70538         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
70539         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
70540         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
70541         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
70542         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
70543         Add AVX variants.
70544         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
70545         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
70546         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
70547         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
70548         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
70549         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
70550         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
70551         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
70552         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
70553         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
70554         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
70555         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
70556         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
70557         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
70558         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
70559         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
70560         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
70561         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
70562         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
70564         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
70565         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
70567         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
70568         place.  Use VEX encoding when compiling for AVX.
70570 2011-10-25  Andreas Schwab  <schwab@redhat.com>
70572         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
70573         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
70575         * string/test-strchr.c (do_test): Don't generate NUL bytes.
70577 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
70579         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
70580         useless if() expression.
70581         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
70582         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
70583         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
70584         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70585         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
70586         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
70587         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
70588         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
70589         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
70590         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
70591         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
70592         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
70593         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
70594         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
70595         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
70596         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
70597         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
70598         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
70599         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
70601         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
70603 2011-10-25  Andreas Schwab  <schwab@redhat.com>
70605         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
70606         condition.
70607         * elf/dl-fini.c (_dl_sort_fini): Likewise.
70609 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
70611         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
70612         .text section.  Avoid duplicate constants.
70613         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
70614         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70615         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
70616         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70617         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70618         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70619         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70620         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70621         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
70622         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
70623         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
70624         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
70625         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
70626         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
70627         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
70628         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
70629         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
70630         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
70631         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
70632         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70633         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
70634         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
70635         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
70636         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
70637         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
70638         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
70639         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
70640         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
70641         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
70642         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
70643         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
70644         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
70645         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
70646         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
70647         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
70648         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
70649         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
70650         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
70651         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
70652         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
70653         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
70654         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
70655         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
70656         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
70657         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
70659 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
70661         * sysdeps/x86_64/dla.h: Move to ...
70662         * sysdeps/x86_64/fpu/dla.h: ...here.
70663         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
70664         situations.  Use __builtin_fma only for gcc 4.6 and up.
70666         * config.make.in: Add have-mfma4 entry.
70667         * configure.in: Substitute libc_cv_cc_fma4.
70668         * math/Makefile (dbl-only-routines): Add sincostab.
70669         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
70670         Use __sincostab not sincos.
70671         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
70672         name is a macro.
70673         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70674         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70675         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70676         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
70677         using __copysign.
70678         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
70679         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
70680         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
70681         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
70682         and __inv.
70683         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
70684         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
70685         __copysign.
70686         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
70687         define aliases when function name is a macro.
70688         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
70689         sysdeps/ieee754/dbl-64/sincos.tbl.
70690         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
70691         fma4-enabled routines.
70692         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
70693         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
70694         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
70695         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
70696         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
70697         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
70698         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
70699         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
70700         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
70701         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
70702         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
70703         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
70704         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
70705         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
70706         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
70707         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
70708         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
70709         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
70710         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
70711         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
70712         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
70713         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
70714         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
70715         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
70716         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
70717         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
70718         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
70719         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
70720         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
70721         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
70723         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
70724         rename.
70725         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70726         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70727         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70728         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70729         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70730         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70731         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70732         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70734 2011-10-24  Andreas Schwab  <schwab@redhat.com>
70736         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
70738 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
70740         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
70742         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
70743         prediction.
70744         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
70746         * string/strnlen.c: Don't define STRNLEN, reverse logic.
70747         Remove unused variable magic_bits.
70748         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
70750         * string/strnlen.c: Define and use STRNLEN macro.
70751         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
70752         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
70753         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
70754         * wcsmbs/wcslen.c: Define and use WCSLEN.
70755         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
70756         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
70757         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
70758         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
70759         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
70760         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
70761         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
70763 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70765         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70766         strnlen-sse2-no-bsf.
70767         Rename strlen-no-bsf to strlen-sse2-no-bsf.
70768         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
70769         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
70770         Add strnlen support.
70771         (USE_AS_STRNLEN): New macro.
70772         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
70773         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
70774         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
70775         * sysdeps/x86_64/wcslen.S: New file.
70777 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
70779         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
70780         XMM-moves are used for copying on small sizes.
70782 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70784         * wcsmbs/Makefile (strop-tests): Add wcschr.
70785         * wcsmbs/test-wcschr.c: New file.
70786         * string/test-strchr.c: Update.
70787         Add wcschr support.
70788         (WIDE): New macro.
70790 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70792         * wcsmbs/Makefile (strop-tests): Add wcslen.
70793         * wcsmbs/test-wcslen.c: New file.
70794         * string/test-strlen.c: Update.
70795         Add wcslen support.
70796         (WIDE): New macro.
70798 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
70800         * po/it.po: Update from translation team.
70802 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70804         * sysdeps/x86_64/wcscmp.S: Update.
70805         Fix wrong comparison semantics.
70806         wcscmp shall use signed comparison not unsigned.
70807         Don't use substraction to avoid overflow bug.
70808         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
70809         * wcsmbc/wcscmp.c: Likewise.
70810         * string/test-strcmp.c: Likewise.
70811         Add new tests to check cases with negative values.
70813 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
70815         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
70816         * sysdeps/x86_64/dla.h: ...here.  New file.
70817         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
70818         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70819         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70820         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70821         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70822         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70823         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70824         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70825         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70827 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
70829         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
70830         __ynl_finite aliases.
70832 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
70834         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70836         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
70837         define DLA_FMA.
70838         [DLA_FMA] (EMULV): Use DLA_FMA.
70839         [DLA_FMA] (MUL12): Use EMULV.
70840         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
70841         that are not needed.
70842         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70843         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70844         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70845         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70846         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70847         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70848         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70850 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
70852         * math/s_nan.c: Undef __nan.
70853         * math/s_nanf.c: Undef __nanf.
70854         * math/s_nanl.c: Undef __nanl.
70855         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
70856         "math_private.h".
70858 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
70860         * math/s_catan.c: Add branch predictions.
70861         * math/s_catanf.c: Likewise.
70862         * math/s_catanh.c: Likewise.
70863         * math/s_catanhf.c: Likewise.
70864         * math/s_catanhl.c: Likewise.
70865         * math/s_catanl.c: Likewise.
70866         * math/s_cexp.c: Likewise.
70867         * math/s_cexpf.c: Likewise.
70868         * math/s_cexpl.c: Likewise.
70869         * math/s_clog.c: Likewise.
70870         * math/s_clog10.c: Likewise.
70871         * math/s_clog10f.c: Likewise.
70872         * math/s_clog10l.c: Likewise.
70873         * math/s_clogf.c: Likewise.
70874         * math/s_clogl.c: Likewise.
70875         * math/s_csqrt.c: Likewise.
70876         * math/s_csqrtf.c: Likewise.
70877         * math/s_csqrtl.c: Likewise.
70878         * math/s_ctanf.c: Likewise.
70879         * math/s_ctanh.c: Likewise.
70880         * math/s_ctanhf.c: Likewise.
70881         * math/s_ctanhl.c: Likewise.
70882         * math/s_ctanl.c: Likewise.
70884         * math/math_private.h: Define __nan, __nanf, __nanl.
70885         * math/s_cacosh.c: Include <math_private.h>.
70886         * math/s_cacoshl.c: Likewise.
70887         * math/s_casinh.c: Likewise.
70888         * math/s_casinhf.c: Likewise.
70889         * math/s_casinhl.c: Likewise.
70890         * math/s_ccos.c: Rely entire on ccosh.
70891         * math/s_ccosf.c: Rely entire on ccoshf.
70892         * math/s_ccosl.c: Rely entirely on ccoshl.
70893         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
70894         Remove tests for FE_INVALID.
70895         * math/s_ccoshf.c: Likewise.
70896         * math/s_ccoshl.c: Likewise.
70897         * math/s_csin.c: Likewise.
70898         * math/s_csinf.c: Likewise.
70899         * math/s_csinh.c Likewise.
70900         * math/s_csinhf.c: Likewise.
70901         * math/s_csinhl.c: Likewise.
70902         * math/s_csinl.c: Likewise.
70903         * math/s_ctan.c: Likewise.
70904         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
70905         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
70906         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
70908 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
70910         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
70911         compilation problems.
70913         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
70914         __builtin_expect.
70916 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
70918         * sysdeps/i386/configure.in: Test for -mfma4 option.
70919         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
70920         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
70921         COMMON_CPUID_INDEX_80000001.
70922         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
70923         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
70924         use it if FMA3 is not supported.
70925         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
70927         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
70928         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
70930 2011-10-20  Andreas Schwab  <schwab@redhat.com>
70932         [BZ #12892]
70933         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
70934         it would create a cycle with a link time dependency.
70936 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
70938         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
70939         instruction.
70940         * string/Makefile (strop-tests): Add rawmemchr.
70941         * string/test-rawmemchr.c: New file.
70943         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
70944         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
70945         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
70946         when compiling str{,n}casecmp and when AVX is available.  Hook up
70947         new optimized code in initializers.
70949 2011-10-19  Andreas Schwab  <schwab@redhat.com>
70951         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
70952         __feraiseexcept instead of feraiseexcept.
70954 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
70956         * math/math_private.h: Define defaults for libc_fetestexcept and
70957         libc_feupdateenv.
70958         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
70959         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
70960         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
70961         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
70962         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
70963         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
70964         libc_fetestexcept and libc_feupdateenv.
70966         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
70967         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
70968         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
70969         * sysdeps/x86_64/fpu/math_private.h: Define special version of
70970         libc_feholdexcept_setround.
70972         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
70973         Add s_nearbyint-c and s_nearbyintf-c.
70974         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
70975         nearbyintf inlines.
70976         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
70977         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
70978         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
70979         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
70981         * math/math_private.h: Define defaults for libc_fegetround,
70982         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
70983         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
70984         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
70985         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
70986         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
70987         standard functions.
70988         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
70989         Remove comments and hacks for old compiler versions.
70990         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
70991         libc_fegetround, libc_fesetround, libc_feholdexcept, and
70992         libc_feholdexceptl.
70994 2011-10-18  Andreas Schwab  <schwab@redhat.com>
70996         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
70997         (__feraiseexcept_renamed): Add __NTH.
70998         (feraiseexcept): Add __NTH.  Rename local variables to fix
70999         namespace violations.
71001 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
71003         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
71005         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
71007         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
71008         recently added interfaces.
71009         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
71011         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
71012         about macro parameter expansion.
71014         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
71015         __NO_MATH_INLINES is defined.  Cleanups.
71017         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
71018         and __floorf is target has SSE4.1.
71019         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
71020         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
71021         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
71022         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
71024         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
71025         name.
71026         (floorf): Likewise.
71028         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
71030 2011-10-17  Andreas Schwab  <schwab@redhat.com>
71032         * misc/sys/cdefs.h: Fix last change.
71034         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
71035         database lookup.
71037 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
71039         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
71041         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
71042         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71043         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
71044         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71045         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71046         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
71047         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71048         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71049         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
71050         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
71051         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
71052         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
71053         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
71054         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
71055         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
71056         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
71057         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
71058         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
71059         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
71060         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
71061         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
71062         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
71064         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
71065         ceil, ceilf, floor, floorf.
71067         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
71068         Perform IRELATIVE relocations last.
71070         * elf/do-rel.h: Add another parameter nrelative, replacing the
71071         local variable with the same name.  Change name of the function
71072         to end in Rel or Rela (uppercase).
71073         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
71074         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
71075         elf_dynamic_do_##reloc function.
71077 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
71079         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
71080         is sufficient, at least on modern CPUs.
71082         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
71084         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
71085         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
71087         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
71088         __expl_finite.
71089         * math/bits/math-finite.h: Add entries for exp.
71090         * math/e_expl.c: Add __*_finite alias.
71091         * sysdeps/i386/fpu/e_exp.S: Likewise.
71092         * sysdeps/i386/fpu/e_expf.S: Likewise.
71093         * sysdeps/i386/fpu/e_expl.c: Likewise.
71094         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71095         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
71096         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
71097         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
71098         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
71099         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
71100         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
71102         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
71103         is sufficient, at least on modern CPUs.
71105         * ctype/ctype-info.c (__ctype_init): Define.
71106         * include/ctype.h (__ctype_init): Declare.
71107         (__ctype_b_loc): The variable is always initialized.
71108         (__ctype_toupper_loc): Likewise.
71109         (__ctype_tolower_loc): Likewise.
71110         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
71111         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
71113 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
71115         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
71117         * configure.in: Also look in $cxxmachine/include for C++ system
71118         headers.
71120 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71122         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
71123         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
71124         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
71125         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
71126         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
71127         (USE_AS_WMEMCMP): New macro.
71128         Fixing indents.
71129         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
71130         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
71131         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
71132         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
71133         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71134         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
71135         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
71136         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
71137         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
71138         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
71139         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
71140         (USE_AS_WMEMCMP): New macro.
71141         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
71142         * sysdeps/string/test-memcmp.c: Update.
71143         Fix simple_wmemcmp.
71144         Add new tests.
71145         * wcsmbs/wmemcmp.c: Update.
71146         (WMEMCMP): New macro.
71147         Fix overflow bug.
71149 2011-10-12  Andreas Jaeger  <aj@suse.de>
71151         [BZ #13268]
71152         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
71154 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
71156         * libio/iofwide.c (do_length): Avoid warning.
71158         * ctype/ctype.h (__isctype_f): Add missing __THROW.
71160 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
71162         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
71164         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
71165         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
71166         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
71167         * sysdeps/i386/i686/fpu/e_log.S: New file.
71168         * sysdeps/i386/i686/fpu/e_logf.S: New file.
71169         * sysdeps/i386/i686/fpu/e_logl.S: New file.
71171         * ctype/ctype.h: Add support for inlined isXXX functions when
71172         compiling C++ code.
71174 2011-10-14  Andreas Schwab  <schwab@redhat.com>
71176         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71178         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
71180 2011-10-13  Roland McGrath  <roland@hack.frob.com>
71182         [BZ #13291]
71183         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
71185 2011-10-13  Andreas Schwab  <schwab@redhat.com>
71187         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
71188         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
71189         feraiseexcept.
71191         * sysdeps/x86_64/memrchr.S: Check for zero size.
71193         * string/stratcliff.c: Add memrchr tests.
71195 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71197         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71198         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
71199         rawmemchr-sse2 rawmemchr-sse2-bsf.
71200         * sysdeps/i386/i686/multiarch/memchr.S: New file.
71201         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
71202         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
71203         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
71204         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
71205         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
71206         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
71207         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
71208         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
71209         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
71210         * string/memrchr.c (MEMRCHR): New macro.
71212 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
71214         Add integration with gcc's -ffinite-math-only and optimize wrapper
71215         functions in libm.
71216         * Versions.def: Define GLIBC_2.15 version for libm.
71217         * math/Makefile (headers): Add bits/math-finite.h.
71218         * math/bits/math-finite.h: New file.
71219         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
71220         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
71221         * math/e_acoshl.c: Add __*_finite alias.
71222         * math/e_acosl.c: Likewise.
71223         * math/e_asinl.c: Likewise.
71224         * math/e_atan2l.c: Likewise.
71225         * math/e_atanhl.c: Likewise.
71226         * math/e_coshl.c: Likewise.
71227         * math/e_exp10.c: Likewise.
71228         * math/e_exp10f.c: Likewise.
71229         * math/e_exp10l.c: Likewise.
71230         * math/e_exp2l.c: Likewise.
71231         * math/e_fmodl.c: Likewise.
71232         * math/e_gammal_r.c: Likewise.
71233         * math/e_hypotl.c: Likewise.
71234         * math/e_j0l.c: Likewise.
71235         * math/e_j1l.c: Likewise.
71236         * math/e_jnl.c: Likewise.
71237         * math/e_lgammal_r.c: Likewise.
71238         * math/e_log10l.c: Likewise.
71239         * math/e_log2l.c: Likewise.
71240         * math/e_logl.c: Likewise.
71241         * math/e_powl.c: Likewise.
71242         * math/e_sinhl.c: Likewise.
71243         * math/e_sqrtl.c: Likewise.
71244         * math/e_scalb.c: Completely rewritten and optimized.
71245         * math/e_scalbf.c: Likewise.
71246         * math/e_scalbl.c: Likewise.
71247         * math/w_acos.c: Likewise.
71248         * math/w_acosf.c: Likewise.
71249         * math/w_acosl.c: Likewise.
71250         * math/w_acosh.c: Likewise.
71251         * math/w_acoshf.c: Likewise.
71252         * math/w_acoshl.c: Likewise.
71253         * math/w_asin.c: Likewise.
71254         * math/w_asinf.c: Likewise.
71255         * math/w_asinl.c: Likewise.
71256         * math/w_atan2.c: Likewise.
71257         * math/w_atan2f.c: Likewise.
71258         * math/w_atan2l.c: Likewise.
71259         * math/w_atanh.c: Likewise.
71260         * math/w_atanhf.c: Likewise.
71261         * math/w_atanhl.c: Likewise.
71262         * math/w_exp10.c: Likewise.
71263         * math/w_exp10f.c: Likewise.
71264         * math/w_exp10l.c: Likewise.
71265         * math/w_fmod.c: Likewise.
71266         * math/w_fmodf.c: Likewise.
71267         * math/w_fmodl.c: Likewise.
71268         * math/w_j0.c: Likewise.
71269         * math/w_j0f.c: Likewise.
71270         * math/w_j0l.c: Likewise.
71271         * math/w_j1.c: Likewise.
71272         * math/w_j1f.c: Likewise.
71273         * math/w_j1l.c: Likewise.
71274         * math/w_jn.c: Likewise.
71275         * math/w_jnf.c: Likewise.
71276         * math/w_log.c: Likewise.
71277         * math/w_logf.c: Likewise.
71278         * math/w_logl.c: Likewise.
71279         * math/w_log10.c: Likewise.
71280         * math/w_log10f.c: Likewise.
71281         * math/w_log10l.c: Likewise.
71282         * math/w_log2.c: Likewise.
71283         * math/w_log2f.c: Likewise.
71284         * math/w_log2l.c: Likewise.
71285         * math/w_pow.c: Likewise.
71286         * math/w_powf.c: Likewise.
71287         * math/w_powl.c: Likewise.
71288         * math/w_remainder.c: Likewise.
71289         * math/w_remainderf.c: Likewise.
71290         * math/w_remainderl.c: Likewise.
71291         * math/w_scalb.c: Likewise.
71292         * math/w_scalbf.c: Likewise.
71293         * math/w_scalbl.c: Likewise.
71294         * math/w_sqrt.c: Likewise.
71295         * math/w_sqrtf.c: Likewise.
71296         * math/w_sqrtl.c: Likewise.
71297         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
71298         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
71299         used.
71300         * math/math_private.h: Declare __kernel_standard_f.
71301         * math/w_cosh.c: Remove cruft and optimize a bit.
71302         * math/w_coshf.c: Likewise.
71303         * math/w_coshl.c: Likewise.
71304         * math/w_exp2.c: Likewise.
71305         * math/w_exp2f.c: Likewise.
71306         * math/w_exp2l.c: Likewise.
71307         * math/w_hypot.c: Likewise.
71308         * math/w_hypotf.c: Likewise.
71309         * math/w_hypotl.c: Likewise.
71310         * math/w_lgamma.c: Likewise.
71311         * math/w_lgamma_r.c: Likewise.
71312         * math/w_lgammaf.c: Likewise.
71313         * math/w_lgammaf_r.c: Likewise.
71314         * math/w_lgammal.c: Likewise.
71315         * math/w_lgammal_r.c: Likewise.
71316         * math/w_sinh.c: Likewise.
71317         * math/w_sinhf.c: Likewise.
71318         * math/w_sinhl.c: Likewise.
71319         * math/w_tgamma.c: Likewise.
71320         * math/w_tgammaf.c: Likewise.
71321         * math/w_tgammal.c: Likewise.
71322         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
71323         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71324         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
71325         Minor optimizations.  Pretty printing.  Remove cruft.
71326         * sysdeps/i386/fpu/e_acosf.S: Likewise.
71327         * sysdeps/i386/fpu/e_acosh.S: Likewise.
71328         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
71329         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
71330         * sysdeps/i386/fpu/e_acosl.c: Likewise.
71331         * sysdeps/i386/fpu/e_asin.S: Likewise.
71332         * sysdeps/i386/fpu/e_asinf.S: Likewise.
71333         * sysdeps/i386/fpu/e_atan2.S: Likewise.
71334         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
71335         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
71336         * sysdeps/i386/fpu/e_atanh.S: Likewise.
71337         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
71338         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
71339         * sysdeps/i386/fpu/e_exp10.S: Likewise.
71340         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
71341         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
71342         * sysdeps/i386/fpu/e_exp2.S: Likewise.
71343         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
71344         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
71345         * sysdeps/i386/fpu/e_fmod.S: Likewise.
71346         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
71347         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
71348         * sysdeps/i386/fpu/e_hypot.S: Likewise.
71349         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
71350         * sysdeps/i386/fpu/e_log.S: Likewise.
71351         * sysdeps/i386/fpu/e_log10.S: Likewise.
71352         * sysdeps/i386/fpu/e_log10f.S: Likewise.
71353         * sysdeps/i386/fpu/e_log10l.S: Likewise.
71354         * sysdeps/i386/fpu/e_log2.S: Likewise.
71355         * sysdeps/i386/fpu/e_log2f.S: Likewise.
71356         * sysdeps/i386/fpu/e_log2l.S: Likewise.
71357         * sysdeps/i386/fpu/e_logf.S: Likewise.
71358         * sysdeps/i386/fpu/e_logl.S: Likewise.
71359         * sysdeps/i386/fpu/e_pow.S: Likewise.
71360         * sysdeps/i386/fpu/e_powf.S: Likewise.
71361         * sysdeps/i386/fpu/e_powl.S: Likewise.
71362         * sysdeps/i386/fpu/e_remainder.S: Likewise.
71363         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
71364         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
71365         * sysdeps/i386/fpu/e_scalb.S: Likewise.
71366         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
71367         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
71368         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
71369         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
71370         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
71371         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
71372         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71373         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71374         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
71375         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
71376         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
71377         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
71378         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
71379         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
71380         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
71381         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
71382         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
71383         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71384         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
71385         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
71386         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71387         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
71388         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
71389         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71390         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71391         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
71392         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
71393         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
71394         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
71395         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
71396         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
71397         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
71398         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
71399         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
71400         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
71401         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
71402         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
71403         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
71404         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
71405         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
71406         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
71407         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
71408         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
71409         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
71410         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
71411         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
71412         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
71413         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
71414         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
71415         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
71416         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
71417         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
71418         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
71419         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
71420         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
71421         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
71422         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
71423         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
71424         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
71425         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
71426         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
71427         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
71428         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
71429         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
71430         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
71431         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
71432         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
71433         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
71434         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
71435         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
71436         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
71437         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
71438         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
71439         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
71440         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
71441         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
71442         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
71443         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
71444         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
71445         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
71446         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
71447         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
71448         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
71449         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
71450         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
71451         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
71452         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
71453         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
71454         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
71455         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
71456         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
71457         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
71458         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
71459         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
71460         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
71461         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
71462         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
71463         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
71464         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
71465         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
71466         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
71467         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
71468         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
71469         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
71470         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
71471         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
71472         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
71473         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
71474         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
71475         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
71476         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
71477         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
71478         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
71479         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
71480         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
71481         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
71482         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
71483         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
71484         (__isnanf): Likewise.
71485         (__isinf_ns): Likewise.
71486         (__isinf_nsf): Likewise.
71487         (__finite): Likewise.
71488         (__finitef): Likewise.
71489         (__ieee754_sqrt): Define as macro.
71490         (__ieee754_sqrtf): Define as macro.
71491         (__ieee754_sqrtl): Define as macro.
71492         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
71493         inlined copy.
71494         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
71495         __FINITE_MATH_ONLY__ consistent.
71496         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
71498 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
71500         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
71501         of rawmemchr.
71503         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
71505 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
71507         * po/ja.po: Update from translation team.
71509 2011-10-08  Roland McGrath  <roland@hack.frob.com>
71511         * locale/programs/locarchive.c (prepare_address_space): New function.
71512         (create_archive, enlarge_archive, open_archive): Use it.
71514         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
71515         inside [SHARED], where it is used.
71517         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
71519         * nss/getent.c (netgroup_keys): Remove unused variable.
71520         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
71522 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
71524         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
71525         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
71526         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
71527         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
71528         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
71529         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
71530         * math/Makefile (libm-calls): Add s_isinf_ns.
71531         * math/divtc3.c: Use __isinf_nsl instead of isinf.
71532         * math/multc3.c: Likewise.
71533         * math/s_casin.c: Likewise.
71534         * math/s_casinf.c: Likewise.
71535         * math/s_casinl.c: Likewise.
71536         * math/s_ccos.c: Likewise.
71537         * math/s_ccosf.c: Likewise.
71538         * math/s_ccosl.c: Likewise.
71539         * math/s_ctan.c: Likewise.
71540         * math/s_ctanf.c: Likewise.
71541         * math/s_ctanh.c: Likewise.
71542         * math/s_ctanhf.c: Likewise.
71543         * math/s_ctanhl.c: Likewise.
71544         * math/s_ctanl.c: Likewise.
71545         * math/w_fmod.c: Likewise.
71546         * math/w_fmodf.c: Likewise.
71547         * math/w_fmodl.c: Likewise.
71548         * math/w_remainder.c: Likewise.
71549         * math/w_remainderf.c: Likewise.
71550         * math/w_remainderl.c: Likewise.
71551         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
71552         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
71553         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
71554         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
71555         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
71556         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
71557         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
71558         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
71560         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
71561         of the number.
71562         * stdio-common/printf_fphex.c: Likewise.
71563         * stdio-common/printf_size.c: Likewise.
71565         * math/e_exp10.c: Include math_private.h using <...> not "...".
71566         * math/e_exp10f.c: Likewise.
71567         * math/e_exp10l.c: Likewise.
71568         * math/e_exp2l.c: Likewise.
71569         * math/e_j0l.c: Likewise.
71570         * math/e_j1l.c: Likewise.
71571         * math/e_jnl.c: Likewise.
71572         * math/e_lgammal_r.c: Likewise.
71573         * math/e_rem_pio2l.c: Likewise.
71574         * math/e_scalb.c: Likewise.
71575         * math/e_scalbf.c: Likewise.
71576         * math/e_scalbl.c: Likewise.
71577         * math/k_cosl.c: Likewise.
71578         * math/k_sinl.c: Likewise.
71579         * math/k_tanl.c: Likewise.
71580         * math/s_cacoshf.c: Likewise.
71581         * math/s_catan.c: Likewise.
71582         * math/s_catanf.c: Likewise.
71583         * math/s_catanh.c: Likewise.
71584         * math/s_catanhf.c: Likewise.
71585         * math/s_catanhl.c: Likewise.
71586         * math/s_catanl.c: Likewise.
71587         * math/s_ccosh.c: Likewise.
71588         * math/s_ccoshf.c: Likewise.
71589         * math/s_ccoshl.c: Likewise.
71590         * math/s_cexp.c: Likewise.
71591         * math/s_cexpf.c: Likewise.
71592         * math/s_cexpl.c: Likewise.
71593         * math/s_clog.c: Likewise.
71594         * math/s_clog10.c: Likewise.
71595         * math/s_clog10f.c: Likewise.
71596         * math/s_clog10l.c: Likewise.
71597         * math/s_clogf.c: Likewise.
71598         * math/s_clogl.c: Likewise.
71599         * math/s_csin.c: Likewise.
71600         * math/s_csinf.c: Likewise.
71601         * math/s_csinh.c: Likewise.
71602         * math/s_csinhf.c: Likewise.
71603         * math/s_csinhl.c: Likewise.
71604         * math/s_csinl.c: Likewise.
71605         * math/s_csqrt.c: Likewise.
71606         * math/s_csqrtf.c: Likewise.
71607         * math/s_csqrtl.c: Likewise.
71608         * math/s_ctan.c: Likewise.
71609         * math/s_ctanf.c: Likewise.
71610         * math/s_ctanh.c: Likewise.
71611         * math/s_ctanhf.c: Likewise.
71612         * math/s_ctanhl.c: Likewise.
71613         * math/s_ctanl.c: Likewise.
71614         * math/s_ldexp.c: Likewise.
71615         * math/s_ldexpf.c: Likewise.
71616         * math/s_ldexpl.c: Likewise.
71617         * math/s_significand.c: Likewise.
71618         * math/s_significandf.c: Likewise.
71619         * math/s_significandl.c: Likewise.
71620         * math/w_acos.c: Likewise.
71621         * math/w_acosf.c: Likewise.
71622         * math/w_acosh.c: Likewise.
71623         * math/w_acoshf.c: Likewise.
71624         * math/w_acoshl.c: Likewise.
71625         * math/w_acosl.c: Likewise.
71626         * math/w_asin.c: Likewise.
71627         * math/w_asinf.c: Likewise.
71628         * math/w_asinl.c: Likewise.
71629         * math/w_atan2.c: Likewise.
71630         * math/w_atan2f.c: Likewise.
71631         * math/w_atan2l.c: Likewise.
71632         * math/w_atanh.c: Likewise.
71633         * math/w_atanhf.c: Likewise.
71634         * math/w_atanhl.c: Likewise.
71635         * math/w_cosh.c: Likewise.
71636         * math/w_coshf.c: Likewise.
71637         * math/w_coshl.c: Likewise.
71638         * math/w_dremf.c: Likewise.
71639         * math/w_exp10.c: Likewise.
71640         * math/w_exp10f.c: Likewise.
71641         * math/w_exp10l.c: Likewise.
71642         * math/w_exp2.c: Likewise.
71643         * math/w_exp2f.c: Likewise.
71644         * math/w_fmod.c: Likewise.
71645         * math/w_fmodf.c: Likewise.
71646         * math/w_fmodl.c: Likewise.
71647         * math/w_hypot.c: Likewise.
71648         * math/w_hypotf.c: Likewise.
71649         * math/w_hypotl.c: Likewise.
71650         * math/w_j0.c: Likewise.
71651         * math/w_j0f.c: Likewise.
71652         * math/w_j0l.c: Likewise.
71653         * math/w_j1.c: Likewise.
71654         * math/w_j1f.c: Likewise.
71655         * math/w_j1l.c: Likewise.
71656         * math/w_jn.c: Likewise.
71657         * math/w_jnf.c: Likewise.
71658         * math/w_jnl.c: Likewise.
71659         * math/w_lgamma.c: Likewise.
71660         * math/w_lgamma_r.c: Likewise.
71661         * math/w_lgammaf.c: Likewise.
71662         * math/w_lgammaf_r.c: Likewise.
71663         * math/w_lgammal.c: Likewise.
71664         * math/w_lgammal_r.c: Likewise.
71665         * math/w_log.c: Likewise.
71666         * math/w_log10.c: Likewise.
71667         * math/w_log10f.c: Likewise.
71668         * math/w_log10l.c: Likewise.
71669         * math/w_log2.c: Likewise.
71670         * math/w_log2f.c: Likewise.
71671         * math/w_log2l.c: Likewise.
71672         * math/w_logf.c: Likewise.
71673         * math/w_logl.c: Likewise.
71674         * math/w_pow.c: Likewise.
71675         * math/w_powf.c: Likewise.
71676         * math/w_powl.c: Likewise.
71677         * math/w_remainder.c: Likewise.
71678         * math/w_remainderf.c: Likewise.
71679         * math/w_remainderl.c: Likewise.
71680         * math/w_scalb.c: Likewise.
71681         * math/w_scalbf.c: Likewise.
71682         * math/w_scalbl.c: Likewise.
71683         * math/w_sinh.c: Likewise.
71684         * math/w_sinhf.c: Likewise.
71685         * math/w_sinhl.c: Likewise.
71686         * math/w_sqrt.c: Likewise.
71687         * math/w_sqrtf.c: Likewise.
71688         * math/w_sqrtl.c: Likewise.
71689         * math/w_tgamma.c: Likewise.
71690         * math/w_tgammaf.c: Likewise.
71691         * math/w_tgammal.c: Likewise.
71693         * po/ja.po: Update from translation team.
71695 2011-09-29  Andreas Jaeger  <aj@suse.de>
71697         [BZ #13179]
71698         * sunrpc/netname.c (netname2host): Fix logic.
71700         [BZ #6779]
71701         [BZ #6783]
71702         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
71703         correctly.
71704         * math/w_remainder.c (__remainder): Likewise.
71705         * math/w_remainderf.c (__remainderf): Likewise.
71706         * math/libm-test.inc (remainder_test): Add test cases.
71708 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71710         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
71711         sdiv_qrnnd.
71713 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
71715         * string/test-memcmp.c: Avoid unncessary #defines.
71716         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
71718 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71720         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
71721         Use new sse2 version for core i3 - i7 as it's faster
71722         than sse42 version.
71723         (bit_Prefer_PMINUB_for_stringop): New.
71724         * sysdeps/x86_64/rawmemchr.S: Update.
71725         Replace with faster SSE2 version.
71726         * sysdeps/x86_64/memrchr.S: New file.
71727         * sysdeps/x86_64/memchr.S: Update.
71728         Replace with faster SSE2 version.
71730 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
71732         * elf/dl-load.c (lose): Add cast to avoid warning.
71734 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
71736         * po/ca.po: Update from translation team.
71738         * inet/getnetgrent_r.c: Hook up nscd.
71739         * nscd/Makefile (routines): Add nscd_netgroup.
71740         (nscd-modules): Add netgroupcache.
71741         (CFLAGS-netgroupcache.c): Define.
71742         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
71743         (cache_search): Add const to second parameter.
71744         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
71745         INNETGR.
71746         (dbs): Add netgrdb entry.
71747         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
71748         (verify_persistent_db): Handle netgrdb.
71749         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
71750         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
71751         GETFDNETGR.
71752         (netgroup_response_header): Define.
71753         (innetgroup_response_header): Define.
71754         (datahead): Add netgroup_response_header and innetgroup_response_header
71755         elements.
71756         * nscd/nscd.conf: Add entries for netgroup cache.
71757         * nscd/nscd.h (dbtype): Add netgrdb.
71758         (_PATH_NSCD_NETGROUP_DB): Define.
71759         (netgroup_iov_disabled): Declare.
71760         (xmalloc, xcalloc, xrealloc): Move declarations here.
71761         (cache_search): Adjust prototype.
71762         Add netgroup-related prototypes.
71763         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
71764         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
71765         (__nscd_innetgr): Declare.
71766         * nscd/selinux.c (perms): Use access_vector_t as element type and
71767         add netgroup-related initializers.
71768         * nscd/netgroupcache.c: New file.
71769         * nscd/nscd_netgroup.c: New file.
71770         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
71771         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
71772         For four parameters use innetgr.
71773         * nss/nss_files/files-init.c: Add definition and callback for netgr.
71774         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
71775         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
71776         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
71778         * nscd/connections.c (register_traced_file): Don't register file
71779         for disabled databases.
71781 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
71783         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
71785         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
71786         from tree and freeing node.
71788 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
71790         * nss/nsswitch.c (__nss_database_lookup): Handle
71791         nss_parse_service_list out of memory case.
71793 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
71795         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
71796         out of memory case.
71798 2011-10-04  Andreas Schwab  <schwab@redhat.com>
71800         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
71801         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
71802         pass it down.
71803         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
71804         elf_machine_rela, elf_machine_lazy_rel.
71805         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
71806         (ELF_DYNAMIC_DO_REL): Likewise.
71807         (ELF_DYNAMIC_DO_RELA): Likewise.
71808         (ELF_DYNAMIC_RELOCATE): Likewise.
71809         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
71810         to ELF_DYNAMIC_DO_REL.
71811         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
71812         (dl_main): In trace mode always set __RTLD_NOIFUNC.
71813         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
71814         elf_machine_rela.
71815         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
71816         skip_ifunc, don't call ifunc function if non-zero.
71817         (elf_machine_rela): Likewise.
71818         (elf_machine_lazy_rel): Likewise.
71819         (elf_machine_lazy_rela): Likewise.
71820         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
71821         (elf_machine_lazy_rel): Likewise.
71822         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
71823         Likewise.
71824         (elf_machine_lazy_rel): Likewise.
71825         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
71826         Likewise.
71827         (elf_machine_lazy_rel): Likewise.
71828         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
71829         (elf_machine_lazy_rel): Likewise.
71830         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
71831         (elf_machine_lazy_rel): Likewise.
71832         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
71833         (elf_machine_lazy_rel): Likewise.
71834         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
71835         (elf_machine_lazy_rel): Likewise.
71836         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
71837         (elf_machine_lazy_rel): Likewise.
71838         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
71839         (elf_machine_lazy_rel): Likewise.
71841 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
71843         * nss/nss_files/files-init.c (_nss_files_init): Use static
71844         initialization for all the *_traced_file variables.
71846 2011-09-28  Andreas Schwab  <schwab@redhat.com>
71848         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71850 2011-09-27  Roland McGrath  <roland@hack.frob.com>
71852         [BZ #13226]
71853         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
71855 2011-09-27  Andreas Schwab  <schwab@redhat.com>
71857         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
71858         Reread the line before reparsing it.
71860 2011-09-26  Andreas Schwab  <schwab@redhat.com>
71862         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
71864 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
71865             Maxim Kuvyrkov  <maxim@codesourcery.com>
71866             Joseph Myers  <joseph@codesourcery.com>
71868         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
71869         if needed for __stack_chk_guard.
71871 2011-09-19  Roland McGrath  <roland@hack.frob.com>
71873         * sysdeps/posix/spawni.c (script_execute): Always define it.
71874         It will be optimized away if unused.
71875         (maybe_script_execute): New function.
71876         (__spawni): Call it.
71878         * Makerules: Don't include tls.make.
71879         (config-tls): Always set to thread.
71880         * tls.make.c: File removed.
71882 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
71884         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
71885         * config.make.in (CPPFLAGS-config): New substituted variable.
71887 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
71889         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
71891         [BZ #13192]
71892         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
71893         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
71895 2011-09-15  Roland McGrath  <roland@hack.frob.com>
71897         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
71898         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
71899         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
71900         (CALL_FAIL): Likewise.
71901         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
71902         (CALL_FAIL): Macro removed.
71903         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
71905 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
71907         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
71908         for __FINITE_MATH_ONLY__ == 1.
71910 2011-09-15  Andreas Schwab  <schwab@redhat.com>
71912         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
71913         __ieee754_sqrt instead of sqrt.
71914         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
71915         __ieee754_sqrtf instead of sqrtf.
71916         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
71917         __floorf instead of floorf.
71918         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
71919         __floorf, __truncf instead of floorf, truncf.
71921 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
71923         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
71925         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
71926         __extern_always_inline.
71927         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
71928         32-bit.
71930 2011-09-14  Andreas Schwab  <schwab@redhat.com>
71932         * elf/rtld.c (dl_main): Also relocate in dependency order when
71933         doing symbol dependency testing.
71935 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
71937         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
71938         Always define `refsym'.
71940 2011-09-13  Andreas Schwab  <schwab@redhat.com>
71942         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
71943         (__FD_ELT): Renamed from __FDELT.
71944         * misc/bits/select2.h (__FD_ELT): Likewise.
71945         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
71946         __FD_MASK instead of __FDELT, __FDMASK.
71947         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
71948         Likewise.
71949         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
71950         Likewise.
71952         * elf/Makefile (gen-ldd): Fix pattern.
71954         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
71955         (init_tls): Likewise.
71957 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
71959         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
71961 2011-09-12  Andreas Schwab  <schwab@redhat.com>
71963         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
71964         `struct cmsghdr *' instead of `void *'.
71965         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
71966         Likewise.
71968 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
71970         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
71971         if non-absolute.
71972         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
71973         ldd_rewrite_script.
71975 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
71977         * configure.in: Remove --with-tls option.
71978         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
71979         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
71980         out in case it is missing.
71981         * sysdeps/ia64/elf/configure.in: Likewise.
71982         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
71983         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
71984         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
71985         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
71986         * sysdeps/sh/elf/configure.in: Likewise.
71987         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
71988         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
71989         * sysdeps/x86_64/elf/configure.in: Likewise.
71990         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
71991         * sysdeps/mach/hurd/tls.h: Likewise.
71993         [BZ #13067]
71994         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
71996         [BZ #13090]
71997         * configure.in: Fix use of AC_INIT.
71999         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
72001 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
72003         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
72004         __set_errno.
72005         * malloc/hooks.c: Likewise.
72007         [BZ #11929]
72008         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
72009         variables statically.
72010         (narenas): Initialize.
72011         (list_lock): Initialize.
72012         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
72013         initializtion of main_arena and list_lock.  Small cleanups.
72014         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
72015         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
72016         Add initializers to main_arena and mp_.
72017         (malloc_state): Remove pagesize member.  Change all users to use
72018         GLRO(dl_pagesize).
72020         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
72021         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
72022         is always initialized.
72024         * malloc/malloc.c: Removed unused configurations and dead code.
72025         * malloc/arena.c: Likewise.
72026         * malloc/hooks.c: Likewise.
72027         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
72029         * include/tls.h: Removed.  USE___THREAD must always be defined.
72030         * bits/libc-tsd.h: Don't handle !USE___THREAD.
72031         * elf/dl-libc.c: Likewise.
72032         * elf/dl-tsd.c: Likewise.
72033         * include/errno.h: Likewise.
72034         * include/netdb.h: Likewise.
72035         * include/resolv.h: Likewise.
72036         * inet/herrno-loc.c: Likewise.
72037         * inet/herrno.c: Likewise.
72038         * malloc/arena.c: Likewise.
72039         * malloc/hooks.c: Likewise.
72040         * malloc/malloc.c: Likewise.
72041         * resolv/res-state.c: Likewise.
72042         * resolv/res_libc.c: Likewise.
72043         * sysdeps/i386/dl-machine.h: Likewise.
72044         * sysdeps/ia64/dl-machine.h: Likewise.
72045         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
72046         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
72047         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
72048         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
72049         * sysdeps/sh/dl-machine.h: Likewise.
72050         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
72051         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
72052         * sysdeps/unix/i386/sysdep.S: Likewise.
72053         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
72054         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
72055         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
72056         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
72057         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
72058         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
72059         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
72060         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
72061         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72062         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
72063         * sysdeps/unix/x86_64/sysdep.S: Likewise.
72064         * sysdeps/x86_64/dl-machine.h: Likewise.
72065         * tls.make.c: Likewise.
72067         * configure.in: Remove --with-__thread option.  Make tests for
72068         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
72069         tls_model attribute fail if no support is available.  Remove
72070         USE_IN_LIBIO.
72071         * Makeconfig: Adjust for dropped configure option.  All features are
72072         now mandatory.
72073         * Makerules: Likewise.
72074         * Versions.def: Likewise.
72075         * argp/argp-fmtstream.c: Likewise.
72076         * argp/argp-fmtstream.h: Likewise.
72077         * argp/argp-help.c: Likewise.
72078         * assert/assert.c: Likewise.
72079         * config.h.in: Likewise.
72080         * config.make.in: Likewise.
72081         * configure: Likewise.
72082         * configure.in: Likewise.
72083         * csu/Versions: Likewise.
72084         * csu/init.c: Likewise.
72085         * elf/tst-audit2.c: Likewise.
72086         * elf/tst-tls10.c: Likewise.
72087         * elf/tst-tls10.h: Likewise.
72088         * elf/tst-tls11.c: Likewise.
72089         * elf/tst-tls12.c: Likewise.
72090         * elf/tst-tls14.c: Likewise.
72091         * elf/tst-tlsmod11.c: Likewise.
72092         * elf/tst-tlsmod12.c: Likewise.
72093         * elf/tst-tlsmod13.c: Likewise.
72094         * elf/tst-tlsmod13a.c: Likewise.
72095         * elf/tst-tlsmod14a.c: Likewise.
72096         * elf/tst-tlsmod15b.c: Likewise.
72097         * elf/tst-tlsmod16a.c: Likewise.
72098         * elf/tst-tlsmod16b.c: Likewise.
72099         * elf/tst-tlsmod7.c: Likewise.
72100         * elf/tst-tlsmod8.c: Likewise.
72101         * elf/tst-tlsmod9.c: Likewise.
72102         * gmon/gmon.c: Likewise.
72103         * grp/fgetgrent_r.c: Likewise.
72104         * grp/putgrent.c: Likewise.
72105         * hurd/fopenport.c: Likewise.
72106         * include/libc-symbols.h: Likewise.
72107         * include/tls.h: Likewise.
72108         * intl/gettextP.h: Likewise.
72109         * intl/loadinfo.h: Likewise.
72110         * locale/global-locale.c: Likewise.
72111         * locale/localeinfo.h: Likewise.
72112         * mach/devstream.c: Likewise.
72113         * malloc/arena.c: Likewise.
72114         * malloc/set-freeres.c: Likewise.
72115         * misc/err.c: Likewise.
72116         * misc/getttyent.c: Likewise.
72117         * misc/mntent_r.c: Likewise.
72118         * posix/getopt.c: Likewise.
72119         * posix/wordexp.c: Likewise.
72120         * pwd/fgetpwent_r.c: Likewise.
72121         * resolv/Versions: Likewise.
72122         * resolv/res_hconf.c: Likewise.
72123         * shadow/fgetspent_r.c: Likewise.
72124         * shadow/putspent.c: Likewise.
72125         * stdio-common/printf_fphex.c: Likewise.
72126         * stdio-common/tmpfile.c: Likewise.
72127         * stdlib/abort.c: Likewise.
72128         * stdlib/fmtmsg.c: Likewise.
72129         * sunrpc/auth_unix.c: Likewise.
72130         * sunrpc/clnt_perr.c: Likewise.
72131         * sunrpc/clnt_tcp.c: Likewise.
72132         * sunrpc/clnt_udp.c: Likewise.
72133         * sunrpc/clnt_unix.c: Likewise.
72134         * sunrpc/openchild.c: Likewise.
72135         * sunrpc/svc_simple.c: Likewise.
72136         * sunrpc/svc_tcp.c: Likewise.
72137         * sunrpc/svc_udp.c: Likewise.
72138         * sunrpc/svc_unix.c: Likewise.
72139         * sunrpc/xdr.c: Likewise.
72140         * sunrpc/xdr_array.c: Likewise.
72141         * sunrpc/xdr_rec.c: Likewise.
72142         * sunrpc/xdr_ref.c: Likewise.
72143         * sunrpc/xdr_stdio.c: Likewise.
72145 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
72147         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72149 2011-07-03  Andreas Jaeger  <aj@suse.de>
72151         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
72152         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
72153         regenerate with gen-libm-tests.pl.
72155 2010-05-12  Petr Baudis  <pasky@suse.cz>
72157         [BZ #11589]
72158         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
72159         around j0() zero points by switching to j1().
72160         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
72161         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
72162         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
72163         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
72165 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
72167         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
72168         instead of 0.
72169         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
72170         instead of 0.
72171         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72172         Patch in part by Pavel Roskin <proski@gnu.org>.
72174         [BZ #13138]
72175         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
72176         realloc.
72177         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
72178         Free memory block if necessary.
72180         [BZ #12847]
72181         * libio/genops.c (INTDEF): For string streams the _lock pointer can
72182         be NULL.  Don't lock in this case.
72184 2011-09-09  Roland McGrath  <roland@hack.frob.com>
72186         * elf/elf.h (ELFOSABI_GNU): New macro.
72187         (ELFOSABI_LINUX): Define to that.
72189 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
72191         * string/strncat.c (strncat): Undef the symbol in case it has been
72192         defined in bits/string.h.
72194 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
72196         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
72198         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
72199         link map.
72201 2011-08-17  Andreas Jaeger  <aj@suse.de>
72203         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
72205 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
72206             Ian Lance Taylor  <iant@google.com>
72208         * math/libm-test.inc (lround_test): New testcase.
72209         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
72211 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
72213         * Makefile: Remove support for automatic cvs check-ins.
72214         * Makerules: Likewise.
72215         * config.make.in: Likewise.
72216         * configure.in: Likewise.
72217         * intl/Makefile: Likewise.
72218         * locale/Makefile: Likewise.
72219         * po/Makefile: Likewise.
72220         * posix/Makefile: Likewise.
72221         * sysdeps/gnu/Makefile: Likewise.
72222         * sysdeps/mach/hurd/Makefile: Likewise.
72223         * sysdeps/sparc/sparc32/Makefile: Likewise.
72225         [BZ #13118]
72226         * posix/Makefile (bug-regex32-ENV): Define.
72227         Patch by John Stanley <jpsinthemix@verizon.net>.
72229         * misc/Makefile (headers): Add bits/select2.h.
72230         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
72231         * misc/bits/select2.h: New file.
72232         * include/bits/select2.h: New file.
72233         * debug/Makefile (routines): Add fdelt_chk.
72234         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
72235         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
72236         FD_ISSET.
72237         * debug/fdelt_chk.c: New file.
72239         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
72240         * wcsmbs/test-wmemcmp.c: Likewise.
72241         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
72242         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
72244 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72246         * string/Makefile (strop-tests): Add memcmp.
72247         * string/test-wmemcmp.c: New file.
72248         * string/test-memcmp.c: Add wmemcmp support.
72250 2011-09-08  Roland McGrath  <roland@hack.frob.com>
72252         [BZ #13153]
72253         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
72254         2011-07-19 change.
72256         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
72257         garbage value in a __mach_port_mod_refs call in the cases of the
72258         task-self and thread-self ports.
72260 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72262         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
72264 2011-09-08  Andreas Schwab  <schwab@redhat.com>
72266         * elf/dl-load.c (lose): Check for non-null L.
72268 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
72270         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
72272         * elf/dl-libc.c (dlerror_run): Pass back error code from
72273         dl_catch_error.
72275         [BZ #13123]
72276         * elf/dl-load.c (lose): Free l_origin if it is valid.
72278         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
72279         names.
72280         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
72281         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
72282         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
72283         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
72284         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
72285         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
72287 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72289         * sysdeps/powerpc/fpu/e_hypot.c: New file.
72290         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
72291         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
72292         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
72293         * sysdeps/powerpc/fpu/k_cosf.c: New file.
72294         * sysdeps/powerpc/fpu/k_sinf.c: New file.
72295         * sysdeps/powerpc/fpu/s_cosf.c: New file.
72296         * sysdeps/powerpc/fpu/s_sinf.c: New file.
72297         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
72298         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
72300 2011-08-15  Alan Modra  <amodra@gmail.com>
72302         [BZ #13092]
72303         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
72304         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
72305         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
72306         ppc_mcount to static-only-routines.
72307         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
72308         __mcount_internal.
72309         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
72310         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
72312 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
72314         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
72315         for finite and infinity parameters.
72317 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
72319         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
72320         and add nop instructions for throughput optimization.
72321         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72323 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
72325         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
72326         aligned copy for power7 with vector-scalar instructions.
72327         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
72329 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
72331         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
72332         AVX check.
72334 2011-09-07  Andreas Schwab  <schwab@redhat.com>
72336         [BZ #13144]
72337         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
72338         last change.
72340 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
72342         * sysdeps/unix/sysv/linux/x86_64/init-first.c
72343         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
72344         syscall wrapper around clock_gettime in __vdso_clock_gettime.
72345         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
72346         clock_gettime.
72348 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
72350         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
72351         Forgot to demangle the pointer.
72353         * sysdeps/i386/sysdep.h: Define atom_text_section.
72354         * sysdeps/x86_64/sysdep.h: Likewise.
72355         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
72356         section with atom_text_section.
72357         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
72358         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
72359         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
72360         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
72361         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
72363         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
72364         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
72365         already be defined.  Change to take two parameters and don't assign
72366         result to variable.  Adjust all users.
72367         Define INTERNAL_GETTIME if not already defined.
72368         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
72369         call.
72370         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
72371         HAVE_CLOCK_GETTIME_VSYSCALL.
72372         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
72374         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
72375         gettimeofday vsyscall, just use time.
72377 2011-09-06  Andreas Schwab  <schwab@redhat.com>
72379         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
72380         <errno.h>.
72382 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
72384         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
72385         syscall on x86-64.
72386         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
72387         syscall.
72388         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
72389         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
72390         syscall if possible.
72392 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
72394         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
72395         e_ident.  Don't pass to find_mapsXX.
72396         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
72398 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72400         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72401         strchr-sse2-no-bsf strrchr-sse2-no-bsf
72402         * sysdeps/x86_64/multiarch/strchr.S: Update.
72403         Check bit_slow_BSF bit.
72404         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
72405         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
72406         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
72408 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
72410         [BZ #13134]
72411         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
72412         before glibc 2.15.
72413         (tryshell): Define.
72414         (__spawni): Change last parameter to be flag.  Test
72415         SPAWN_XFLAGS_USE_PATH flag to use path or not.
72416         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
72417         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
72418         * posix/spawni.c: Likewise.
72419         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
72420         * posix/spawnp.c: Likewise.  Change normal version to use
72421         SPAWN_XFLAGS_USE_PATH.
72422         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
72423         SPAWN_XFLAGS_TRY_SHELL.
72425         [BZ #13150]
72426         * posix/glob.h: Remove gcc 1.x support.
72428         [BZ #13068]
72429         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
72431 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72433         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72434         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
72435         strrchr-sse2-bsf
72436         * sysdeps/i386/i686/multiarch/strchr.S: New file.
72437         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
72438         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
72439         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
72440         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
72441         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
72443 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72445         * sysdeps/x86_64/wcscmp.S: New file.
72447         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
72448         wcscmp-c wcscmp-sse2
72449         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
72450         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
72451         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
72452         * wcsmbs/wcscmp.c: Allow renaming.
72454 2011-09-05  David S. Miller  <davem@davemloft.net>
72456         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
72457         stack slot, rather than the struct return pointer slot.
72458         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
72459         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
72460         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
72461         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
72463 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
72465         * po/ja.po: Update from translation team.
72467         [BZ #13144]
72468         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
72469         kernel in 64-bit binaries.
72471 2011-09-01  David S. Miller  <davem@davemloft.net>
72473         * elf/elf.h (HWCAP_SPARC_*): Move to..
72474         * sysdeps/sparc/sysdep.h: this new file and add new values.
72475         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
72476         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
72477         _DL_HWCAP_COUNT to 24.
72478         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
72479         entries.
72480         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
72481         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
72482         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
72483         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
72484         instead of magic constants.
72485         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
72487 2011-08-31  David S. Miller  <davem@davemloft.net>
72489         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
72490         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
72491         Reimplement to do errno handling inline.
72492         (SYSCALL_ERROR_HANDLER): New macro.
72493         (__SYSCALL_STRING): Do not do errno handling in asm.
72494         (__CLONE_SYSCALL_STRING): Delete.
72495         (__INTERNAL_SYSCALL_STRING): Delete.
72496         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
72497         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
72498         (PSEUDO): Reimplement to do errno handling inline.
72499         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
72500         (SYSCALL_ERROR_HANDLER): New macro.
72501         (__SYSCALL_STRING): Do not do errno handling in asm.
72502         (__CLONE_SYSCALL_STRING): Delete.
72503         (__INTERNAL_SYSCALL_STRING): Delete.
72504         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
72505         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
72506         i386.
72507         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
72508         (inline_syscall*): Add 'err' argument.
72509         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
72510         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
72511         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
72512         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
72514         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
72515         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
72517 2011-08-30  Andreas Schwab  <schwab@redhat.com>
72519         * elf/rtld.c (dl_main): Relocate objects in dependency order.
72521 2011-08-29  Jiri Olsa <jolsa@redhat.com>
72523         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
72524         directive.
72526 2011-08-24  David S. Miller  <davem@davemloft.net>
72528         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
72530 2011-08-24  Andreas Schwab  <schwab@redhat.com>
72532         * elf/Makefile: Add rules to build and run unload8 test.
72533         * elf/unload8.c: New file.
72534         * elf/unload8mod1.c: New file.
72535         * elf/unload8mod1x.c: New file.
72536         * elf/unload8mod2.c: New file.
72537         * elf/unload8mod3.c: New file.
72539         * elf/dl-close.c (_dl_close_worker): Reset private search list if
72540         it wasn't used.
72542 2011-08-23  David S. Miller  <davem@davemloft.net>
72544         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
72545         subtract stack bias.
72546         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
72547         %sp not %fp in calculations.
72548         (_JMPBUF_UNWINDS_ADJ): Likewise.
72550         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
72551         (aio_suspend): Call it to force an exception region around the
72552         AIO_MISC_WAIT() invocation.
72554 2011-08-23  Andreas Schwab  <schwab@redhat.com>
72556         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
72557         backslash.
72559 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
72561         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
72562         protection macro.
72563         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
72564         and <dl-machine.h>.
72565         (Elf64_FuncDesc): Remove.
72567 2011-08-22  David S. Miller  <davem@davemloft.net>
72569         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
72570         sigaltstack check, add missing cfi directives.
72571         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
72572         missing cfi directives, and sigaltstack handling.
72574 2011-08-16  Andreas Schwab  <schwab@redhat.com>
72576         [BZ #11724]
72577         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
72578         object is seen twice.
72579         * elf/dl-fini.c (_dl_sort_fini): Likewise.
72581         * elf/Makefile (distribute): Add tst-initorder2.c.
72582         (tests): Add tst-initorder2.
72583         (modules-names): Add tst-initorder2a tst-initorder2b
72584         tst-initorder2c tst-initorder2d.  Add rules to build them.
72585         ($(objpfx)tst-initorder2.out): New rule.
72586         * elf/tst-initorder2.c: New file.
72587         * elf/tst-initorder2.exp: New file.
72589 2011-08-22  Andreas Schwab  <schwab@redhat.com>
72591         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
72593         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
72594         dependencies back to end of function.
72596         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
72597         $(elfobjdir)/ld.so.
72599 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
72601         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
72602         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
72603         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
72604         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
72605         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
72606         of __vdso_gettimeofday.
72607         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
72608         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
72609         attribute_hidden.
72610         (_libc_vdso_platform_setup): Remove initialization of
72611         __vdso_gettimeofday and __vdso_time.
72613 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
72615         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
72616         and fgetc_unlocked.
72617         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
72618         getc_unlocked.
72620         * elf/dl-open.c (add_to_global): Report additions to the global scope
72621         for LD_DEBUG=scopes.
72622         (dl_open_worker): Also print scope of newly loaded dependencies.
72623         (_dl_show_scope): Indicate if there is no scope.
72625         [BZ #13114]
72626         * stdio-common/Makefile (tests): Add bug24.
72627         * stdio-common/bug24.c: New file.
72629 2011-08-19  Andreas Jaeger  <aj@suse.de>
72631         [BZ #13114]
72632         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
72633         non-existant file when using close-on-exec mode.
72635 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
72637         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
72638         the very first instruction.
72640         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
72641         the CFI state in the end.
72642         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
72643         inclusion of dl-trampoline.h.
72644         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
72646 2011-08-19  Andreas Schwab  <schwab@redhat.com>
72648         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
72649         expectations for long double.
72651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
72652         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
72654 2011-08-14  David S. Miller  <davem@davemloft.net>
72656         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
72657         artificual limit depends upon the system page size.
72659 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
72661         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
72662         * resolv/Makefile: Define CFLAGS-libresolv.
72664 2011-08-17  Andreas Schwab  <schwab@redhat.com>
72666         * nss/makedb.c (compute_tables): Make variables used in nested
72667         function static.
72669 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
72671         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
72672         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
72673         if buffer was too small.
72675         * elf/pldd.c (main): Attach to all threads in the process.
72676         Rewrite /proc handling to use *at functions.
72678 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
72680         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
72681         specifies first scope to show.
72682         (dl_open_worker): Update callers.  Move printing scope of new
72683         object to before the relocation.
72684         * elf/rtld.c (dl_main): Update _dl_show_scope call.
72685         * sysdeps/generic/ldsodefs.h: Update declaration.
72687         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
72688         string for the scope number.
72690 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
72692         * nscd/servicescache.c (cache_addserv): Make sure written is always
72693         initialized.
72695 2011-08-14  Roland McGrath  <roland@hack.frob.com>
72697         * sysdeps/i386/i486/bits/atomic.h
72698         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
72699         statement expression, so as to suppress "set but not used" warning.
72700         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
72702         * string/strncat.c (STRNCAT): Use prototype definition.
72704         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
72705         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
72706         -Iprograms here.
72707         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
72708         (localedef-modules): Add localedef.
72709         (locale-modules): Add locale.
72711         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
72712         * elf/rtld.c (dl_main): Invert order of assignment in last change,
72713         to avoid a warning.
72715 2011-08-14  David S. Miller  <davem@davemloft.net>
72717         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
72718         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
72720 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
72722         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
72723         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
72724         * elf/rtld.c (dl_main): Set l_name of vDSO.
72725         Call _dl_show_scope when DL_DEBUG_SCOPES.
72726         (process_dl_debug): Recognize scopes flag and also set it for all.
72727         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
72728         Declare _dl_show_scope.
72730         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
72731         (do_dlopen): Pass caller_dlopen to dl_open.
72732         (__libc_dlopen_mode): Initialize caller_dlopen.
72734         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
72735         of libc.  Make tolower call locale-independent.  Optimize a bit by
72736         using isdigit instead of isalnum.
72737         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
72739 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
72741         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
72742         was a dependency or dynamically loaded.
72744 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
72746         * intl/l10nflist.c: Allow architecture-specific pop function.
72747         * sysdeps/x86_64/l10nflist.c: New file.
72749         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
72750         classification.
72752 2011-08-10  Andreas Schwab  <schwab@redhat.com>
72754         * include/dirent.h: Add libc_hidden_proto for scandirat and
72755         scandirat64.  Don't declare __scandirat64.
72756         * dirent/scandirat.c: Add libc_hidden_def.
72757         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
72758         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
72760 2011-08-10  David S. Miller  <davem@davemloft.net>
72762         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
72763         enum.
72764         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
72765         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
72766         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
72768 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
72770         * Versions.def [libc]: Add GLIBC_2.15.
72771         * dirent/Makefile (routines): Add scandirat and scandirat64.
72772         * dirent/Versions [libc]: Export scandirat and scandirat64 for
72773         GLIBC_2.15.
72774         * dirent/dirent.h: Declare scandirat and scandirat64.
72775         * dirent/scandirat.c: New file.
72776         * dirent/scandirat64.c: New file.
72777         * sysdeps/wordsize-64/scandirat.c: New file.
72778         * sysdeps/wordsize-64/scandirat64.c: New file.
72779         * dirent/opendir.c: Define opendirat.
72780         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
72781         using scandirat.
72782         * dirent/scandir64.c: Adjust for scandir.c change.
72783         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
72784         __scandirat64, and __scandir_cancel_handler.
72785         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
72786         additional parameter and use openat instead of open (outside of ld.so).
72787         Add new __opendir as wrapper around __opendirat.
72788         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
72789         here without requiring old scandirat implementation.
72791 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
72793         * dirent/scandir.c (cancel_handler): Renamed to
72794         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
72795         defined.  Adjust users.
72796         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
72797         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
72799 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
72801         * string/test-string.h (IMPL): Use __STRING to expand name and then
72802         stringify it.
72804         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
72805         of cleanups.
72807 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72809         * string/Makefile: Update.
72810         (strop-tests): Append strncat.
72811         * string/test-wcscmp.c: New file.
72812         New comprehensive test for wcscmp.
72813         * string/test-strcmp.c: Update.
72814         (WIDE): New define.
72816 2011-07-22  Andreas Schwab  <schwab@redhat.com>
72818         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
72819         line.
72821 2011-07-26  Andreas Schwab  <schwab@redhat.com>
72823         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
72824         encoding to ACE if AI_IDN.
72826 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
72828         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
72829         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
72831 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72833         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
72834         Fix overflow bug in strncat.
72835         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
72837         * string/test-strncat.c: Update.
72838         Add new tests for checking overflow bugs.
72840 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72842         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72843         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
72844         * sysdeps/i386/i686/multiarch/strcat.S: New file.
72845         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
72846         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
72847         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
72848         * sysdeps/i386/i686/multiarch/strncat.S: New file.
72849         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
72850         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
72852         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
72853         (USE_AS_STRCAT): Define.
72854         Add strcat and strncat support.
72855         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
72857 2011-07-25  Andreas Schwab  <schwab@redhat.com>
72859         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
72860         __n bigger than INT_MAX+1.
72861         (__strncmp_g): Likewise.
72863 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
72865         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
72866         * libio/stido.h: Likewise.
72868         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
72869         (AF_NFC): Define.
72870         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
72871         (AF_NFC): Define.
72873         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
72874         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
72875         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
72876         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
72877         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
72879         [BZ #13021]
72880         * scripts/test-installation.pl: Don't expect libnss_test1 to be
72881         installed.
72883         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
72884         typo.
72885         (_dl_x86_64_save_sse): Likewise.
72887 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
72889         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
72890         OSXSAVE.
72891         (_dl_x86_64_save_sse): Likewise.
72893         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
72895         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
72897 2011-07-21  Andreas Schwab  <schwab@redhat.com>
72899         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
72900         change.
72901         (_dl_x86_64_save_sse): Use correct AVX check.
72903 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72905         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
72906         bug in strncpy/strncat.
72907         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
72909 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
72911         * string/tester.c (test_strcat): Add tests for different alignments
72912         of source and destination.
72913         (test_strncat): Likewise.
72915 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
72917         [BZ #12852]
72918         * posix/glob.c (glob): Check passed in values before using them in
72919         expressions to avoid some overflows.
72920         (glob_in_dir): Likewise.
72922         [BZ #13007]
72923         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
72924         check for AVX enablement so that we don't crash with old kernels and
72925         new hardware.
72926         * elf/tst-audit4.c: Add same checks here.
72927         * elf/tst-audit6.c: Likewise.
72929         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
72931 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
72933         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
72935 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
72937         * po/cs.po: Update from translation team.
72938         * po/bg.po: Likewise.
72940 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
72942         * misc/sys/cdefs.h: Add support for const attribute.
72943         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
72944         to gnu_dev_{major,minor,makedev} functions.
72946 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
72948         * intl/dcigettext.c (get_output_charset): Add missing bracket.
72950 2011-07-20  Andreas Schwab  <schwab@redhat.com>
72952         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
72953         strlen results.
72955 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72957         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
72958         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
72959         register in order to avoid conflicts with the soft frame pointer
72960         being held in r11 when necessary.
72961         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
72962         (INTERNAL_VSYSCALL_NCS): Likewise.
72964 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
72966         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
72967         * elf/dl-fini.c (_dl_fini): Adjust caller.
72968         * elf/dl-close.c (_dl_close_worker): Likewise.
72969         * sysdeps/generic/ldsodefs.h: Adjust declaration.
72971 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
72973         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
72974         "aux_cache->nlibs < 0".
72976         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
72977         in the reload-count case.
72979 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72981         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72982         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
72983         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
72984         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
72985         * sysdeps/x86_64/multiarch/strcat.S: New file.
72986         * sysdeps/x86_64/multiarch/strncat.S: New file.
72987         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
72988         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
72989         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
72990         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
72991         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
72992         (USE_AS_STRCAT): Define.
72993         Add strcat and strncat support.
72994         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
72995         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
72996         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
72997         * string/strncat.c: Update.
72998         (USE_AS_STRNCAT): Define.
72999         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73000         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
73001         and i7.
73002         * sysdeps/x86_64/multiarch/init-arch.h
73003         (bit_Prefer_PMINUB_for_stringop): New.
73004         (index_Prefer_PMINUB_for_stringop): Likewise.
73005         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
73006         bit_Prefer_PMINUB_for_stringop.
73008 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
73010         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
73011         buffer64.
73012         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
73013         of casting of buffer.
73014         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
73015         buffer32 and buffer64.
73016         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
73017         writes instead of casting of buffer.
73018         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
73019         buffer32.
73020         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
73021         casting of buffer.
73023 2011-07-19  Andreas Schwab  <schwab@redhat.com>
73025         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
73027 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
73029         * nscd/nscd.c (termination_handler): Don't do anything for a database
73030         if it has not yet been initialized.
73032 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
73034         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
73036 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
73038         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
73040 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
73042         * po/nl.po: Update from translation team.
73043         * po/sv.po: Likewise.
73045 2011-07-16  Roland McGrath  <roland@hack.frob.com>
73047         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
73048         now disallowed by GCC.
73050         * configure.in (use-default-link): Default to yes if a test -shared
73051         link meets our qualifications.
73052         * configure: Regenerated.
73054         * config.make.in (output-format): New variable.
73055         * configure.in: Check for ld --print-output-format support.
73056         * configure: Regenerated.
73057         * Makerules ($(common-objpfx)format.lds)
73058         [$(output-format) != unknown]: Just use $(output-format),
73059         instead of the linker-script munging.
73061 2011-07-14  Roland McGrath  <roland@hack.frob.com>
73063         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
73064         of $(common-objpfx)shlib.lds.
73065         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
73067         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
73068         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
73070         * configure.in (-z relro check): Adjust test code to add a large
73071         writable data section after it.
73072         * configure: Regenerated.
73074 2011-07-11  Roland McGrath  <roland@hack.frob.com>
73076         * configure.in (-z relro check): Fix test code to make the variable
73077         truly const.
73078         * configure: Regenerated.
73080 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
73082         * nscd/nscd.h (struct traced_file): Define.
73083         (struct database_dyn): Remove inotify_descr, reset_res, and filename
73084         elements.  Add traced_files.
73085         (inotify_fd): Declare.
73086         (register_traced_file): Declare.
73087         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
73088         (inotify_fd): Export.
73089         (resolv_conf_descr): Remove.
73090         (nscd_init): Move inotify descriptor creation to main.
73091         Don't register files for notification here.
73092         (register_traced_file): New function.
73093         (invalidate_cache): Don't use reset_res to determine whether to call
73094         res_init, go through the list of registered files.
73095         (main_loop_poll): The inotify descriptors are now stored in the
73096         structures for the traced files.
73097         (main_loop_epoll): Likewise.
73098         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
73099         to __nss_disable_nscd.
73100         * nscd/cache.c (prune_cache): There is no single inotify descriptor
73101         for a database anymore.  Check the records for all the registered
73102         files instead.
73103         * nss/Makefile (libnss_files-routines): Add files-init.
73104         (libnss_db-routines): Add db-init.
73105         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
73106         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
73107         * nss/nss_db/db-init.c: New file.
73108         * nss/nss_files/files-init.c: New file.
73109         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
73110         __nss_lookup_function.
73111         (__nss_lookup_function): Call nss_load_library.
73112         (nss_load_all_libraries): New function.
73113         (__nss_disable_nscd): Take parameter with callback function for files
73114         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
73115         used for the cached services.
73116         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
73117         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
73118         options for features to all the files in nscd.
73120         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
73122 2011-07-10  Roland McGrath  <roland@hack.frob.com>
73124         * csu/elf-init.c (__libc_csu_init): Comment typo.
73126 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
73128         * po/pl.po: Update from translation team.
73129         * po/ja.po: Likewise.
73130         * po/ru.po: Likewise.
73131         * po/ko.po: Likewise.
73132         * po/fr.po: Likewise.
73134 2011-07-09  Roland McGrath  <roland@hack.frob.com>
73136         * configure.in (.ctors/.dtors header and trailer check):
73137         Use an empirical test on a built program.
73138         * configure: Regenerated.
73140         * configure.in (-z relro check): Use an empirical test on a built DSO.
73141         Detect, but do not require, on ia64.
73142         * configure: Regenerated.
73144         * configure.in (READELF): Find it with AC_CHECK_TOOL.
73145         Update tests that use readelf to use $READELF instead.
73146         * configure: Regenerated.
73148 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
73150         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
73151         if the result is not used.
73153 2011-07-05  Andreas Jaeger  <aj@suse.de>
73155         [BZ#9696]
73156         * stdlib/tst-strtod.c: Add testcase.
73158 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
73160         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
73161         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
73162         The latter has a higher limit.  Take additional parameter to pass to
73163         the new function.
73164         (__pathconf): Pass file to __statfs_link_max.
73165         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
73166         __statfs_link_max.
73167         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
73168         __statfs_link_max.
73170         [BZ #12868]
73171         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
73172         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
73173         Handle Lustre.
73174         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
73175         (__statfs_filesize_max): Likewise.
73176         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
73178 2011-07-05  Andreas Jaeger  <aj@suse.de>
73180         * resolv/res_comp.c (dn_skipname): Remove unused variable.
73182 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
73184         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
73185         `status' variable.
73186         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
73187         Likewise.
73189 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
73191         * Makefile (strop-tests): Add strncat.
73192         * string/test-strncat.c: New file.
73194 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
73196         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
73198 2011-06-21  Andreas Jaeger  <aj@suse.de>
73200         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
73201         Copy rule from iconvdata/Makefile.
73203 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
73205         [BZ #12922]
73206         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
73207         but no long options are defined, just return 'W'.
73209 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
73211         [BZ #9696]
73212         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
73214 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
73216         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
73217         netgroups to read.
73218         (innetgr): Likewise.
73220 2011-07-05  Roland McGrath  <roland@hack.frob.com>
73222         * config.make.in (install_root): Default to $(DESTDIR).
73224 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
73226         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
73228 2011-07-02  Roland McGrath  <roland@hack.frob.com>
73230         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
73232         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
73233         containing directory rather than embedding absolute directory names.
73235         * scripts/check-local-headers.sh: Rewritten using awk.
73236         Match by word, not by line.  Print error messages for matches.
73237         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
73239         * Makerules [shlib-lds-flags empty]:
73240         ($(common-objpfx)libc_pic.opts): New target.
73241         ($(common-objpfx)libc_pic.os.clean): New target.
73242         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
73244         * config.make.in (OBJCOPY): New variable.
73245         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
73246         * configure: Regenerated.
73248         * config.make.in (use-default-link): New variable.
73249         * configure.in (use_default_link): Grok --with-default-link to set it.
73250         * configure: Regenerated.
73251         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
73252         (shlib-lds, shlib-lds-flags): Define to empty.
73254         * Makerules (shlib-lds): New variable.
73255         (shlib-lds-flags): New variable.
73256         (build-shlib, build-moduile, build-module-asneeded): Use it.
73257         ($(common-objpfx)libc.so): Use $(shlib-lds).
73258         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
73259         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
73261         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
73262         DT_FLAGS/DT_FLAGS_1 with zero flags.
73264         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
73265         linker script munging.
73267 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
73269         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
73270         as 128-bit value.
73271         * crypt/sha512.c (sha512_process_block): Perform total addition using
73272         128-bit if possible.
73273         (__sha512_finish_ctx): Likewise.
73274         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
73275         as 64-bit value.
73276         * crypt/sha256.c (SWAP64): Define.
73277         (sha256_process_block): Perform total addition using 64-bit if
73278         possible.
73279         (__sha256_finish_ctx): Likewise.
73281 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
73283         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
73284         * nscd/initgrcache.c (addinitgroupsX): Likewise.
73285         * nscd/hstcache.c (cache_addhst): Likewise.
73286         * nscd/grpcache.c (cache_addgr): Likewise.
73287         * nscd/aicache.c (addhstaiX): Likewise.
73288         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
73290 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
73292         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
73293         * nscd/initgrcache.c (addinitgroupsX): Likewise.
73294         * nscd/hstcache.c (cache_addhst): Likewise.
73295         * nscd/grpcache.c (cache_addgr): Likewise.
73296         * nscd/aicache.c (addhstaiX): Likewise.
73298 2011-07-01  Andreas Schwab  <schwab@redhat.com>
73300         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
73301         domain only when needed.
73303 2011-06-30  Andreas Schwab  <schwab@redhat.com>
73305         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
73306         is always restored.
73308 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
73310         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
73311         are re-adding the entry.
73312         * nscd/servicescache.c (cache_addserv): Likewise.
73314 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
73316         * sysdeps/generic/dl-irel.h: fix protection against multiple
73317         inclusions.
73318         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
73320 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
73322         [BZ #12935]
73323         * malloc/memusage.sh: Fix quoting in message.
73324         * debug/xtrace.sh: Likewise.
73326         * configure.in: Remove support for --experimental-malloc option, make
73327         it the default.
73328         * config.make.in: Likewise.
73329         * malloc/Makefile: Likewise.
73331 2011-06-27  Andreas Schwab  <schwab@redhat.com>
73333         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
73334         two-byte characters.
73336 2011-06-27  Roland McGrath  <roland@hack.frob.com>
73338         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
73339         AC_CACHE_CHECK invocation.
73340         * configure: Regenerated.
73342         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
73344 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
73346         [BZ #12350]
73347         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
73348         bit from old_res_options.
73350         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
73352         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
73353         value type for setfct.
73355 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
73357         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
73358         __gettimeofday instead of gettimeofday.
73360 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
73362         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
73364 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
73366         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
73368         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
73369         info.
73371 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
73373         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73374         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
73375         strcpy-sse2-unaligned strncpy-sse2-unaligned
73376         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
73377         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
73378         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
73379         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
73380         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
73381         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
73382         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
73383         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
73384         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
73385         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
73386         (STRCPY): Support SSE2 and SSSE3 versions.
73388 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
73390         [BZ #12874]
73391         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
73392         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
73393         kernels which artificially limit size of requests.
73395 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
73397         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73398         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
73399         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
73400         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
73401         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
73402         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
73403         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
73404         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
73405         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
73406         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
73407         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
73408         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
73409         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
73410         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
73411         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
73412         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73413         Enable unaligned load optimization for Intel Core i3, i5 and i7
73414         processors.
73415         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
73416         Define.
73417         (index_Fast_Unaligned_Load): Define.
73418         (HAS_FAST_UNALIGNED_LOAD): Define.
73420 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
73422         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
73424 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
73426         [BZ #12907]
73427         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
73428         until it is clear that the information is realy needed.
73429         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
73431 2011-06-22  Andreas Schwab  <schwab@redhat.com>
73433         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
73435 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
73437         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
73438         /sys/devices/system/cpu/online if it is usable.
73440         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
73441         reading the information from the /proc filesystem to once a second.
73443 2011-06-21  Andreas Jaeger  <aj@suse.de>
73445         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
73446         NULL after inclusion of kernel headers.
73448 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
73450         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
73451         calls to internal_setent.
73453         [BZ #12885]
73454         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
73455         addresses using gethostbyname4_r ignore IPv4 addresses.
73457         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
73458         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
73460         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
73462 2011-06-20  David S. Miller  <davem@davemloft.net>
73464         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
73465         inclusions.
73466         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
73468         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
73469         (elf_irel): Use it.
73470         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
73471         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
73472         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
73473         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
73474         * sysdeps/x86_64/dl-irel.h: Likewise.
73476         * elf/dl-runtime.c: Use elf_ifunc_invoke.
73477         * elf/dl-sym.c: Likewise.
73479 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
73481         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
73482         need to dereference resplen2.
73484 2011-06-14  Andreas Schwab  <schwab@redhat.com>
73486         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
73488 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
73490         * Makeconfig: Define vardbdir and inst_vardbdir.
73491         * nss/Makefile: Add rules to install db-Makefile.
73493         * nss/nss_db/db-XXX.c: Cleanup.
73495         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
73496         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
73497         GLIBC_PRIVATE.
73498         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
73499         * nss/makedb.c: Implement -g option to specify that value strings
73500         are generated and should not be added to table iterated over for
73501         get*ent calls.
73502         * nss/nss_db/db-initgroups.c: New file.
73504         * nss/getent.c: Add support for initgroups lookups through getgrouplist
73505         interface.
73507         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
73508         (internal_getgrouplist): Adjust to name change.
73509         Update use_initgroups_entry if this is not the first call.
73510         * nss/databases.def: Add initgroups entry.
73512         * nss/makedb.c (compute_tables): Check result of multiple hash table
73513         sizes to minimize maximum chain length.
73515 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
73517         * Versions.def: Add entry for libnss_db.
73518         * shlib-versions: Likewise.
73519         * nss/Makefile: Add rules to build libnss_db.
73520         * nss/Versions: Add libnss_db information.  Organize libnss_files
73521         entries better.
73522         * nss/db-Makefile: Add gshadow support.  Change rules for the new
73523         makedb progra.  Some minor improvements to generate smaller files.
73524         * nss/nss_db/nss_db.h: Move NSS database header data structures to
73525         here from...
73526         * nss/makedb.c: ...here.
73527         Improve database format to be smaller and require less memory at
73528         runtime.
73529         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
73530         db anymore.
73531         * nss/nss_db/db-netgrp.c: Likewise.
73532         * nss/nss_db/db-open.c: Likewise.
73533         * nss/nss_files/flies-XXX.x: Adjust comments.
73534         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
73535         * nss/nss_files/files-grp.c: Likewise.
73536         * nss/nss_files/files-hosts.c: Likewise.
73537         * nss/nss_files/files-network.c: Likewise.
73538         * nss/nss_files/files-proto.c: Likewise.
73539         * nss/nss_files/files-pwd.c: Likewise.
73540         * nss/nss_files/files-rpc.c: Likewise.
73541         * nss/nss_files/files-service.c: Likewise.
73542         * nss/nss_files/files-sgrp.c: Likewise.
73543         * nss/nss_files/files-spwd.c: Likewise.
73544         * nss/nss_db/db-alias.c: Removed.
73545         * nss/nss_db/dummy-db.h: Removed.
73547 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
73549         * nss/makedb.c: Rewritten to not use database library.
73550         * nss/Makefile: Update to build new makedb program.
73552 2011-06-14  Andreas Jaeger  <aj@suse.de>
73554         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
73555         memset declaration.
73557 2011-06-10  Andreas Schwab  <schwab@redhat.com>
73559         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
73560         tmpbuf.
73562 2011-06-10  Roland McGrath  <roland@hack.frob.com>
73564         * Makerules (shlib.lds): Fail if the linker script comes out empty.
73565         * elf/Makefile ($(objpfx)ld.so): Likewise.
73567         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
73568         Don't list ld.so twice in dependencies.
73570         * posix/bug-regex31.c: Include <stdlib.h>.
73572         * nscd/hstcache.c (cache_addhst): Remove unused variable.
73574         * nis/nss_compat/compat-spwd.c
73575         (getspent_next_nss_netgr): Remove unused variable.
73576         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
73578         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
73579         nonmembers" output to use the right array.
73581         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
73583         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
73585         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
73586         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
73587         * catgets/gencat.c (read_input_file): Likewise.
73588         * locale/programs/locarchive.c (enlarge_archive): Likewise.
73590         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
73591         variable definition inside #if's controlling its use.
73593         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
73595         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
73597         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
73599         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
73600         unreachable code.
73602         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
73604         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
73605         * configure: Regenerated.
73607         * Makerules: Revert last change.
73608         * elf/Makefile: Likewise.
73610 2011-06-09  Roland McGrath  <roland@hack.frob.com>
73612         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
73613         * elf/Makefile ($(objpfx)librtld.os): Likewise.
73614         (reloc-link): Likewise.
73616 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
73618         * elf/Makefile: Add rules to build pldd.
73619         * elf/pldd.c: New file.
73620         * elf/pldd-xx.c: New file.
73622 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
73624         * version.h: Update for 2.15 development version.
73626 2011-06-07  David S. Miller  <davem@davemloft.net>
73628         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
73629         ifuncs.
73630         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
73631         elf_machine_lazy_rel): Likewise.
73632         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
73633         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
73634         elf_machine_lazy_rel): Likewise.
73635         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
73636         dl_hwcap via passed in argument.
73637         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
73638         Likewise.
73640 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73642         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
73644 2011-06-06  Roland McGrath  <roland@hack.frob.com>
73646         [BZ #12849]
73647         * manual/fdl-1.1.texi: New file, verbatim from:
73648         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
73649         * manual/lgpl-2.1.texi: New file, verbatim from:
73650         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
73651         * manual/Makefile (licenses): New variable, list those new file names.
73652         (texis): Use it.
73653         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
73655         * manual/fdl.texi: File removed.
73656         * manual/lesser.texi: File removed.
73657         * manual/libc.texinfo (Copying, Documentation License):
73658         Use new @include file names, put @appendix directive before @include.
73660 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
73662         [BZ #12841]
73663         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
73664         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
73665         (mq_open): Add __NTH.
73667 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
73669         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73670         Assume Intel Core i3/i5/i7 processor if AVX is available.
73672 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
73674         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
73675         typo.
73677 2011-05-31  Andreas Schwab  <schwab@redhat.com>
73679         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
73680         memory.  Use alloca_account.  Fix memory leak when retrying.
73682 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
73684         * version.h (RELEASE): Bump for 2.14 release.
73685         * include/features.h (__GLIBC_MINOR__): Bump to 14.
73687         * config.make.in (RANLIB): Remove entry.
73689 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
73691         * po/Makefile (po-sed-cmd): Add ksh to extensions.
73692         (libc.pot): Work around missing support for .ksh extension in xgettext.
73694         [BZ #12684]
73695         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
73696         if both request failed.
73697         (send_dg): In case of server errors clear resplen or *resplen2.
73699         [BZ #12454]
73700         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
73701         when there are multiple maps.
73702         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
73703         (_dl_fini): Remove test here.
73705         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
73707 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
73709         [BZ #12350]
73710         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
73711         bit from old_res_options.
73712         (gaih_inet): Likewise.
73714         [BZ #11099]
73715         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
73716         as signed.
73718         * resolv/res_init.c (res_setoptions): Make the code more compact.
73720         [BZ #11558]
73721         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
73722         set RES_USEVC.
73724         [BZ #11634]
73725         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
73727         * malloc/malloc.h: Mark malloc hook variables as deprecated.
73729         [BZ #11781]
73730         * malloc/malloc.h: Declare malloc hook variables as volatile.
73732         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
73733         in last patch.
73735         [BZ #11799]
73736         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
73737         raise in the comment.
73738         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
73739         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
73740         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
73742 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
73744         [BZ #12811]
73745         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
73746         grow the buffers more if it already has to be sufficient.
73747         (build_wcs_upper_buffer): Likewise.
73748         * posix/regexec.c (check_matching): Likewise.
73749         (clean_state_log_if_needed): Likewise.
73750         (extend_buffers): Don't enlarge buffers beyond size of the input
73751         buffer.
73752         Patches mostly by Emil Wojak <emil@wojak.eu>.
73753         * posix/bug-regex32.c: New file.
73754         * posix/Makefile (tests): Add bug-regex32.
73756         * locale/findlocale.c (_nl_find_locale): Return right away if
73757         _nl_explode_name failed.
73758         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
73760         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
73762         * debug/xtrace.sh: Unify messages.
73763         * malloc/memusage.sh: Likewise.
73765         [BZ #12813]
73766         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
73767         time symbol from vDSO.  Substitute with vsyscall if not available.
73768         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
73769         __vdso_time.
73771         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
73772         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
73773         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
73774         Add sendmmsg and internal_sendmmsg.
73775         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
73776         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
73777         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
73779         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
73780         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
73781         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
73783 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
73785         [BZ #12813]
73786         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
73787         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
73788         available.
73789         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
73790         __vdso_getcpu.
73792         [BZ #12814]
73793         * iconvdata/Makefile (tests): Add bug-iconv9.
73794         * iconvdata/bug-iconv9.c: New file.
73796 2011-05-27  Andreas Schwab  <schwab@redhat.com>
73798         [BZ #12814]
73799         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
73801 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
73803         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
73804         (struct user_regs_struct): Change intcs field back to cs.
73806 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
73808         * po/ja.po: Update from translation team.
73810 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
73812         [BZ #12795]
73813         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
73814         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
73816 2011-05-20  Andreas Schwab  <schwab@redhat.com>
73818         * stdlib/longlong.h: Update from GCC.
73820 2011-05-23  Andreas Schwab  <schwab@redhat.com>
73822         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
73823         parameter name.
73824         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
73825         Add parameter name.
73826         (__sysconf): Pass it down.
73828 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
73830         [BZ #12671]
73831         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
73832         some situations.
73833         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
73834         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
73835         add in in __libc_use_alloca calls.  Adjust callers.
73836         (glob): Use malloc in some situations.
73838         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
73839         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
73840         pltexit.
73842 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
73844         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
73845         and CLOCK_BOOTTIME_ALARM.
73847         [BZ #12782]
73848         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
73849         is returned.
73851         * string/_strerror.c (__strerror_r): Print negative errors as signed
73852         numbers.
73854         [BZ #12777]
73855         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
73856         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
73857         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
73859         * configure.in: Fix typo in redirection and correct removal of test
73860         files in two cases.
73862         [BZ #12788]
73863         * locale/setlocale.c (new_composite_name): Fix test to check for
73864         identical name of all categories.
73866         [BZ #12792]
73867         * libio/filedoalloc.c (local_isatty): New function.
73868         (_IO_file_doallocate): Use local_isatty.
73869         * stdio-common/perror.c (perror): In case a new stream is used
73870         forward the stream error.
73871         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
73872         error flag.
73874 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
73876         [BZ #11884]
73877         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
73878         alloca.
73879         * include/alloca.h (extend_alloca_account): Define.
73881         [BZ #11857]
73882         * posix/regex.h: Fix comments with documentation of user-accessible
73883         fields after compilation and describe correct free'ing of pattern
73884         after re_compile_pattern.
73885         Patch by Reuben Thomas <rrt@sc3d.org>.
73887 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
73889         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
73890         and -mno-altivec to prevent the compiler from using Altivec and/or
73891         VSX instructions when the corresponding registers are not available.
73893 2011-05-19  Andreas Schwab  <schwab@redhat.com>
73895         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
73897 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
73899         * libio/freopen.c (freopen): Use __dup2, not dup2.
73900         * libio/freopen64.c (freopen64): Likewise.
73902 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
73904         [BZ #12775]
73905         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
73906         * math/Makefile (tests): Add test-powl.
73907         (CFLAGS-test-powl.c): Define.
73908         * math/test-powl.c: New file.
73910 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73912         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
73914 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
73916         [BZ #11837]
73917         * iconvdata/gb18030.c: Update to GB18020-2005.
73919 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
73921         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
73922         RE_SYNTAX_POSIX_AWK): Update to match recent development.
73923         Patch by Aharon Robbins <arnold@skeeve.com>.
73925         [BZ #11892]
73926         * stdlib/putenv.c (putenv): Don't always create copy of the variable
73927         on the stack.
73929         [BZ #11895]
73930         * misc/pselect.c (__pselect): Handle timeout value errors hidden
73931         through underflows.
73933         [BZ #12766]
73934         * misc/error.c (error_at_line): Ensure file_name and old_file_name
73935         point to strings before performing equality test for error_one_per_line
73936         mode.
73938         [BZ #11697]
73939         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
73941         [BZ #11820]
73942         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
73943         (struct user_fpregs_struct): Avoid __uint*_t types.
73945         [BZ #6420]
73946         * malloc/mtrace.c (tr_where): Add additional parameter to point to
73947         symbol info.  Use it instead of calling _dl_addr locally.
73948         (lock_and_info): New function.
73949         (tr_freehook): Call lock_and_info and pass symbol info as additional
73950         parameter to tr_where.
73951         (tr_mallochook): Likewise.
73952         (tr_reallochook): Likewise.
73953         (tr_memalignhook): Likewise.
73955         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
73956         used and couldn't be at all thread-safe.
73958 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
73960         * libio/freopen.c (freopen): Don't close old file descriptor
73961         before the new one is opened.  Instead dup the new file descriptor
73962         to the old one after the new stream is created.
73963         * libio/freopen64.c (freopen64): Likewise.
73964         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
73965         * libio/fileops.c (_IO_new_file_close_it): Handle new
73966         _IO_FLAGS2_NOCLOSE flag.
73967         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
73968         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
73969         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
73970         _IO_FLAGS2_NOCLOSE flag.
73971         * include/unistd.h: Add hidden_proto for dup3.
73972         Define __have_dup3.
73973         * io/dup3.c: Define hidden symbol.
73974         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
73976         [BZ #7101]
73977         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
73978         when an incomplete long option is used.
73979         * posix/tst-getopt_long1.c: New file.
73980         * posix/Makefile (tests): Add tst-getopt_long1.
73982         [BZ #10138]
73983         * scripts/config.guess: Update from autoconf-2.68.
73984         * scripts/config.sub: Likewise.
73986         [BZ #10157]
73987         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
73988         tests into ...
73989         (has_cpuclock): ...this.  New function.
73990         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
73991         macro here based on has_cpuclock code.
73993         [BZ #10149]
73994         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73995         First byte (not low byte) is now always NUL.
73996         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
73998         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73999         Use non-cancelable interfaces.
74001         [BZ #9809]
74002         * locale/iso-639.def: Add entry for Sorani.
74004         [BZ #11901]
74005         * include/stdlib.h: Move include protection to the right place.
74006         Define abort_msg_s.  Declare __abort_msg with it.
74007         * stdlib/abort.c (__abort_msg): Adjust type.
74008         * assert/assert.c (__assert_fail_base): New function.  Majority
74009         of code from __assert_fail.  Allocate memory for __abort_msg with
74010         mmap.
74011         (__assert_fail): Now call __assert_fail_base.
74012         * assert/assert-perr.c: Remove bulk of implementation.  Use
74013         __assert_fail_base.
74014         * include/assert.hL Declare __assert_fail_base.
74015         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
74016         mmap.
74017         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
74019 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
74021         [BZ #11952]
74022         [BZ #12453]
74023         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
74024         until all modules are registered in the DTV.
74025         * elf/Makefile: Add rules to build and run tst-tls19.
74026         * elf/tst-tls19.c: New file.
74027         * elf/tst-tls19mod1.c: New file.
74028         * elf/tst-tls19mod2.c: New file.
74029         * elf/tst-tls19mod3.c: New file.
74030         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
74032         [BZ #12083]
74033         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
74034         correctly.
74036         [BZ #12601]
74037         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
74038         two-byte sequence errors.
74039         * iconvdata/Makefile (tests): Add bug-iconv8.
74040         * iconvdata/bug-iconv8.c: New file.
74042         [BZ #12626]
74043         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
74044         buf2 definition.
74046         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
74048         [BZ #12432]
74049         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
74050         (dummy_getcfa): New function.
74051         (init): Get _Unwind_GetCFA address, use dummy if not found.
74052         (backtrace_helper): In recursion check, also check whether CFA changes.
74053         (__backtrace): Completely initialize arg.
74055         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
74056         storing incomplete byte sequence in state object.  Avoid testing for
74057         guaranteed too small input if we know there is enough data available.
74059 2011-05-11  Andreas Schwab  <schwab@redhat.com>
74061         * Makeconfig (+link-pie): Indent.
74062         * Rules (binaries-pie): Define if $(have-fpie) and
74063         $(build-shared).
74064         (binaries-shared): Also filter out $(binaries-pie).
74065         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
74066         * nscd/Makefile (others-pie): Add nscd.
74067         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
74068         ($(objpfx)nscd): Remove command override.
74069         * login/Makefile (others-pie): Add pt_chown.
74070         ($(objpfx)pt_chown): Remove command override.
74071         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
74072         remove command overrides.
74074 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
74076         * libio/tst_putwc.c: Fix error messages.
74078         [BZ #12724]
74079         * libio/fileops.c (_IO_new_file_close_it): Always flush when
74080         currently writing and seek to current position when not.
74081         * libio/Makefile (tests): Add bug-fclose1.
74082         * libio/bug-fclose1.c: New file.
74084 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
74086         [BZ #12511]
74087         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
74088         don't set DF_1_NODELETE here.
74089         (do_lookup_x): When entering new entry test for copy relocation
74090         and if necessary set DF_1_NODELETE flag.
74091         * elf/tst-unique4.cc: New file.
74092         * elf/tst-unique4.h: New file.
74093         * elf/tst-unique4lib.cc: New file.
74094         * elf/Makefile: Add rules to build and run tst-unique4.
74095         Patch by Piotr Bury <pbury@goahead.com>.
74097 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
74099         [BZ #12052]
74100         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
74102         [BZ #12625]
74103         * misc/mntent_r.c (addmntent): Flush the stream after the output
74105         [BZ #12393]
74106         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
74107         (is_trusted_path_normalize): Skip initial colon.  Append slash
74108         to empty buffer.  Duplicate is_trusted_path code but allow
74109         constructed patch to be prefix.
74110         (is_dst): Allow $ORIGIN followed by /.
74111         (_dl_dst_substitute): Correct clearing of check_for_trusted.
74112         Correct testing of result of is_trusted_path_normalize
74113         (decompose_rpath): Fix warning.
74115 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
74117         [BZ #11257]
74118         * grp/initgroups.c (internal_getgrouplist): When we found the service
74119         list through the initgroups entry in nsswitch.conf do not always
74120         continue on a successful lookup.  Don't always use the
74121         __nss_group_database value if it is set.
74122         * nss/nsswitch.conf (initgroups): Change action for successful db
74123         lookup to continue for compatibility.
74125 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
74127         [BZ #11532]
74128         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
74129         and CP774 modules.
74130         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
74131         and CP774 modules.
74132         * iconvdata/tst-tables.sh: Likewise.
74133         * iconvdata/cp770.c: New file.
74134         * iconvdata/cp771.c: New file.
74135         * iconvdata/cp772.c: New file.
74136         * iconvdata/cp773.c: New file.
74137         * iconvdata/cp774.c: New file.
74138         * iconvdata/testdata/CP770: New file.
74139         * iconvdata/testdata/CP770..UTF8: New file.
74140         * iconvdata/testdata/CP771: New file.
74141         * iconvdata/testdata/CP771..UTF8: New file.
74142         * iconvdata/testdata/CP772: New file.
74143         * iconvdata/testdata/CP772..UTF8: New file.
74144         * iconvdata/testdata/CP773: New file.
74145         * iconvdata/testdata/CP773..UTF8: New file.
74146         * iconvdata/testdata/CP774: New file.
74147         * iconvdata/testdata/CP774..UTF8: New file.
74149         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
74150         END CHARMAP line.
74151         * iconvdata/gen-8bit-gap.sh: Likewise.
74152         * iconvdata/gen-8bit.sh: Likewise.
74154         * locale/iso-639.def: Add ary entry.
74156         [BZ #11258]
74157         * locale/C-translit.h.in: Add U20A1 transliteration.
74159         [BZ #12178]
74160         * locale/iso-639.def: Add wae entry.
74161         Patch by Kevin Bortis <bortis@translate-wae.ch>.
74163         [BZ #12545]
74164         * locale/programs/localedef.c (construct_output_path): Use ssize_t
74165         for n.
74167         [BZ #12711]
74168         * locale/C-translit.h.in: Add entry for U20B9.
74169         Patch by pravin.d.s@gmail.com.
74171 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
74173         [BZ #12713]
74174         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
74175         ENAMETOOLONG use generic getcwd.
74176         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
74177         in rtld.  Use *stat64.
74178         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
74179         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
74180         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
74181         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
74182         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
74183         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
74184         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
74185         __fstatat64 macros.
74186         * include/dirent.h: Add libc_hidden_proto for rewinddir.
74187         * dirent/rewinddir.c: Add libc_hidden_def.
74188         * sysdeps/mach/hurd/rewinddir.c: Likewise.
74189         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
74191         * include/dirent.h (__alloc_dir): Add flags parameter.
74192         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
74193         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
74194         __alloc_dir.
74195         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
74196         from fdopendir if O_CLOEXEC is already set.
74198 2011-03-15  Alan Modra  <amodra@gmail.com>
74200         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
74201         l_tls_firstbyte_offset non-zero.  Save padding offset in
74202         l_tls_firstbyte_offset for later use.
74203         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
74204         freeing static tls block.
74206 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
74208         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
74209         where #ifdef was intended.  The intent is to prevent ARG_MAX from
74210         being defined by the kernel headers.
74212 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
74214         [BZ #12734]
74215         * resolv/resolv.h: Define RES_NOTLDQUERY.
74216         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
74217         no-tld-query and set RES_NOTLDQUERY.
74218         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
74219         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
74220         modern BIND to search name as TLD unless forbidden.
74222 2011-05-07  Petr Baudis  <pasky@suse.cz>
74223             Ulrich Drepper  <drepper@gmail.com>
74225         [BZ #12393]
74226         * elf/dl-load.c (fillin_rpath): Move trusted path check...
74227         (is_trusted_path): ...to here.
74228         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
74229         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
74230         using is_trusted_path_normalize() in setuid scripts.
74232 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
74234         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
74235         __BEGIN/__END_DECLS.
74237 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
74239         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
74240         NSS_STATUS_NOTFOUND if no record was found.
74242 2011-05-05  Andreas Schwab  <schwab@redhat.com>
74244         * sunrpc/Makefile (headers): Add rpc/netdb.h.
74245         (headers-not-in-tirpc): Remove rpc/netdb.h
74246         * resolv/netdb.h: Revert last change.
74248 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
74250         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
74251         circular dependency between libgcc.a and libc.a.
74253 2011-05-05  Andreas Schwab  <schwab@redhat.com>
74255         * resolv/netdb.h: Don't include <rpc/netdb.h>.
74256         * nis/Makefile: Don't install rpcsvc/*.
74257         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
74258         instead of <rpc/types.h>.
74259         (MAXHOSTNAMELEN): Define.
74261 2011-05-03  Andreas Schwab  <schwab@redhat.com>
74263         * elf/ldconfig.c (add_dir): Don't crash on empty path.
74265 2011-04-28  Maciej Babinski  <mbabinski@google.com>
74267         [BZ #12714]
74268         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
74269         gethostbyname4_r when IPv6 results are possible.
74271 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
74273         [BZ #12723]
74274         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
74275         _PC_PIPE_BUF handling.
74277 2011-04-30  Bruno Haible  <bruno@clisp.org>
74279         [BZ #12717]
74280         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
74281         * resolv/netdb.h (getnameinfo): Change type of flags parameter
74282         to 'int'.
74283         * inet/getnameinfo.c (getnameinfo): Likewise.
74285 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
74287         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
74288         to groups setting in database lookup.
74289         * nss/nsswitch.conf: Add initgroups entry.
74291 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
74293         [BZ #12685]
74294         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
74295         mode string.
74296         Patch by Eric Blake <eblake@redhat.com>.
74298 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
74300         * sunrpc/Makefile (need-export-routines): Add svc_run.
74301         (routines): Remove svc_run.
74302         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
74303         * sunrpc/clnt_perr.c (clnt_perrno): Export.
74304         * sunrpc/svc_run.c (svc_run): Likewise.
74305         * sunrpc/svc_udp.c (svcudp_create): Likewise.
74307 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
74309         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
74310         problem in reallocation in last patch.
74312 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
74314         * sunrpc/Makefile: Move inclusion of Rules.
74316 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
74318         * nss/nss_files/files-initgroups.c: New file.
74319         * nss/Makefile (libnss_files-routines): Add files-initgroups.
74320         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
74321         _nss_files_initgroups_dyn.
74323 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
74325         * elf/elf.h (R_ARM_IRELATIVE): Define.
74327 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
74329         * po/ru.po: Update from translation team.
74331 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
74333         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
74334         dependencies.
74336 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
74338         [BZ #12653]
74339         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
74340         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
74341         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
74342         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
74343         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
74345 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
74347         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
74348         differing bytes.
74349         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
74350         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
74351         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
74353 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
74355         [BZ #12420]
74356         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
74357         storing it.
74358         * stdlib/bug-getcontext.c: New file.
74359         * stdlib/Makefile: Add rules to build and run bug-getcontext.
74361 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74363         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
74364         instructions into .machine "z9-109".
74365         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
74366         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
74368 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74370         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
74371         between environment variables and auxiliary vector.
74373 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
74375         * Makefile: Add rules to build linkobj/libc.so.
74376         * include/libc-symbols.h: Define libc_hidden_nolink.
74377         * include/rpc/auth.h: Mark functions which are to be hidden.
74378         * include/rpc/auth_des.h: Likewise.
74379         * include/rpc/auth_unix.h: Likewise.
74380         * include/rpc/clnt.h: Likewise.
74381         * include/rpc/des_crypt.h: Likewise.
74382         * include/rpc/key_prot.h: Likewise.
74383         * include/rpc/pmap_clnt.h: Likewise.
74384         * include/rpc/pmap_prot.h: Likewise.
74385         * include/rpc/pmap_rmt.h: Likewise.
74386         * include/rpc/rpc_msg.h: Likewise.
74387         * include/rpc/svc.h: Likewise.
74388         * include/rpc/svc_auth.h: Likewise.
74389         * include/rpc/xdr.h: Likewise.
74390         * nis/Makefile: Link all DSOs against linkobj/libc.so.
74391         * nss/Makefile: Likewise.
74392         * sunrpc/Makefile: Don't install headers.  Build library with normal
74393         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
74394         * sunrpc/auth_des.c: Hide exported symbols by default, export some
74395         for the compat linking library.  Remove use of INTDEF/INTUSE.
74396         * sunrpc/auth_none.c: Likewise.
74397         * sunrpc/auth_unix.c: Likewise.
74398         * sunrpc/authdes_prot.c: Likewise.
74399         * sunrpc/authuxprot.c: Likewise.
74400         * sunrpc/clnt_gen.c: Likewise.
74401         * sunrpc/clnt_perr.c: Likewise.
74402         * sunrpc/clnt_raw.c: Likewise.
74403         * sunrpc/clnt_simp.c: Likewise.
74404         * sunrpc/clnt_tcp.c: Likewise.
74405         * sunrpc/clnt_udp.c: Likewise.
74406         * sunrpc/clnt_unix.c: Likewise.
74407         * sunrpc/des_crypt.c: Likewise.
74408         * sunrpc/des_soft.c: Likewise.
74409         * sunrpc/get_myaddr.c: Likewise.
74410         * sunrpc/key_call.c: Likewise.
74411         * sunrpc/key_prot.c: Likewise.
74412         * sunrpc/netname.c: Likewise.
74413         * sunrpc/pm_getmaps.c: Likewise.
74414         * sunrpc/pm_getport.c: Likewise.
74415         * sunrpc/pmap_clnt.c: Likewise.
74416         * sunrpc/pmap_prot.c: Likewise.
74417         * sunrpc/pmap_prot2.c: Likewise.
74418         * sunrpc/pmap_rmt.c: Likewise.
74419         * sunrpc/publickey.c: Likewise.
74420         * sunrpc/rpc_cmsg.c: Likewise.
74421         * sunrpc/rpc_common.c: Likewise.
74422         * sunrpc/rpc_dtable.c: Likewise.
74423         * sunrpc/rpc_prot.c: Likewise.
74424         * sunrpc/rpc_thread.c: Likewise.
74425         * sunrpc/rtime.c: Likewise.
74426         * sunrpc/svc.c: Likewise.
74427         * sunrpc/svc_auth.c: Likewise.
74428         * sunrpc/svc_authux.c: Likewise.
74429         * sunrpc/svc_raw.c: Likewise.
74430         * sunrpc/svc_run.c: Likewise.
74431         * sunrpc/svc_simple.c: Likewise.
74432         * sunrpc/svc_tcp.c: Likewise.
74433         * sunrpc/svc_udp.c: Likewise.
74434         * sunrpc/svc_unix.c: Likewise.
74435         * sunrpc/svcauth_des.c: Likewise.
74436         * sunrpc/xcrypt.c: Likewise.
74437         * sunrpc/xdr.c: Likewise.
74438         * sunrpc/xdr_array.c: Likewise.
74439         * sunrpc/xdr_float.c: Likewise.
74440         * sunrpc/xdr_intXX_t.c: Likewise.
74441         * sunrpc/xdr_mem.c: Likewise.
74442         * sunrpc/xdr_rec.c: Likewise.
74443         * sunrpc/xdr_ref.c: Likewise.
74444         * sunrpc/xdr_sizeof.c: Likewise.
74445         * sunrpc/xdr_stdio.c: Likewise.
74447 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
74449         [BZ #12650]
74450         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
74451         * sysdeps/ia64/dl-tls.h: Likewise.
74452         * sysdeps/powerpc/dl-tls.h: Likewise.
74453         * sysdeps/s390/dl-tls.h: Likewise.
74454         * sysdeps/sh/dl-tls.h: Likewise.
74455         * sysdeps/sparc/dl-tls.h: Likewise.
74456         * sysdeps/x86_64/dl-tls.h: Likewise.
74457         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
74459 2011-03-14  Andreas Schwab  <schwab@redhat.com>
74461         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
74462         rpath element also skip the following colon.
74463         (expand_dynamic_string_token): Add is_path parameter and pass
74464         down to DL_DST_REQUIRED and _dl_dst_substitute.
74465         (decompose_rpath): Call expand_dynamic_string_token with
74466         non-zero is_path.  Ignore empty rpaths.
74467         (_dl_map_object_from_fd): Call expand_dynamic_string_token
74468         with zero is_path.
74470 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
74472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
74473         Make cancelable.
74475 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
74477         [BZ #12655]
74478         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
74479         Patch by Filipe David Manana <fdmanana@apache.org>.
74481 2011-04-07  Andreas Schwab  <schwab@redhat.com>
74483         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
74484         Maintain aligned stack.
74485         (CHECK_RSP): Remove unused macro.
74487 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
74489         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
74490         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
74492 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
74494         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
74496         * include/features.h: Mention __USE_XOPEN2K8 in comment.
74498 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
74500         [BZ #12518]
74501         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
74502         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
74503         * sysdeps/x86_64/memmove.c: New file.
74504         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
74505         (memcpy): Renamed to ...
74506         (__new_memcpy): This.
74507         (memcpy): Provide GLIBC_2_14 memcpy.
74508         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
74509         (memcpy): Provide GLIBC_2_2_5 memcpy.
74511 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
74513         [BZ #12631]
74514         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
74516 2011-03-30  Andreas Schwab  <schwab@redhat.com>
74518         * misc/syncfs.c: New file.
74519         * misc/Makefile (routines): Add syncfs.
74520         * posix/unistd.h: Declare syncfs.
74521         * sysdeps/unix/syscalls.list: Add syncfs.
74523 2011-04-01  Andreas Schwab  <schwab@redhat.com>
74525         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
74526         open_by_handle_at.
74527         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
74528         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
74529         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
74530         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
74531         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
74532         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
74533         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
74535 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
74537         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
74538         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
74539         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
74540         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
74541         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
74542         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
74543         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
74545         * io/Makefile: Compile fallocate.c, fallocate64.c, and
74546         sync_file_range.c with -fexceptions.
74547         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
74548         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
74549         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
74550         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
74551         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
74552         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
74553         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
74554         sync_file_range as cancellation point
74555         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
74556         now a wrapper around __call_sync_file_range with cancellation handling.
74557         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
74558         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
74559         function name to __call_sync_file_range.
74560         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
74561         Add call_sync_file_range.
74563 2011-04-01  Andreas Schwab  <schwab@redhat.com>
74565         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74566         bits/timex.h.
74568 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
74570         * iconv/iconv.h: Fix typo in comment.
74571         * io/fcntl.h: Likewise.
74572         * libio/stdio.h: Likewise.
74573         * posix/spawn.h: Likewise.
74574         * posix/unistd.h: Likewise.
74575         * stdlib/stdlib.h: Likewise.
74576         * time/time.h: Likewise.
74577         * wcsmbs/wchar.h: Likewise.
74579         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
74580         open_by_handle): Add.
74581         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
74582         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
74583         Augment a few comments.
74584         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
74585         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
74586         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
74587         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
74588         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
74589         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
74590         open_by_handle.
74592         * io/fcntl.h (AT_EMPTY_PATH): Define.
74594 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
74596         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
74597         * sysdeps/unix/sysv/linux/bits/time.h: New file.
74598         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
74599         to...
74600         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
74601         * Versions.def: Add GLIBC_2.14.
74602         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
74603         Export.
74605 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
74607         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
74608         round counter.
74609         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
74611 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
74613         [BZ #12597]
74614         * string/test-strncmp.c (do_page_test): New function.
74615         (check2): Likewise.
74616         (test_main): Call check2.
74617         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
74619 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
74621         [BZ #12587]
74622         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
74623         Handle cache information in CPU leaf 4.
74624         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
74626 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
74628         [BZ #12583]
74629         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
74630         character representation.
74631         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
74633 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
74635         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
74636         END(__isnan) to END(__isnanf) to match function entry point/label
74637         EALIGN(__isnanf,...).
74639 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
74641         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
74643 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
74645         [BZ #12510]
74646         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
74647         copy from the symbol referenced in the relocation to initialize the
74648         used variable.
74649         Patch by Piotr Bury <pbury@goahead.com>.
74650         * elf/Makefile: Add rules to build and tst-unique3.
74651         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
74652         * elf/tst-unique3.cc: New file.
74653         * elf/tst-unique3.h: New file.
74654         * elf/tst-unique3lib.cc: New file.
74655         * elf/tst-unique3lib2.cc: New file.
74657         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
74659 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
74661         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
74662         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
74663         to _start.
74665 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
74667         * elf/dl-load.c (_dl_map_object): If we are looking for the first
74668         to-be-loaded object along a path to loader is ld.so.
74670 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
74671             Ulrich Drepper  <drepper@gmail.com>
74673         * sysdeps/x86_64/memset.S: After aligning destination, code
74674         branches to different locations depending on the value of
74675         misalignment, when multiarch is enabled. Fix this.
74677 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
74679         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
74680         Set _x86_64_preferred_memory_instruction for AMD processsors.
74681         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74682         Set bit_Prefer_SSE_for_memop for AMD processors.
74684 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
74686         * libio/fmemopen.c (fmemopen): Optimize a bit.
74688 2011-03-03  Andreas Schwab  <schwab@redhat.com>
74690         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
74692 2011-03-03  Roland McGrath  <roland@redhat.com>
74694         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
74696 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
74698         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
74699         __bzero_ultra1 instead of __memset_ultra1.
74701 2011-02-23  Andreas Schwab  <schwab@redhat.com>
74702             Ulrich Drepper  <drepper@gmail.com>
74704         [BZ #12509]
74705         * include/link.h (struct link_map): Add l_orig_initfini.
74706         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
74707         returning unsuccessfully.
74708         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
74709         close of a file loaded at startup, restore the original l_initfini
74710         list.
74711         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
74712         list, store the pointer.
74713         * elf/Makefile ($(objpfx)noload-mem): New rule.
74714         (noload-ENV): Define.
74715         (tests): Add $(objpfx)noload-mem.
74716         * elf/noload.c: Include <memcheck.h>.
74717         (main): Call mtrace.  Close all opened handles.
74719 2011-02-17  Andreas Schwab  <schwab@redhat.com>
74721         [BZ #12454]
74722         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
74723         dependencies are missing.
74725 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74727         Fix __if_freereq crash: Unlike the generic version which uses free,
74728         Hurd needs munmap.
74729         * sysdeps/mach/hurd/ifreq.h: New file.
74731 2011-01-27  Petr Baudis  <pasky@suse.cz>
74732             Ulrich Drepper  <drepper@gmail.com>
74734         [BZ 12445]#
74735         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
74736         to extend_alloca().
74737         * stdio-common/bug23.c: New file.
74738         * stdio-common/Makefile (tests): Add bug23.
74740 2010-09-28  Andreas Schwab  <schwab@redhat.com>
74741             Ulrich Drepper  <drepper@gmail.com>
74743         [BZ #12489]
74744         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
74745         before performing relro protection.  At old place add assertion
74746         to make sure nothing changed.
74748 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
74749             Glauber de Oliveira Costa  <glommer@gmail.com>
74751         * elf/elf.h: Add new ARM TLS relocs.
74753 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
74755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
74756         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
74757         cast from r3.
74758         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
74759         'tests' variable.
74760         * sysdeps/wordsize-64/tst-writev.c: New file.
74762 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
74764         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
74765         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
74766         insns in _dl_start to prevent a TOC reference before relocs are
74767         resolved.
74769 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
74771         [BZ #12469]
74772         * Makeconfig: Remove RANLIB definition.
74773         * Makerules: Don't use RANLIB.
74774         * aclocal.m4: Remove ranlib test.
74775         * configure.in: No need to check for ranlib.
74776         * elf/rtld-Rules: Don't use RANLIB.
74778 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74780         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
74781         protection macro.
74782         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
74783         inclusion protection macro.
74785         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
74786         SIGRTMIN and SIGRTMAX and print information in that case only when
74787         SIGRTMIN is defined.
74789 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
74791         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
74792         arginfo fn returning -1.
74794         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
74795         and thousands string is zero terminated.
74797 2011-02-03  Andreas Schwab  <schwab@redhat.com>
74799         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
74800         sysdeps/unix/sysv/linux/bits/socket.h.
74802 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74804         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
74805         (__CPU_COUNT): Remove old macros.
74806         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
74807         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
74808         (__CPU_ALLOC, __CPU_FREE): Add macros.
74809         (__sched_cpualloc, __sched_cpufree): Add declarations.
74811 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
74813         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
74814         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
74815         * nscd/aicache.c (addhstaiX): Return timeout of added value.
74816         (readdhstai): Return value of addhstaiX call.
74817         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
74818         (addgrbyX): Return value returned by cache_addgr.
74819         (readdgrbyname): Return value returned by addgrbyX.
74820         (readdgrbygid): Likewise.
74821         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
74822         (addpwbyX): Return value returned by cache_addpw.
74823         (readdpwbyname): Return value returned by addhstbyX.
74824         (readdpwbyuid): Likewise.
74825         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
74826         (addservbyX): Return value returned by cache_addserv.
74827         (readdservbyname): Return value returned by addservbyX:
74828         (readdservbyport): Likewise.
74829         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
74830         (addhstbyX): Return value returned by cache_addhst.
74831         (readdhstbyname): Return value returned by addhstbyX.
74832         (readdhstbyaddr): Likewise.
74833         (readdhstbynamev6): Likewise.
74834         (readdhstbyaddrv6): Likewise.
74835         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
74836         (readdinitgroups): Return value returned by addinitgroupsX.
74837         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
74838         (prune_cache): Keep track of timeout value of re-added entries.
74839         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
74840         * nscd/nscd.h: Adjust prototypes of readd* functions.
74842 2011-02-04  Roland McGrath  <roland@redhat.com>
74844         * nis/nis_server.c (nis_servstate): Use the right name for 0.
74845         (nis_stats): Likewise.
74846         * nis/nis_modify.c (nis_modify): Likewise.
74847         * nis/nis_remove.c (nis_remove): Likewise.
74848         * nis/nis_add.c (nis_add): Likewise.
74850         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
74852         * posix/fnmatch_loop.c: Add some consts.
74854         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
74856 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
74858         [BZ #12460]
74859         * config.make.in (config-cflags-novzeroupper): Define.
74860         * configure.in: Substitute libc_cv_cc_novzeroupper.
74861         * elf/Makefile (AVX-CFLAGS): Define.
74862         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
74863         (CFLAGS-tst-auditmod4a.c): Likewise.
74864         (CFLAGS-tst-auditmod4b.c): Likewise.
74865         (CFLAGS-tst-auditmod6b.c): Likewise.
74866         (CFLAGS-tst-auditmod6c.c): Likewise.
74867         (CFLAGS-tst-auditmod7b.c): Likewise.
74868         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
74870 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
74872         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
74873         function to the callback.
74874         Patch partly by Jiri Olsa <jolsa@redhat.com>.
74876 2011-02-02  Andreas Schwab  <schwab@redhat.com>
74878         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
74879         of errno.
74881 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
74883         [BZ #11724]
74884         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
74885         of constructors.
74886         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
74887         of destructors.
74888         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
74890         [BZ #11724]
74891         * elf/Makefile: Add rules to build and run new test.
74892         * elf/tst-initorder.c: New file.
74893         * elf/tst-initorder.exp: New file.
74894         * elf/tst-initordera1.c: New file.
74895         * elf/tst-initordera2.c: New file.
74896         * elf/tst-initordera3.c: New file.
74897         * elf/tst-initordera4.c: New file.
74898         * elf/tst-initorderb1.c: New file.
74899         * elf/tst-initorderb2.c: New file.
74900         * elf/tst-order-a1.c: New file.
74901         * elf/tst-order-a2.c: New file.
74902         * elf/tst-order-a3.c: New file.
74903         * elf/tst-order-a4.c: New file.
74904         * elf/tst-order-b1.c: New file.
74905         * elf/tst-order-b2.c: New file.
74906         * elf/tst-order-main.c: New file.
74907         New test case by George Gensure <werkt0@gmail.com>.
74909 2010-10-01  Andreas Schwab  <schwab@redhat.com>
74911         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
74912         decoding ACE if AI_CANONIDN.
74914 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
74916         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
74918 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
74920         * version.h (RELEASE): Bump for 2.13 release.
74921         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
74923         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
74925         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
74926         MADV_NOHUGEPAGE.
74927         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
74928         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
74929         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
74930         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
74931         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
74932         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
74934         * posix/getconf.c: Update copyright year.
74935         * catgets/gencat.c: Likewise.
74936         * csu/version.c: Likewise.
74937         * debug/catchsegv.sh: Likewise.
74938         * debug/xtrace.sh: Likewise.
74939         * elf/ldconfig.c: Likewise.
74940         * elf/ldd.bash.in: Likewise.
74941         * elf/sprof.c (print_version): Likewise.
74942         * iconv/iconv_prog.c: Likewise.
74943         * iconv/iconvconfig.c: Likewise.
74944         * locale/programs/locale.c: Likewise.
74945         * locale/programs/localedef.c: Likewise.
74946         * malloc/memusage.sh: Likewise.
74947         * malloc/mtrace.pl: Likewise.
74948         * nscd/nscd.c (print_version): Likewise.
74949         * nss/getent.c: Likewise.
74951         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
74952         PF_CAIF, and PF_ALG.
74953         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74955 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
74957         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
74958         (modules-names): Use them.
74959         (ifunc-test-modules, ifunc-pie-tests): Define.
74960         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
74961         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
74962         (test-extras): Likewise.
74963         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
74964         $(compile-command.c).
74965         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
74966         (all-built-dso): Define.
74967         (check-textrel.out, check-execstack.out): Depend on it.
74969         * configure.in: Don't override --enable-multi-arch.
74971 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
74973         [BZ #6812]
74974         * nscd/hstcache.c (tryagain): Define.
74975         (cache_addhst): Return tryagain not notfound for temporary errors.
74976         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
74977         failed.
74979 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
74981         [BZ #10563]
74982         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
74983         to make the syscall.
74984         * sysdeps/unix/sysv/linux/setgroups.c: New file.
74986         [BZ #12378]
74987         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
74988         and fall back to matching as normal character if the string ends before
74989         the matching ']' is found.  This is what POSIX requires.
74990         * posix/testfnm.c: Adjust test result.
74991         * posix/globtest.sh: Adjust test result.  Add new test.
74992         * posix/tst-fnmatch.input: Likewise.
74993         * posix/tst-fnmatch2.c: Add new test.
74995 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
74997         * elf/Makefile (check-execstack): Revert last change.  Depend on
74998         check-execstack.h.
74999         (check-execstack.h): New target.
75000         (generated): Add check-execstack.h.
75001         * elf/check-execstack.c: Include "check-execstack.h".
75002         (main): Revert last change.
75003         (handle_file): Return zero if GNU_STACK is absent and
75004         DEFAULT_STACK_PERMS doesn't include PF_X.
75006 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
75008         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
75009         in child fails because the descriptor is already closed.
75010         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
75011         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
75012         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
75014         [BZ #12397]
75015         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
75016         syscall.
75018         [BZ #10484]
75019         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
75020         temporary buffer used to handle multi lookups locally.
75021         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
75023 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
75025         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
75026         loader is ld.so.
75028 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
75030         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
75031         alignment for SSE2.
75033 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
75035         [BZ #12394]
75036         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
75037         characters.  When rounding increased number of integer digits recompute
75038         number of groups.
75039         * stdio-common/tst-grouping.c: New file.
75040         * stdio-common/Makefile: Add rules to build and run tst-grouping.
75042 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
75044         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
75045         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
75047         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
75048         void.
75049         * bits/select.h: Likewise.
75051 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
75053         * po/ja.po: Update from translation team.
75055 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
75057         [BZ #11155]
75058         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
75059         implementation just like for lxstat, fxstatat, et al.
75061 2010-12-27  Jim Meyering  <meyering@redhat.com>
75063         [BZ #12348]
75064         * posix/regexec.c (build_trtable): Return failure indication upon
75065         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
75067 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
75069         [BZ #12201]
75070         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
75071         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
75072         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
75073         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
75075         [BZ #12207]
75076         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
75078         [BZ #12204]
75079         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
75080         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
75082 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
75084         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
75085         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
75086         script has SORT_BY_INIT_PRIORITY.
75087         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
75088         NO_CTORS_DTORS_SECTIONS is defined.
75089         * elf/soinit.c: Likewise.
75090         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
75091         NO_CTORS_DTORS_SECTIONS is defined.
75092         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
75093         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
75094         * sysdeps/sh/init-first.c: Likewise.
75095         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
75097 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
75099         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
75100         always use the slow path.
75102 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
75104         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
75105         similar rule which adds the sysdep directories to the header search in
75106         order to pick up the correct platform stackinfo.h.
75107         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
75108         perform test if it is, otherwise return successfully without testing.
75109         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
75110         DEFAULT_STACK_PERMS define in stackinfo.h.
75111         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
75112         defined in stackinfo.h.
75113         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
75114         DEFAULT_STACK_PERMS defined in stackinfo.h.
75115         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
75116         * sysdeps/ia64/stackinfo.h: Likewise.
75117         * sysdeps/s390/stackinfo.h: Likewise.
75118         * sysdeps/sh/stackinfo.h: Likewise.
75119         * sysdeps/sparc/stackinfo.h: Likewise.
75120         * sysdeps/x86_64/stackinfo.h: Likewise.
75121         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
75122         PF_X for powerpc64.  Retain PF_X for powerpc32.
75124 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
75126         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
75127         accurately.
75128         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
75129         GETDENTS_64BIT_ALIGNED.
75131 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
75133         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
75135 2010-12-10  Andreas Schwab  <schwab@redhat.com>
75137         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
75138         _GNU_SOURCE.
75140         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
75141         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
75142         Remove __restrict.
75143         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
75144         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
75146 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
75148         [BZ #11655]
75149         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
75150         are initialized.
75152 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
75154         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
75156 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
75158         * po/it.po: Update from translation team.
75160 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
75162         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
75163         unused codes.
75165 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
75167         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
75169 2010-11-24  Andreas Schwab  <schwab@redhat.com>
75171         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
75172         specially.
75173         (gaih_getanswer_slice): Likewise.
75175 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
75177         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
75179 2010-05-31  Petr Baudis  <pasky@suse.cz>
75181         [BZ #11149]
75182         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
75183         silently even in the chroot mode.
75185 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
75187         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
75188         last patch a bit.  Pretty printing
75190 2010-05-31  Petr Baudis <pasky@suse.cz>
75192         [BZ #10085]
75193         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
75194         initialization of skip_initgroups_dyn.
75196 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
75198         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
75199         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
75201 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
75203         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
75205 2010-11-11  Andreas Schwab  <schwab@redhat.com>
75207         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
75208         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
75209         (tst-fnmatch-ENV): Set MALLOC_TRACE.
75210         ($(objpfx)tst-fnmatch-mem): New rule.
75211         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
75212         * posix/tst-fnmatch.c (main): Call mtrace.
75214 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
75216         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75217         Support Intel processor model 6 and model 0x2c.
75219 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
75221         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
75222           signed comparison.
75224 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
75226         [BZ #12205]
75227         * string/test-strncasecmp.c (check_result): New function.
75228         (do_one_test): Use it.
75229         (check1): New function.
75230         (test_main): Use it.
75231         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
75232         Support strcasecmp and strncasecmp.
75234 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
75236         [BZ #12194]
75237         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
75238         * sysdeps/x86_64/bits/byteswap.h: Likewise.
75240 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
75242         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
75243         IFUNC support.
75244         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75245         memset-x86-64.
75246         * sysdeps/x86_64/multiarch/bzero.S: New file.
75247         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
75248         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
75249         * sysdeps/x86_64/multiarch/memset.S: New file.
75250         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
75251         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75252         Set bit_Prefer_SSE_for_memop for Intel processors.
75253         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
75254         Define.
75255         (index_Prefer_SSE_for_memop): Define.
75256         (HAS_PREFER_SSE_FOR_MEMOP): Define.
75258 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
75260         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
75261         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
75263 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
75265         [BZ #12191]
75266         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
75267         (__x86_64_raw_data_cache_size_half): Likewise.
75268         (__x86_64_raw_shared_cache_size): Likewise.
75269         (__x86_64_raw_shared_cache_size_half): Likewise.
75271         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
75272         (__x86_64_raw_data_cache_size_half): Likewise.
75273         (__x86_64_raw_shared_cache_size): Likewise.
75274         (__x86_64_raw_shared_cache_size_half): Likewise.
75275         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
75276         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
75277         and __x86_64_raw_shared_cache_size_half.  Round
75278         __x86_64_data_cache_size_half, __x86_64_data_cache_size
75279         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
75280         to multiple of 256 bytes.
75282 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
75284         [BZ #12167]
75285         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
75286         of inacessible symlinks.  Verify result of symlink before returning it.
75287         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
75288         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
75290 2010-10-28  Erich Ritz  <erichritz@gmail.com>
75292         * math/math.h (isinf): Fix typo in comment.
75294 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
75296         * po/da.po: Update from translation team.
75298 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
75300         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
75301         is added to the list.
75303 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75304             Ulrich Drepper  <drepper@gmail.com>
75306         * elf/dl-object.c (_dl_new_object): Don't append the new object to
75307         the global list here.  Move code to...
75308         (_dl_add_to_namespace_list): ...here.  New function.
75309         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
75310         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
75311         * elf/dl-load.c (lose): Don't remove the element from the list.
75312         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
75313         (_dl_map_object): Likewise.
75315 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
75317         [BZ #12159]
75318         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
75319         into all bytes of SSE register.
75320         Patch by Richard Li <richardpku@gmail.com>.
75322 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
75324         [BZ #12140]
75325         * malloc/malloc.c (_int_free): Fill correct number of bytes when
75326         perturbing.
75328 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
75330         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
75331         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
75332         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
75333         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
75334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
75335         submachine.
75336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
75338 2010-10-22  Andreas Schwab  <schwab@redhat.com>
75340         * include/dlfcn.h (__RTLD_SECURE): Define.
75341         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
75342         mode & __RTLD_SECURE instead.
75343         (open_path): Rename preloaded parameter to secure.
75344         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
75345         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
75346         * elf/dl-deps.c (openaux): Likewise.
75347         * elf/rtld.c (struct map_args): Remove is_preloaded.
75348         (map_doit): Don't use it.
75349         (dl_main): Likewise.
75350         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
75351         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
75353 2010-09-09  Andreas Schwab  <schwab@redhat.com>
75355         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
75356         (sysd-rules-targets): Remove duplicates.
75357         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
75358         rtld-%.$o dependency.
75360 2010-10-18  Andreas Schwab  <schwab@redhat.com>
75362         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
75363         _dl_map_object do it.
75365 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
75367         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
75368         fast fma builtins, define the macros in the C99 standard.
75369         (FP_FAST_FMAF): Likewise.
75370         (FP_FAST_FMAL): Likewise.
75371         * sysdeps/x86_64/bits/mathdef.h: Likewise.
75373         * bits/mathdef.h: Update copyright year.
75374         * sysdeps/powerpc/bits/mathdef.h: Likewise.
75376 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
75378         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
75379         builtins, define the macros in the C99 standard.
75380         (FP_FAST_FMAF): Likewise.
75381         (FP_FAST_FMAL): Likewise.
75382         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
75383         multiply/add.
75384         (FP_FAST_FMAF): Likewise.
75386 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
75388         [BZ #3268]
75389         * math/libm-test.inc (fma_test): Some new testcases.
75390         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
75391         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
75392         y and infinite z.  Do multiplication by C already in long double.
75393         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
75394         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
75395         y and infinite z.  Do bitwise or of inexact bit into u.d.
75396         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
75397         * sysdeps/i386/fpu/s_fmaf.S: Removed.
75398         * sysdeps/i386/fpu/s_fma.S: Removed.
75399         * sysdeps/i386/fpu/s_fmal.S: Removed.
75401 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
75403         [BZ #3268]
75404         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
75405         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
75406         computation is not scheduled after fetestexcept.  Fix value
75407         of minimum denormal long double.
75409 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
75411         [BZ #3268]
75412         * math/libm-test.inc (fma_test): Add some more tests.
75413         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
75414         correctly.
75416 2010-10-15  Andreas Schwab  <schwab@redhat.com>
75418         * scripts/data/localplt-s390-linux-gnu.data: New file.
75419         * scripts/data/localplt-s390x-linux-gnu.data: New file.
75421 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
75423         [BZ #3268]
75424         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
75425         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
75426         instead of dbl-64.
75427         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
75428         inlines.
75429         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
75430         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
75431         if one of x and y is very large and the other is subnormal.
75432         * sysdeps/s390/fpu/s_fmaf.c: New file.
75433         * sysdeps/s390/fpu/s_fma.c: New file.
75434         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
75435         * sysdeps/powerpc/fpu/s_fma.S: New file.
75436         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
75437         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
75438         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
75440 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
75442         [BZ #3268]
75443         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
75444         fma tests.
75445         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
75446         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
75447         * sysdeps/i386/i686/multiarch/s_fma.c: Include
75448         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
75449         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
75450         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
75451         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
75453 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
75455         [BZ #12078]
75456         * posix/regcomp.c (parse_branch): One more memory leak plugged.
75457         * posix/bug-regex31.input: Add test case.
75459 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
75461         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
75462         * posix/bug-regex31.input: New file.
75464         [BZ #12078]
75465         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
75466         (parse_sub_exp): Fix last change, use postorder.
75468         * posix/bug-regex31.c: New file.
75469         * posix/Makefile: Add rules to build and run bug-regex31.
75471         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
75473         [BZ #12078]
75474         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
75476         [BZ #12108]
75477         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
75478         to have entries in sys_siglist.
75480         [BZ #12093]
75481         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
75482         be NULL.
75484 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
75486         [BZ #3268]
75487         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
75488         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
75489         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
75490         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
75491         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
75492         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
75493         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
75494         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
75495         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
75496         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
75497         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
75498         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
75499         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
75500         * math/ftestexcept.c (fetestexcept): Likewise.
75501         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
75502         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
75503         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
75504         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
75505         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
75506         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
75507         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
75509 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
75511         [BZ #12107]
75512         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
75513         newline.
75515 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
75517         * string/bug-strstr1.c: New file.
75518         * string/Makefile: Add rules to build and run bug-strstr1.
75520 2010-10-05  Eric Blake  <eblake@redhat.com>
75522         [BZ #12092]
75523         * string/str-two-way.h (two_way_long_needle): Always clear memory
75524         when skipping input due to the shift table.
75526 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
75528         [BZ #12005]
75529         * malloc/mcheck.c: Handle large requests.
75531         [BZ #12077]
75532         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
75533         for strncmp and strncasecmp.
75534         * string/stratcliff.c: Add tests for strcmp and strncmp.
75535         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
75537 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
75539         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
75540         __set_fpscr.
75542 2010-09-30  Andreas Jaeger  <aj@suse.de>
75544         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
75545         (CGROUP_SUPER_MAGIC): Define.
75546         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
75547         Handle btrfs and cgroup file systems.
75548         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
75549         Likewise.
75551 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
75553         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
75554         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
75556 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75558         [BZ #12067]
75559         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
75560         trying to locate the ELF header.
75562 2010-09-27  Andreas Schwab  <schwab@redhat.com>
75564         [BZ #11611]
75565         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
75566         Mask out sign-bit copies when constructing f_fsid.
75568 2010-09-24  Petr Baudis <pasky@suse.cz>
75570         * debug/stack_chk_fail_local.c: Add missing licence exception.
75571         * debug/warning-nop.c: Likewise.
75573 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
75575         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
75576         implementing getdents64 using getdents syscall, set d_type if
75577         __ASSUME_GETDENTS32_D_TYPE.
75579 2010-09-16  Andreas Schwab  <schwab@redhat.com>
75581         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
75582         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
75584 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
75586         [BZ #12037]
75587         * posix/unistd.h: Undo change of feature selection for ftruncate from
75588         2010-01-11.
75590 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
75592         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
75593         detection.
75595 2010-09-20  Andreas Schwab  <schwab@redhat.com>
75597         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
75598         fanotify_mark.
75599         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
75601 2010-09-14  Andreas Schwab  <schwab@redhat.com>
75603         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
75604         variables after CHECK_SP call.
75605         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
75607 2010-09-13  Andreas Schwab  <schwab@redhat.com>
75608             Ulrich Drepper  <drepper@redhat.com>
75610         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
75611         re-relocationg ld.so.
75612         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
75613         _dl_init_paths call.
75614         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
75615         here anymore.
75617 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
75619         * resolv/res_init.c (__res_vinit): Count the default server we added.
75621 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
75622             Ulrich Drepper  <drepper@redhat.com>
75624         [BZ #11968]
75625         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
75626         (____longjmp_chk): Use %ebx for saving value across system call.
75627         Add unwind info.
75629 2010-09-06  Andreas Schwab  <schwab@redhat.com>
75631         * manual/Makefile: Don't mix pattern rules with normal rules.
75633 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
75635         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
75636         operation.
75637         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
75638         * libio/iofopncook.c (_IO_cookie_init): Likewise.
75639         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
75640         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
75641         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75642         Likewise.
75644 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
75646         [BZ #11979]
75647         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
75648         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
75650 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
75652         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
75653         * sysdeps/x86_64/addmul_1.S: Likewise.
75654         * sysdeps/x86_64/lshift.S: Likewise.
75655         * sysdeps/x86_64/mul_1.S: Likewise.
75656         * sysdeps/x86_64/rshift.S: Likewise.
75657         * sysdeps/x86_64/sub_n.S: Likewise.
75658         * sysdeps/x86_64/submul_1.S: Likewise.
75660 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75662         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
75663         Define __sched_param instead of SCHED_* and sched_param when
75664         <bits/sched.h> is included with __need_schedparam defined.
75665         * bits/sched.h [__need_schedparam]
75666         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
75667         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
75668         (__defined_schedparam): Define to 1.
75669         (__sched_param): New structure, identical to sched_param.
75670         (__need_schedparam): Undefine.
75672 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
75674         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
75675         (epoll_create1): Declare.
75677         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
75679 2010-08-31  Andreas Schwab  <schwab@redhat.com>
75681         [BZ #7066]
75682         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
75683         shifting retval into place.
75685 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
75687         * nis/rpcsvc/nis.h: Update copyright notice.
75688         * nis/rpcsvc/nis.x: Likewise.
75689         * nis/rpcsvc/nis_callback.h: Likewise.
75690         * nis/rpcsvc/nis_callback.x: Likewise.
75691         * nis/rpcsvc/nis_object.x: Likewise.
75692         * nis/rpcsvc/nis_tags.h: Likewise.
75693         * nis/rpcsvc/yp.h: Likewise.
75694         * nis/rpcsvc/yp.x: Likewise.
75695         * nis/rpcsvc/ypupd.h: Likewise.
75696         * nis/yp_xdr.c: Likewise.
75697         * nis/ypupdate_xdr.c: Likewise.
75699         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
75700         mainly the body of pmap_getport.  Add parameters to specify timeouts.
75701         (pmap_getport): Use __libc_rpc_getport.
75702         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
75703         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
75704         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
75706 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
75708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
75709         fanotify_mark.
75711 2010-08-27  Roland McGrath  <roland@redhat.com>
75713         * sysdeps/i386/i686/multiarch/Makefile
75714         (CFLAGS-varshift.c): New variable.
75716 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
75718         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
75719         * sysdeps/i386/i686/multiarch/varshift.c: New file.
75721         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
75723         * sysdeps/x86_64/strlen.S: Minimal code improvement.
75725 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
75727         * sysdeps/x86_64/strlen.S: Unroll the loop.
75728         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75729         strlen-sse2 strlen-sse2-bsf.
75730         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
75731         __strlen_no_bsf if bit_Slow_BSF is set.
75732         (__strlen_sse42): Removed.
75733         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
75734         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
75736 2010-08-25  Roland McGrath  <roland@redhat.com>
75738         * sysdeps/x86_64/multiarch/varshift.S: File removed.
75739         * sysdeps/x86_64/multiarch/varshift.c: New file.
75740         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
75741         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
75742         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
75743         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
75745 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
75747         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75748         strlen-sse2 strlen-sse2-bsf.
75749         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
75750         __strlen_sse2_bsf if bit_Slow_BSF is unset.
75751         (__strlen_sse2): Removed.
75752         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
75753         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
75754         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
75755         bit_Slow_BSF for Atom.
75756         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
75757         (index_Slow_BSF): Define.
75758         (HAS_SLOW_BSF): Define.
75760 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
75762         [BZ #10851]
75763         * resolv/res_init.c (__res_vinit): When no server address at all
75764         is given default to loopback.
75766 2010-08-24  Roland McGrath  <roland@redhat.com>
75768         * configure.in: Remove config-name.h generation.
75769         * configure: Regenerated.
75770         * config-name.in: File removed.
75771         * scripts/config-uname.sh: New file.
75772         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
75773         ($(objdir)config-name.h): New target.
75775         * sunrpc/rpc_parse.h: Avoid nested comment.
75777 2010-08-24  Richard Henderson  <rth@redhat.com>
75778             Ulrich Drepper  <drepper@redhat.com>
75779             H.J. Lu  <hongjiu.lu@intel.com>
75781         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
75782         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
75783         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
75784         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
75785         _mm_alignr_epi8 with _mm_loadu_si128.
75786         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
75787         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
75788         (__m128i_shift_right): Removed.
75789         * sysdeps/i386/i686/multiarch/varshift.h: New file.
75790         * sysdeps/i386/i686/multiarch/varshift.S: New file.
75791         * sysdeps/x86_64/multiarch/varshift.h: New file.
75792         * sysdeps/x86_64/multiarch/varshift.S: New file.
75794 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
75796         * configure.in: Move assembler checks to before sysdep dir checking.
75798 2010-08-20  Petr Baudis  <pasky@suse.cz>
75800         * LICENSES: Sync the sunrpc license.
75802 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
75804         * sunrpc/auth_des.c: Update copyright notice once again.
75805         * sunrpc/auth_none.c: Likewise.
75806         * sunrpc/auth_unix.c: Likewise.
75807         * sunrpc/authdes_prot.c: Likewise.
75808         * sunrpc/authuxprot.c: Likewise.
75809         * sunrpc/bindrsvprt.c: Likewise.
75810         * sunrpc/clnt_gen.c: Likewise.
75811         * sunrpc/clnt_perr.c: Likewise.
75812         * sunrpc/clnt_raw.c: Likewise.
75813         * sunrpc/clnt_simp.c: Likewise.
75814         * sunrpc/clnt_tcp.c: Likewise.
75815         * sunrpc/clnt_udp.c: Likewise.
75816         * sunrpc/clnt_unix.c: Likewise.
75817         * sunrpc/des_crypt.c: Likewise.
75818         * sunrpc/des_soft.c: Likewise.
75819         * sunrpc/get_myaddr.c: Likewise.
75820         * sunrpc/getrpcport.c: Likewise.
75821         * sunrpc/key_call.c: Likewise.
75822         * sunrpc/key_prot.c: Likewise.
75823         * sunrpc/openchild.c: Likewise.
75824         * sunrpc/pm_getmaps.c: Likewise.
75825         * sunrpc/pm_getport.c: Likewise.
75826         * sunrpc/pmap_clnt.c: Likewise.
75827         * sunrpc/pmap_prot.c: Likewise.
75828         * sunrpc/pmap_prot2.c: Likewise.
75829         * sunrpc/pmap_rmt.c: Likewise.
75830         * sunrpc/rpc/auth.h: Likewise.
75831         * sunrpc/rpc/auth_unix.h: Likewise.
75832         * sunrpc/rpc/clnt.h: Likewise.
75833         * sunrpc/rpc/des_crypt.h: Likewise.
75834         * sunrpc/rpc/key_prot.h: Likewise.
75835         * sunrpc/rpc/netdb.h: Likewise.
75836         * sunrpc/rpc/pmap_clnt.h: Likewise.
75837         * sunrpc/rpc/pmap_prot.h: Likewise.
75838         * sunrpc/rpc/pmap_rmt.h: Likewise.
75839         * sunrpc/rpc/rpc.h: Likewise.
75840         * sunrpc/rpc/rpc_des.h: Likewise.
75841         * sunrpc/rpc/rpc_msg.h: Likewise.
75842         * sunrpc/rpc/svc.h: Likewise.
75843         * sunrpc/rpc/svc_auth.h: Likewise.
75844         * sunrpc/rpc/types.h: Likewise.
75845         * sunrpc/rpc/xdr.h: Likewise.
75846         * sunrpc/rpc_clntout.c: Likewise.
75847         * sunrpc/rpc_cmsg.c: Likewise.
75848         * sunrpc/rpc_common.c: Likewise.
75849         * sunrpc/rpc_cout.c: Likewise.
75850         * sunrpc/rpc_dtable.c: Likewise.
75851         * sunrpc/rpc_hout.c: Likewise.
75852         * sunrpc/rpc_main.c: Likewise.
75853         * sunrpc/rpc_parse.c: Likewise.
75854         * sunrpc/rpc_parse.h: Likewise.
75855         * sunrpc/rpc_prot.c: Likewise.
75856         * sunrpc/rpc_sample.c: Likewise.
75857         * sunrpc/rpc_scan.c: Likewise.
75858         * sunrpc/rpc_scan.h: Likewise.
75859         * sunrpc/rpc_svcout.c: Likewise.
75860         * sunrpc/rpc_tblout.c: Likewise.
75861         * sunrpc/rpc_util.c: Likewise.
75862         * sunrpc/rpc_util.h: Likewise.
75863         * sunrpc/rpcinfo.c: Likewise.
75864         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
75865         * sunrpc/rpcsvc/key_prot.x: Likewise.
75866         * sunrpc/rpcsvc/klm_prot.x: Likewise.
75867         * sunrpc/rpcsvc/mount.x: Likewise.
75868         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
75869         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
75870         * sunrpc/rpcsvc/rex.x: Likewise.
75871         * sunrpc/rpcsvc/rstat.x: Likewise.
75872         * sunrpc/rpcsvc/rusers.x: Likewise.
75873         * sunrpc/rpcsvc/sm_inter.x: Likewise.
75874         * sunrpc/rpcsvc/spray.x: Likewise.
75875         * sunrpc/rpcsvc/yppasswd.x: Likewise.
75876         * sunrpc/rtime.c: Likewise.
75877         * sunrpc/svc.c: Likewise.
75878         * sunrpc/svc_auth.c: Likewise.
75879         * sunrpc/svc_authux.c: Likewise.
75880         * sunrpc/svc_raw.c: Likewise.
75881         * sunrpc/svc_run.c: Likewise.
75882         * sunrpc/svc_simple.c: Likewise.
75883         * sunrpc/svc_tcp.c: Likewise.
75884         * sunrpc/svc_udp.c: Likewise.
75885         * sunrpc/svc_unix.c: Likewise.
75886         * sunrpc/svcauth_des.c: Likewise.
75887         * sunrpc/xcrypt.c: Likewise.
75888         * sunrpc/xdr.c: Likewise.
75889         * sunrpc/xdr_array.c: Likewise.
75890         * sunrpc/xdr_float.c: Likewise.
75891         * sunrpc/xdr_mem.c: Likewise.
75892         * sunrpc/xdr_rec.c: Likewise.
75893         * sunrpc/xdr_ref.c: Likewise.
75894         * sunrpc/xdr_sizeof.c: Likewise.
75895         * sunrpc/xdr_stdio.c: Likewise.
75897         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
75898         handling.
75900 2010-08-19  Andreas Schwab  <schwab@redhat.com>
75902         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
75904 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
75906         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
75907         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
75908         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
75909         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
75910         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
75911         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
75912         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
75913         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
75914         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
75915         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
75916         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
75917         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
75918         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
75919         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
75921 2010-07-26  Anton Blanchard  <anton@samba.org>
75923         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
75924         * malloc/arena.c (heap_trim): Likewise.
75926 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
75928         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
75929         here.  Not...
75930         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
75931         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
75933 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
75935         * sysdeps/i386/elf/Makefile: New file.
75937 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
75939         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
75940         from fanotify_init.
75941         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
75942         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
75944 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
75946         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
75947         of strncasecmp_l.
75948         * sysdeps/multiarch/strcmp.S: Likewise.
75950 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
75952         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
75953         strncase_l-nonascii.
75954         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
75955         Add strncase_l-ssse3.
75956         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
75957         * sysdeps/x86_64/strcmp.S: Likewise.
75958         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
75959         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
75960         * sysdeps/x86_64/strncase.S: New file.
75961         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
75962         * sysdeps/x86_64/strncase_l.S: New file.
75963         * string/Makefile (strop-tests): Add strncasecmp.
75964         * string/test-strncasecmp.c: New file.
75966         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
75967         warning.
75969         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
75970         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
75972 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
75974         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
75976 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
75978         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
75979         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
75980         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
75982 2010-05-01  Alan Modra  <amodra@gmail.com>
75984         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
75985         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
75986         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
75987         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
75988         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
75989         tidying.  Don't tail-call __sigjmp_save for static lib.
75990         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
75991         save location.
75992         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
75993         (CALL_MCOUNT): Add eh info, and nop after bl.
75994         (TAIL_CALL_SYSCALL_ERROR): New macro.
75995         (PSEUDO_RET): Use it.
75996         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
75997         Correct save location of integer regs and cr.
75998         (_dl_profile_resolve): Correct cr save location.  Delete nops
75999         after bl when SHARED.  Reduce cfi size a little by better
76000         placement of cfi directives.
76001         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
76002         make a stack frame.  Instead use parm save area as a temp.
76003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
76004         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
76005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
76006         Don't make a stack frame for parent, use parm save area.
76007         Increase child stack frame to 112 bytes.  Don't save unused reg,
76008         and adjust reg usage.  Set up cfi on error recovery and
76009         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
76010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
76011         (__makecontext): Add dummy nop after jump to exit.
76012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
76013         Use correct parm save area and cr save, reduce stack frame.
76014         Correct cfi for possible PSEUDO_RET frame setup.
76015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
76016         Branch to local label emitted by PSEUDO_RET rather than
76017         __syscall_error.
76019 2010-08-12  Andreas Schwab  <schwab@redhat.com>
76021         [BZ #11904]
76022         * locale/programs/locale.c (print_assignment): New function.
76023         (show_locale_vars): Use it.
76025 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
76027         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
76028         field.
76029         (struct statfs64): Likewise.
76030         (_STATFS_F_FLAGS): Define.
76031         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
76032         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76033         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
76034         (ST_VALID): Define locally.
76035         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
76036         __statvfs_getflags, use the provided value.
76037         * sysdeps/unix/sysv/linux/kernel-features.h: Define
76038         __ASSUME_STATFS_F_FLAGS.
76040         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
76042         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
76043         Add sys/fanotify.h.
76044         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
76045         fanotify_mask for GLIBC_2.13.
76046         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
76047         fanotify_init and fanotify_mark.
76048         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
76049         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
76051         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
76052         Add prlimit.
76053         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
76054         prlimit64 for GLIBC_2.13.
76055         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
76056         prlimit64.
76057         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
76058         syscall.
76059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
76060         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
76061         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
76062         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
76063         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
76064         add prlimit alias.
76065         * sysdeps/unix/sysv/linux/prlimit.c: New file.
76067         [BZ #11903]
76068         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
76069         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
76071         * nss/Makefile: Add rules to build and run tst-nss-test1.
76072         * shlib-versions: Add entry for libnss_test1.
76073         * nss/nss_test1.c: New file.
76074         * nss/tst-nss-test1.c: New file.
76076         * nss/nsswitch.c (__nss_database_custom): Define new variable.
76077         (__nss_configure_lookup): Set appropriate entry in
76078         __nss_configure_lookup to true.
76079         * nss/nsswitch.h: Define enum with indeces of databases in
76080         databases and __nss_database_custom arrays.  Declare
76081         __nss_database_custom.
76082         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
76083         to avoid using nscd when custom rules are installed.
76084         * nss/getXXbyYY_r.c: Likewise.
76085         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
76087         * nss/nss_files/files-parse.c: Whitespace fixes.
76089 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
76091         [BZ #11883]
76092         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
76093         * posix/fnmatch_loop.c: Likewise.
76095 2010-07-17  Andi Kleen  <ak@linux.intel.com>
76097         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
76098         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
76099         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
76100         * Versions.def [GLIBC_2.13]: Add.
76102 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
76104         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
76105         Also fail if tpwd after pwuid call is NULL.
76107 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76109         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
76110         when converting to ms.
76112 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76114         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
76115         EOPNOTSUPP errors with ENOTTY.
76116         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
76117         EOPNOTSUPP errors with ENOTTY.
76119 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
76121         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
76122         Add strcasecmp_l-ssse3.
76123         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
76124         strcasecmp.
76125         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
76126         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
76127         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
76129 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
76131         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
76133         * string/Makefile (strop-tests): Add strcasecmp.
76134         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
76135         strcasecmp_l-nonascii.
76136         (gen-as-const-headers): Add locale-defines.sym.
76137         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
76138         * sysdeps/x86_64/strcasecmp.S: New file.
76139         * sysdeps/x86_64/strcasecmp_l.S: New file.
76140         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
76141         * sysdeps/x86_64/locale-defines.sym: New file.
76142         * string/test-strcasecmp.c: New file.
76144         * string/test-strcasestr.c: Test both ends of the range of characters.
76145         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
76147 2010-07-29  Roland McGrath  <roland@redhat.com>
76149         [BZ #11856]
76150         * manual/locale.texi (Yes-or-No Questions): Fix example code.
76152 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
76154         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
76155         for ld.so.
76157 2010-07-27  Andreas Schwab  <schwab@redhat.com>
76159         * manual/memory.texi (Malloc Tunable Parameters): Document
76160         M_PERTURB.
76162 2010-07-26  Roland McGrath  <roland@redhat.com>
76164         [BZ #11840]
76165         * configure.in (-fgnu89-inline check): Set and substitute
76166         gnu89_inline, not libc_cv_gnu89_inline.
76167         * configure: Regenerated.
76168         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
76170 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
76172         * string/test-strnlen.c: New file.
76173         * string/Makefile (strop-tests): Add strnlen.
76174         * string/tester.c (test_strnlen): Add a few more test cases.
76175         * string/tst-strlen.c: Better error reporting.
76177         * sysdeps/x86_64/strnlen.S: New file.
76179 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
76181         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
76182         lower-latency instructions.
76184 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
76186         * string/test-strcasestr.c: New file.
76187         * string/test-strstr.c: New file.
76188         * string/Makefile (strop-tests): Add strstr and strcasestr.
76189         * string/str-two-way.h: Don't undefine MAX.
76190         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
76192 2010-07-21  Andreas Schwab  <schwab@redhat.com>
76194         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76195         strcasestr-nonascii.
76196         (CFLAGS-strcasestr-nonascii.c): Define.
76197         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
76198         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
76199         Remove unused attribute.
76201 2010-07-20  Roland McGrath  <roland@redhat.com>
76203         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
76204         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
76205         ld.so.cache was broken.  With it, there is no way to disable dsocaps
76206         like LD_HWCAP_MASK can disable hwcaps.
76208 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
76210         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
76212 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
76214         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
76215         call in strcasestr.
76216         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
76217         __strcasestr_sse42_nonascii.
76218         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
76219         strcasestr-nonascii.c.
76220         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
76222 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
76224         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
76225         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
76226         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
76227         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
76229 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
76231         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
76232         fcntl.
76234 2010-07-06  Andreas Schwab  <schwab@redhat.com>
76236         [BZ #11577]
76237         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
76238         dl_signal_cerror.
76240 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
76242         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
76243         _PC_PIPE_BUF using F_GETPIPE_SZ.
76245 2010-07-05  Roland McGrath  <roland@redhat.com>
76247         * manual/arith.texi (Rounding Functions): Fix rint description
76248         implicit in round description.
76250 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
76252         * elf/Makefile: Fix linking for a few tests to make recent linker
76253         happy.
76255 2010-06-30  Andreas Schwab  <schwab@redhat.com>
76257         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
76258         $(common-objpfx)libc_nonshared.a.
76260 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
76262         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
76263         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
76264         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
76265         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
76266         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
76267         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
76268         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
76269         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
76270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
76271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
76272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
76273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
76274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
76275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
76276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
76277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
76278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
76279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
76280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
76281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
76282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
76283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
76284         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
76285         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
76286         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
76287         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
76288         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
76289         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
76290         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
76291         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
76292         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
76293         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
76294         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
76295         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
76296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
76297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
76298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
76299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
76300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
76301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
76302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
76303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
76304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
76305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
76306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
76307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
76308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
76309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
76311 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
76313         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
76314         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
76315         * string/memmove.c (memmove): Renamed to ...
76316         (MEMMOVE): ...this.  Default to memmove.
76317         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
76318         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
76319         (END_CHK): Define.
76320         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76321         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
76322         mempcpy-ssse3-back memmove-ssse3-back.
76323         * sysdeps/x86_64/multiarch/bcopy.S: New file .
76324         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
76325         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
76326         * sysdeps/x86_64/multiarch/memcpy.S: New file.
76327         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
76328         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
76329         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
76330         * sysdeps/x86_64/multiarch/memmove.c: New file.
76331         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
76332         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
76333         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
76334         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
76335         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
76336         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
76337         Define.
76338         (index_Fast_Copy_Backward): Define.
76339         (HAS_ARCH_FEATURE): Define.
76340         (HAS_FAST_REP_STRING): Define.
76341         (HAS_FAST_COPY_BACKWARD): Define.
76343 2010-06-21  Andreas Schwab  <schwab@redhat.com>
76345         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
76346         Restore proper fallback handling.
76348 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
76350         [BZ #11701]
76351         * posix/group_member.c (__group_member): Correct checking loop.
76353         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
76354         OOM in getpwuid_r correctly.  Return error number when the caller
76355         should return, otherwise -1.
76356         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
76357         call returning > 0 value.
76358         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
76360 2010-06-07  Andreas Schwab  <schwab@redhat.com>
76362         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
76363         libc_nonshared.a from targets in modules-names.
76365 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
76367         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
76368         requires it.
76370 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
76372         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
76373         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
76374         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
76375         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
76377 2010-06-02  Andreas Schwab  <schwab@redhat.com>
76379         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
76381 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
76383         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
76384         and F_GETPIPE_SZ.
76385         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
76386         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76387         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76388         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76389         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76390         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76392 2010-06-14  Roland McGrath  <roland@redhat.com>
76394         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
76396 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
76398         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
76399         __REDIRECT followed by __THROW.
76400         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
76401         * posix/getopt.h (getopt): Likewise.
76403 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
76405         * hurd/lookup-at.c (__file_name_lookup_at): Accept
76406         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
76407         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
76408         in AT_FLAGS.
76409         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
76410         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
76412 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
76414         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
76416 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
76418         [BZ #11640]
76419         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76420         Properly check family and model.
76422 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
76424         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
76426 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
76428         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
76430 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
76432         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
76433         symbol reference.
76435 2010-05-19  Andreas Schwab  <schwab@redhat.com>
76437         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
76438         symbol reference.
76440 2010-05-21  Andreas Schwab  <schwab@redhat.com>
76442         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
76443         and internal_recvmmsg.
76444         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
76445         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
76446         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
76447         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
76449         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
76450         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
76451         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
76453 2010-05-20  Andreas Schwab  <schwab@redhat.com>
76455         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
76457 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
76459         POWER7 optimizations.
76460         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
76461         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
76463 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
76465         * version.h: Update for 2.13 development version.
76467 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
76469         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
76470         exceptions.  Return 0.
76472 2010-05-07  Roland McGrath  <roland@redhat.com>
76474         * elf/ldconfig.c (main): Add a const.
76476 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
76478         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
76479         (args_options): Add no-idn option.
76480         (ahosts_keys_int): Add idn_flags to ai_flags.
76481         (parse_option): Handle 'i' option to clear idn_flags.
76483         * malloc/malloc.c (_int_free): Possible race in the most recently
76484         added check.  Only act on the data if no current modification
76485         happened.
76487 See ChangeLog.17 for earlier changes.