Fix i386 fdim double rounding (bug 20255).
[glibc.git] / ChangeLog
bloba4a1cea4ab4c832e899c6829569c03f03e92db24
1 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #20255]
4         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
5         * math/libm-test.inc (fdim_test_data): Add another test.
7         [BZ #6796]
8         [BZ #20255]
9         [BZ #20256]
10         * math/s_fdim.c: Include <math_private.h>.
11         (__fdim): Use math_narrow_eval on result.
12         * math/s_fdimf.c: Include <math_private.h>.
13         (__fdimf): Use math_narrow_eval on result.
14         * sysdeps/i386/fpu/s_fdim.S: Remove file.
15         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
16         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
17         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
18         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
19         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
20         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
21         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
22         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
23         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
24         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
25         * math/libm-test.inc (fdim_test_data): Expect errno setting on
26         overflow.  Add sNaN tests.
28         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
29         fpclassify.
30         * math/s_fdimf.c (__fdimf): Likewise.
31         * math/s_fdiml.c (__fdiml): Likewise.
33 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
36         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
37         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
39         ifunc'ed strcasecmp/strncasecmp.
40         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
41         [EALIGN]: Removed.
42         [END]: Likewise.
43         [__strcasecmp]: Define instead of the above to control symbol name.
44         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
45         for __strcasecmp_power8.
46         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
47         for __strncasecmp_power8.
48         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
49         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
50         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
51         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
52         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
53         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
55 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
57         [BZ #20252]
58         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
59         arguments when second argument is a NaN.
60         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
61         qNaN tests.
63         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
64         (conj_test_data): Likewise.
65         (copysign_test_data): Likewise.
66         (creal_test_data): Likewise.
67         (fma_test_data): Likewise.
68         (fmod_test_data): Likewise.
70         [BZ #20250]
71         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
72         itself.
73         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
74         zero input to itself.
75         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
76         Likewise.
77         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
78         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
79         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
80         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
81         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
83 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
85         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
86         * nptl/tst-cancel4-common.c: New file.
87         * nptl/tst-cancel4-common.h: Likewise.
88         * nptl/tst-cancel4.c: Move common definitions to
89         tst-cancel4-common.{c,h} file.
90         * nptl/tst-cancel4_1.c: New test.
91         * nptl/tst-cancel4_2.c: New test.
93 2016-06-13  Florian Weimer  <fweimer@redhat.com>
95         [BZ #20248]
96         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
97         (write_message): New function.
98         (stackoverflow_handler): Call it instead of printf, to avoid
99         excessive stack usage by printf.
100         (do_test): Restore SIGSEGV, SIGBUS default handlers.
102 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
104         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
105         (prio_inherit_missing): Remove define.
106         * sysdeps/unix/sysv/linux/arm/kernel-features.h
107         (__ASSUME_FUTEX_LOCK_PI): Likewise.
108         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
109         Likewise.
110         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
111         (__ASSUME_FUTEX_LOCK_PI): Likewise.
112         * sysdeps/unix/sysv/linux/mips/kernel-features.h
113         (__ASSUME_FUTEX_LOCK_PI): Likewise.
114         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
115         (__ASSUME_FUTEX_LOCK_PI): Likewise.
117 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
119         [BZ #19670]
120         [BZ #19672]
122         * io/test-lfs.c (do_prepare): Use xmalloc.
123         * io/tst-fcntl.c (do_prepare): Likewise.
124         * libio/tst-fopenloc.c (do_bz17916): Likewise.
125         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
126         * login/tst-utmp.c (do_prepare): Likewise.
127         * posix/tst-exec.c (do_prepare): Likewise.
128         * posix/tst-pathconf.c (prepare): Likewise.
129         * posix/tst-spawn.c (do_prepare): Likewise.
130         * posix/tst-truncate.c (do_prepare): Likewise.
131         * rt/tst-aio.c (do_prepare): Likewise.
132         * rt/tst-aio64.c (do_prepare): Likewise.
134 2016-06-11  Florian Weimer  <fweimer@redhat.com>
136         [BZ #20237]
137         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
138         (get*ent): Set entidx to NULL during initialization.  If entidx is
139         NULL, start iteration from the beginning.
141 2016-06-11  Florian Weimer  <fweimer@redhat.com>
143         * malloc/malloc.c (musable): Return correct size for dumped fake
144         mmapped chunk.
146 2016-06-11  Florian Weimer  <fweimer@redhat.com>
148         [BZ #20222]
149         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
150         (_IO_cookie_write): Likewise.
151         (_IO_cookie_seek): Likewise.
152         (_IO_cookie_close): Likewise.
153         (_IO_old_cookie_seek): Likewise.
154         (set_callbacks): New function.
155         (_IO_cookie_init): Call set_callbacks to copy callbacks.
157 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
159         * locale/programs/localedef.c (oldstyle_tables): Remove.
160         * locale/programs/localedef.h (oldstyle_tables): Likewise.
162 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
164         [BZ #20240]
165         * math/Makefile (CFLAGS-s_modf.c): New variable.
166         (CFLAGS-s_modff.c): Likewise.
167         (CFLAGS-s_modfl.c): Likewise.
168         * math/libm-test.inc (modf_test_data): Add sNaN tests.
170 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
172         [BZ #20215]
173         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
174         [!__GNUC_PREREQ (3,2)]: Likewise.
176 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
178         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
179         (msghdr.msg_controllen): Likewise.
180         (cmsghdr.cmsg_len): Likewise.
181         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
182         ptw-oldsendmsg.
183         (CFLAGS-oldrecvmsg.c): Remove rule.
184         (CFLAGS-oldsendmsg.c): Likewise.
185         (CFLAGS-recvmsg.c): Add rule.
186         (CFLAGS-sendmsg.c): Likewise.
187         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
188         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
189         (CFLAGS-recvmsg.c): Remove rule.
190         (CFLAGS-sendmsg.c): Likewise.
191         (CFLAGS-oldrecvmsg.c): Likewise.
192         (CFLAGS-oldsendmsg.c): Likewise.
193         (CFLAGS-recvmmsg.c): Likewise.
194         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
195         to kernel defined interfaces.
196         (msghdr.msg_controllen): Likewise.
197         (cmsghdr.cmsg_len): Likewise.
198         (msghdr.__glibc_reserved1): Remove member.
199         (msghdr.__glibc_reserved2): Likewise.
200         (cmsghdr.__glibc_reserved1): Likewise.
201         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
202         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
203         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
204         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
205         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
206         version.
207         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
208         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
209         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
210         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
211         Remove recvmsg and sendmsg.
212         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
213         Likewise.
214         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
215         Likewise.
216         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
217         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
218         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
219         Likewise.
220         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
221         Likewise.
222         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
223         [libc] (GLIBC_2.24): Likewise.
224         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
225         Likewise.
226         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
227         Likewise.
228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
229         [libc] (GLIBC_2.24): Likewise.
230         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
231         Likewise.
232         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
233         Likewise.
234         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
235         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
236         Likewise.
237         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
238         Likewise.
239         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
240         Likewise.
241         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
242         Likewise.
243         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
244         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
245         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
246         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
247         version for {recv,send,recm,sendm}msg.
248         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
249         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
250         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
251         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
252         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
253         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
254         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
255         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
256         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
257         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
258         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
259         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
261         Likewise.
262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
263         Likewise.
264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
266         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
267         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
268         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
269         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
270         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
271         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
272         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
273         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
274         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
275         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
276         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
278 2016-06-10  Florian Weimer  <fweimer@redhat.com>
280         [BZ #19564]
281         Remove __malloc_initialize_hook from the API.
282         * malloc/malloc.h (__malloc_initialize_hook): Remove.
283         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
284         #pragma GCC poison.
285         * malloc/malloc-hooks.h: New file.
286         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
287         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
288         (old__malloc_initialize_hook): Rename from
289         __malloc_initialize_hook to evade poisoning.  Turn into compat
290         symbol.
291         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
292         __malloc_initialize_hook.
293         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
294         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
295         * manual/memory.texi (Hooks for Malloc): Remove
296         __malloc_initialize_hook.  Adjust hook example.
298 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
300         [BZ #20235]
301         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
302         itself.
303         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
304         * math/libm-test.inc (log2_test_data): Add sNaN tests.
306         [BZ #20234]
307         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
308         infinity or NaN input to itself.
310         [BZ #20233]
311         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
312         to itself.
314         [BZ #20232]
315         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
316         itself.
318 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
320         * sysdeps/x86_64/start.S (_start): Always indirect branch to
321         __libc_start_main via GOT.
323 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
325         * sysdeps/x86_64/memcopy.h: New file.
326         * sysdeps/x86_64/wordcopy.c: Likewise.
328 2016-06-09  Florian Weimer  <fweimer@redhat.com>
330         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
331         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
332         <cstdlib>.
333         (optimization_barrier): New.
334         (do_test): Use it.  Call quick_exit in the global namespace.
335         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
336         instead of <cstdlib>, <thread>.
337         (optimization_barrier): New.
338         (non_main_thread): Adjust declaration.  Call optimization_barrier.
339         Call quick_exit in the global namespace.
340         (do_test): Call optimization_barrier.  Use pthread_create,
341         pthread_join instead of std::thread.
343 2016-06-09  Andreas Schwab  <schwab@suse.de>
345         [BZ #19755]
346         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
347         new entries in auto-propagate mode.
348         * nscd/grpcache.c (cache_addgr): Likewise.
350 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
352         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
353         New functions.
354         (add_temp_file): Use them.
356 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
358         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
360 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
362         [BZ #20229]
363         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
364         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
365         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
367         [BZ #20228]
368         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
369         itself.
370         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
371         * math/libm-test.inc (log10_test_data): Add sNaN tests.
373         [BZ #20227]
374         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
375         itself.
376         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
377         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
378         * math/libm-test.inc (log_test_data): Add sNaN tests.
380         [BZ #20226]
381         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
382         itself.
383         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
384         * math/libm-test.inc (exp_test_data): Add sNaN tests.
385         (exp10_test_data): Likewise.
386         (expm1_test_data): Likewise.
388         [BZ #20225]
389         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
390         itself.
391         * math/s_ldexpf.c (__ldexpf): Likewise.
392         * math/s_ldexpl.c (__ldexpl): Likewise.
393         * math/w_scalbln.c (__w_scalbln): Likewise.
394         * math/w_scalblnf.c (__w_scalblnf): Likewise.
395         * math/w_scalblnl.c (__w_scalblnl): Likewise.
396         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
397         (scalbln_test_data): Likewise.
399         [BZ #20224]
400         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
401         argument to itself.
402         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
404 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
406         [BZ #19776]
407         * sysdeps/x86_64/memcpy.S: Make it dummy.
408         * sysdeps/x86_64/mempcpy.S: Likewise.
409         * sysdeps/x86_64/memmove.S: New file.
410         * sysdeps/x86_64/memmove_chk.S: Likewise.
411         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
412         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
413         * sysdeps/x86_64/memmove.c: Removed.
414         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
415         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
416         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
417         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
418         Likewise.
419         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
420         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
421         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
422         memcpy-sse2-unaligned, memmove-avx-unaligned,
423         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
424         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
425         (__libc_ifunc_impl_list): Replace
426         __memmove_chk_avx512_unaligned_2 with
427         __memmove_chk_avx512_unaligned.  Remove
428         __memmove_chk_avx_unaligned_2.  Replace
429         __memmove_chk_sse2_unaligned_2 with
430         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
431         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
432         with __memmove_avx512_unaligned.  Replace
433         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
434         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
435         with __memcpy_chk_avx512_unaligned.  Remove
436         __memcpy_chk_avx_unaligned_2.  Replace
437         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
438         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
439         Replace __memcpy_avx512_unaligned_2 with
440         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
441         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
442         with __mempcpy_chk_avx512_unaligned.  Remove
443         __mempcpy_chk_avx_unaligned_2.  Replace
444         __mempcpy_chk_sse2_unaligned_2 with
445         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
446         Replace __mempcpy_avx512_unaligned_2 with
447         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
448         Replace __mempcpy_sse2_unaligned_2 with
449         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
450         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
451         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
452         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
453         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
454         (ENTRY): Removed.
455         (END): Likewise.
456         (ENTRY_CHK): Likewise.
457         (libc_hidden_builtin_def): Likewise.
458         Don't include ../memcpy.S.
459         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
460         __memcpy_chk_avx512_unaligned_erms and
461         __memcpy_chk_avx512_unaligned.  Use
462         __memcpy_chk_avx_unaligned_erms and
463         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
464         Default to __memcpy_chk_sse2_unaligned.
465         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
466         Change function suffix from unaligned_2 to unaligned.
467         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
468         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
469         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
470         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
471         (ENTRY): Removed.
472         (END): Likewise.
473         (ENTRY_CHK): Likewise.
474         (libc_hidden_builtin_def): Likewise.
475         Don't include ../mempcpy.S.
476         (mempcpy): New.  Add a weak alias.
477         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
478         __mempcpy_chk_avx512_unaligned_erms and
479         __mempcpy_chk_avx512_unaligned.  Use
480         __mempcpy_chk_avx_unaligned_erms and
481         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
482         Default to __mempcpy_chk_sse2_unaligned.
484 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
486         [BZ #19881]
487         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
488         into ...
489         * sysdeps/x86_64/memset.S: This.
490         (__bzero): Removed.
491         (__memset_tail): Likewise.
492         (__memset_chk): Likewise.
493         (memset): Likewise.
494         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
495         defined.
496         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
497         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
498         (__memset_zero_constant_len_parameter): Check SHARED instead of
499         PIC.
500         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
501         memset-avx2 and memset-sse2-unaligned-erms.
502         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
503         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
504         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
505         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
506         (__bzero): Enabled.
507         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
508         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
509         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
510         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
511         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
512         (memset): Removed.
513         (__memset_chk): Likewise.
514         (MEMSET_SYMBOL): New.
515         (libc_hidden_builtin_def): Replace __memset_sse2 with
516         __memset_sse2_unaligned.
517         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
518         __memset_chk_sse2 and __memset_chk_avx2 with
519         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
520         Use __memset_chk_sse2_unaligned_erms or
521         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
522         __memset_chk_avx512_unaligned_erms and
523         __memset_chk_avx512_unaligned.
525 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
527         * math/gen-auto-libm-test.c (fp_format_desc): remove
528         suffix member.
529         (output_generic_value): Remove usage of suffix member,
530         and the resulting unuse of the fp_format argument.
531         (output_for_one_input_case): Remove unused fp_format
532         parameter.
534         * math/auto-libm-test-out: Regenerate.
536         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
537         usage with TEST_COND_ibm128.
538         (TEST_COND_flt_32): Remove.
539         (TEST_COND_dbl_64): Remove.
540         (TEST_COND_ldbl_96_intel): Remove.
541         (TEST_COND_ldbl_96_m68k): Remove.
542         (TEST_COND_ldbl_128): Remove.
544 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
546         * auto-libm-test-in:
547         Replace flt-32 usage with binary32.
548         Replace dbl-64 usage with binary64.
549         Replace ldbl-intel-96 usage with intel96.
550         Replace ldbl-m68k-96 usage with m68k96.
551         Replace ldbl-128ibm usage with ibm128.
552         Replace ldbl-128 usage with binary128.
554         * auto-libm-test-out: Regenerate.
556 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
558         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
559         (parse_ulps): Dynamically generate type name matching
560         string from all_floats.
561         (get_ulps): Generate the ulps as an array instead.
562         (output_ulps): Dynamically compose the type based
563         on the number of supported formats, and print
564         the indices as type specific helper macros.
566         * math/libm-test.inc: Remove comment about CHOOSE.
567         (ulp_data): Generate the type in libm-test-ulps.h.
568         (ULP_IDX): New macro.
569         (find_ulps): Update usage of max_ulp.
571         * math/test-double-vlen2.h (CHOOSE): Remove.
572         * math/test-double-vlen4.h (CHOOSE): Likewise.
573         * math/test-double-vlen8.h (CHOOSE): Likewise.
574         * math/test-float.c (CHOOSE): Likewise.
575         * math/test-float-finite.c (CHOOSE): Likewise.
576         * math/test-double.c (CHOOSE): Likewise.
577         * math/test-double-finite.c (CHOOSE): Likewise.
578         * math/test-idouble.c (CHOOSE): Likewise.
579         * math/test-ifloat.c (CHOOSE): Likewise.
580         * math/test-ildoubl.c (CHOOSE): Likewise.
581         * math/test-ldouble-finite.c (CHOOSE): Likewise.
582         * math/test-ldouble.c (CHOOSE): Likewise.
584         * math/test-float.h (TEST_FLOAT): Remove.
585         * math/test-double.h (TEST_DOUBLE): Likewise.
586         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
588 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
590         * math/gen-libm-test.pl: (apply_lit): New subroutine.
591         (parse_args): Strip C suffix from floating point literals
592         typed with 'f' and wrap them with LIT().
594         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
595         (test_ff_f_data_nexttoward): Rename to
596         (test_fj_f_data): New struct.
597         (nexttoward_test_data): Relabel tests as
598         TEST_fj_f instead of TEST_ff_f.
600 2016-06-08  Florian Weimer  <fweimer@redhat.com>
602         Emacs bug 23726.
603         * malloc/malloc.c (dumped_main_arena_start): Update comment.
604         (__libc_realloc): Correct size computation for dumped fake mmapped
605         chunks.
607 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
609         [BZ #20219]
610         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
611         to itself.
612         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
614         [BZ #20218]
615         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
616         to itself.
617         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
619 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
621         [BZ #20195]
622         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
623         check to ...
624         (init_cpu_features): Here.
626 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
628         [BZ #20214]
629         * sysdeps/unix/sysv/linux/bits/in.h
630         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
631          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
632         Define to 1.
633         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
634          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
635         Define to 0.
636         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
637         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
639 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
641         [BZ #20198]
642         * stdlib/Makefile (tests): Add tst-quick_exit, and
643         tst-thread-quick_exit.
644         [ifeq ($(have-cxx-thread_local),yes)]
645         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
646         (CFLAGS-tst-thread-quick_exit.o): Likewise.
647         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
648         (LDLIBS-tst-thread-quick_exit): Likewise.
649         [ifneq ($(have-cxx-thread_local),yes)]
650         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
651         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
652         If run_dtors is true call __call_tls_dtors.
653         (exit): Call __run_exit_handlers with run_dtors set to true.
654         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
655         definition.
656         * stdlib/quick_exit.c (quick_exit): Remove function.
657         (__new_quick_exit): New function.
658         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
659         function.
660         * stdlib/tst-quick_exit.cc: New file.
661         * stdlib/tst-thread-quick_exit.cc: New file.
662         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
663         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
664         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
665         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
666         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
667         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
668         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
669         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
670         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
671         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
672         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
673         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
674         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
675         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
676         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
677         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
682         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
683         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
684         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
685         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
686         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
687         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
688         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
689         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
690         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
691         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
693 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
695         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
696         a typo in comments.
698 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
700         [BZ #20213]
701         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
702         argument to itself.
703         * math/libm-test.inc (asin_test_data): Add sNaN tests.
705 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
707         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
708         required flags.
709         (CFLAGS-pwritev64.c): Likewise.
710         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
711         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
712         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
713         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
714         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
715         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
716         syscall from auto-generation.
717         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
718         [WORDSIZE == 64] (pwritev64): Remove macro.
719         [!PWRITEV] (PWRITEV): Likewise.
720         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
721         [!PWRITEV] (PWRITE): Likewise.
722         [!PWRITEV] (OFF_T): Likewise.
723         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
724         (LO_HI_LONG): Remove macro.
725         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
726         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
727         (PWRITEV): Remove macro.
728         (PWRITEV_REPLACEMENTE): Likewise.
729         (PWRITE): Likewise.
730         (OFF_T): Likewise.
731         (pwritev64): New function.
732         * nptl/tst-cancel4.c (tf_writev): Add test.
734         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
735         required flags.
736         (CFLAGS-preadv64.c): Likewise.
737         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
738         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
739         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
740         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
741         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
742         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
743         syscall from auto-generation.
744         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
745         [WORDSIZE == 64] (preadv64): Remove macro.
746         [!PREADV] (PREADV): Likewise.
747         [!PREADV] (PREADV_REPLACEMENT): Likewise.
748         [!PREADV] (PREAD): Likewise.
749         [!PREADV] (OFF_T): Likewise.
750         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
751         (LO_HI_LONG): Remove macro.
752         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
753         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
754         (PREADV): Remove macro.
755         (PREADV_REPLACEMENTE): Likewise.
756         (PREAD): Likewise.
757         (OFF_T): Likewise.
758         (preadv64): New function.
759         * nptl/tst-cancel4.c (tf_preadv): Add test.
761 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
763         [BZ #20212]
764         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
765         argument to itself.
766         * math/libm-test.inc (acos_test_data): Add sNaN tests.
768 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
770         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
771         New symbol defined as libc_hidden_def.
772         (strcasestr): Became a weak alias to __strcasestr.
773         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
774         according to multi-arch support.  Move __stpncpy hidden
775         definition from here to...
776         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
777         symbol stpncpy.
778         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
779         libc_hidden_builtin_def.
780         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
781         memset symbol to use when multi-arch support is available.
783 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
785         * dlfcn/tst-rec-dlopen.c: Include string.h.
787 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
789         * manual/install.texi: Remove mention of --without-tls
790         * INSTALL: Regenerate.
792 2016-06-05  Florian Weimer  <fweimer@redhat.com>
794         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
795         Remove.
796         (call_function, interposed_malloc_called): New variables.
797         (malloc): New function.
798         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
799         and clear call_function as needed.
801 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
803         * include/wchar.h (__wmemset): Use __typeof.
805 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
807         * include/wchar.h (__wmemset): Declare function without typeof.
809 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
811         [BZ #20205]
812         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
813         exponent when incrementing negative subnormal with low mantissa
814         word zero.
815         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
816         Add another test.
818 2016-06-03  Florian Weimer  <fweimer@redhat.com>
820         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
821         __wmemset instead of wmemset.
823 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
825         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
826         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
827         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
828         __USE_KERNEL_IPV6_DEFS to 0.
829         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
830         Update comment.
832 2016-06-01  Florian Weimer  <fweimer@redhat.com>
834         [BZ #19861]
835         Do not use IFUNC resolver with potentially unrelocated symbol.
836         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
837         (DEFINE_FORK): Remove macro and inline definition.
838         (fork_alias): Renamed from fork_ifunc.
839         (__fork_alias): Renamed from __fork_ifunc.
841 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
843         [BZ 19653]
844         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
845         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
847 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
849         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
850         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
851         i386-linux-gnu).
852         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
853         Set to no.
854         * sysdeps/mach/hurd/configure: Refresh.
856 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
858         [BZ #20178]
859         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
860         on failure instead of exit.
862 2016-05-30  Roland McGrath  <roland@hack.frob.com>
864         [BZ #3629]
865         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
866         of POSIX.1-2008.
868 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
870         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
871           Use PLT entry for calling _hurd_self_sigstate.
873 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
875         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
876         available logical processors with SMT level type sharing L2
877         cache for Intel processors.
879 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
881         [BZ #20160]
882         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
883         argument to itself before returning the result.
884         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
885         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
886         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
887         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
888         Likewise.
889         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
890         Likewise.
891         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
892         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
893         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
894         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
895         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
896         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
898         [BZ #20160]
899         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
900         argument to itself before returning the result.
901         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
902         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
903         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
904         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
905         Likewise.
906         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
907         Likewise.
908         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
909         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
910         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
911         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
912         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
913         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
915 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
917         * libm-test.inc: Replace usage of M_El with
918         (lit_e): New macro.
920 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
922         * libm-test.inc: Replace usage of M_PI_4l with
923         (lit_pi_4_d): New macro.
925 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
927         * libm-test.inc: Replace usage of M_PIl with
928         (lit_pi): New macro.
930 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
932         * libm-test.inc: Replace usage of M_PI2l with
933         (lit_pi_2_d): New macro.
935         * math/test-double.h (LITM): New macro.
936         * math/test-float.h (LITM): Likewise.
937         * math/test-ldouble.h (LITM): Likewise.
939 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
941         * libm-test.inc (M_PI_34l): Rename to
942         (lit_pi_3_m_4_d): New Macro.
943         (M_PI_34_LOG10El): Rename to
944         (lit_pi_3_m_4_ln10_m_d): New Macro.
945         (M_PI2_LOG10El): Rename to
946         (lit_pi_2_ln10_m_d):  New Macro.
947         (M_PI4_LOG10El): Rename to
948         (lit_pi_4_ln10_m_d):  New Macro.
949         (M_PI_LOG10El): Rename to
950         (lit_pi_ln10_d):  New Macro.
952 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
954         [BZ #20157]
955         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
956         determine whether to negate low half if [_ARCH_PPCGR], and integer
957         comparison otherwise.
958         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
959         determine whether to negate low half.
961         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
962         (NO_TEST_INLINE_DOUBLE): Likewise.
963         (TEST_COND_x86_64): Likewise.
964         (TEST_COND_x86): Likewise.
965         (M_PI_6l): Likewise.
967 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
969         * math/libm-test.inc:
970         (TEST_FLOAT): Change usage to TEST_COND_binary32.
971         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
972         (TEST_LDOUBLE): Update usage to evaluate as true if
973         the guarded tests match the property being tested.
974         (LDBL_MAX_EXP): Change to MAX_EXP.
975         (LDBL_MIN_EXP): Change to MIN_EXP.
976         (LDBL_MANT_DIG): Change to MANT_DIG, except for
977         nexttoward tests.
979 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
981         * math/libm-test.inc:
982         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
983         (TYPE_MIN): Likewise.
984         (TYPE_TRUE_MIN): Likewise.
985         (TYPE_MAX): Likewise.
986         (MIN_EXP): Likewise.
987         (MAX_EXP): Likewise.
988         (MANT_DIG): Likewise.
990         (FSTR_MAX): New macro.
991         (__CONCATX): Likewise.
992         (QTYPE_STR): Likewise.
993         (TEST_COND_binary32): Likewise.
994         (TEST_COND_binary64): Likewise.
995         (TEST_COND_binary128): Likewise.
996         (TEST_COND_ibm128): Likewise.
997         (TEST_COND_intel96): Likewise.
998         (TEST_COND_m68k96): Likewise.
1000         (TEST_COND_flt_32): Redefine as equivalent format test macro.
1001         (TEST_COND_dbl_64): Likewise.
1002         (TEST_COND_ldbl_96_intel): Likewise.
1003         (TEST_COND_ldbl_96_m68k): Likewise.
1004         (TEST_COND_ldbl_128): Likewise.
1005         (TEST_COND_ldbl_128ibm): Likewise.
1007         (plus_zero): Redefine using LIT macro.
1008         (minus_zero): Likewise.
1009         (plus_infty): Redefine as (INF).
1010         (minux_infty): Redefine as (-INF).
1011         (max_value): Redefine as TYPE_MAX.
1012         (min_value): Redefine as TYPE_MIN.
1013         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
1015         (print_float): Refactor to use snprintf to convert FLOAT values
1016         to string. This brings it closer to dropin replacement of strtof
1017         for the TS 18661 defined types.
1018         (update_stats): Likewise.
1019         (print_complex_function_ulps): Likewise.
1020         (print_max_error): Likewise.
1021         (print_complex_max_error): Likewise.
1022         (check_float_internal): Likewise.
1024         * math/test-float.h (PREFIX): New macro.
1025         (LIT): Likewise.
1026         (TYPE_STR): Likewise.
1027         (FTOSTR): Likewise.
1029         * math/test-double.h (PREFIX): New macro.
1030         (LIT): Likewise.
1031         (TYPE_STR): Likewise.
1032         (FTOSTR): Likewise.
1034         * math/test-ldouble.h (PREFIX): New macro.
1035         (LIT): Likewise.
1036         (TYPE_STR): Likewise.
1037         (FTOSTR): Likewise.
1039 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
1041         [BZ #20156]
1042         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
1043         to itself when zero or not finite.
1044         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
1045         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
1046         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
1047         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
1049 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
1051         [BZ #20153]
1052         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
1053         x * x + x for infinities and NaNs.
1055         [BZ #20151]
1056         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
1057         argument to itself before returning result.
1058         (__ieee754_y0l): Likewise.
1059         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1060         (__ieee754_y1l).
1062         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
1063         (atan_test_data): Likewise.
1064         (ceil_test_data): Likewise.
1065         (cos_test_data): Likewise.
1066         (cosh_test_data): Likewise.
1067         (erf_test_data): Likewise.
1068         (exp2_test_data): Likewise.
1069         (fabs_test_data): Likewise.
1070         (floor_test_data): Likewise.
1071         (ilogb_test_data): Likewise.
1072         (j0_test_data): Likewise.
1073         (j1_test_data): Likewise.
1074         (jn_test_data): Likewise.
1075         (lgamma_test_data): Likewise.
1076         (lrint_test_data): Likewise.
1077         (llrint_test_data): Likewise.
1078         (logb_test_data): Likewise.
1079         (lround_test_data): Likewise.
1080         (llround_test_data): Likewise.
1081         (nearbyint_test_data): Likewise.
1082         (rint_test_data): Likewise.
1083         (round_test_data): Likewise.
1084         (sin_test_data): Likewise.
1085         (sincos_test_data): Likewise.
1086         (sinh_test_data): Likewise.
1087         (sqrt_test_data): Likewise.
1088         (tan_test_data): Likewise.
1089         (tanh_test_data): Likewise.
1090         (tgamma_test_data): Likewise.
1091         (trunc_test_data): Likewise.
1092         (y0_test_data): Likewise.
1093         (y1_test_data): Likewise.
1094         (yn_test_data): Likewise.
1096         * math/libm-test.inc: Update comment about NaN testing.
1097         (TEST_SNAN): New macro.
1098         (snan_value): Likewise.
1099         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
1100         (fpclassify_test_data): Add sNaN tests.
1101         (isfinite_test_data): Likewise.
1102         (isinf_test_data): Likewise.
1103         (isnan_test_data): Likewise.
1104         (isnormal_test_data): Likewise.
1105         (issignaling_test_data): Likewise.
1106         (signbit_test_data): Likewise.
1107         * math/gen-libm-test.pl (%beautify): Add snan_value.
1108         (show_exceptions): Add argument $test_snan.
1109         (parse_args): Handle snan_value as non-finite.  Update call to
1110         show_exceptions.
1111         * math/Makefile (libm-test-no-inline-cflags): Add
1112         -fsignaling-nans.
1114 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1116         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
1117         (CFLAGS-oldsendmsg.c): Add rule.
1118         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
1119         Correct recvmsg symbol name.
1120         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
1121         Likewise.
1123 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1125         * sysdeps/unix/sysv/linux/Makefile
1126         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
1127         oldsendmmsg.
1128         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
1129         sendmmsg.
1130         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1131         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1132         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1133         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1135         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1136         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1137         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
1138         Likewise.
1139         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1140         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
1141         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
1142         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
1143         iovlen and controllen fields to adjust to POSIX specification.
1144         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
1146         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
1147         and change to correct expected type.
1148         (msghdr.msg_controllen): Likewise.
1149         (cmsghdr.cmsg_len): Likewise.
1150         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
1151         expected POSIX assumption about the size.
1152         (msghdr.msg_controllen): Likewise.
1153         (msghdr.__glibc_reserved1): Likewise.
1154         (msghdr.__glibc_reserved2): Likewise.
1155         (cmsghdr.cmsg_len): Likewise.
1156         (cmsghdr.__glibc_reserved1): Likewise.
1157         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
1158         Add ptw-oldrecvmsg and ptw-oldsendmsg.
1159         (CFLAGS-sendmsg.c): Remove rule.
1160         (CFLAGS-recvmsg.c): Likewise.
1161         (CFLAGS-oldsendmsg.c): Add rule.
1162         (CFLAGS-oldrecvmsg.c): Likewise.
1163         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
1164         recvmsg and sendmsg.
1165         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
1166         Likewise.
1167         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
1168         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
1169         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
1170         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
1171         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
1172         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
1173         Likewise.
1174         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
1175         Likewise.
1176         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
1177         Likewise.
1178         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
1179         Likewise.
1180         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
1181         Likewise.
1182         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
1183         Likewise.
1184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
1185         (GLIBC_2.24): Likewise.
1186         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
1187         Likewise.
1188         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
1189         Likewise.
1190         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
1191         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
1192         Likewise.
1193         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
1194         Likewise.
1195         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
1196         Likewise.
1197         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
1198         (GLIBC_2.24): Likewise.
1199         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
1200         Likewise.
1201         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
1202         Likewise.
1203         * sysdeps/unix/sysv/linux/Makefile
1204         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
1205         (CFLAGS-sendmsg.c): Add rule.
1206         (CFLAGS-recvmsg.c): Likewise.
1207         (CFLAGS-oldsendmsg.c): Likewise.
1208         (CFLAGS-oldrecvmsg.c): Likewise.
1209         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
1210         initialization.
1211         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
1212         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
1213         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
1214         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
1215         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
1216         iovlen and controllen fields to adjust to POSIX specification.
1217         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
1218         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
1219         added recvmsg and sendmsg.
1220         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1221         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1222         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1223         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1224         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1225         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1226         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1227         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1228         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1229         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1230         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1231         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
1232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1233         Likewise.
1234         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
1235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1236         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1237         Likewise.
1238         Likewise.
1239         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1240         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1241         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1242         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1243         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1244         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1245         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1246         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1247         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1248         Likewise.
1249         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1250         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1252         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
1253         from auto-generation.
1254         (sendmsg): Likewise.
1255         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
1256         (sendmsg): Likewise.
1257         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
1258         (sendmsg): Likewise.
1259         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
1260         (sendmsg): Likewise.
1261         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
1262         (sendmsg): Likewise.
1263         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
1264         (sendmsg): Likewise.
1265         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
1266         Likewise.
1267         (sendmsg): Likewise.
1268         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
1269         (sendmsg): Likewise.
1270         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1271         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1272         Remove.
1273         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1274         Likewise.
1275         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1276         Undefine.
1277         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1278         Likewise.
1279         * sysdeps/unix/sysv/linux/kernel-features.h
1280         (__ASSUME_SENDMSG_SYSCALL): Define.
1281         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1282         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1283         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1284         Remove.
1285         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1286         Likewise.
1287         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1288         Undefine.
1289         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1290         Likewise.
1291         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1292         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1293         Remove.
1294         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1295         Likewise.
1296         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1297         Undefine.
1298         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1299         Likewise.
1300         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1301         (__ASSUME_SENDMSG_SYSCALL): Undefine.
1302         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1303         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1304         (__ASSUME_SENDMSG_SYSCALL): Likewise.
1305         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1306         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1307         (__ASSUME_SENDMSG_SYSCALL): Likewise.
1308         (__ASSUME_RECVMSG_SYSCALL): Likewise.
1310 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1312         * stdlib/gen-tst-strtod-round.c: Add backslash to
1313         compile command in comment.
1314         (printfp): Remove the literal suffix, and define an infinite
1315         value as INF to avoid expansion clash with INFINITY.
1316         (round_str): Remove the literal suffix.
1317         (round_for_all): Likewise, remove the now duplicate ldbl-64
1318         entry, and remove some magic constants.
1320         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
1321         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
1322         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
1323         (_CONCAT): New macro.
1324         (CONCAT): Likewise.
1325         (CHOOSE_ld): Likewise.
1326         (CHOOSE_f): Likewise.
1327         (CHOOSE_d): Likewise.
1328         (FTYPE_MEMBER): Likewise.
1329         (BOOL_MEMBER): Likewise.
1330         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
1331         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
1332         (_XNTRY): Likewise.
1333         (XNTRY): Likewise.
1334         (_ENTRY): Likewise.
1335         (ENTRY): Likewise.
1336         (test_exactness): Generate members via macro.
1337         (test_results): Likewise.
1338         (test): Update members.
1339         (TEST): Redefine using new macros.
1340         (INF): New macro.
1341         (fetestmodes): New structure.
1342         (do_test): Refactor to be type generic.
1343         (test_in_one_mode): Refactor duplicate code into
1344         (GEN_ONE_TEST): New macro.
1346         * stdlib/tst-strtod-round-data.h: Regenerate.
1348         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
1349         Extend to pass additional arbitrary parameters to
1350         generators.
1352 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
1354         [BZ #15479]
1355         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
1356         floating-point state after first floating-point operation on
1357         input.  Restore full floating-point state instead of just rounding
1358         mode.
1359         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
1360         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
1361         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
1362         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
1363         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
1365         [BZ #15479]
1366         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
1367         floating-point state after first floating-point operation on
1368         input.  Restore full floating-point state instead of just rounding
1369         mode.
1370         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
1371         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
1372         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
1373         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
1374         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
1376 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1378         [BZ #19727]
1379         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
1380         valid high surrogate.
1381         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
1382         of an utf16 surrogate.
1383         * iconv/gconv_simple.c (BODY): Likewise.
1384         * iconvdata/bug-iconv12.c: New file.
1385         * iconvdata/Makefile (tests): Add bug-iconv12.
1387 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1389         [BZ #19726]
1390         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
1391         outptrp in case of an illegal input.
1392         * iconv/tst-iconv6.c: New file.
1393         * iconv/Makefile (tests): Add tst-iconv6.
1395 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1397         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
1398         an error in case of a value in range of an utf16 low surrogate.
1400 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1402         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
1403         an error in case of a value in range of an utf16 low surrogate.
1405 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1407         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
1408         Move to ...
1409         * sysdeps/s390/Makefile: ... here.
1410         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
1411         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
1412         (BRANCH_ON_COUNT): New define.
1413         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
1414         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
1415         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
1416         run on s390-32, too.
1417         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
1418         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
1419         run on s390-32, too.
1420         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
1421         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
1422         run on s390-32, too.
1424 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1426         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
1427         etf3eh or new vector loop-variant.
1429 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1431         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
1432         etf3eh or new vector loop-variant.
1434 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1436         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
1437         or new vector loop-variant.
1439 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1441         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
1442         Rename to TR_LOOP and usage of tr instead of troo instruction.
1444 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1446         * sysdeps/s390/multiarch/gconv_simple.c: New File.
1447         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
1449 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1451         * sysdeps/s390/multiarch/8bit-generic.c: New File.
1452         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
1453         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
1454         New override define.
1455         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
1457 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1459         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
1460         * sysdeps/s390/configure.ac: Add test for S390 vector register
1461         support in gcc.
1462         * sysdeps/s390/configure: Regenerated.
1464 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
1466         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
1467         Install file from $(objpfx)gconv-modules.
1468         ($(objpfx)gconv-modules): Concatenate architecture specific file
1469         in variable sysdeps-gconv-modules and gconv-modules in src dir.
1470         * sysdeps/s390/gconv-modules: New file.
1471         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
1472         Deleted.
1473         ($(objpfx)gconv-modules-s390): Deleted.
1474         (sysdeps-gconv-modules): New variable.
1476 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
1478         [BZ #15479]
1479         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
1480         of immediate operand to rounding instruction.
1481         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
1482         Likewise.
1483         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
1484         Likewise.
1485         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
1486         Likewise.
1488 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1490         * math/libm-test.inc (MIN_EXP): Directly define as
1491         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
1493 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1495         * math/libm-test.inc (MANT_DIG): Directly define as
1496         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
1498 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1500         * stdlib/gen-tst-strtod-round.c (main):
1501           Change usage to more closely match the generated
1502           output.  Add usage and compilation instructions.
1503           (string_to_fp): Add and use FILE* parameter as
1504           output target.
1505           (print_fp): Likewise.
1506           (round_str): Likewise.
1507           (round_for_all): Likewise.
1508         * stdlib/tst-strtod-round.c (tests): Move into
1509         * stdlib/tst-strtod-round-data.h: New file.
1511 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
1513         [BZ #15479]
1514         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
1515         (__round): Do not force "inexact" exception.
1516         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
1517         variable.
1518         (__round): Do not force "inexact" exception.
1519         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
1520         (__roundf): Do not force "inexact" exception.
1521         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
1522         (__roundl): Do not force "inexact" exception.
1523         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
1524         (__roundl): Do not force "inexact" exception.
1525         * math/libm-test.inc (round_test_data): Do not allow spurious
1526         "inexact" exceptions.
1528         [BZ #15479]
1529         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
1530         exception in comment.
1531         (huge): Remove variable.
1532         (__floor): Do not force "inexact" exception.
1533         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
1534         "inexact" exception in comment.
1535         (huge): Remove variable.
1536         (__floor): Do not force "inexact" exception.
1537         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
1538         exception in comment.
1539         (huge): Remove variable.
1540         (__floorf): Do not force "inexact" exception.
1541         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
1542         exception in comment.
1543         (huge): Remove variable.
1544         (__floorl): Do not force "inexact" exception.
1546         [BZ #15479]
1547         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
1548         exception in comment.
1549         (huge): Remove variable.
1550         (__ceil): Do not force "inexact" exception.
1551         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
1552         "inexact" exception in comment.
1553         (huge): Remove variable.
1554         (__ceil): Do not force "inexact" exception.
1555         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
1556         (__ceilf): Do not force "inexact" exception.
1557         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
1558         exception in comment.
1559         (huge): Remove variable.
1560         (__ceill): Do not force "inexact" exception.
1562 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
1564         * config.h.in (BIND_NOW): New.
1565         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
1566         * configure: Regenerated.
1567         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
1568         indirect branch via the GOT slot.
1570 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1572         [BZ #19765]
1573         * sysdeps/s390/mempcpy.S: New File.
1574         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
1575         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
1576         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1577         Add mempcpy variants.
1578         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
1579         (memcpy): Adjust to be usable from mempcpy entry point.
1580         (__memcpy_mvcle): Likewise.
1581         * sysdeps/s390/s390-64/memcpy.S: Likewise.
1582         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
1583         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
1584         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
1585         (__memcpy_z10): Likewise.
1586         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
1588 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1590         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
1591         Remove __GI_ symbol.
1592         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
1593         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
1594         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
1595         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
1596         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
1597         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
1599 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1601         * sysdeps/s390/s390-64/memcpy.S (memcpy):
1602         Use cghi instead of chi to compare 64bit value.
1604 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1606         * sysdeps/s390/s390-32/memcpy.S (memcpy):
1607         Jump to 1MB check before executing mvc-loop.
1609 2016-05-24  Florian Weimer  <fweimer@redhat.com>
1611         [BZ #6527]
1612         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
1613         unconditionally.
1614         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
1616 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1618         * stdlib/tst-strtod6.c (do_test): Use new type generic
1619         invocation of the test function.
1620         (test): Refactor into ...
1621         (TEST_STRTOD): New macro base function.
1623 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1625         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
1626         (TEST_STRTOD): New macro.
1627         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
1629 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1631         * stdlib/tst-strtod6.c (do_test): Use new type generic
1632         invocation of the test function.
1633         (test): Refactor into ...
1634         (TEST_STRTOD): New macro base function.
1636 2016-05-23  Florian Weimer  <fweimer@redhat.com>
1638         CVE-2016-4429
1639         [BZ #20112]
1640         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
1641         payload.
1643 2016-05-23  Florian Weimer  <fweimer@redhat.com>
1645         [BZ #20111]
1646         * bits/sockaddr.h (_SS_SIZE): Define.
1647         * bits/socket.h (_SS_SIZE): Remove.
1648         (_SS_PADSIZE): Adjust to account for all padding.
1649         (struct sockaddr_storage): Update comment.  Avoid implicit
1650         padding.
1651         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
1652         (_SS_PADSIZE): Adjust to account for all padding.
1653         (struct sockaddr_storage): Update comment.  Avoid implicit
1654         padding.
1655         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
1656         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
1657         (_SS_PADSIZE): Adjust to account for all padding.
1658         (struct sockaddr_storage): Update comment.  Avoid implicit
1659         padding.
1660         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
1661         __SS_SIZE is 126 in this version.
1662         * inet/tst-sockaddr.c: New file.
1663         * inet/Makefile (tests): Add tst-sockaddr.c
1664         (tst-sockaddr.c): Compile with non-strict aliasing.
1666 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
1668         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
1669         [XPG3 || XPG4].
1670         (NL_ARGMAX): Also expect for [XPG3].
1671         (NL_LANGMAX): Likewise.
1672         (NL_MSGMAX): Likewise.
1673         (NL_NMAX): Likewise.
1674         (NL_SETMAX): Likewise.
1675         (NL_TEXTMAX): Likewise.
1676         (NZERO): Likewise.
1677         (TMP_MAX): Likewise.
1678         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
1679         variable.
1681         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
1682         (PF_MAX): Update value.
1683         (AF_KCM): New macro.
1684         (SOL_NETBEUI): Likewise.
1685         (SOL_LLC): Likewise.
1686         (SOL_DCCP): Likewise.
1687         (SOL_NETLINK): Likewise.
1688         (SOL_TIPC): Likewise.
1689         (SOL_RXRPC): Likewise.
1690         (SOL_PPPOL2TP): Likewise.
1691         (SOL_BLUETOOTH): Likewise.
1692         (SOL_PNPIPE): Likewise.
1693         (SOL_RDS): Likewise.
1694         (SOL_IUCV): Likewise.
1695         (SOL_CAIF): Likewise.
1696         (SOL_ALG): Likewise.
1697         (SOL_NFC): Likewise.
1698         (SOL_KCM): Likewise.
1699         (MSG_BATCH): New enum value and macro.
1701 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
1703         [BZ #18185]
1704         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
1705         sharing L2 cache to 2 for Knights Landing.
1707 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
1709         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
1710         (FTW_DP): Do not expect for [XPG3 || XPG4].
1711         (FTW_SL): Do not expect for [XPG3].
1712         (FTW_SLN): Likewise.
1713         (FTW_PHYS): Likewise.
1714         (FTW_MOUNT): Likewise.
1715         (FTW_DEPTH): Likewise.
1716         (FTW_CHDIR): Likewise.
1717         (nftw): Likewise.
1718         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
1719         variable.
1721 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
1723         * manual/errno.texi: Fix various typos & grammar errors.
1725 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
1727         * manual/intro.texi: Fix duplicated typo.
1729 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
1731         [BZ #13304]
1732         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
1733         <float.h>, <math_private.h> and <stdlib.h>.
1734         (add_split): New function.
1735         (mul_split): Likewise.
1736         (ext_val): New typedef.
1737         (store_ext_val): New function.
1738         (mul_ext_val): New function.
1739         (compare): New function.
1740         (add_split_ext): New function.
1741         (__fmal): After checking for Inf, NaN and zero, compute result as
1742         an exact sum of scaled double values in round-to-nearest before
1743         adding those up and adjusting for other rounding modes.
1744         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
1745         tests of fma.
1746         * math/auto-libm-test-out: Regenerated.
1748 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1750         [BZ #20119]
1751         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
1752         processor level type mask for CPUID with EAX == 11.
1754 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1756         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
1757         logical threads if the HTT bit is 0.
1758         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
1759         (index_cpu_HTT): Likewise.
1760         (reg_HTT): Likewise.
1762 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1764         [BZ #20115]
1765         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
1766         Remove alignments on jump targets.
1768 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
1770         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
1771         (getpwent): Likewise.
1772         (setpwent): Likewise.
1773         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
1774         variable.
1776         * conform/data/search.h-data (insque): Do not expect for [XPG3].
1777         (remque): Likewise.
1778         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
1779         variable.
1781 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
1783         * math/libm-test.inc: Update comment not to refer to signs of NaNs
1784         not being tested.
1786 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1788         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
1789         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
1790         call.
1791         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
1792         (__condvar_cleanup1): Likewise.
1794 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1796         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
1797         New
1798         (__pthread_unwind): Renamed to ...
1799         (PTHREAD_UNWIND): This.
1800         (__pthread_enable_asynccancel): Replace
1801         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
1803 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
1805         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
1806         (CLONE_NEWCGROUP): New macro.
1808         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
1809         (Q_GETNEXTQUOTA): New macro.
1811 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1813         [BZ #19907]
1814         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
1815         buffer updated by the previous run.
1816         * string/test-memcpy.c (do_one_test): Likewise.
1817         * benchtests/bench-memmove.c (do_one_test): Add a comment.
1818         * string/test-memmove.c (do_one_test): Likewise.
1820 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
1822         [BZ #20094]
1823         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
1824         not [__USE_XOPEN].
1825         (unlockpt): Likewise.
1826         (ptsname): Likewise.
1827         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
1828         variable.
1830         [BZ #20076]
1831         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
1832         instead of [__USE_UNIX98].
1833         (S_ISSOCK): Likewise.
1834         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
1835         variable.
1837         [BZ #20074]
1838         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
1839         [__USE_POSIX].
1840         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
1841         variable.
1843         [BZ #20051]
1844         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
1845         (ttyslot): Do not declare.
1846         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
1847         (ttyslot): New prototype.
1848         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
1849         variable.
1850         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1852 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1854         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
1856 2016-05-13  Florian Weimer  <fweimer@redhat.com>
1858         Fix race condition in tst-mallocfork2, use fewer resources.
1859         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
1860         to current process group.
1861         (signal_sender): Yield in the non-sleeping case.
1863 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
1865         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
1866         (ecvt): Likewise.
1867         (fcvt): Likewise.
1868         (gcvt): Likewise.
1869         (getsubopt): Likewise.
1870         (grantpt): Likewise.
1871         (initstate): Likewise.
1872         (l64a): Likewise.
1873         (mktemp): Likewise.
1874         (mkstemp): Likewise.
1875         (ptsname): Likewise.
1876         (random): Likewise.
1877         (realpath): Likewise.
1878         (setstate): Likewise.
1879         (srandom): Likewise.
1880         (ttyslot): Likewise.
1881         (unlockpt): Likewise.
1882         (valloc): Likewise.
1884         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
1885         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
1886         variable.
1888 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
1890         [BZ #20072]
1891         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
1892         init_cpu_features only if SHARED is defined.
1893         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
1895 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
1897         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
1898         non-inclusive caches on Intel processors.
1900 2016-05-13  Florian Weimer  <fweimer@redhat.com>
1902         * malloc/malloc.c (dumped_main_arena_start)
1903         (dumped_main_arena_end): New variables.
1904         (DUMPED_MAIN_ARENA_CHUNK): New macro.
1905         (do_check_chunk): Skip dumped fake mmapped chunks.
1906         (munmap_chunk): Likewise.
1907         (__libc_free): Do not adjust statistics for fake mmapped chunks.
1908         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
1909         mmapped chunks.
1910         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
1911         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
1912         and dumped_main_arena_end to cover the dumped heap.
1914 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
1916         * conform/data/time.h-data (getdate_err): Do not expect for
1917         [XPG3].
1918         (getdate): Likewise.
1919         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
1920         variable.
1922         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
1923         (F_ULOCK): Likewise.
1924         (F_TEST): Likewise.
1925         (F_TLOCK): Likewise.
1926         (useconds_t): Likewise.
1927         (intptr_t): Do not expect for [XPG3] or [XPG4].
1928         (brk): Do not expect for [XPG3]
1929         (fchown): Likewise.
1930         (fchdir): Likewise.
1931         (ftruncate): Likewise.
1932         (getdtablesize): Likewise.
1933         (gethostid): Likewise.
1934         (getpagesize): Likewise.
1935         (getpgid): Likewise.
1936         (getsid): Likewise.
1937         (getwd): Likewise.
1938         (lchown): Likewise.
1939         (lockf): Likewise.
1940         (readlink): Likewise.
1941         (sbrk): Likewise.
1942         (setpgrp): Likewise.
1943         (setregid): Likewise.
1944         (setreuid): Likewise.
1945         (symlink): Likewise.
1946         (sync): Likewise.
1947         (truncate): Likewise.
1948         (ualarm): Likewise.
1949         (usleep): Likewise.
1950         (vfork): Likewise.
1951         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
1952         variable.
1954         [BZ #20054]
1955         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
1956         not [__USE_UNIX98].
1957         * conform/data/unistd.h-data (gethostname): Do not expect for
1958         [XPG3].
1960         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
1961         [!POSIX] (S_IFBLK): Likewise.
1962         [!POSIX] (S_IFCHR): Likewise.
1963         [!POSIX] (S_IFIFO): Likewise.
1964         [!POSIX] (S_IFREG): Likewise.
1965         [!POSIX] (S_IFDIR): Likewise.
1966         [!POSIX] (S_IFLNK): Likewise.
1967         [!POSIX] (S_IFSOCK): Likewise.
1968         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
1969         variable.
1970         (test-xfail-XPG4/fcntl.h/conform): Likewise.
1972 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
1974         * sysdeps/aarch64/memset.S (__memset):
1975         Rewrite of optimized memset.
1977 2016-05-12  Florian Weimer  <fweimer@redhat.com>
1979         [BZ #19703]
1980         Partially async-signal-safe fork for single-threaded processes.
1981         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
1982         variable.  Do not acquire and reset/release malloc and libio locks
1983         in single-threaded processes.
1984         * malloc/tst-mallocfork2.c: New file.
1985         * malloc/Makefile (tests): Add it.
1987 2016-05-12  Florian Weimer  <fweimer@redhat.com>
1989         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
1990         argument.  Use scratch buffer instead of extend_alloca.
1991         (gethosts): Use scratch buffer instead of extend_alloca.
1992         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
1993         extend_alloca.
1994         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
1996 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
1998         [BZ #20055]
1999         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
2000         instead of [__USE_UNIX98].
2001         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
2002         [__USE_UNIX98].
2003         * conform/data/termios.h-data (tcgetsid): Do not expect for
2004         [XPG3].
2005         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
2006         variable.
2007         (test-xfail-XPG4/termios.h/conform): Likewise.
2009 2016-05-11  Florian Weimer  <fweimer@redhat.com>
2011         Do not use mcheck in localedef.
2012         * locale/programs/localedef.c (turn_on_mcheck)
2013         (__malloc_initialize_hook): Remove.
2015 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2017         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
2018         * sysdeps/s390/s390-64/Makefile: Likewise.
2020 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
2022         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
2023         Remove ifunc-defines.sym.
2024         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
2025         Likewise.
2026         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
2027         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
2028         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
2029         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
2030         rtld-global-offsets.sym.
2031         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
2032         * sysdeps/x86/cpu-features-offsets.sym: This.
2033         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
2034         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
2036 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
2038         [BZ #20073]
2039         * io/sys/stat.h (fchmod): Declare for
2040         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
2041         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
2042         variable.
2044         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
2045         [XPG3] (S_IFSOCK): Likewise.
2046         [XPG3] (S_ISVTX): Likewise.
2047         [XPG3] (S_ISLNK): Likewise.
2048         [XPG3] (S_ISSOCK): Likewise.
2049         [XPG3] (fchmod): Likewise.
2050         [XPG3] (lstat): Likewise.
2051         [XPG3] (mknod): Likewise.
2053         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
2054         [XPG3].  Expect type long and XFAIL for [XPG4].
2055         (st_blocks): Likewise.
2057         [BZ #20044]
2058         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
2059         (pthread_atfork): New prototype.
2060         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
2061         variable.
2063         [BZ #20043]
2064         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
2065         prototype.
2067 2016-05-10  Florian Weimer  <fweimer@redhat.com>
2069         [BZ #20017]
2070         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
2071         gmtime.
2073 2016-05-10  Florian Weimer  <fweimer@redhat.com>
2075         [BZ #19994]
2076         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
2077         flag in _res.options.
2079 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
2081         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
2082         [XPG3 || XPG4].
2083         (blksize_t): Likewise.
2084         (clockid_t): Likewise.
2085         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
2086         variable.
2087         (test-xfail-XPG4/sys/types.h/conform): Likewise.
2089 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
2091         * sysdeps/unix/sysv/linux/s390/init-first.c:
2092         Add VDSO_SYMBOL(getcpu).
2093         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
2094         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
2095         Add VDSO_SYMBOL(getcpu).
2096         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
2097         New define HAVE_GETCPU_VSYSCALL.
2098         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2100 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
2102         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
2103         instead of <sysdeps/x86_64/cacheinfo.c>.
2104         * sysdeps/x86_64/cacheinfo.c: Moved to ...
2105         * sysdeps/x86/cacheinfo.c: Here.
2107 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2109         * malloc/malloc-internal.h: Adjust header file guard.
2111 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2113         [BZ #19787]
2114         * inet/getnameinfo.c (check_sprintf_result): New function.
2115         (CHECKED_SNPRINTF): New macro.
2116         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
2117         to the host buffer.
2118         (gni_host_local): Use checked_copy to copy the host name.
2119         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
2120         (gni_serv_local): Use checked_copy to copy the service name.
2121         (getnameinfo): Remove unnecessary truncation of result buffers.
2123 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2125         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
2126         in case of inet_ntop failure.
2128 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2130         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
2131         avoid long lines.
2132         (gni_host_inet_numeric): Likewise.  Reduce scope of local
2133         variables.
2134         (gni_host_inet, gni_host_local): Add comment.
2135         (gni_host): Add comment.  Use temporary to avoid long lines.
2137 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2139         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
2140         registers specifiers where general purpose registers specifiers should
2141         have been used.
2143 2016-05-04  Florian Weimer  <fweimer@redhat.com>
2145         [BZ #19779]
2146         CVE-2016-1234
2147         Avoid copying names of directory entries.
2148         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
2149         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
2150         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
2151         (struct readdir_result): New type.
2152         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
2153         (GL_READDIR): New macros.
2154         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
2155         (convert_dirent, convert_dirent64): New functions.
2156         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
2157         convert_dirent64.  Adjust references to the readdir result.
2158         * sysdeps/unix/sysv/linux/i386/glob64.c:
2159         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
2160         * posix/bug-glob2.c (LONG_NAME): Define.
2161         (filesystem): Add LONG_NAME.
2162         (my_DIR): Increase the size of room_for_dirent.
2164 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
2166         [BZ #20041]
2167         * misc/sys/select.h (__need_timespec): Only define if
2168         [__USE_XOPEN2K].
2169         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
2170         variable.
2171         (test-xfail-XPG4/utmpx.h/conform): Likewise.
2172         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2173         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2175 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2176             Segher Boessenkool  <segher@gcc.gnu.org>
2178         [BZ #20004]
2179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
2180         (__novec_swapcontext): Add missing load.
2182 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
2184         [BZ #20023]
2185         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
2186         <time.h>.
2187         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
2188         variable.
2189         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2191 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
2194         flags CLONE_VM compare.
2196 2016-05-02  Florian Weimer  <fweimer@redhat.com>
2198         [BZ #20031]
2199         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
2200         completely empty.
2202 2016-05-02  Florian Weimer  <fweimer@redhat.com>
2204         [BZ #19573]
2205         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
2206         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
2207         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
2208         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
2209         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
2210         (hesiod_free_list): Mark as hidden.
2211         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
2212         res_set, res_get.
2213         * hesiod/hesiod.c: Remove unnecessary forward declarations.
2214         (init, __hesiod_res_get, __hesiod_res_set): Remove.
2215         (hesiod_init): Remove obsolete res_ninit call.
2216         (hesiod_end): Do not free resolver state.  Do not invoke callback.
2217         (hesiod_bind): Do not call init.
2218         (get_txt_records): Use res_mkquery, res_send instead of
2219         res_nmkquery, res_nsend.
2220         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
2221         instead of _nss_hesiod_init.
2222         (_nss_hesiod_initgroups_dyn): Likewise.
2223         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
2224         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
2225         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
2227 2016-05-02  Florian Weimer  <fweimer@redhat.com>
2229         * hesiod/hesiod_p.h (DEF_RHS): Remove.
2230         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
2232 2016-05-02  Florian Weimer  <fweimer@redhat.com>
2234         * hesiod/hesiod.h: Remove RCS keyword.
2235         * hesiod/hesiod_p.h: Likewise.
2237         * hesiod/hesiod.c: Likewise.
2239 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
2241         [BZ #12450]
2242         * locale/iso-639.def: Add Samogitian/sgs.
2244 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
2246         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
2248         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
2250 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
2251             Carlos O'Donell  <carlos@redhat.com>
2253         [BZ #19072]
2254         * grp/Makefile (headers): Add grp-merge.h
2255         (routines): Add grp-merge.
2256         * grp/getgrgid_r.c: Include grp-merge.h.
2257         (DEEPCOPY_FN): Define.
2258         (MERGE_FN): Define.
2259         * grp/getgrname_r.c: Include grp-merge.h.
2260         (DEEPCOPY_FN): Define.
2261         (MERGE_FN): Define.
2262         * grp/grp-merge.c: New file.
2263         * grp/grp-merge.h: New file.
2264         * include/grp-merge.h: New file.
2265         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
2266         __copy_grp@GLIBC_PRIVATE.
2267         * manual/nss.texi (Actions in the NSS configuration): Describe
2268         return, continue, and merge.
2269         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
2270         (DEEPCOPY_FN): Define.
2271         (MERGE_FN): Define.
2272         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
2273         (DEEPCOPY_FN): Define.
2274         (MERGE_FN): Define.
2275         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
2276         [!MERGE_FN]: Define __merge_einval.
2277         (CHECK_MERGE): Define.
2278         (REENTRANT_NAME): Process merge if do_merge is true.
2279         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
2280         (__nss_getent_r): Likewise.
2281         * nss/nsswitch.c (nss_parse_service_list): Likewise.
2282         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
2284 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2286         [BZ #20012]
2287         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
2288         length to calculate the buffer to read.
2289         (fmemopen_write): Set the buffer position based on bytes written.
2290         (fmemopen_seek): Return EINVAL for invalid whence modes.
2292         [BZ #19957]
2293         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
2294         tst-getpid2.
2295         (test): Add tst-clone2.
2296         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
2297         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
2298         pid/tid fields for CLONE_VM.
2299         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
2300         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
2301         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
2302         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
2303         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
2304         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
2305         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
2306         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
2307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
2308         Likewise.
2309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2310         Likewise.
2311         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
2312         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
2313         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
2314         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
2315         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
2316         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
2317         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
2318         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
2320 2016-04-29  Florian Weimer  <fweimer@redhat.com>
2322         [BZ #19642]
2323         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
2324         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
2325         (gni_serv_local, gni_serv): New functions extracted from
2326         getnameinfo.
2327         (getnameinfo): Call gni_host and gni_serv to perform the
2328         processing.  Always free scratch buffer.
2330 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2332         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
2333         remaining bytes in the dest string, with zeros.
2335 2016-04-29  Florian Weimer  <fweimer@redhat.com>
2337         [BZ #20010]
2338         CVE-2016-3706
2339         * sysdeps/posix/getaddrinfo.c
2340         (convert_hostent_to_gaih_addrtuple): New function.
2341         (gethosts): Call convert_hostent_to_gaih_addrtuple.
2342         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
2343         AF_INET data.
2345 2016-04-29  Florian Weimer  <fweimer@redhat.com>
2347         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
2348         callback function gl_readdir.
2349         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
2350         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
2351         (glob_in_dir): Remove len.  Use strdup instead of malloc and
2352         memcpy to copy the name.
2353         * manual/pattern.texi (Calling Glob): Document requirements for
2354         implementations of the gl_readdir callback function.
2355         * manual/examples/mkdirent.c: New example.
2356         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
2357         per the manual guidance.
2358         * posix/tst-gnuglob.c (my_readdir): Likewise.
2360 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
2362         [BZ #20014]
2363         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
2364         not [__USE_POSIX].
2365         (getchar_unlocked): Likewise.
2366         (putc_unlocked): Likewise.
2367         (putchar_unlocked): Likewise.
2368         (flockfile): Likewise.
2369         (ftrylockfile): Likewise.
2370         (funlockfile): Likewise.
2371         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
2372         variable.
2373         (test-xfail-XPG4/stdio.h/conform): Likewise.
2375         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
2376         Expect constant.
2377         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
2378         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
2379         variable.
2380         (test-xfail-XPG4/langinfo.h/conform): Likewise.
2381         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2383         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
2384         [__USE_LARGEFILE64] (off64_t): Likewise.
2385         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
2386         variable.
2388 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2390         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
2392 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2394         * resolv/inet_addr.c: Reindent preprocessor conditionals.
2395         * resolv/res_init.c: Likewise.
2396         * resolv/res_mkquery.c: Likewise.
2398 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2400         * resolv/res_init.c (isascii): Do not define.  Use definition in
2401         <ctype.h>.
2402         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
2403         (LOG_AUTH): Remove.
2404         (SPRINTF): Remove, adjust caller.
2405         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
2407 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2409         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
2410         SUNSECURITY conditional.
2411         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
2413 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2415         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
2416         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
2417         Remove BSD-related preprocessor conditionals.
2418         * conf/portability.h: Remove.
2420 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2422         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
2423         * resolv/res_data.c: Likewise.
2425 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2427         * resolv/res_comp.c: Remove code conditional on __ultrix__.
2428         * resolv/res_data.c: Remove code conditional on ultrix.
2430 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2432         * resolv/res_init.c (RFC1535): Do not define.  Remove
2433         RFC1535 preprocessor conditionals.
2434         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
2435         because there configuration options which make the resolver
2436         behavior different.
2438 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2440         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
2441         RESOLVSORT preprocessor conditionals.
2442         * resolv/nss_dns/dns-host.c: Likewise.
2443         * resolv/res_init.c: Likewise.
2445 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2447         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
2448         is never defined.
2450 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2452         * inet/inet_lnaof.c: Remove SCSS keyword.
2453         * inet/inet_mkadr.c: Likewise.
2454         * inet/inet_net.c: Likewise.
2455         * inet/inet_netof.c: Likewise.
2456         * inet/rcmd.c: Likewise.
2457         * inet/rexec.c: Likewise.
2458         * inet/ruserpass.c: Likewise.
2460 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2462         * resolv/inet_addr.c: Remove _LIBC conditionals.
2463         * resolv/res_data.c: Likewise.
2464         * resolv/res_init.c: Likewise.
2465         * resolv/res_mkquery.c: Likewise.
2466         * resolv/res_libc.c: Update comment.
2467         * resolv/README: Update.
2469 2016-04-28  Florian Weimer  <fweimer@redhat.com>
2471         * resolv/gethnamaddr.c: Remove SCSS keyword.
2472         * resolv/herror.c: Likewise.
2473         * resolv/inet_addr.c: Likewise.
2474         * resolv/inet_net_ntop.c: Likewise.
2475         * resolv/inet_net_pton.c: Likewise.
2476         * resolv/inet_neta.c: Likewise.
2477         * resolv/inet_ntop.c: Likewise.
2478         * resolv/inet_pton.c: Likewise.
2479         * resolv/ns_date.c: Remove RCS keyword.
2480         * resolv/ns_name.c: Likewise.
2481         * resolv/ns_netint.c: Likewise.
2482         * resolv/ns_parse.c: Likewise.
2483         * resolv/ns_print.c: Likewise.
2484         * resolv/ns_samedomain.c: Likewise.
2485         * resolv/ns_ttl.c: Likewise.
2486         * resolv/nsap_addr.c: Likewise.
2487         * resolv/res_comp.c: Remove SCSS and RCS keyword.
2488         * resolv/res_data.c: Remove RCS keyword.
2489         * resolv/res_debug.c: Remove SCSS and RCS keyword.
2490         * resolv/res_init.c: Likewise.
2491         * resolv/res_mkquery.c: Likewise.
2492         * resolv/res_query.c: Likewise.
2493         * resolv/res_send.c: Likewise.
2495 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
2497         * conform/data/stdio.h-data (fdopen): Expect also for
2498         [XPG3 || XPG4].
2500         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
2501         (fseeko): Likewise.
2502         (ftello): Likewise.
2503         (ftrylockfile): Likewise.
2504         (funlockfile): Likewise.
2505         (getc_unlocked): Likewise.
2506         (getchar_unlocked): Likewise.
2507         (putc_unlocked): Likewise.
2508         (putchar_unlocked): Likewise.
2510 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2512         [BZ #19868]
2513         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
2514         DNS packet syntax checks (which were not needed before).  Skip
2515         over non-PTR records.
2517 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2519         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
2520         definition.  Include <stddef.h> instead.
2522 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2524         [BZ #19831]
2525         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
2526         function.
2527         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
2528         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
2530 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2532         [BZ #19862]
2533         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
2534         (getanswer_r): Do not call syslog.
2535         (gaih_getanswer_slice): Likewise.
2536         * resolv/gethnamaddr.c (AskedForGot): Remove.
2537         (getanswer): Do not call syslog.
2538         (gethostbyaddr): Likewise.
2540 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
2542         * conform/data/signal.h-data (union sigval): Expect also if
2543         [XOPEN2K].
2544         (struct sigevent): Likewise.
2545         (SIGEV_NONE): Likewise.
2546         (SIGEV_SIGNAL): Likewise.
2547         (SIGEV_THREAD): Likewise.
2548         (SIGRTMIN): Likewise.
2549         (SIGRTMAX): Likewise.
2550         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
2551         variable.
2552         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2554 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2556         [BZ #19830]
2557         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
2558         (gaih_getanswer_slice): Likewise.
2559         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
2560         Also check for availability of RR metadata.
2562 2016-04-27  Florian Weimer  <fweimer@redhat.com>
2564         [BZ #19825]
2565         * resolv/res_send.c (send_vc): Remove early *resplen2
2566         initialization.  Set *resplen2 on socket error.  Call
2567         close_and_return_error for other errors.
2569 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
2571         * sysdeps/unix/sysv/linux/netiucv/iucv.h
2572         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
2573         (SCM_IUCV_TRGCLS): New define.
2575 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2577         [BZ #20005]
2578         * libio/fmemopen.c (fmemopen_write): Update internal position after
2579         write.
2580         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
2581         * stdio-common/tst-fmemopen4.c: New file..
2583 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
2585         [BZ #19996]
2586         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
2587         not [__USE_XOPEN2K].
2588         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
2589         variable.
2591         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
2592         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
2593         variable.
2595         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
2596         [__USE_XOPEN2K8].
2597         [__USE_LARGEFILE64] (off64_t): Likewise.
2598         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
2599         variable.
2601 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
2603         [BZ #19989]
2604         * libio/stdio.h (cuserid): Do not declare if
2605         [__USE_XOPEN2K && !__USE_GNU].
2606         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
2607         variable.
2609 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2611         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2612         (sysdep_routines): Add P8 and PPC64 strcspn targets.
2613         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2614         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
2615         ifunc'ed strcspn.
2616         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
2617         [EALIGN]: Removed.
2618         [END]: Likewise
2619         [STRSPN]: Define instead of the above to control symbol name.
2620         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
2621         New file.
2622         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
2623         Likewise.
2624         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
2625         Likewise.
2626         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
2627         Likewise.
2628         * sysdeps/powerpc/powerpc64/power8/strspn.S:
2629         [INITIAL_MASK]: New macro.
2630         [STRCSPN]: Likewise.
2631         [UPDATE_MASK]: Likewise.
2632         [USE_AS_STRCSPN]: Lisewise.
2634 2016-04-25  Florian Weimer  <fweimer@redhat.com>
2636         [BZ #19931]
2637         * stdio-common/tst-vfprintf-width-prec.c: New file.
2638         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
2639         (tests-special): Add tst-vfprintf-width-prec-mem.out.
2640         (generated): Add mtrace-related files.
2641         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
2642         (tst-%-mem.out): New pattern rule, replaces
2643         tst-printf-bz18872-mem.out.
2644         * stdio-common/vfprintf.c (vfprintf): When handling a precision
2645         specifier, deallocate any previously allocated work buffer.
2647 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
2649         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
2650         Add nop before __startcontext, add explaining comments.
2652 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
2654         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
2655         any more. Notably since IPV6_PKTINFO has been reintroduced with a
2656         completely different API.
2658         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
2659         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
2660         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
2661         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
2662         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
2663         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
2664         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
2665         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
2666         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
2667         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
2669 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
2671         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
2673 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
2675         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
2676         when it is the default of 0.
2678 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2680         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
2681         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2682         (sysdep_routines): Add new strcasestr targets.
2683         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2684         (__libc_ifunc_impl_list): Likewise.
2685         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
2686         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
2687         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
2688         * sysdeps/powerpc/powerpc64/power8/Makefile:
2689         New file to add strcasestr-ppc64 to sysdep_routines.
2690         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
2691         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
2693 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
2695         * benchtests/Makefile (wcsmbs-benchset): Include only for
2696         native builds and runs.
2697         (LOCALES): Likewise.
2698         (bench-build): Build timing-type here instead of the bench
2699         target.  Generate locale only for native builds.
2700         * benchtests/README: Add note for cross-building.
2702         * benchtests/Makefile (bench-clean): Clean up extra-objs.
2704         * benchtests/README: Update README to include instructions on
2705         using bench-build.
2707         * Makefile.in (bench-build): New target.
2708         * Rules (PHONY): Add bench-build target.
2709         * benchtests/Makefile (bench): Depend on bench-build.
2710         (bench-build): New target.
2712 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2714         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
2715         profil_reply_port.
2716         (profile_waiter): Do not initialize profil_reply_port.
2717         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
2718         frequency instead of tick length in us.
2720 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
2722         [BZ #18712]
2723         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
2724         (__old_mempcpy_small): Likewise.
2725         (__old_strcpy_small): Likewise.
2726         (__old_stpcpy_small): Likewise.
2727         (__old_strpbrk_c2): Fix compat symbol name.
2728         (__old_strpbrk_c3): Likewise.
2729         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
2730         (__mempcpy_small): Remove.
2731         (__strcpy_small): Remove.
2732         (__stpcpy_small): Remove.
2734 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
2736         [BZ #19400]
2737         * locale/iso-639.def: Add the Talossan/tzl language.
2739 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
2741         [BZ #16983]
2742         * locale/programs/ld-address.c (address_finish): Update postal_fmt
2743         comment.  Add "ln" to strchr check on postal_fmt.
2745 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
2747         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
2748         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
2749         tel_dom_fmt.
2751 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2753         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2754         (sysdep_routines): Added __strlen_power8.
2755         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
2756         __strlen_power8 entry.
2757         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
2758         Implementation for POWER8.
2759         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
2760         for __strlen_power8.
2761         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
2762         Implementation for POWER8.
2764 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
2766         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
2768 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
2770         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
2771         Goldmont and Airmont processors.
2773 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
2775         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
2776         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
2777         (__STRING2_SMALL_GET32): Remove.
2778         (memset): Remove.
2779         (__memset_1): Remove.
2780         (__memset_gc): Remove.
2781         (__mempcpy): Remove.
2782         (mempcpy): Remove.
2783         (__mempcpy_args): Remove.
2784         (strchr): Remove.
2785         (strcpy): Remove.
2786         (strcpy_args): Remove.
2787         (__stpcpy_args): Remove.
2788         (__strcmp_cc): Remove.
2789         (__strcmp_gc): Remove.
2790         (strstr): Remove.
2792 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
2794         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
2795         * nis/nis_call.c (nis_server_cache_add): Likewise.
2797 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2799         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
2801 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2803         * malloc/arena.c (__malloc_fork_lock_parent)
2804         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
2805         internal_function attribute.
2807 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
2809         * stdio-common/printf_fp.c (__printf_fp_l):
2810         Rename ___printf_fp_l to __printf_fp_l and
2811         remove strong alias. Use libc_hidden_def instead
2812         of ldbl_hidden_def macro.
2814 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2816         Remove malloc hooks from fork handler.  They are no longer needed
2817         because malloc runs right before fork, and no malloc calls from
2818         other fork handlers are not possible anymore.
2819         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
2820         declarations.
2821         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
2822         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
2823         (atfork_recursive_cntr): Remove.
2824         (__malloc_fork_lock_parent): Do not override malloc hooks and
2825         thread_arena.
2826         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
2827         thread_arena.
2828         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
2829         thread_arena instead of save_arena.
2831 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2833         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
2834         (thread_atfork, thread_atfork_static): Remove.
2835         * sysdeps/mach/hurd/malloc-machine.h:
2836         (thread_atfork, thread_atfork_static): Remove.
2838 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2840         [BZ #19431]
2841         Run the malloc fork handler as late as possible to avoid deadlocks.
2842         * malloc/malloc-internal.h: New file.
2843         * malloc/malloc.c: Include it.
2844         * malloc/arena.c (ATFORK_MEM): Remove.
2845         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
2846         Update comment.
2847         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
2848         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
2849         Remove outdated comment.
2850         (ptmalloc_init): Do not call thread_atfork.  Remove
2851         thread_atfork_static.
2852         * malloc/tst-malloc-fork-deadlock.c: New file.
2853         * Makefile (tests): Add tst-malloc-fork-deadlock.
2854         (tst-malloc-fork-deadlock): Link against libpthread.
2855         * manual/memory.texi (Aligned Memory Blocks): Update safety
2856         annotation comments.
2857         * sysdeps/nptl/fork.c (__libc_fork): Call
2858         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
2859         __malloc_fork_unlock_child.
2860         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
2862 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2864         [BZ #19613]
2865         Remove union wait.
2866         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
2867         (w_stopsig, w_stopval): Remove.
2868         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
2869         stat_loc argument.
2870         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
2871         (__WAIT_STATUS_DEFN): Remove.
2872         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
2873         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
2874         (wait, wait3, wait4): Use int * for the stat_loc argument.
2875         * posix/wait.c (__wait): Likewise.
2876         * posix/wait3.c (__wait3): Likewise.
2877         * posix/wait4.c (__wait4): Likewise.
2878         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
2879         (__WAIT_STATUS_DEFN): Remove.
2880         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
2881         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
2882         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
2883         argument.
2884         * sysdeps/posix/wait.c (__libc_wait): Likewise.
2885         * sysdeps/posix/wait3.c (__wait3): Likewise.
2886         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
2887         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
2888         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
2889         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
2890         stat_loc argument.
2891         * manual/process.texi (BSD Wait Functions): Remove union wait.
2893 2016-04-13  Andreas Schwab  <schwab@suse.de>
2895         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
2896         (test-extras): Add tst-tlsalign-vars.
2897         * math/Makefile: Wrap long lines.
2898         (libm-vec-test-wrappers): Define.
2899         (test-extras): Add $(libm-vec-test-wrappers).
2900         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
2901         * nss/Makefile (extra-test-objs): Add nss_test1.os.
2902         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
2903         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
2904         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
2905         (extra-test-objs): Add corresponding objects.
2907 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
2909         [BZ #19928]
2910         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
2911         New.
2912         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
2913         times of shared cache size.
2914         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
2915         (VMOVNT): New.
2916         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
2917         (VMOVNT): Likewise.
2918         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
2919         (VMOVNT): Likewise.
2920         (VMOVU): Changed to movups for smaller code sizes.
2921         (VMOVA): Changed to movaps for smaller code sizes.
2922         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
2923         comments.
2924         (PREFETCH): New.
2925         (PREFETCH_SIZE): Likewise.
2926         (PREFETCHED_LOAD_SIZE): Likewise.
2927         (PREFETCH_ONE_SET): Likewise.
2928         Rewrite to use forward and backward loops, which move 4 vector
2929         registers at a time, to support overlapping addresses and use
2930         non temporal store if size is above the threshold and there is
2931         no overlap between destination and source.
2933 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
2935         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
2936         Include dl-vdso.
2937         * sysdeps/unix/sysv/linux/mips/Versions: Add
2938         __vdso_clock_gettime.
2939         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
2940         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
2941         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
2942         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
2943         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
2944         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
2945         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2946         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
2947         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
2949 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2951         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
2952         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
2953         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2954         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2955         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2956         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2959         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
2960         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
2961         syscalls generation.
2962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2963         [__NR_pwrite64] (__NR_write): Remove define.
2964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2965         [__NR_pwrite64] (__NR_write): Remove define.
2966         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
2967         Remove define.
2968         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
2969         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
2970         Remove define.
2971         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
2972         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
2973         Linux implementation as base.
2974         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2976         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
2977         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
2978         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2979         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
2981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2982         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
2983         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
2984         syscall generation.
2985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2986         [__NR_pread64] (__NR_pread): Remove define.
2987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2988         [__NR_pread64] (__NR_pread): Likewise.
2989         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
2990         define.
2991         (__libc_pread): Use SYSCALL_LL macro on offset argument.
2992         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
2993         Remove define.
2994         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
2995         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
2996         Linux implementation as base.
2997         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2998         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2999         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3001         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
3002         definition.
3003         (__ALIGNMENT_COUNT): Likewise.
3004         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
3005         (__ALIGNMENT_COUNT): Likewise.
3006         (SYSCALL_LL): New define.
3007         (SYSCALL_LL64): Likewise.
3008         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
3009         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
3010         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
3011         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
3013         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3014         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
3015         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3016         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
3017         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3018         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
3020 2016-04-11  Florian Weimer  <fweimer@redhat.com>
3022         [BZ #19865]
3023         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
3024         original buffer before retry.
3026 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3028         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
3029         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
3030         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
3031         GLRO(dl_auxv) list.
3032         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
3033         including <ldsodefs.h>.
3034         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
3036 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
3038         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
3039         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
3040         $(CPPFLAGS).
3042 2016-04-09  Khem Raj  <raj.khem@gmail.com>
3044         [BZ #17950]
3045         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
3046         Add -mfpmath=387.
3048 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
3050         * sysdeps/i386/configure.ac: Change == to = when calling test.
3051         * sysdeps/x86_64/configure.ac: Likewise.
3052         * sysdeps/i386/configure: Regenerated.
3053         * sysdeps/x86_64/configure: Likewise.
3055 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
3057         [BZ #16137]
3058         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
3059         * benchtests/bench-strcoll.c (input_files): Likewise.
3060         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
3061         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
3062         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
3064 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
3066         [BZ #19929]
3067         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
3068         [__USE_XOPEN2K8 && !__USE_GNU].
3069         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
3070         variable.
3072         [BZ #19925]
3073         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
3074         define if [!__USE_MISC && __USE_XOPEN2K].
3075         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
3076         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
3077         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
3078         Likewise.
3079         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
3080         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
3081         variable.
3082         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3084 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3086         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3087         (sysdep_routines): Add new strspn targets.
3088         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3089         (__libc_ifunc_impl_list): Add strspn.
3090         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
3091         New file.
3092         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
3093         Likewise.
3094         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
3095         Likewise.
3096         * sysdeps/powerpc/powerpc64/power8/strspn.S:
3097         Likewise.
3099 2016-04-07  Florian Weimer  <fweimer@redhat.com>
3101         * misc/hsearch_r.c: Include <limits.h>.
3103 2016-04-07  Florian Weimer  <fweimer@redhat.com>
3105         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
3107 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
3109         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3110         (MEMCPY_SYMBOL): New.
3111         (MEMPCPY_SYMBOL): Likewise.
3112         (MEMMOVE_CHK_SYMBOL): Likewise.
3113         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
3114         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
3115         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
3116         Provide alias for memcpy in libc.a and ld.so.
3118 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
3120         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
3121         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
3122         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
3123         Disabled fro now.
3124         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
3125         symbols.  Properly check USE_MULTIARCH on __memset symbols.
3127 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
3129         * benchtests/Makefile (string-benchset): Add memcpy-large,
3130         memmove-large and memset-large.
3131         * benchtests/bench-memcpy-large.c: New file.
3132         * benchtests/bench-memmove-large.c: Likewise.
3133         * benchtests/bench-memmove-large.c: Likewise.
3134         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
3136 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
3138         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
3139         32-bit displacement to avoid long nop between instructions.
3141 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
3143         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
3144         a comment on VMOVU and VMOVA.
3146 2016-04-04  Florian Weimer  <fweimer@redhat.com>
3148         [BZ #19633]
3149         Use specified locale for number formatting in strfmon_l.
3150         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
3151         (__nl_lookup_word): New inline functions.
3152         * include/printf.h (__print_fp_l): Declare.
3153         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
3154         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
3155         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
3156         (___printf_fp): New function.
3157         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
3158         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
3159         * stdlib/tst-strfmon_l.c (do_test): New test.
3160         * stdlib/Makefile (tests): Add kt.
3161         (LOCALES): Build additional locales.
3162         (tst-strfmon_l.out): Require locales.
3164 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
3166         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
3167         if not in libc.
3168         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
3169         Likewise.
3170         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
3171         Likewise.
3172         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
3173         Likewise.
3175 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
3177         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3178         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
3179         with unaligned_erms.
3180         (__memmove_erms): Skip if source == destination.
3181         (__memmove_unaligned_erms): Don't check source == destination
3182         first.
3184 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
3186         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
3187         bit_arch_Fast_Copy_Backward for Intel Core proessors.
3189 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3191         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
3192         * string/strspn.c (strspn): Likewise.
3194 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
3196         * benchtests/bench-memset.c (do_test): Support 64-byte
3197         alignment.
3198         (test_main): Test 64-byte alignment.
3200 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
3202         * benchtests/bench-memmove.c (test_main): Test 64-byte
3203         alignment.
3205 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
3207         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
3209 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3211         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
3212         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
3213         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
3215         * string/strpbrk.c (strpbrk): Rewrite function.
3216         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
3217         (__strpbrk_c2): Likewise.
3218         (__strpbrk_c3): Likewise.
3219         * string/string-inlines.c
3220         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
3221         Likewise.
3222         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
3223         Likewise.
3225         * string/strspn.c (strcspn): Rewrite function.
3226         * string/bits/string2.h (strspn): Use __builtin_strcspn.
3227         (__strspn_c1): Remove inline function.
3228         (__strspn_c2): Likewise.
3229         (__strspn_c3): Likewise.
3230         * string/string-inlines.c
3231         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
3232         compatibility symbol.
3233         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
3234         Likewise.
3235         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
3236         Likewise.
3237         * string/string-inlines.c: Include generic version.
3239 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
3240             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3242         * string/Version (libc): Add GLIBC_2.24.
3243         * string/strcspn.c (strcspn): Rewrite function.
3244         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
3245         (__strcspn_c1): Remove inline function.
3246         (__strcspn_c2): Likewise.
3247         (__strcspn_c3): Likewise.
3248         * string/string-inline.c
3249         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
3250         compatibility symbol.
3251         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
3252         Likewise.
3253         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
3254         Likewise.
3255         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
3257 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
3259         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
3260         Use ahi instead of aghi to adjust stack pointer.
3262 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3264         [BZ #19853]
3265         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
3266         TEST to take significant digits as second parameter.
3267         [TEST]: Redefine in terms of TEST_N taking 30
3268         significant digits.
3269         (do_test): Add test case to demonstrate precision
3270         failure in the ldbl-128ibm printf.
3271         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
3272         (__mpn_extract_long_double): Carry 7 extra intermediate
3273         bits of precision to aide computing difference when
3274         signs differ.
3276 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
3278         [BZ #19881]
3279         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3280         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
3281         memset-avx512-unaligned-erms.
3282         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3283         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
3284         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
3285         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
3286         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
3287         __memset_sse2_unaligned_erms, __memset_erms,
3288         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
3289         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
3290         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
3291         file.
3292         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
3293         Likewise.
3294         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
3295         Likewise.
3296         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
3297         Likewise.
3299 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
3301         [BZ #19776]
3302         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3303         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
3304         memmove-avx512-unaligned-erms.
3305         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3306         (__libc_ifunc_impl_list): Test
3307         __memmove_chk_avx512_unaligned_2,
3308         __memmove_chk_avx512_unaligned_erms,
3309         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
3310         __memmove_chk_sse2_unaligned_2,
3311         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
3312         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
3313         __memmove_avx512_unaligned_erms, __memmove_erms,
3314         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
3315         __memcpy_chk_avx512_unaligned_2,
3316         __memcpy_chk_avx512_unaligned_erms,
3317         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
3318         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
3319         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
3320         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
3321         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
3322         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
3323         __mempcpy_chk_avx512_unaligned_erms,
3324         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
3325         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
3326         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
3327         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
3328         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
3329         __mempcpy_erms.
3330         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
3331         file.
3332         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
3333         Likwise.
3334         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
3335         Likwise.
3336         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3337         Likwise.
3339 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
3341         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
3342         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
3343         (La_s390_64_regs): Likewise.
3344         (La_s390_32_retval): Append vector register lrv_v24.
3345         (La_s390_64_retval): Likeweise.
3346         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
3347         Handle extended structs La_s390_32_regs and La_s390_32_retval.
3348         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
3349         Handle extended structs La_s390_64_regs and La_s390_64_retval.
3351 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
3353         [BZ #19916]
3354         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
3355         to create a non-vector/vector version for _dl_runtime_resolve and
3356         _dl_runtime_profile. Move implementation to ...
3357         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
3358         (_dl_runtime_resolve) Save and restore fpr/vrs.
3359         (_dl_runtime_profile) Save and restore vrs and fix some issues
3360         if _dl_call_pltexit is called.
3361         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
3362         Choose the correct resolver function if running on a machine with vx.
3363         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
3364         to create a non-vector/vector version for _dl_runtime_resolve and
3365         _dl_runtime_profile. Move implementation to ...
3366         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
3367         (_dl_runtime_resolve) Save and restore fpr/vrs.
3368         (_dl_runtime_profile) Save and restore vrs and fix some issues
3369         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
3370         Choose the correct resolver function if running on a machine with vx.
3372 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3374         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
3376 2016-03-31  Florian Weimer  <fweimer@redhat.com>
3378         [BZ #19509]
3379         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
3380         skip_map != NULL.
3381         * elf/tst-dlsym-error.c: New file.
3382         * elf/Makefile (tests): Add tst-dlsym-error.
3383         (tst-dlsym-error): Link against libdl.
3385 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
3387         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3388         (__ASSUME_FUTIMESAT): Remove macro.
3389         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
3391 2016-03-29  Florian Weimer  <fweimer@redhat.com>
3393         [BZ #19879]
3394         CVE-2016-3075
3395         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
3396         copy name.
3398 2016-03-29  Florian Weimer  <fweimer@redhat.com>
3400         [BZ #19837]
3401         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
3402         error if parse_line fails.
3404 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3406         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
3407         (index_cpu_ERMS): Likewise.
3408         (reg_ERMS): Likewise.
3410 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
3412         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
3413         PER_LINUX_FDPIC): Add.
3415 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3417         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3418         memcpy-avx512-no-vzeroupper.
3419         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
3420         to ...
3421         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
3422         (MEMCPY): Don't define.
3423         (MEMCPY_CHK): Likewise.
3424         (MEMPCPY): Likewise.
3425         (MEMPCPY_CHK): Likewise.
3426         (MEMPCPY_CHK): Renamed to ...
3427         (__mempcpy_chk_avx512_no_vzeroupper): This.
3428         (MEMPCPY_CHK): Renamed to ...
3429         (__mempcpy_chk_avx512_no_vzeroupper): This.
3430         (MEMCPY_CHK): Renamed to ...
3431         (__memmove_chk_avx512_no_vzeroupper): This.
3432         (MEMCPY): Renamed to ...
3433         (__memmove_avx512_no_vzeroupper): This.
3434         (__memcpy_avx512_no_vzeroupper): New alias.
3435         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
3437 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3439         [BZ #18858]
3440         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3441         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
3442         and mempcpy-avx512-no-vzeroupper.
3443         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
3444         New.
3445         (MEMPCPY): Likewise.
3446         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
3447         (MEMPCPY_CHK): New.
3448         (MEMPCPY): Likewise.
3449         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
3450         (MEMPCPY): Likewise.
3451         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
3452         (MEMPCPY): Likewise.
3453         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
3454         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
3455         Likewise.
3456         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
3457         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
3459 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
3460              Amit Pawar  <Amit.Pawar@amd.com>
3462         [BZ #19583]
3463         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
3464         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
3465         processors.  Set Fast_Copy_Backward for AMD Excavator
3466         processors.
3467         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
3468         New.
3469         (index_arch_Fast_Unaligned_Copy): Likewise.
3470         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
3471         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
3473 2016-03-25  Florian Weimer  <fweimer@redhat.com>
3475         [BZ #19791]
3476         * resolv/res_send.c (close_and_return_error): New function.
3477         (send_dg): Initialize *resplen2 after reopen failure.  Call
3478         close_and_return_error for error returns.  On error paths without
3479         __res_iclose, initialze *resplen2 explicitly.  Update comment for
3480         successful return.
3482 2016-03-25  Florian Weimer  <fweimer@redhat.com>
3484         [BZ# 19860]
3485         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
3486         zero if the compiler does not provide the AVX512F bit.
3488 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
3490         [BZ #19848]
3491         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
3492         from 8 to 4.
3493         (__ieee754_powl): Compare integer exponent against 4 not 8.
3494         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
3495         from 8 to 4.
3496         (__ieee754_powl): Compare integer exponent against 4 not 8.
3497         * math/auto-libm-test-in: Add more tests of pow.
3498         * math/auto-libm-test-out: Regenerated.
3499         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
3500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3502 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
3504         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
3505         Make code unconditional.
3506         [!__NR_utimensat]: Remove conditional code.
3507         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
3508         Make code unconditional.
3509         [!__NR_utimensat]: Remove conditional code.
3510         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
3511         Make code unconditional.
3512         [!__NR_utimensat]: Remove conditional code.
3514 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
3516         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
3517         Make code unconditional.
3519 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
3521         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
3522         call-clobbered %eax on retry path.
3523         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
3525 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
3527         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
3528         Don't set %rcx twice before "rep movsb".
3530 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
3532         [BZ #19583]
3533         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
3534         inline.  Check family before setting family, model and
3535         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
3536         bits here.
3537         (init_cpu_features): Replace HAS_CPU_FEATURE and
3538         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
3539         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
3540         for Intel processors with usable AVX2.  Call get_common_indeces
3541         for other processors with family == NULL.
3542         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
3543         (CPU_FEATURES_ARCH_P): Likewise.
3544         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
3545         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
3547 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3549         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
3550         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
3551         $(shared-thread-library) instead of hardcoding the path to libpthread.
3553 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
3555         * sysdeps/unix/sysv/linux/kernel-features.h
3556         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
3557         * sysdeps/unix/sysv/linux/getdents.c
3558         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
3559         [!have_no_getdents64_defined]: Likewise.
3560         (__GETDENTS): Remove __have_no_getdents64 conditional.
3562 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
3564         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
3565         Remove macro.
3566         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
3567         <kernel-features.h>.
3568         (signalfd) [__NR_signalfd4]: Make code unconditional.
3569         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
3571 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3573         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
3574         style.
3576 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
3578         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
3579         (__pthread_enable_asynccancel): Use JUMPTARGET to call
3580         __pthread_unwind.
3581         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
3582         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
3583         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
3584         (__condvar_cleanup1): Likewise.
3586 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
3588         [BZ #19822]
3589         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
3590         move it to the final $@ location.
3592 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3594         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
3595         access where posix_spawn success and pid argument is null.
3596         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
3597         success case.
3599 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
3601         * sysdeps/mach/hurd/i386/c++-types.data: New file.
3603         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
3605         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
3606         and __fcntl.
3607         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
3608         __fcntl only.
3609         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
3610         adding attribute_hidden to __open and __fcntl.
3612         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
3613         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
3614         depend on libc-modules.h,
3615         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
3617 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
3619         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
3620         Remove macro.
3621         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
3622         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
3623         entry.
3625         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
3626         Remove macro.
3627         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
3628         include <kernel-features.h>.
3629         [!__ASSUME_FALLOCATE]: Remove conditional code.
3630         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
3632 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3634         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
3635         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
3636         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
3637         (_ZGVdN4v_cos_avx2): Likewise.
3638         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
3639         (_ZGVdN4v_cos): Likewise.
3640         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
3641         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
3642         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
3643         (_ZGVdN4v_exp_avx2): Likewise.
3644         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
3645         (_ZGVdN4v_exp): Likewise.
3646         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
3647         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
3648         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
3649         (_ZGVdN4v_log_avx2): Likewise.
3650         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
3651         (_ZGVdN4v_log): Likewise.
3652         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
3653         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
3654         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
3655         (_ZGVdN4vv_pow_avx2): Likewise.
3656         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
3657         (_ZGVdN4vv_pow): Likewise.
3658         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
3659         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
3660         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
3661         (_ZGVdN4v_sin_avx2): Likewise.
3662         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
3663         (_ZGVdN4v_sin): Likewise.
3664         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
3665         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
3666         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
3667         (_ZGVdN4vvv_sincos_avx2): Likewise.
3668         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
3669         (_ZGVdN4vvv_sincos): Likewise.
3670         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
3671         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
3672         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
3673         (_ZGVbN4v_cosf_sse4): Likewise.
3674         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
3675         (_ZGVdN8v_cosf_avx2): Likewise.
3676         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
3677         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
3678         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
3679         (_ZGVbN4v_expf_sse4): Likewise.
3680         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
3681         (_ZGVdN8v_expf_avx2): Likewise.
3682         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
3683         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
3684         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
3685         (_ZGVbN4v_logf_sse4): Likewise.
3686         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
3687         (_ZGVdN8v_logf_avx2): Likewise.
3688         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
3689         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
3690         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
3691         (_ZGVbN4vv_powf_sse4): Likewise.
3692         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
3693         (_ZGVdN8vv_powf_avx2): Likewise.
3694         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
3695         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
3696         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
3697         (_ZGVbN4vvv_sincosf_sse4): Likewise.
3698         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
3699         (_ZGVdN8vvv_sincosf_avx2): Likewise.
3700         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
3701         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
3702         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
3703         (_ZGVbN4v_sinf_sse4): Likewise.
3704         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
3705         (_ZGVdN8v_sinf_avx2): Likewise.
3706         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
3707         Use JUMPTARGET to call callee.
3708         (WRAPPER_IMPL_SSE2_ff): Likewise.
3709         (WRAPPER_IMPL_SSE2_fFF): Likewise.
3710         (WRAPPER_IMPL_AVX): Likewise.
3711         (WRAPPER_IMPL_AVX_ff): Likewise.
3712         (WRAPPER_IMPL_AVX_fFF): Likewise.
3713         (WRAPPER_IMPL_AVX512): Likewise.
3714         (WRAPPER_IMPL_AVX512_ff): Likewise.
3715         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
3716         Likewise.
3717         (WRAPPER_IMPL_SSE2_ff): Likewise.
3718         (WRAPPER_IMPL_SSE2_fFF): Likewise.
3719         (WRAPPER_IMPL_AVX): Likewise.
3720         (WRAPPER_IMPL_AVX_ff): Likewise.
3721         (WRAPPER_IMPL_AVX_fFF): Likewise.
3722         (WRAPPER_IMPL_AVX512): Likewise.
3723         (WRAPPER_IMPL_AVX512_ff): Likewise.
3724         (WRAPPER_IMPL_AVX512_fFF): Likewise.
3726 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3728         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
3729         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
3730         qualifier.
3731         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
3732         internal_function qualifiers.
3734 2016-03-15  Carlos O'Donell <carlos@redhat.com>
3736         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
3737         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
3738         * math/atest-exp.c (exp_mpn): Mark chk unused.
3739         * math/atest-exp2.c (exp_mpn): Likwise.
3740         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
3741         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
3743 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
3745         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
3746         Remove macro.
3747         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
3748         <kernel-features.h>.
3749         [__NR_ppoll]: Make code unconditional.
3750         [!__ASSUME_PPOLL]: Remove conditional code.
3752         * sysdeps/unix/sysv/linux/kernel-features.h
3753         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
3754         (__ASSUME_ACCEPT4): Likewise.
3755         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3756         Define.
3757         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
3758         Likewise.
3759         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3760         Likewise.
3761         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
3762         Likewise.
3763         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
3764         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
3765         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3766         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3767         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3768         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3769         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3770         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3771         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3772         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3773         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3774         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3775         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3776         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3777         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3778         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3779         Likewise.
3780         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3781         Likewise.
3782         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3783         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
3784         0x040300].
3785         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3786         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3787         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3788         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3789         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
3790         0x030300].
3791         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
3792         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3793         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3794         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
3795         0x040300].
3796         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3797         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3798         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3799         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3800         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3801         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3802         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
3803         0x030300].
3804         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3805         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3806         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3807         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3808         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3809         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3810         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3811         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3812         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3813         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
3814         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
3815         0x040300].
3816         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3817         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3818         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3819         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3820         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3821         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3822         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3823         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3824         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3825         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3826         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3827         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3828         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3829         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3830         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
3831         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3832         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3833         Likewise.
3834         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3835         Likewise.
3837 2016-03-15  Andreas Schwab  <schwab@suse.de>
3839         [BZ #19257]
3840         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
3841         statp->_u._ext.nscount as loop count.
3843 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
3845         * math/test-signgam-finite-c99.c: Also #undef
3846         __LIBC_INTERNAL_MATH_INLINES.
3847         * math/test-signgam-main.c: Likewise.
3849 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
3851         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
3852         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
3853         (MADV_FREE): Likewise.
3854         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
3855         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
3856         EPOLLEXCLUSIVE.
3858 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
3860         * timezone/README: Remove mention of checktab.awk. Mention wiki
3861         SharedSourceFiles.
3863 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
3865         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
3866         WUNTRACED.
3868 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3870         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
3871         order to match the type of p when calling atomic_exchange_acq().
3873 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3875         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
3876         cfi_offset calls.
3877         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
3878         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
3879         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
3880         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
3881         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
3883 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
3885         * timezone/checktab.awk: Removed.
3887 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
3889         * manual/math.texi (Errors in Math Functions): Document relaxed
3890         accuracy goals for IBM long double.
3891         * math/libm-test.inc (test_exceptions): Always allow spurious
3892         "underflow" and "inexact" exceptions for IBM long double.
3894 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
3896         [BZ #19762]
3897         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
3898         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
3899         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
3900         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
3901         (bit_arch_*): This for feature array.
3902         (bit_*): Renamed to ...
3903         (bit_cpu_*): This for cpu array.
3904         (index_*): Renamed to ...
3905         (index_arch_*): This for feature array.
3906         (index_*): Renamed to ...
3907         (index_cpu_*): This for cpu array.
3908         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
3909         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
3910         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
3911         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
3912         bit_##name with index_cpu_##name and bit_cpu_##name.
3913         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
3914         bit_##name with index_arch_##name and bit_arch_##name.
3916 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
3918         [BZ #19792]
3919         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
3920         Terminate FDE before return label.
3922 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
3924         [BZ #19790]
3925         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
3926         (rintl): Define as macro.
3927         [USE_AS_NEARBYINTL] (__rintl): Likewise.
3928         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
3929         of fesetround.  Ensure results are evaluated before end of scope.
3930         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
3931         USE_AS_NEARBYINTL and include s_rintl.c.
3932         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
3933         Disable exception traps in new environment.
3934         (libc_feholdsetround_ppc_ctx): Likewise.
3936 2016-03-08  Roland McGrath  <roland@hack.frob.com>
3938         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
3939         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
3940         (tst_audit10_aux) [__AVX512F__]: ... here.
3942 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
3944         * include/sys/auxv.h: New file.
3946 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
3948         [BZ #19759]
3949         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
3951 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3953         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
3954         operand modifier.
3955         (feclearexcept): Likewise.
3957 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3959         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
3960         to reflect the entire 32-bit HWCAP.
3961         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
3962         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
3964 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
3966         [BZ #19783]
3967         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
3968         $(test-via-rtld-prefix).
3969         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
3971 2016-03-08  Florian Weimer  <fweimer@redhat.com>
3973         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
3974         union wait.  Report any non-zero exit status as error.
3976 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3978         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
3979         configured with --enable-hardcoded-path-in-tests.
3981 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
3983         [BZ #19677]
3984         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
3985         (__ieee754_remainderl): Put zero low parts in canonical form.
3986         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
3987         file.  Based on
3988         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
3989         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
3990         with wrapper round test-fmodrem-ldbl-128ibm.c.
3991         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
3992         file.
3993         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
3994         Likewise.
3995         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
3996         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
3998 2016-03-07  Florian Weimer  <fweimer@redhat.com>
4000         [BZ #19610]
4001         * elf/ldconfig.c (opt_link): Update comment.
4002         (options): Update help string for option -X.
4003         (search_dir): Unlink stale symbolic link only if updating symbolic
4004         links.
4005         * elf/tst-ldconfig-X.sh: New file.
4006         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
4007         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
4009 2016-03-07  Andreas Schwab  <schwab@suse.de>
4011         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
4012         needed arguments.
4014 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
4016         [BZ #15333]
4017         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
4018         to lstat64.
4020 2016-03-07  Florian Weimer  <fweimer@redhat.com>
4022         * libio/filedoalloc.c (isatty): Remove.
4023         (local_isatty): Add comment.  Call __isatty directly.
4024         (_IO_file_doallocate): Update comment.  Assume _LIBC.
4025         * libio/wfiledoalloc.c (isatty): Remove.
4026         (_IO_wfile_doallocate): Update comment.
4028 2016-03-07  Florian Weimer  <fweimer@redhat.com>
4030         [BZ #19269]
4031         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
4032         tst-audit4-aux.o.
4033         (tst-audit10): Depend on tst-audit10-aux.o.
4034         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
4035         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
4036         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
4037         instead of inline AVX code.
4038         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
4039         instead of inline AVX512 code.
4040         * sysdeps/x86_64/tst-audit4-aux.c: New file
4041         * sysdeps/x86_64/tst-audit10-aux.c: New file
4043         [BZ #19648]
4044         * test-skeleton.c (main): Do not set RLIMIT_DATA.
4046 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4048         [BZ #14750]
4049         [BZ #10354]
4050         [BZ #18433]
4051         * include/sched.h (__clone): Add hidden prototype.
4052         (__clone2): Likewise.
4053         * include/unistd.h (__dup): Likewise.
4054         * posix/Makefile (tests): Add tst-spawn2.
4055         * posix/tst-spawn2.c: New file.
4056         * sysdeps/posix/dup.c (__dup): Add hidden definition.
4057         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
4058         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
4059         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
4060         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
4061         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
4062         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
4063         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
4064         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
4065         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
4066         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
4067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
4068         Likewise.
4069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4070         Likewise.
4071         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
4072         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
4073         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
4074         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
4075         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
4076         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
4077         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
4078         * sysdeps/unix/sysv/linux/nptl-signals.h
4079         (____nptl_is_internal_signal): New function.
4080         * sysdeps/unix/sysv/linux/spawni.c: New file.
4082         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
4083         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
4084         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
4085         * posix/tst-execvp2.c (do_test): Likewise.
4086         * posix/tst-execvp3.c (do_test): Likewise.
4087         * posix/tst-execvp4.c (do_test): Likewise.
4088         * posix/tst-execvpe1.c: New file.
4089         * posix/tst-execvpe2.c: Likewise.
4090         * posix/tst-execvpe3.c: Likewise.
4091         * posix/tst-execvpe4.c: Likewise.
4092         * posix/tst-execvpe5.c: Likewise.
4093         * posix/tst-execvpe6.c: Likewise.
4095         [BZ #19534]
4096         * posix/execl.c (execl): Remove dynamic memory allocation.
4097         * posix/execle.c (execle): Likewise.
4098         * posix/execlp.c (execlp): Likewise.
4100 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
4102         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
4103         Replace .text with .text.avx512.
4104         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
4105         Likewise.
4107 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
4109         * sysdeps/generic/libnsl.abilist: New file.
4110         * sysdeps/generic/libutil.abilist: New file.
4112 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
4114         [BZ #19762]
4115         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
4116         HAS_ARCH_FEATURE with Fast_Rep_String.
4117         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
4118         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
4119         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
4120         Likewise.
4121         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
4122         Likewise.
4123         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
4124         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
4125         Likewise.
4126         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
4127         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
4128         Likewise.
4130 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
4132         [BZ #19745]
4133         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
4134         with *%rax in call.
4136 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
4138         [BZ #19745]
4139         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
4140         with *__libc_start_main@GOTPCREL(%rip) in call.
4142 2016-03-04  Roland McGrath  <roland@hack.frob.com>
4144         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
4145         inside conditional for nonempty $(CXX).
4147         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
4148         nonempty.
4150         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
4151         to test for empty $(CXX) rather than $(CXX) of "no".
4153 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
4155         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
4157 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
4158             H.J. Lu  <hongjiu.lu@intel.com>
4160         [BZ #18880]
4161         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
4162         instead of Slow_BSF, and also check for Fast_Copy_Backward to
4163         enable __memcpy_ssse3_back.
4165 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
4167         [BZ #19758]
4168         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
4169         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
4171 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
4173         [BZ #19490]
4174         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
4175         (__fentry__): Likewise.
4177 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
4179         * gmon/Makefile (noprof): Add $(sysdep_noprof).
4180         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
4182 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
4184         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
4185         __mcount_internal directly.
4186         (C_LABEL(__fentry__)): Likewise.
4187         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
4188         directly.
4190 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
4192         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
4193         (__start_context): Call __setcontext directly.
4195 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
4197         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4198         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4199         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
4200         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
4201         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4202         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4203         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
4204         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4205         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4206         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
4207         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
4208         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
4209         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4210         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4211         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4212         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4213         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
4214         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4215         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4216         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
4217         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
4218         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4219         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4220         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
4221         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
4222         Remove conditional code.
4223         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4224         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
4225         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4226         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4227         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
4228         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4229         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
4230         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4231         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
4232         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4233         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4234         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
4236 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
4238         * NEWS (2.23): Fix typo in bug 19048 text.
4240 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
4242         [BZ #14259]
4243         * Makeconfig: Rename msgcatdir to localedir.
4244         Rename inst_msgcatdir to inst_localedir.
4245         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
4246         * config.make.in: Add localedir.
4247         * elf/Makefile ($(objpfx)sotruss): Use localedir.
4248         (ldd-rewrite): Likewise.
4249         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
4250         (install-others): Use inst_localedir.
4251         (CPPFLAGS): Use localedir.
4252         * locale/Makefile (locale-CPPFLAGS): Likewise.
4253         * po/Makefile (mo-installed): Use inst_localedir.
4255         [BZ #19575]
4256         * localedata/charmaps/GB18030: Update comments regarding PAU to
4257         non-PUA mappings.
4259 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
4261         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
4262         test for header.
4263         * sysdeps/unix/sysv/linux/configure: Regenerated.
4264         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
4265         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
4266         Remove conditional code.
4267         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
4269         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4270         Define to 3.2.0.
4271         (arch_minimum_kernel): Likewise.
4272         * sysdeps/unix/sysv/linux/configure: Regenerated.
4273         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
4274         Define to 2.6.32.
4275         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
4276         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
4277         (arch_minimum_kernel): Define to 2.6.32.
4278         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
4279         * README: Document Linux 3.2 requirement.
4280         * manual/install.texi (Linux): Document Linux 3.2 headers
4281         requirement.
4282         * INSTALL: Regenerated.
4284 2016-02-24  Andreas Schwab  <schwab@suse.de>
4286         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
4287         if !NO_LONG_DOUBLE.
4289 2016-02-22  Roland McGrath  <roland@hack.frob.com>
4291         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
4292         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
4294 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
4296         [BZ #19512]
4297         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
4299 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
4301         * posix/tst-dir.c: Include libc-internal.h.
4303 2016-02-20  Florian Weimer  <fweimer@redhat.com>
4305         [BZ #19056]
4306         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
4307         * manual/filesys.texi (Reading/Closing Directory): Mention
4308         deprecaion.
4309         * posix/tst-dir.c (main): Disable deprecation warning in test.
4311 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
4313         [BZ #19679]
4314         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
4315         Renamed to ...
4316         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
4317         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
4318         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
4319         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
4320         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
4321         * sysdeps/x86_64/dl-trampoline.h
4322         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
4323         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
4325 2016-02-19  Mark Wielaard  <mjw@redhat.com>
4327         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
4329 2016-02-19  Mark Wielaard  <mjw@redhat.com>
4331         * elf/elf.h (R_386_GOT32X): New.
4332         (R_386_NUM): Update.
4333         (R_X86_64_GOTPCRELX: New.
4334         (R_X86_64_REX_GOTPCRELX): New.
4335         (R_X86_64_NUM): Update.
4337 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
4339         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
4341 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
4343         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
4344         assign attr->stackaddr to it, and adjust it down when
4345         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
4346         [_STACK_GROWS_UP]: Delete assert.
4347         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
4348         Implement stack grows up logic.
4349         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
4350         stack grows up logic.
4352 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4354         * NEWS: Update with 2.24 template.
4356 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
4358         [BZ #19678]
4359         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
4360         Ensure +0.0 is returned when taking the next value below the least
4361         positive value.
4363 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4365         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
4366         available.  Do not define NO_THREADS.
4367         * malloc/malloc.c: Do not check NO_THREADS.
4368         * malloc/arena.c: Likewise.
4370 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4372         * malloc/malloc.c (__libc_mallinfo): Update comment.
4373         (struct malloc_par): Remove max_total_mem member, it was always 0.
4374         (int_mallinfo): Store 0 into usmblks (no functional change).
4375         * malloc/hooks.c (struct malloc_state): Document that
4376         max_total_mem is always 0.
4377         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
4378         always 0.
4379         * manual/memory.texi (Statistics of Malloc): Likewise.
4381 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4383         * malloc/malloc.c (sysmalloc): Do not update arena_max.
4384         * malloc/arena.c (arena_max): Remove.
4385         (heap_trim, _int_new_arena): Do not update arena_max.
4387 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4389         * resolv/res_init.c (res_ninit): Update comment.
4391 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4393         [BZ #19505]
4394         * posix/spawn_int.h: Add headers and include guard.
4395         (__spawn_valid_fd): New function.
4396         * posix/spawn_faction_addopen.c
4397         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
4398         * posix/spawn_faction_addclose.c
4399         (posix_spawn_file_actions_addclose): Likewise.
4400         * posix/spawn_faction_adddup2.c
4401         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
4402         second file descriptor.
4403         * posix/spawn_valid_fd.c: New file.
4404         * posix/tst-posix_spawn-fd.c: New file.
4405         * posix/Makefile (routines): Add spawn_valid_fd.
4406         (tests): Add tst-posix_spawn-fd.
4408 2016-02-19  Florian Weimer  <fweimer@redhat.com>
4410         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
4411         (do_test): Limit the number of arenas, so that we can use fewer
4412         outer threads.  Limit timeout to 3 seconds, in preparation for a
4413         larger TIMEOUT value.
4415 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
4417         [BZ #19674]
4418         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
4419         sign in overflowing and underflowing results when overflow or
4420         underflow is detected early.  Include sign in result before rather
4421         than after scaling.
4423         [BZ #19603]
4424         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
4425         (__ieee754_remainderl): Adjust sign of integer version of low part
4426         when taking absolute value of high part.
4427         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4428         * math/libm-test.inc (remainder_test_data): Add another test.
4429         (remquo_test_data): Likewise.
4431 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
4433         [BZ #19602]
4434         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
4435         equal high parts and both low parts zero specially.
4436         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
4437         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
4438         Add test-fmodl-ldbl-128ibm.
4440         [BZ #19595]
4441         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
4442         common logic for all cases of shifting subnormal results.  Do not
4443         insert sign bit in shifted mantissa.  Always pass -1023 as biased
4444         exponent to ldbl_insert_mantissa in subnormal case.
4446         [BZ #19594]
4447         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
4448         on high and low parts then adjust result and use
4449         ldbl_canonicalize_int if needed.
4451         [BZ #19593]
4452         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
4453         on high part and __floor or __ceil on low part then use
4454         ldbl_canonicalize_int if needed.
4456         [BZ #19592]
4457         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
4458         high and low parts then use ldbl_canonicalize_int if needed.
4460         [BZ #17899]
4461         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
4462         New function.
4463         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
4464         on high and low parts then use ldbl_canonicalize_int if needed.
4466 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4468         * configure: Regenerated.
4470         * po/libc.pot: Regenerated.
4472         * po/be.po: Updated translation.
4473         * po/bg.po: Likewise.
4474         * po/ca.po: Likewise.
4475         * po/cs.po: Likewise.
4476         * po/da.po: Likewise.
4477         * po/el.po: Likewise.
4478         * po/eo.po: Likewise.
4479         * po/es.po: Likewise.
4480         * po/fi.po: Likewise.
4481         * po/fr.po: Likewise.
4482         * po/gl.po: Likewise.
4483         * po/hr.po: Likewise.
4484         * po/hu.po: Likewise.
4485         * po/ia.po: Likewise.
4486         * po/id.po: Likewise.
4487         * po/it.po: Likewise.
4488         * po/ja.po: Likewise.
4489         * po/lt.po: Likewise.
4490         * po/nb.po: Likewise.
4491         * po/nl.po: Likewise.
4492         * po/pt_BR.po: Likewise.
4493         * po/rw.po: Likewise.
4494         * po/sk.po: Likewise.
4495         * po/sl.po: Likewise.
4496         * po/sv.po: Likewise.
4497         * po/tr.po: Likewise.
4498         * po/zh_CN.po: Likewise.
4499         * po/zh_TW.po: Likewise.
4501         * version.h (RELEAES): Set to "development".
4502         (VERSION): Set to 2.23.90.
4504         * version.h (RELEASE): Set to "stable".
4505         (VERSION): Set to 2.23.
4506         * include/feature.h (__GLIBC_MINOR__): Set to 23.
4508         * NEWS: Updated fixed bugs.
4510 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
4511             Wilco Dijkstra  <wdijkstr@arm.com>
4513         [BZ #19462]
4514         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
4515         (_STRING_INLINE_unaligned): This.
4516         * include/string.h: Include <string_private.h>.
4517         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
4518         _STRING_INLINE_unaligned.
4519         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
4520         (_STRING_INLINE_unaligned): New.
4521         * sysdeps/aarch64/string_private.h: New file.
4522         * sysdeps/generic/string_private.h: Likewise.
4523         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
4524         * sysdeps/s390/string_private.h: Likewise.
4525         * sysdeps/x86/string_private.h: Likewise.
4526         * sysdeps/m68k/m680x0/m68020/bits/string.h
4527         (_STRING_ARCH_unaligned): Renamed to ...
4528         (_STRING_INLINE_unaligned): This.
4529         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
4530         to ...
4531         (_STRING_INLINE_unaligned): This.
4532         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
4533         to ...
4534         (_STRING_INLINE_unaligned): This.
4535         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
4536         to ...
4537         (_STRING_INLINE_unaligned): This.
4539 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
4540             H.J. Lu  <hongjiu.lu@intel.com>
4542         [BZ #19590]
4543         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
4544         relocation.
4546 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
4548         [BZ #18665]
4549         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
4550         *herrno_p.
4551         (gaih_getanswer): Document functional behviour. Return tryagain
4552         if any result is tryagain.
4553         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
4554         when freed.
4555         * resolv/res_send.c: Add copyright text.
4556         (__libc_res_nsend): Document that MAXPACKET is expected.
4557         (send_vc): Document. Remove buffer reuse.
4558         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
4559         size of the buffer. Add Dprint for truncated UDP buffer.
4561 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
4563         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
4564         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
4565         * INSTALL: Regenerate.
4567 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
4568             Jonathan Wakely  <jwakely@redhat.com>
4569             Carlos O'Donell  <carlos@redhat.com>
4571         [BZ 19439]
4572         * math/Makefile (tests): Add test-math-isinff.
4573         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
4574         * math/bits/mathcalls.h [__USE_MISC]: Use
4575         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
4576         functions not in C++11 and which don't conflict e.g. isinff,
4577         isinfl etc.
4578         * math/test-math-isinff.cc: New file.
4580 2016-02-12  Florian Weimer  <fweimer@redhat.com>
4582         * misc/bug18240.c (do_test): Set RLIMIT_AS.
4584 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4586         [BZ #19529]
4587         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
4589 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4591         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
4593 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
4595         [BZ #19550]
4596         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
4597         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
4598         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
4599         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
4600         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
4601         New syscall entry.
4602         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
4603         New syscall entry.
4604         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
4605         syscall entry.
4607 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
4609         [BZ #18240]
4610         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
4611         unsigned int wraparound.
4613 2016-01-27  Florian Weimer  <fweimer@redhat.com>
4615         [BZ #18240]
4616         * misc/bug18240.c: New test.
4617         * misc/Makefile (tests): Add it.
4619 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
4620             Joseph Myers  <joseph@codesourcery.com>
4622         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
4623         load in branch delay slot when less than a word of input left.
4625 2016-01-27  Andreas Schwab  <schwab@suse.de>
4627         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
4628         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
4629         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
4630         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
4632 2016-01-26  David S. Miller  <davem@davemloft.net>
4634         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
4636 2016-01-25  David S. Miller  <davem@davemloft.net>
4638         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
4639         __sqrtl_finite.
4640         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
4641         instead using versioned_symbol.
4642         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
4643         of entries.
4645         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
4646         __sqrtl_finite to GLIBC_2.23
4648 2016-01-25  Ricchard Henderson  <rth@redhat.com>
4650         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4652 2016-01-25  Andreas Schwab  <schwab@suse.de>
4654         [BZ #17514]
4655         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
4656         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
4657         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
4658         * nptl/tst-mutex-errorcheck.c: New file.
4660 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4662         [BZ #18560]
4663         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
4664         (IPCOP_semop): Likewise.
4665         (IPCOP_semget): Likewise.
4666         (IPCOP_semctl): Likewise.
4667         (IPCOP_msgsnd): Likewise.
4668         (IPCOP_msgrcv): Likewise.
4669         (IPCOP_msgget): Likewise.
4670         (IPCOP_msgctl): Likewise.
4671         (IPCOP_shmat): Likewise.
4672         (IPCOP_shmdt): Likewise.
4673         (IPCOP_shmget): Likewise.
4674         (IPCOP_shmctl): Likewise.
4676 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
4678         * string/tst-endian.c: Include <libc-internal.h>.
4679         (do_test): Ignore tautological-compare warnings around
4680         "htobeXX (beXXtoh (i)) != i" and
4681         "htoleXX (leXXtoh (i)) != i" if-statements.
4683 2016-01-24  David S. Miller  <davem@davemloft.net>
4685         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
4686         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
4687         alias.
4688         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
4689         __sqrtl_finite.
4691         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4693 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
4695         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
4696         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
4697         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
4699 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4701         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
4702         (thread_func): Use new function to simplify barrier check.
4703         (do_test): Use new function to simplify checking barrier exit
4704         code, and actually join the child thread.
4706 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4708         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
4709         semicolon.
4710         (__libc_tend): Likewise.
4711         (__libc_tabort): Likewise.
4713 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
4715         * sysdeps/nios2/libm-test-ulps: Update.
4716         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
4717         (__gtsf2): Likewise.
4718         (__unorddf2): Likewise.
4719         (__unordsf2): Likewise.
4720         (__ledf2): Likewise.
4722 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
4724         * nis/nis_table.c (__follow_path): Disable diagnostic for
4725         uninitialized variable that is a false positive for gcc 4.7.
4726         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
4728 2016-01-20  Roland McGrath  <roland@hack.frob.com>
4730         * sysdeps/nacl/lowlevellock-futex.h
4731         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
4732         Always evaluate PRIVATE argument.
4734 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
4736         [BZ #19490]
4737         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
4738         (pthread_cond_broadcast): Use ENTRY/END
4739         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
4740         (pthread_cond_signal): Likewise.
4741         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
4742         Likewise.
4743         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
4744         Likewise.
4745         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
4746         Likewise.
4748 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
4750         * sysdeps/ieee754/dbl-64/s_finite.c
4751         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
4752         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
4753         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
4754         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
4755         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
4757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
4758         (__gtsf2): Add as optional for libc.so.
4759         (__unordsf2): Likewise.
4760         (__signbit): Remove for libc.so.
4761         (__signbitl): Likewise.
4763 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
4765         * iconvdata/bug-iconv11.c (test_ibm93x):
4766         Use %zu printf format specifier for size_t argument.
4768 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
4770         * math/gen-libm-test.pl (parse_ulps): Do not reduce
4771         already-recorded ulps.
4772         * sysdeps/arm/libm-test-ulps: Regenerated.
4773         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4774         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4775         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4777 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
4778             Paul Pluzhnikov  <ppluzhnikov@google.com>
4780         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
4781         assembler not supporting AVX-512.
4783 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
4785         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4787 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
4789         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4790         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4792         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4794         * sysdeps/arm/libm-test-ulps: Regenerated.
4796 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
4798         [BZ #19451]
4799         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
4801 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
4803         [BZ #19486]
4804         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
4805         * sysdeps/generic/fix-fp-int-convert-overflow.h
4806         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
4807         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
4808         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
4809         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
4810         Likewise.
4811         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
4812         Avoid conversions to long int where inexact exceptions
4813         could be raised.
4814         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
4815         Likewise.
4816         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
4817         Avoid conversions to long long int where inexact exceptions
4818         could be raised.
4819         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
4820         Likewise.
4822 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
4824         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
4825         * configure: Regenerated.
4827 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
4829         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
4831 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
4833         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
4834         outside of comment.
4836 2016-01-15  Torvald Riegel  <triegel@redhat.com>
4838         * nptl/tst-barrier1.c: Add description on first line.
4839         * nptl/tst-barrier2.c: Likewise.
4840         * nptl/tst-barrier3.c: Likewise.
4841         * nptl/tst-barrier4.c: Likewise.
4842         * nptl/tst-barrier5.c: Likewise.
4844 2016-01-15  Torvald Riegel  <triegel@redhat.com>
4846         [BZ #18868]
4847         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
4849 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
4851         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
4852         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
4853         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
4854         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
4855         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
4856         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
4857         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4858         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4859         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4860         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4861         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4863 2016-01-15  Torvald Riegel  <triegel@redhat.com>
4865         [BZ #13065]
4866         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
4867         new implementation.
4868         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
4869         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
4870         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
4871         (BARRIER_IN_THRESHOLD): New macro.
4872         * nptl/pthread_barrierattr_setpshared.c
4873         (pthread_barrierattr_setpshared): Clean up.
4874         * nptl/tst-barrier4.c: Correct comment.
4875         * nptl/tst-barrier5.c: New file.
4876         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
4877         (gen-as-const-headers): Remove lowlevelbarrier.sym.
4878         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
4879         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
4880         * nptl/lowlevelbarrier.sym: Remove.
4881         * nptl/DESIGN-barrier.txt: Remove.
4882         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
4883         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
4884         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
4885         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
4886         error.
4887         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
4888         implementation.
4890 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4892         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
4893         (do_child): Mask SIGRTMIN while thr is running.
4895 2016-01-15  Martin Sebor  <msebor@redhat.com>
4897         [BZ #19432]
4898         * iconvdata/Makefile: Add bug-iconv11.
4899         * iconvdata/bug-iconv11.c: New test.
4900         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
4901         * iconvdata/ibm933.c: Same.
4902         * iconvdata/ibm935.c: Same.
4903         * iconvdata/ibm937.c: Same.
4904         * iconvdata/ibm939.c: Same.
4906 2016-01-15  Martin Sebor  <msebor@redhat.com>
4908         [BZ #19443]
4909         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
4910         [DEBUG] (_ufc_set_bits): Declare used.
4911         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
4912         [DEBUG] (print_all): Declare used.
4913         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
4914         operands of the ternary ?: expression to target type.
4915         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
4916         calling the undeclared abort.
4917         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
4919 2016-01-15  Martin Sebor  <msebor@redhat.com>
4921         [BZ #18755]
4922         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
4923         warnings.
4924         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
4925         (__gai_create_helper_thread): Same.
4926         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
4927         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
4928         to suppress -Wmaybe-uninitialized warnings.
4930 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
4932         [BZ #19465]
4933         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
4934         inside if.
4935         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4936         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4937         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4939 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
4941         [BZ #19466]
4942         * time/tst-mktime2.c (time_t_max): Removed.
4943         (time_t_min): Likewise.
4944         (TYPE_SIGNED): New.
4945         (TYPE_MINIMUM): Likewise.
4946         (TYPE_MAXIMUM): Likewise.
4947         (TIME_T_MIN): Likewise.
4948         (TIME_T_MAX): Likewise.
4949         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
4950         and TIME_T_MIN.
4951         (do_test): Likewise.
4953 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
4955         [BZ #19467]
4956         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4957         index_Fast_Unaligned_Load flag for Excavator family CPUs.
4959 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
4961         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
4963 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
4965         * benchtests/Makefile (PYTHON): Define.
4966         (bench-func): Use $(PYTHON) to run python scripts.
4967         ($(objpfx)bench-%.c): Likewise.
4969 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
4971         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
4972         leading slash when `file_name' is "/".
4974 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
4976         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
4977         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
4978         Likewise.
4979         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
4980         Likewise.
4981         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
4982         Likewise.
4983         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
4984         enum constant and macro.
4985         (PTRACE_SETSIGMASK): Likewise.
4986         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4987         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
4988         (PTRACE_GETSIGMASK): Likewise.
4989         (PTRACE_SETSIGMASK): Likewise.
4990         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4991         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
4992         Likewise.
4993         (PTRACE_SETSIGMASK): Likewise.
4994         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4995         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
4996         (PTRACE_GETSIGMASK): Likewise.
4997         (PTRACE_SETSIGMASK): Likewise.
4998         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4999         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
5000         Likewise.
5001         (PTRACE_SETSIGMASK): Likewise.
5002         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5003         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
5004         Likewise.
5005         (PTRACE_SETSIGMASK): Likewise.
5006         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5007         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
5008         Likewise.
5009         (PTRACE_SETSIGMASK): Likewise.
5010         (PTRACE_SECCOMP_GET_FILTER): Likewise.
5012 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
5013             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5015         [BZ #19439]
5016         * math/bits/mathcalls.h
5017         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
5018         prototype.
5019         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
5021 2016-01-11  Andreas Schwab  <schwab@suse.de>
5023         [BZ #19253]
5024         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
5025         cache when TZDEFRULES was used.
5026         * time/tst-tzname.c: New file.
5027         * time/Makefile (test): Add tst-tzname.
5028         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
5029         * timezone/Makefile (test-zones): Add $(posixrules-file).
5030         ($(testdata)/$(posixrules-file)): New rule.
5032 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
5034         Fix doc quoting problems with Texinfo 5
5035         Without this change, in the info file output, Texinfo 5 quotes code
5036         in text with undirected single quotes 'like this' and generates
5037         code examples that with many PDF readers cannot be cut out of PDFs
5038         and pasted into code.
5039         * manual/libc.texinfo: Configure the libc manual like the GNU
5040         Emacs manual, by using @documentencoding and setting
5041         txicodequoteundirected and txicodequotebacktick.  This way,
5042         Texinfo 5 quotes code in text with directed single quotes ‘like
5043         this’ and produces examples that can be cut out of PDFs.  This
5044         change causes Texinfo 5 to generate info files that contain UTF-8
5045         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
5046         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
5048 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5050         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
5051         __libc_tabort, __libc_tend): New wrappers that enforce compiler
5052         barriers to their respective compiler built-ins.
5053         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
5054         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
5055         * sysdeps/powerpc/sysdep.h: Likewise.
5056         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
5057         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
5058         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
5060 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
5062         * scripts/config.guess: Revert previous shebang change.
5063         * scripts/config.sub: Likewise.
5064         * scripts/mkinstalldirs: Likewise.
5066 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5068         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
5069         PPC_FEATURE2_HAS_IEEE128.
5070         * sysdeps/powerpc/dl-procinfo.c:
5071         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
5073 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
5075         [BZ #19415]
5076         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
5077         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
5078         (_dl_lookup_address): Rewrite using function resolver trampoline.
5079         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
5080         two bits in address.
5082 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
5084         * longlong.h: Change !__SHMEDIA__ to
5085         (!defined (__SHMEDIA__) || !__SHMEDIA__).
5086         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
5088 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
5089             Joseph Myers  <joseph@codesourcery.com>
5090             Mark Shinwell  <shinwell@codesourcery.com>
5091             Andrew Stubbs  <ams@codesourcery.com>
5092             Rich Felker <dalias@libc.org>
5094         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
5096 2016-01-07  Richard Henderson  <rth@redhat.com>
5098         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
5100 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
5102         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
5103         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
5104         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5105         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
5106         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
5108 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
5109             Joseph Myers  <joseph@codesourcery.com>
5111         * timezone/private.h: Update from tzcode 2015g.
5112         * timezone/tzfile.h: Likewise.
5113         * timezone/tzselect.ksh: Likewise.
5114         * timezone/zdump.c: Likewise.
5115         * timezone/zic.c: Likewise.
5116         * timezone/ialloc.c: Remove file.
5117         * timezone/scheck.c: Likewise.
5118         * timezone/Makefile (extra-objs): Remove variable.
5119         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
5120         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
5121         -Wno-maybe-uninitialized.
5122         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
5123         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
5124         (CFLAGS-ialloc.c): Remove variable.
5125         (CFLAGS-scheck.c): Likewise.
5126         * timezone/README: Update list of files from tzcode.
5128 2016-01-07  Khem Raj  <raj.khem@gmail.com>
5130         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
5131         instead of __fxprintf when _LIBC is undefined.
5133 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
5135         * catgets/test-gencat.sh: Remove space after shebang.
5136         * conform/GlibcConform.pm: Likewise.
5137         * conform/check-header-lists.sh: Likewise.
5138         * conform/conformtest.pl: Likewise.
5139         * conform/linknamespace.pl: Likewise.
5140         * conform/list-header-symbols.pl: Likewise.
5141         * debug/catchsegv.sh: Likewise.
5142         * elf/genrtldtbl.awk: Likewise.
5143         * elf/tst-pathopt.sh: Likewise.
5144         * elf/tst-rtld-load-self.sh: Likewise.
5145         * grp/tst_fgetgrent.sh: Likewise.
5146         * iconvdata/gen-8bit-gap-1.sh: Likewise.
5147         * iconvdata/gen-8bit-gap.sh: Likewise.
5148         * iconvdata/gen-8bit.sh: Likewise.
5149         * iconvdata/run-iconv-test.sh: Likewise.
5150         * intl/tst-gettext.sh: Likewise.
5151         * intl/tst-gettext2.sh: Likewise.
5152         * intl/tst-gettext4.sh: Likewise.
5153         * intl/tst-gettext6.sh: Likewise.
5154         * intl/tst-translit.sh: Likewise.
5155         * io/ftwtest-sh: Likewise.
5156         * libio/test-freopen.sh: Likewise.
5157         * locale/gen-translit.pl: Likewise.
5158         * malloc/tst-mtrace.sh: Likewise.
5159         * manual/check-safety.sh: Likewise.
5160         * manual/libc-texinfo.sh: Likewise.
5161         * manual/tsort.awk: Likewise.
5162         * manual/xtract-typefun.awk: Likewise.
5163         * nptl/tst-cancel-wrappers.sh: Likewise.
5164         * nptl/tst-tls6.sh: Likewise.
5165         * posix/globtest.sh: Likewise.
5166         * posix/tst-getconf.sh: Likewise.
5167         * posix/wordexp-tst.sh: Likewise.
5168         * scripts/check-c++-types.sh: Likewise.
5169         * scripts/check-local-headers.sh: Likewise.
5170         * scripts/config.guess: Likewise.
5171         * scripts/config.sub: Likewise.
5172         * scripts/cpp: Likewise.
5173         * scripts/cross-test-ssh.sh: Likewise.
5174         * scripts/documented.sh: Likewise.
5175         * scripts/evaluate-test.sh: Likewise.
5176         * scripts/gen-libc-abis: Likewise.
5177         * scripts/gen-sorted.awk: Likewise.
5178         * scripts/list-fixed-bugs.py: Likewise.
5179         * scripts/merge-test-results.sh: Likewise.
5180         * scripts/mkinstalldirs: Likewise.
5181         * scripts/rellns-sh: Likewise.
5182         * scripts/test-installation.pl: Likewise.
5183         * scripts/update-copyrights: Likewise.
5184         * stdio-common/tst-printf.sh: Likewise.
5185         * stdio-common/tst-unbputc.sh: Likewise.
5186         * stdlib/tst-fmtmsg.sh: Likewise.
5187         * stdlib/tst-setcontext3.sh: Likewise.
5188         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
5189         * sysdeps/unix/make-syscalls.sh: Likewise.
5191 2016-01-06  John David Anglin  <dave.anglin@bell.net>
5193         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
5194         asm stw with atomic_exchange_rel.  Add explanatory comment.
5195         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
5196         Likewise.
5198 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
5200         [BZ #19122]
5201         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
5202         * sysdeps/generic/dl-unistd.h: New file.
5203         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
5205 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
5207          [BZ #19122]
5208          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
5209          * sysdeps/generic/dl-mman.h: New file.
5210          * sysdeps/mach/hurd/dl-mman.h: Likewise.
5212 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
5214         * manual/texinfo.tex: Update to version 2016-01-04.21 with
5215         trailing whitespace removed.
5216         * scripts/config.guess: Update to version 2016-01-01.
5217         * scripts/config.sub: Update to version 2016-01-01.
5218         * scripts/move-if-change: Update from gnulib.
5220 2016-01-04  Anton Blanchard  <anton@samba.org>
5222         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
5223         for array indices.
5224         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
5226 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
5228         * NEWS: Update copyright dates.
5229         * catgets/gencat.c (print_version): Likewise.
5230         * csu/version.c (banner): Likewise.
5231         * debug/catchsegv.sh: Likewise.
5232         * debug/pcprofiledump.c (print_version): Likewise.
5233         * debug/xtrace.sh (do_version): Likewise.
5234         * elf/ldconfig.c (print_version): Likewise.
5235         * elf/ldd.bash.in: Likewise.
5236         * elf/pldd.c (print_version): Likewise.
5237         * elf/sotruss.sh: Likewise.
5238         * elf/sprof.c (print_version): Likewise.
5239         * iconv/iconv_prog.c (print_version): Likewise.
5240         * iconv/iconvconfig.c (print_version): Likewise.
5241         * locale/programs/locale.c (print_version): Likewise.
5242         * locale/programs/localedef.c (print_version): Likewise.
5243         * login/programs/pt_chown.c (print_version): Likewise.
5244         * malloc/memusage.sh (do_version): Likewise.
5245         * malloc/memusagestat.c (print_version): Likewise.
5246         * malloc/mtrace.pl: Likewise.
5247         * manual/libc.texinfo: Likewise.
5248         * nptl/version.c (banner): Likewise.
5249         * nscd/nscd.c (print_version): Likewise.
5250         * nss/getent.c (print_version): Likewise.
5251         * nss/makedb.c (print_version): Likewise.
5252         * posix/getconf.c (main): Likewise.
5253         * scripts/test-installation.pl: Likewise.
5254         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5256         * All files with FSF copyright notices: Update copyright dates
5257         using scripts/update-copyrights.
5258         * intl/plural.c: Regenerated.
5259         * locale/programs/charmap-kw.h: Likewise.
5260         * locale/programs/locfile-kw.h: Likewise.
5262 2016-01-02  Helge Deller  <deller@gmx.de>
5264         [BZ #19285]
5265         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
5266         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
5267         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
5268         (MADV_xxK_PAGES): Remove.
5270 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
5272         [BZ #15421]
5273         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
5274         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
5275         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
5276         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
5278 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
5280         [BZ #19408]
5281         * sysdeps/unix/sysv/linux/personality.c: New file.
5282         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
5283         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
5284         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
5285         (sysdep_routines): Add personality.
5286         (tests): Add tst-personality.
5287         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
5288         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
5289         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
5290         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
5291         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
5292         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
5293         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
5294         Likewise.
5295         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
5296         Likewise.
5297         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
5298         Likewise.
5299         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
5300         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
5301         Likewise.
5303 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
5305         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
5306         (PATH_ARM_SYSTYPE): Remove.
5307         (PATH_CPUINFO): Likewise.
5308         (IO_BASE_FOOTBRIDGE): Likewise.
5309         (IO_SHIFT_FOOTBRIDGE): Likewise.
5310         (struct platform): Likewise.
5311         (init_iosys): Remove compatibility code for 2.4 kernels.
5312         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
5314 2015-12-29  Florian Weimer  <fweimer@redhat.com>
5316         * malloc/tst-malloc-thread-fail.c: New file.
5317         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
5318         (tst-malloc-thread-fail): Link against libpthread.
5320 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
5322         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
5323         (get_parser): New function.
5324         (main): New function.
5326 2015-12-29  Rob Wu  <rob@robwu.nl>
5328         [BZ #19369]
5329         * resolv/res_init.c (__res_vinit): Reset defdname before use.
5331 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
5333         [BZ #19270]
5334         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
5336 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
5338         [BZ #15421]
5339         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
5341 2015-12-23  Torvald Riegel  <triegel@redhat.com>
5343         [BZ #13690]
5344         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
5345         after releasing it.
5346         (__lll_robust_unlock): Likewise.
5347         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5348         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
5349         (lll_robust_unlock): Likewise.
5350         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
5351         Prevent warnings in callers.
5353 2015-12-23  Florian Weimer  <fweimer@redhat.com>
5355         * malloc/arena.c (list_lock): Update comment.
5357 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5359         * sysdeps/powerpc/hwcapinfo.c: Export symbol
5360         __parse_hwcap_and_convert_at_platform to libc.a.
5362 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5364         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
5365         platform and feature support for POWER9.
5366         * sysdeps/powerpc/dl-procinfo.h: Likewise.
5367         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
5368         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
5369         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
5370         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
5371         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
5372         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
5373         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
5375 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5377         Harmonize generic stdio-lock support with nptl
5379         This fixes build when _IO_funlockfile is a macro, fixes build where
5380         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
5381         stack unwind.
5383         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
5384         _IO_release_lock ): Use cleanup attribute on new
5385         _IO_acquire_lock_file variable instead of assuming that
5386         _IO_release_lock will be called.
5387         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
5388         _IO_acquire_lock_needs_exceptions_enabled.
5389         (_IO_acquire_lock_clear_flags2): New macro.
5391 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5393         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5395 2015-12-21  Florian Weimer  <fweimer@redhat.com>
5397         [BZ #19182]
5398         * malloc/arena.c (list_lock): Document lock ordering requirements.
5399         (free_list_lock): New lock.
5400         (ptmalloc_lock_all): Comment on free_list_lock.
5401         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
5402         (detach_arena): Update comment.  free_list_lock is now needed.
5403         (_int_new_arena): Use free_list_lock around detach_arena call.
5404         Acquire arena lock after list_lock.  Add comment, including FIXME
5405         about incorrect synchronization.
5406         (get_free_list): Switch to free_list_lock.
5407         (reused_arena): Acquire free_list_lock around detach_arena call
5408         and attached threads counter update.  Add two FIXMEs about
5409         incorrect synchronization.
5410         (arena_thread_freeres): Switch to free_list_lock.
5411         * malloc/malloc.c (struct malloc_state): Update comments to
5412         mention free_list_lock.
5414 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
5416         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
5417         Remove functions.
5418         (sloww, sloww1): Accept argument to offset quadrant.
5419         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
5420         quadrant.
5421         (__sin, __cos): Consolidate common code into new functions.
5422         (reduce_sincos_1, do_sincos_1): New functions.
5423         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
5425         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
5426         code to new functions.
5427         (reduce_sincos_2, do_sincos_2): New functions.
5428         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
5430         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
5431         common code for sincos.
5432         (__cos) [!IN_SINCOS]: Likewise.
5433         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
5434         New function.
5435         (__sincos): Use it.
5437 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
5439         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
5440         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
5441         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5443 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
5445         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
5446         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
5447         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
5448         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
5449         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5450         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
5451         index_Prefer_No_VZEROUPPER): New feature.
5452         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
5453         Prefer_No_VZEROUPPER for Knights Landing.
5455 015-12-18  Torvald Riegel  <triegel@redhat.com>
5457         * math/atest-exp2.c (mp_exp_m1): Remove.
5459 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5461         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
5462         syscalls.
5463         (__SYSCALL0): New macro.
5464         (__SYSCALL1): Likewise.
5465         (__SYSCALL2): Likewise.
5466         (__SYSCALL3): Likewise.
5467         (__SYSCALL4): Likewise.
5468         (__SYSCALL5): Likewise.
5469         (__SYSCALL6): Likewise.
5470         (__SYSCALL_CONCAT_X): Likewise.
5471         (__SYSCALL_CONCAT): Likewise.
5472         (__SYSCALL_DIST): Likewise.
5473         (__SYSCALL_CALL): Likewise.
5475 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
5477         [BZ #19363]
5478         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
5480 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5482         [BZ #19375]
5483         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
5484         negative subnormals.
5486 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
5488         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
5489         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
5490         (INTERNAL_SYSCALL_NCS): Use it.
5491         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
5493 2015-12-16  Florian Weimer  <fweimer@redhat.com>
5495         [BZ #19243]
5496         * malloc/arena.c (get_free_list): Remove assert and adjust
5497         reference count handling.  Add comment about reused_arena
5498         interaction.
5499         (reused_arena): Add comments abount get_free_list interaction.
5500         * malloc/tst-malloc-thread-exit.c: New file.
5501         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
5502         (tst-malloc-thread-exit): Link against libpthread.
5504 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
5506         [BZ #19367]
5507         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
5508         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
5509         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
5510         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
5511         (index_Prefer_MAP_32BIT_EXEC): Likewise.
5513 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
5515         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
5516         Silvermont optimizations for Knights Landing.
5518 2015-12-15  Andreas Schwab  <schwab@suse.de>
5520         [BZ #17197]
5521         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
5522         immediately after emitting SI.
5523         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
5524         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
5525         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
5526         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
5527         * iconvdata/bug-iconv10.c: New file.
5528         * iconvdata/Makefile (tests): Add bug-iconv10.
5529         ($(objpfx)bug-iconv10.out): New rule.
5531 2015-12-15  Florian Weimer  <fweimer@redhat.com>
5533         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
5534         aliasing violation.
5536 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
5538         [BZ #18472]
5539         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
5540         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
5541         conditionals for them.
5542         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
5543         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
5544         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
5545         sys/kdaemon.h.
5546         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
5547         compat-only syscall, obsoleted in glibc 2.23.
5548         (create_module): Likewise.
5549         (get_kernel_syms): Likewise.
5550         (query_module): Likewise.
5551         (uselib): Likewise.
5552         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
5554 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
5556         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
5557         <linux/version.h>.
5558         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
5559         conditional code.
5560         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
5561         and ioshift_name initialization.
5563 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
5565         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
5566         Fix indentation.
5568 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
5570         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
5572 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
5574         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
5576 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
5577             Jakub Wilk  <jwilk@debian.org>
5579         [BZ #19347]
5580         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
5581         to change the group of the device to the tty group.
5583 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
5585         Split large string section; add truncation advice
5586         * manual/examples/strncat.c: Remove.
5587         This example was misleading, as the code would have undefined
5588         behavior if "hello" was longer than SIZE.  Anyway, the manual
5589         shouldn't encourage strncpy+strncat for this sort of thing.
5590         * manual/string.texi (Copying Strings and Arrays): Split into
5591         three sections Copying Strings and Arrays, Concatenating Strings,
5592         and Truncating Strings, as this section was way too long.  All
5593         cross-referenced changed.  Add advice about string-truncation
5594         functions.  Remove misleading strncat example.
5596 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
5598         * manual/nss.texi (NSS Modules Interface): Document
5599         NSS_STATUS_NOTFOUND and SUCCESS.
5601 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
5603         [BZ 18568]
5604         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
5605         201505L, for Unicode 8.
5607 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
5609         * locale/C-translit.h: Regenerate.
5611 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
5613         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
5614         and U+0153.
5616 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
5618         [BZ #19351]
5619         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
5620         expanding log(1+z), compare z rather than its square with epsilon
5621         to determine when to avoid evaluating the expansion.
5623         [BZ #19350]
5624         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
5625         Increase overflow threshold.
5627         [BZ #19349]
5628         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
5629         when small.
5631         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5632         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
5633         New macro.
5634         [__LINUX_KERNEL_VERSION >= 0x040300]
5635         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
5636         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
5637         Likewise.
5638         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
5639         Likewise.
5640         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
5641         Likewise.
5642         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
5643         Likewise.
5644         [__LINUX_KERNEL_VERSION >= 0x040300]
5645         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
5646         [__LINUX_KERNEL_VERSION >= 0x040300]
5647         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
5648         [__LINUX_KERNEL_VERSION >= 0x040300]
5649         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5650         [__LINUX_KERNEL_VERSION >= 0x040300]
5651         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
5652         [__LINUX_KERNEL_VERSION >= 0x040300]
5653         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
5654         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
5655         Likewise.
5656         [__LINUX_KERNEL_VERSION >= 0x040300]
5657         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
5658         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5659         Likewise.
5660         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
5661         Likewise.
5662         [__LINUX_KERNEL_VERSION >= 0x040300]
5663         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
5664         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5665         Likewise.
5666         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
5667         Likewise.
5668         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5669         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
5670         Likewise.
5671         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
5672         Likewise.
5673         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
5674         Likewise.
5675         [__LINUX_KERNEL_VERSION >= 0x040300]
5676         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
5677         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
5678         Likewise.
5679         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
5680         Likewise.
5681         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
5682         Likewise.
5683         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
5684         Likewise.
5685         [__LINUX_KERNEL_VERSION >= 0x040300]
5686         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
5687         [__LINUX_KERNEL_VERSION >= 0x040300]
5688         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
5689         [__LINUX_KERNEL_VERSION >= 0x040300]
5690         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5691         [__LINUX_KERNEL_VERSION >= 0x040300]
5692         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
5693         [__LINUX_KERNEL_VERSION >= 0x040300]
5694         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
5695         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
5696         Likewise.
5697         [__LINUX_KERNEL_VERSION >= 0x040300]
5698         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
5699         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5700         Likewise.
5701         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
5702         Likewise.
5703         [__LINUX_KERNEL_VERSION >= 0x040300]
5704         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
5705         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5706         Likewise.
5707         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
5708         Likewise.
5709         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5710         (__ASSUME_SOCKET_SYSCALL): Likewise.
5711         (__ASSUME_BIND_SYSCALL): Likewise.
5712         (__ASSUME_CONNECT_SYSCALL): Likewise.
5713         (__ASSUME_LISTEN_SYSCALL): Likewise.
5714         (__ASSUME_ACCEPT_SYSCALL): Likewise.
5715         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
5716         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
5717         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
5718         (__ASSUME_SEND_SYSCALL): Likewise.
5719         (__ASSUME_SENDTO_SYSCALL): Likewise.
5720         (__ASSUME_RECV_SYSCALL): Likewise.
5721         (__ASSUME_RECVFROM_SYSCALL): Likewise.
5722         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
5723         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
5724         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5725         (__ASSUME_SENDMSG_SYSCALL): Likewise.
5726         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5727         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5728         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
5729         Likewise.
5730         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
5731         Likewise.
5732         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
5733         Likewise.
5734         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
5735         Likewise.
5736         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
5737         Likewise.
5738         [__LINUX_KERNEL_VERSION >= 0x020625]
5739         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
5740         [__LINUX_KERNEL_VERSION >= 0x020625]
5741         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
5742         [__LINUX_KERNEL_VERSION >= 0x020625]
5743         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
5744         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
5745         Likewise.
5746         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
5747         Likewise.
5748         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
5749         Likewise.
5750         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
5751         Likewise.
5752         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
5753         Likewise.
5754         [__LINUX_KERNEL_VERSION >= 0x020625]
5755         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
5756         [__LINUX_KERNEL_VERSION >= 0x020625]
5757         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
5758         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
5759         Likewise.
5760         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
5761         Likewise.
5763 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
5765         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
5766         record the current if the current ABI and CPU support the FP64
5767         extension.
5768         (has-modd-spreg): Define to record the current if the current ABI and
5769         CPU support 32-bit floating point values in odd FPU registers.
5770         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5771         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
5772         $(has-modd-spreg) equals yes.
5773         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
5774         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
5775         $(has-modd-spreg) equal yes.
5777 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
5779         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
5780         basename.
5782 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
5784         * benchtests/Makefile (bench-math): Move ffs and ffsll...
5785         (bench-string): ... here.
5786         (bench): Add bench-string.
5787         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
5788         to *-benchset to reflect what they are.
5789         (benchset): Adjust.
5791         * benchtests/sincos-inputs: Add inputs from sin-inputs and
5792         cos-inputs.
5794 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
5796         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
5797         __attribute__ ((__simd__)) for vector math function declarations.
5799 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
5801         Fix typo in strncat, wcsncat manual entries
5802         * manual/string.texi (Copying and Concatenation): Fix typos in
5803         sample implementations of strncat and wcsncat, by having them use
5804         the old value of the destination length, not the new one.
5806 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
5808         [BZ #16961]
5809         [BZ #16962]
5810         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
5811         string on the stack for strtod.
5812         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
5813         a string on the stack for strtof.
5814         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
5815         constructing a string on the stack for strtold.
5816         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
5817         __strtold_nan to GLIBC_PRIVATE.
5818         * math/test-nan-overflow.c: New file.
5819         * math/test-nan-payload.c: Likewise.
5820         * math/Makefile (tests): Add test-nan-overflow and
5821         test-nan-payload.
5823 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
5825         Consistency about byte vs character in string.texi
5826         * manual/string.texi (String and Array Utilities):
5827         Distinguish more carefully among bytes, multibyte characters,
5828         and wide characters.  Use "byte" when talking about C 'char',
5829         to distinguish it more clearly from multibyte characters.
5830         Say "wide character" or "multibyte character" instead of
5831         "character", when a wide or multibyte character is intended.
5832         Similarly for "multibyte string" versus "string".
5833         Define these terms more carefully.
5835 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
5837         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
5838         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
5839         Likewise.
5840         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
5841         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
5842         * sysdeps/sh/math_private.h: New file.
5843         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
5844         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
5845         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
5846         long double function name.
5847         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5848         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5849         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5850         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
5851         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5852         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
5853         Remove __finitel, __isinfl, and __isnanl.
5854         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5855         Likewise.
5856         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5858         Remove __finitel.
5859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5860         Likewise.
5861         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5863 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
5865         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
5866         installed libmvec_nonshared.a.
5868 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5870         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
5871         (sysdep_routines): Likewise.
5872         (sysdep-rtld-routines): Likewise.
5873         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
5874         [$(subdir) = nptl](tests-static): test-get_hwcap-static
5875         * sysdeps/powerpc/Versions: Added new
5876         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
5877         * sysdeps/powerpc/hwcapinfo.c: New file.
5878         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
5879         and parse hwcap, hwcap2 and platform number information.
5880         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
5881         to store HWCAP+HWCAP2 and platform number.
5882         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
5883         for HWCAP+HWCAP2 and platform number in the TCB.
5884         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
5885         the HWCAP, HWCAP2 and platform number in the TCB.
5886         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
5887         (TLS_INIT_TP): Included calls to add the hwcap and
5888         at_platform values in the TCB in TP initialization.
5889         (TLS_DEFINE_INIT_TP): Likewise.
5890         (THREAD_GET_HWCAP): New macro.
5891         (THREAD_SET_HWCAP): Likewise.
5892         (THREAD_GET_AT_PLATFORM): Likewise.
5893         (THREAD_SET_AT_PLATFORM): Likewise.
5894         * sysdeps/powerpc/powerpc32/dl-machine.h:
5895         (dl_platform_init): New function that calls
5896         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
5897         powerpc32.
5898         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
5899         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
5900         this functionality, static linking case.
5901         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
5902         linking case.
5903         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
5904         __parse_hwcap_and_convert_at_platform for the static linking case.
5905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
5906         Included the new __parse_hwcap_and_convert_at_platform symbol in the
5907         ABI list for GLIBC 2.23.
5908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
5909         Likewise.
5910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
5911         Likewise.
5913 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
5915         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
5916         * configure: Regenerate.
5917         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
5918         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
5920 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
5922         * iconvdata/ibm930.c: Add comment explaining encoding uses.
5923         * iconvdata/ibm933.c: Likewise.
5924         * iconvdata/ibm935.c: Likewise.
5925         * iconvdata/ibm937.c: Likewise.
5926         * iconvdata/ibm939.c: Likewise.
5928 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5930         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
5931         pthread_join.
5932         * nptl/tst-cancel21.c (tf): Likewise.
5934 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
5936         [BZ #19313]
5937         * bits/typesizes.h (__CPU_MASK_TYPE): New.
5938         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
5939         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
5940         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
5941         Likewise.
5942         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
5943         Likewise.
5944         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
5945         Likewise.
5946         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
5947         Likewise.
5948         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
5949         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
5950         unsigned long int with __CPU_MASK_TYPE.
5952 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5954         * sysdeps/aarch64/libm-test-ulps: Regenerated.
5956 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
5958         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
5959         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
5960         t512.x.
5961         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
5963 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
5965         [BZ #19214]
5966         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
5967         argument to return extended model.  Update family and model
5968         with extended family and model when family == 0x0f.
5969         (init_cpu_features): Updated.
5971 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5973         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
5974         signed off_t, so 32bit bigger than 2GiB values are fine actually.
5976         * sysdeps/mach/hurd/mmap64.c: New file.
5978 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
5980         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
5981         rights for its main user thread in NEWTASK.
5983 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
5985         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
5986         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
5988 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
5990         [BZ #14259]
5991         * Makeconfig: Rename localedir to complocaledir.
5992         Rename inst_localedir to inst_complocaledir.
5993         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
5994         * config.make.in: Use complocaledir and libc_cv_complocaledir.
5995         * configure.ac: Use libc_cv_complocaledir.
5996         * configure: Regenerate.
5997         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
5998         -DCOMPLOCALEDIR.
5999         * locale/findlocale.c: Use COMPLOCALEDIR.
6000         * locale/loadarchive.c: Likewise.
6001         * locale/programs/locale.c: Likewise.
6002         * locale/programs/localedef.c: Likewise.
6003         * locale/programs/locarchive.c: Likewise.
6004         * localedata/Makefile: Use inst_complocaledir.
6005         * sysdeps/gnu/configure: Regenerate.
6006         * sysdeps/hppa/configure: Regenerate.
6007         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
6008         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6010         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
6011         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
6012         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
6013         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
6015 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
6017         [BZ #19058]
6018         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
6019         AS_NEEDED.
6020         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
6021         workaround.
6022         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
6023         libmvec-static-only-routines): Added new file.
6024         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
6026 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6028         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
6029         of interrupted RPC instead of restoring it.
6031         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
6032         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
6033         libc_hidden_def.
6034         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
6035         into initialized data instead of common. Define rtld_hidden_data_def.
6036         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
6037         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
6038         libc_hidden_def.
6039         (if_freenameindex): Add libc_hidden_weak.
6040         (if_nameindex): Add libc_hidden_weak.
6041         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
6042         __open64.
6043         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
6044         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
6045         * sysdeps/mach/nanosleep.c: Include <time.h>
6046         (__nanosleep): Rename to __libc_nanosleep.
6047         (__nanosleep): Add weak_alias.
6048         (nanosleep): Update alias.
6050 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
6052         * stdlib/strtod_nan.c: New file.
6053         * stdlib/strtod_nan_double.h: Likewise.
6054         * stdlib/strtod_nan_float.h: Likewise.
6055         * stdlib/strtod_nan_main.c: Likewise.
6056         * stdlib/strtod_nan_narrow.h: Likewise.
6057         * stdlib/strtod_nan_wide.h: Likewise.
6058         * stdlib/strtof_nan.c: Likewise.
6059         * stdlib/strtold_nan.c: Likewise.
6060         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
6061         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
6062         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
6063         * wcsmbs/wcstod_nan.c: Likewise.
6064         * wcsmbs/wcstof_nan.c: Likewise.
6065         * wcsmbs/wcstold_nan.c: Likewise.
6066         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
6067         strtold_nan.
6068         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
6069         wcstof_nan.
6070         * include/stdlib.h (__strtof_nan): Declare and use
6071         libc_hidden_proto.
6072         (__strtod_nan): Likewise.
6073         (__strtold_nan): Likewise.
6074         (__wcstof_nan): Likewise.
6075         (__wcstod_nan): Likewise.
6076         (__wcstold_nan): Likewise.
6077         * include/wchar.h (____wcstoull_l_internal): Declare.
6078         * stdlib/strtod_l.c: Do not include <ieee754.h>.
6079         (____strtoull_l_internal): Remove declaration.
6080         (STRTOF_NAN): Define macro.
6081         (SET_MANTISSA): Remove macro.
6082         (STRTOULL): Likewise.
6083         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
6084         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
6085         (STRTOF_NAN): Define macro.
6086         (SET_MANTISSA): Remove macro.
6087         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
6088         (SET_MANTISSA): Remove macro.
6089         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
6090         macro.
6091         (SET_MANTISSA): Remove macro.
6092         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
6093         macro.
6094         (SET_MANTISSA): Remove macro.
6095         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
6096         (SET_MANTISSA): Remove macro.
6097         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
6098         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
6099         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
6101         [BZ #19266]
6102         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
6103         upper case and lower case letters inside NAN(), not using TOLOWER.
6104         * stdlib/tst-strtod-nan-locale-main.c: New file.
6105         * stdlib/tst-strtod-nan-locale.c: Likewise.
6106         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
6107         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
6108         Depend on $(gen-locales).
6109         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
6110         * wcsmbs/tst-wcstod-nan-locale.c: New file.
6111         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
6112         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
6113         Depend on $(gen-locales).
6114         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
6116 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
6118         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
6120         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
6121         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
6122         __finitel, __isinfl, and __isnanl.
6123         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
6124         Likewise.
6125         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6126         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
6127         __finitel.
6128         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6129         Likewise.
6130         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6132 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
6134         * malloc/memusage.c (me): Remove redundant getenv call.
6136 2015-10-24  Florian Weimer  <fweimer@redhat.com>
6138         [BZ #19143]
6139         [BZ #19164]
6140         * nptl/check-cpuset.h: Remove.
6141         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
6142         Remove CPU set size check.
6143         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
6144         Likewise.
6145         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
6146         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
6147         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
6148         (__pthread_setaffinity_new): Remove CPU set size check.
6149         * sysdeps/unix/sysv/linux/sched_setaffinity.c
6150         (__kernel_cpumask_size): Remove.
6151         (__sched_setaffinity_new): Remove CPU set size check.
6152         * manual/threads.texi (Default Thread Attributes): Remove stale
6153         reference to check_cpuset_attr, determine_cpumask_size in comment.
6154         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
6155         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
6156         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
6157         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
6158         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
6159         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
6160         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
6161         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
6162         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
6163         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
6164         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
6165         skeleton test file.
6166         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
6167         tst-affinity-pid.
6169 2015-11-24  Florian Weimer  <fweimer@redhat.com>
6171         * scripts/update-abilist.sh: New file.
6172         * Makefile (+subdir_targets): Add subdir_update-all-abi.
6173         * Makerules (update-all-abi-%, update-all-abi)
6174         (subdir_update-all-abi): New targets.
6175         * elf/Makefile (update-all-abi): New target.
6177 2015-11-24  Florian Weimer  <fweimer@redhat.com>
6179         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
6180         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
6181         (__libc_lock_define_initialized): Use it.
6182         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
6183         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
6184         * malloc/malloc.c (main_arena): Likewise.
6185         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
6186         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
6188 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
6190         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
6191         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
6192         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
6193         (PTRACE_O_MASK): Update value.
6194         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
6195         New value in enum __ptrace_setoptions.
6196         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
6197         (PTRACE_O_MASK): Update value.
6198         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
6199         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
6200         (PTRACE_O_MASK): Update value.
6201         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
6202         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
6203         (PTRACE_O_MASK): Update value.
6204         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
6205         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
6206         (PTRACE_O_MASK): Update value.
6207         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
6208         New value in enum __ptrace_setoptions.
6209         (PTRACE_O_MASK): Update value.
6210         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
6211         New value in enum __ptrace_setoptions.
6212         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
6213         (PTRACE_O_MASK): Update value.
6215         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
6216         New macro.
6217         (PACKET_AUXDATA): Likewise.
6218         (PACKET_ORIGDEV): Likewise.
6219         (PACKET_VERSION): Likewise.
6220         (PACKET_HDRLEN): Likewise.
6221         (PACKET_RESERVE): Likewise.
6222         (PACKET_TX_RING): Likewise.
6223         (PACKET_LOSS): Likewise.
6224         (PACKET_VNET_HDR): Likewise.
6225         (PACKET_TX_TIMESTAMP): Likewise.
6226         (PACKET_TIMESTAMP): Likewise.
6227         (PACKET_FANOUT): Likewise.
6228         (PACKET_TX_HAS_OFF): Likewise.
6229         (PACKET_QDISC_BYPASS): Likewise.
6230         (PACKET_ROLLOVER_STATS): Likewise.
6231         (PACKET_FANOUT_DATA): Likewise.
6232         (PACKET_MR_UNICAST): Likewise.
6234         [BZ #19242]
6235         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
6236         (TOUPPER): Likewise.
6237         * stdlib/tst-strtol-locale-main.c: New file.
6238         * stdlib/tst-strtol-locale.c: Likewise.
6239         * stdlib/Makefile (tests): Add tst-strtol-locale.
6240         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
6241         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
6242         Depend on $(gen-locales).
6243         * wcsmbs/tst-wcstol-locale.c: New file.
6244         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
6245         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
6246         tr_TR.ISO-8859-9.
6247         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
6248         Depend on $(gen-locales).
6250 2015-11-20  Roland McGrath  <roland@hack.frob.com>
6252         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
6253         __glibc_likely instead of __builtin_expect.  After falling back to
6254         dyncode_create in a non-ET_DYN case, use the allocate_code_data
6255         system interface to register the code pages as occupied.
6257 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
6259         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6260         [!ARM_MATH_PRIVATE_H].
6261         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
6262         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6263         [!HPPA_MATH_PRIVATE_H].
6264         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
6265         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
6266         to [!I386_MATH_PRIVATE_H].
6267         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
6268         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
6269         Change guard to [!M68K_MATH_PRIVATE_H].
6270         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
6271         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
6272         guard to [!MICROBLAZE_MATH_PRIVATE_H].
6273         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
6274         macro.
6275         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6276         [!MIPS_MATH_PRIVATE_H].
6277         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
6278         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6279         [!NIO2_MATH_PRIVATE_H].
6280         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
6281         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
6282         [!TILE_MATH_PRIVATE_H].
6283         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
6285         [BZ #15421]
6286         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
6287         initialize with 0 and define as weak alias of __signgam.
6288         * include/math.h [!_ISOMAC] (__signgam): Declare.
6289         * math/Makefile (libm-calls): Add w_lgamma_compat.
6290         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
6291         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
6292         test-signgam-ullong-init.
6293         (tests-static): Add test-signgam-uchar-static,
6294         test-signgam-uchar-init-static, test-signgam-uint-static,
6295         test-signgam-uint-init-static, test-signgam-ullong-static and
6296         test-signgam-ullong-init-static.
6297         (CFLAGS-test-signgam-uchar.c): New variable.
6298         (CFLAGS-test-signgam-uchar-init.c): Likewise.
6299         (CFLAGS-test-signgam-uchar-static.c): Likewise.
6300         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
6301         (CFLAGS-test-signgam-uint.c): Likewise.
6302         (CFLAGS-test-signgam-uint-init.c): Likewise.
6303         (CFLAGS-test-signgam-uint-static.c): Likewise.
6304         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
6305         (CFLAGS-test-signgam-ullong.c): Likewise.
6306         (CFLAGS-test-signgam-ullong-init.c): Likewise.
6307         (CFLAGS-test-signgam-ullong-static.c): Likewise.
6308         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
6309         * math/Versions (libm): Add GLIBC_2.23.
6310         * math/lgamma-compat.h: New file.
6311         * math/test-signgam-main.c: Likewise.
6312         * math/test-signgam-uchar-init-static.c: Likewise.
6313         * math/test-signgam-uchar-init.c: Likewise.
6314         * math/test-signgam-uchar-static.c: Likewise.
6315         * math/test-signgam-uchar.c: Likewise.
6316         * math/test-signgam-uint-init-static.c: Likewise.
6317         * math/test-signgam-uint-init.c: Likewise.
6318         * math/test-signgam-uint-static.c: Likewise.
6319         * math/test-signgam-uint.c: Likewise.
6320         * math/test-signgam-ullong-init-static.c: Likewise.
6321         * math/test-signgam-ullong-init.c: Likewise.
6322         * math/test-signgam-ullong-static.c: Likewise.
6323         * math/test-signgam-ullong.c: Likewise.
6324         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
6325         wrapper of w_lgamma_main.c.
6326         * math/w_lgamma_compat.c: New file.
6327         * math/w_lgamma_compatf.c: Likewise.
6328         * math/w_lgamma_compatl.c: Likewise.
6329         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
6330         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
6331         defining compatibility symbols.
6332         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
6333         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
6334         wrapper of w_lgammaf_main.c.
6335         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
6336         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
6337         defining compatibility symbols.
6338         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
6339         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
6340         wrapper of w_lgammal_main.c.
6341         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
6342         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
6343         defining compatibility symbols.
6344         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
6345         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
6346         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
6347         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
6348         <lgamma-compat.h>.
6349         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
6350         (__ieee754_gamma): Define as alias.
6351         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
6352         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
6353         <lgamma-compat.h>.
6354         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
6355         (__ieee754_gammaf): Define as alias.
6356         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
6357         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
6358         <lgamma-compat.h>.
6359         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
6360         (__ieee754_gammal): Define as alias.
6361         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
6362         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
6363         <math/w_lgamma_compat.c>.
6364         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
6365         Define as alias of __lgamma_compat and use in defining lgammal.
6366         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
6367         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
6368         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
6369         (USE_AS_COMPAT): New macro.
6370         (LGAMMA_OLD_VER): Undefine and redefine.
6371         (lgammal): Do not define here.
6372         (gammal): Only define here if [GAMMA_ALIAS].
6373         * conform/linknamespace.pl (@whitelist): Remove signgam.
6374         * sysdeps/nacl/libm.abilist: Update.
6375         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6376         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6377         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6378         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6379         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6380         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6381         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6382         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6383         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6384         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6385         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6386         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6388         Likewise.
6389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6390         Likewise.
6391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6392         Likewise.
6393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6394         Likewise.
6395         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6396         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6397         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6398         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6399         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6400         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6401         Likewise.
6402         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6403         Likewise.
6404         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6405         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6406         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6408 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6410         [BZ #16364]
6411         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
6412         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
6414 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6416         * sysdeps/s390/fpu/bits/mathinline.h:
6417         Use __asm__ [__volatile__] instead of asm [volatile].
6418         * sysdeps/s390/abort-instr.h: Likewise.
6419         * sysdeps/s390/atomic-machine.h: Likewise.
6420         * sysdeps/s390/bits/string.h: Likewise.
6421         * sysdeps/s390/dl-tls.h: Likewise.
6422         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6423         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6424         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6425         * sysdeps/s390/fpu/fesetround.c: Likewise.
6426         * sysdeps/s390/fpu/fpu_control.h: Likewise.
6427         * sysdeps/s390/fpu/s_fma.c: Likewise.
6428         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
6429         * sysdeps/s390/memusage.h: Likewise.
6430         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
6431         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
6432         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
6433         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
6434         * sysdeps/s390/nptl/tls.h: Likewise.
6435         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
6436         * sysdeps/s390/s390-32/backtrace.c: Likewise.
6437         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6438         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
6439         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6440         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6441         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
6442         * sysdeps/s390/s390-64/backtrace.c: Likewise.
6443         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6444         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
6445         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
6446         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6447         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6448         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
6449         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
6450         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
6451         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
6452         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6453         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
6454         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6455         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
6456         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6457         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
6459 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6460             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6462         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
6463         Add lwarx hint, and use macro for acquire instruction.
6464         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
6465         Likewise.
6466         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
6467         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
6468         update to use new atomic macros.
6470 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6472         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
6473         (__lll_trylock_elision): Fix setting of adapt_count.
6474         * sysdeps/unix/sysv/linux/powerpc/htm.h
6475         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
6476         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
6477         (_ABORT_SYSCALL): Renumber, and clarify definition.
6478         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
6480 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6482         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
6483         after system headers to prevent MIN/MAX redefinition.  Define
6484         HAVE_ALLOCA to preserve builtin alloca usage.
6486 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
6488         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
6489         static and don't set or restore rounding.
6490         (__cos)[IN_SINCOS]: Likewise.
6491         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
6492         (__sincos): Set and restore rounding mode.  Remove check for infinite
6493         or NaN input.
6495         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
6497         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
6498         as used.
6500 2015-11-16  Florian Weimer  <fweimer@redhat.com>
6502         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
6504 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
6506         * config.make.in (have-glob-dat-reloc): New.
6507         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
6508         target supports GLOB_DAT relocaton. AC_SUBST.
6509         * configure: Regenerated.
6510         * elf/Makefile (tests): Add tst-prelink.
6511         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
6512         (tst-prelink-ENV): New.
6513         ($(objpfx)tst-prelink-conflict.out): Likewise.
6514         ($(objpfx)tst-prelink-cmp.out): Likewise.
6515         * sysdeps/x86/tst-prelink.c: Moved to ...
6516         * elf/tst-prelink.c: Here.
6517         * sysdeps/x86/tst-prelink.exp: Moved to ...
6518         * elf/tst-prelink.exp: Here.
6519         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
6520         (tst-prelink-ENV): Removed.
6521         ($(objpfx)tst-prelink-conflict.out): Likewise.
6522         ($(objpfx)tst-prelink-cmp.out): Likewise.
6523         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
6525 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
6527         [BZ #14551]
6528         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
6529         (__mpn_construct_long_double): If high part overflows to infinity,
6530         set errno and recompute overflowed result of the correct sign.
6531         * sysdeps/ieee754/ldbl-128ibm/Makefile
6532         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
6533         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
6534         $(libm).
6535         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
6537 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
6539         [BZ #15479]
6540         [BZ #19238]
6541         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
6542         floating-point state after first operation on input.  Restore full
6543         state rather than just rounding mode.
6544         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
6545         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
6546         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
6548         [BZ #19235]
6549         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
6550         add 0.5 to integer arguments.
6551         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
6552         Likewise.
6553         (.LC2): New object.
6555 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
6557         * scripts/pylintrc (reports): Set to no.
6559 2015-11-10  Roland McGrath  <roland@hack.frob.com>
6561         * elf/dl-load.c (open_verify): Take new argument FD.
6562         Skip __open call if passed FD is not -1.
6563         (_dl_map_object, open_path): Update callers.
6564         * elf/dl-sysdep-open.h: New file.
6565         * elf/dl-load.c: Include it.
6566         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
6567         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
6568         * sysdeps/nacl/dl-sysdep-open.h: New file.
6569         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
6570         from libc to rtld.
6572 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
6574         [BZ #19228]
6575         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
6576         and restore full floating-point state.
6577         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6578         Likewise.
6579         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
6580         Likewise.
6581         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
6582         Likewise.
6583         * math/test-nearbyint-except-2.c: New file.
6584         * math/Makefile (tests): Add test-nearbyint-except-2.
6586 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
6588         [BZ #19178]
6589         * sysdeps/x86/Makefile (tests): Add tst-prelink.
6590         (tst-prelink-ENV): New.
6591         ($(objpfx)tst-prelink-conflict.out): Likewise.
6592         ($(objpfx)tst-prelink-cmp.out): Likewise.
6593         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
6594         * sysdeps/x86/tst-prelink.c: New file.
6595         * sysdeps/x86/tst-prelink.exp: Likewise.
6597 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
6599         * math/auto-libm-test-in: Add another test of pow.
6600         * math/auto-libm-test-out: Regenerated.
6601         * math/libm-test.inc (pow_test_data): Add another test.
6603 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6605         [BZ #19219]
6606         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
6607         weak_alias to nearbyintl.
6609 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
6611         * sysdeps/aarch64/bits/string.h: New file.
6612         (_STRING_ARCH_unaligned): Define.
6614 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
6616         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
6617         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
6618         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
6619         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
6620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
6622 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
6624         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
6625         for original name of the DSO.  Add it to the name list of the DSO
6626         if it is actually given.
6627         (_dl_map_object): Keep track of whether an audit module rewrote
6628         the file name.  If yes, pass the original name to
6629         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
6630         debugging is enabled, log the change of the file name.
6631         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
6632         _dl_map_object_from_fd.
6633         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
6634         * elf/tst-audit11.c: New file
6635         * elf/tst-auditmod11.c: New file.
6636         * elf/tst-audit11mod1.c: New file.
6637         * elf/tst-audit11mod2.c: New file.
6638         * elf/tst-audit11mod2.map: New file.
6639         * elf/tst-audit12.c: New file
6640         * elf/tst-auditmod12.c: New file.
6641         * elf/tst-audit12mod1.c: New file.
6642         * elf/tst-audit12mod2.c: New file.
6643         * elf/tst-audit12mod2.map: New file.
6644         * elf/tst-audit12mod3.c: New file.
6646 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
6648         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
6649         Don't create weak aliases,
6650         because versioned symbols are created later.
6651         * sysdeps/s390/s390-32/setjmp.S
6652         (setjmp, _setjmp): Remove weak and rename to an unique name
6653         in SHARED case due to existing versioned symbols.
6654         * sysdeps/s390/s390-64/setjmp.S: Likewise.
6655         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
6656         (getcontext): Create weak alias only in non SHARED case.
6657         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6659 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
6661         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
6662         (__ASSUME_*_SYSCALL) Define new macros.
6663         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
6664         Remove socketcall syscalls.
6665         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
6666         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
6667         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
6668         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
6669         * sysdeps/unix/sysv/linux/send.c (__libc_send):
6670         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
6672 2015-11-09  Florian Weimer  <fweimer@redhat.com>
6674         [BZ #12926]
6675         Terminate process on invalid netlink response.
6676         * sysdeps/unix/sysv/linux/netlinkaccess.h
6677         (__netlink_assert_response): Declare.
6678         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
6679         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
6680         (sysdep_routines): Add netlink_assert_response.
6681         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
6682         __netlink_assert_response.
6683         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
6684         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
6685         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
6686         __netlink_assert_response.
6688 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
6690         [BZ #19178]
6691         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
6692         (RTYPE_CLASS_PLT): Likewise.
6693         (RTYPE_CLASS_COPY): Likewise.
6694         (RTYPE_CLASS_TLS): Likewise.
6695         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
6696         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
6697         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
6698         DL_DEBUG_PRELINK.
6700 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
6702         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
6703         calls with argument -0.5.
6704         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
6706         * configure.ac (libc_cv_z_nodelete): Remove configure test.
6707         (libc_cv_z_nodlopen): Likewise.
6708         (libc_cv_z_initfirst): Likewise.
6709         * configure: Regenerated.
6711 2015-11-06  Florian Weimer  <fweimer@redhat.com>
6713         Simplify abilist format to be line-based.
6714         * scripts/abilist.awk: Collect descriptors in the descs variable.
6715         (emit): Write descs variable and sort it
6716         externally, with sort.
6717         * sysdeps/**/*.abilist: Convert to new format.
6719 2015-11-06  Mark Wielaard  <mjw@redhat.com>
6721         [BZ #11460]
6722         * io/Makefile (routines): Add fts64.
6723         (tests): Add tst-fts and tst-fts-lfs.
6724         (CFLAGS-fts64.c): New.
6725         * io/Versions (GLIBC_2.23): New.
6726         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
6727         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
6728         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
6729         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
6730         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
6731         (FTSENT64): Likewise.
6732         (fts64_children): Likewise.
6733         (fts64_close): Likewise.
6734         (fts64_open): Likewise.
6735         (fts64_read): Likewise.
6736         (fts64_set): Likewise.
6737         * io/fts64.c: New file.
6738         * io/tst-fts.c: New test.
6739         * io/tst-fts-lfs.c: Likewise.
6740         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
6741         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
6742         fts64_set.
6743         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6744         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6745         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6746         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6747         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6748         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6749         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6750         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6751         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6752         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6753         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6754         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6755         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6757         Likewise.
6758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6759         Likewise.
6760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6762         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6763         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6764         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6765         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6766         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
6768         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
6769         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6770         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6771         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6772         * sysdeps/wordsize-64/fts.c: New file.
6773         * sysdeps/wordsize-64/fts64.c: Likewise.
6774         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
6775         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
6776         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
6777         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
6779 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
6781         * math/libm-test.inc (NON_FINITE): New macro.
6782         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
6783         * math/gen-libm-test.pl (show_exceptions): Add argument
6784         $non_finite.
6785         (parse_args): Update call to show_exceptions.
6786         * math/test-math-finite.h: New file.
6787         * math/test-math-no-finite.h: Likewise.
6788         * math/test-double-finite.c: Likewise.
6789         * math/test-float-finite.c: Likewise.
6790         * math/test-ldouble-finite.c: Likewise.
6791         * math/test-double.c: Include "test-math-no-finite.h".
6792         * math/test-float.c: Include "test-math-no-finite.h".
6793         * math/test-ldouble.c: Include "test-math-no-finite.h".
6794         * math/test-math-inline.h (TEST_FINITE): New macro.
6795         * math/test-math-vector.h (TEST_FINITE): Likewise.
6796         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
6797         (libm-tests): Add test-float-finite and test-double-finite.
6798         ($(objpfx)test-float-finite.o): New dependency on
6799         $(objpfx)libm-test.stmp.
6800         ($(objpfx)test-double-finite.o): Likewise.
6801         ($(objpfx)test-ldouble-finite.o): Likewise.
6802         (libm-test-no-inline-cflags): New variable.
6803         (libm-test-finite-cflags): Likewise.
6804         (CFLAGS-test-float-finite.c): Likewise.
6805         (CFLAGS-test-double-finite.c): Likewise.
6806         (CFLAGS-test-ldouble-finite.c): Likewise.
6807         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
6808         (CFLAGS-test-double.c): Likewise.
6809         (CFLAGS-test-ldouble.c): Likewise.
6811 2015-11-05  Roland McGrath  <roland@hack.frob.com>
6813         * io/fcntl.c (__fcntl): Add ... to prototype.
6814         * misc/ioctl.c (__ioctl): Likewise.
6815         * misc/syscall.c (syscall): Likewise.
6817 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
6819         * scripts/list-fixed-bugs.py: New file.
6821         [BZ #19213]
6822         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
6823         returned for argument 1.
6824         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
6825         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
6826         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
6827         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
6828         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
6829         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
6831         [BZ #19211]
6832         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
6833         __USE_XOPEN], not if [!__USE_ISOC99].
6834         (lgammaf): Likewise.
6835         (lgammal): Likewise.
6836         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
6837         (gammaf): Likewise.
6838         (gammal): Likewise.
6839         * math/test-signgam-finite-c11.c: New file.
6840         * math/test-signgam-finite-c99.c: Likewise.
6841         * math/test-signgam-finite.c: Likewise.
6842         * math/Makefile (tests): Add test-signgam-finite,
6843         test-signgam-finite-c99 and test-signgam-finite-c11.
6844         (CFLAGS-test-signgam-finite.c): New variable.
6845         (CFLAGS-test-signgam-finite-c99.c): Likewise.
6846         (CFLAGS-test-signgam-finite-c11.c): Likewise.
6848         [BZ #19212]
6849         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
6850         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
6851         500].
6852         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
6853         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
6854         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
6855         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
6856         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
6857         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
6858         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
6859         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
6860         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
6861         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
6863         [BZ #19209]
6864         * math/bits/math-finite.h (ldexp): Remove declaration.
6865         (ldexpf): Likewise.
6866         (ldexpl): Likewise.
6868         [BZ #19205]
6869         * math/bits/math-finite.h (acosf): Condition declaration on
6870         [__USE_ISOC99].
6871         (acosl): Likewise.
6872         (acoshf): Likewise.
6873         (acoshl): Likewise.
6874         (asinf): Likewise.
6875         (asinl): Likewise.
6876         (atan2f): Likewise.
6877         (atan2l): Likewise.
6878         (atanhf): Likewise.
6879         (atanhl): Likewise.
6880         (coshf): Likewise.
6881         (coshl): Likewise.
6882         (expf): Likewise.
6883         (expl): Likewise.
6884         (fmodf): Likewise.
6885         (fmodl): Likewise.
6886         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
6887         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
6888         (j0l): Likewise.
6889         (y0f): Likewise.
6890         (y0l): Likewise.
6891         (j1f): Likewise.
6892         (j1l): Likewise.
6893         (y1f): Likewise.
6894         (y1l): Likewise.
6895         (jnf): Likewise.
6896         (jnl): Likewise.
6897         (ynf): Likewise.
6898         (ynl): Likewise.
6899         (lgammaf_r): Condition declaration on [__USE_ISOC99].
6900         (lgammal_r): Likewise.
6901         (__lgamma_r_finite): New declaration.
6902         (__lgammaf_r_finite): Likewise.
6903         (__lgammal_r_finite): Likewise.
6904         (lgamma): Use __lgamma_r_finite.
6905         (lgammaf): Condition definition on [__USE_ISOC99].  Use
6906         __lgammaf_r_finite.
6907         (lgammal): Condition definition on [__USE_ISOC99].  Use
6908         __lgammal_r_finite.
6909         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
6910         __lgamma_r_finite.
6911         (gammaf): Condition definition on [__USE_ISOC99].  Use
6912         __lgammaf_r_finite.
6913         (gammal): Condition definition on [__USE_ISOC99].  Use
6914         __lgammal_r_finite.
6915         (logf): Condition declaration on [__USE_ISOC99].
6916         (logl): Likewise.
6917         (log10f): Likewise.
6918         (log10l): Likewise.
6919         (ldexpf): Likewise.
6920         (ldexpl): Likewise.
6921         (powf): Likewise.
6922         (powl): Likewise.
6923         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
6924         __USE_ISOC99].
6925         (remainderf): Condition declaration on [__USE_ISOC99].
6926         (remainderl): Likewise.
6927         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
6928         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
6929         (scalbl): Likewise.
6930         (sinhf): Condition declaration on [__USE_ISOC99].
6931         (sinhl): Likewise.
6932         (sqrtf): Likewise.
6933         (sqrtl): Likewise.
6935 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
6937         * sysdeps/arm/atomic-machine.h
6938         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
6939         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
6940         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
6941         Remove conditional code.
6942         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
6943         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
6944         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
6945         Change conditional to [__ASSEMBLER__].
6946         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
6947         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
6948         [!__ASSEMBLER__].
6949         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
6950         code.
6951         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
6952         conditional macro definitions.
6953         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
6954         (__arch_compare_and_exchange_val_16_acq): Likewise.
6955         (__arch_compare_and_exchange_val_32_acq): Likewise.
6956         (atomic_exchange_and_add): Likewise.
6957         (atomic_add): Likewise.
6958         (atomic_add_negative): Likewise.
6959         (atomic_add_zero): Likewise.
6960         (atomic_bit_set): Likewise.
6961         (atomic_bit_test_set): Likewise.
6962         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
6963         code unconditional.
6964         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6966         * math/test-math-errno.h: New file.
6967         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
6968         empty.
6969         (TEST_ERRNO): New macro.
6970         (TEST_EXCEPTIONS): Likewise.
6971         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
6972         (TEST_EXCEPTIONS): Likewise.
6973         * math/test-math-vector.h (TEST_ERRNO): Likewise.
6974         * math/test-double.c: Include "test-math-errno.h".
6975         * math/test-float.c: Likewise.
6976         * math/test-ldouble.c: Likewise.
6977         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
6978         code unconditional.
6979         (test_exceptions): Only run code if TEST_EXCEPTIONS.
6980         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
6981         unconditional.
6982         (test_errno): Only run code if TEST_ERRNO.
6983         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
6985 2015-11-04  Florian Weimer  <fweimer@redhat.com>
6987         * nptl/tst-once5.cc: Remove attribution.
6989 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
6991         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
6992         sqrt, tan, tanh, y0, y1 and yn.
6993         * math/auto-libm-test-out: Regenerated.
6994         * math/libm-test.inc (scalb_test_data): Add more tests.
6995         (scalbn_test_data): Likewise.
6996         (scalbln_test_data): Likewise.
6997         (signbit_test_data): Likewise.
6998         (sin_test_data): Likewise.
6999         (sincos_test_data): Likewise.
7000         (sinh_test_data): Likewise.
7001         (sqrt_test_data): Likewise.
7002         (tan_test_data): Likewise.
7003         (tanh_test_data): Likewise.
7004         (tgamma_test_data): Likewise.
7005         (y0_test_data): Likewise.
7006         (y1_test_data): Likewise.
7007         (yn_test_data): Likewise.
7008         (significand_test_data): Likewise.
7009         * sysdeps/i386/fpu/libm-test-ulps: Update.
7011 2015-11-03  David Kastrup  <dak@gnu.org>
7013         [BZ #18604]
7014         * assert/assert.h (assert): Don't macro-expand failed assertion
7015         expression in error message.
7016         * malloc/malloc.c (assert): Likewise.
7018 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
7020         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
7021         test.
7022         * configure: Regenerated.
7024 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
7026         * math/libm-test.inc (modf_test_data): Add more tests.
7027         (nearbyint_test_data): Likewise.
7028         (nextafter_test_data): Likewise.
7029         (nexttoward_test_data): Likewise.
7030         (pow_test_data): Likewise.
7031         (remainder_test_data): Likewise.
7032         (remquo_test_data): Likewise.
7033         (rint_test_data): Likewise.
7035         [BZ #19201]
7036         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7037         Check for zero remainder in case of large exponents and ensure
7038         correct sign of result in that case.
7039         * math/libm-test.inc (remainder_test_data): Add more tests.
7041         [BZ #6799]
7042         * math/s_nextafter.c: Include <errno.h>.
7043         (__nextafter): Set errno on overflow and underflow.
7044         * math/s_nexttowardf.c: Include <errno.h>.
7045         (__nexttowardf): Set errno on overflow and underflow.
7046         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
7047         (__nextafterl): Set errno on overflow and underflow.
7048         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
7049         (__nexttoward): Set errno on overflow and underflow.
7050         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
7051         (__nexttowardf): Set errno on overflow and underflow.
7052         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
7053         (__nextafterf): Set errno on overflow and underflow.
7054         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
7055         (__nextafterl): Set errno on overflow and underflow.
7056         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
7057         (__nexttoward): Set errno on overflow and underflow.
7058         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
7059         (__nexttowardf): Set errno on overflow and underflow.
7060         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
7061         (__nextafterl): Set errno on overflow and underflow.
7062         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
7063         (__nexttoward): Set errno on overflow and underflow.
7064         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
7065         (__nexttowardf): Set errno on overflow and underflow.
7066         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
7067         (__nexttoward): Set errno on overflow and underflow.
7068         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
7069         (__nexttowardf): Set errno on overflow and underflow.
7070         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
7071         (__nldbl_nexttowardf): Set errno on overflow and underflow.
7072         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
7073         (__nextafterl): Set errno on overflow and underflow.
7074         * math/libm-test.inc (nextafter_test_data): Do not allow errno
7075         setting to be missing on overflow.  Add more tests.
7076         (nexttoward_test_data): Likewise.
7078         * configure.ac (libc_cv_initfini_array): Remove configure test.
7079         * configure: Regenerated.
7081 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
7083         [BZ #19189]
7084         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
7085         non-finite argument handle arguments with negative sign.
7087         * math/libm-test.inc (j0_test_data): Do not test sign of zero
7088         result from infinite argument.
7089         (j1_test_data): Likewise.
7090         (jn_test_data): Likewise.
7091         (y0_test_data): Likewise.
7092         (y1_test_data): Likewise.
7093         (yn_test_data): Likewise.
7095         [BZ #16171]
7096         * math/w_remainder.c (drem): Define as weak alias of __remainder.
7097         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
7098         * math/w_remainderf.c (dremf): Define as weak alias of
7099         __remainderf.
7100         * math/w_remainderl.c (dreml): Define as weak alias of
7101         __remainderl.
7102         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
7103         __remainder.
7104         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
7105         __remainderf.
7106         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
7107         __remainderl.
7108         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
7109         weak alias of remainderl.
7110         * sysdeps/ieee754/ldbl-opt/w_remainder.c
7111         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
7112         alias of __remainder.
7113         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
7114         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
7115         strong alias of __remainderl.
7116         (dreml): Use long_double_symbol.
7117         * math/Makefile (libm-calls): Remove w_drem.
7118         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
7119         (CFLAGS-nldbl-drem.c): Remove variable.
7120         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
7121         * math/w_drem.c: Remove file.
7122         * math/w_dremf.c: Likewise.
7123         * math/w_dreml.c: Likewise.
7124         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
7125         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
7126         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
7128         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
7129         * sysdeps/i386/configure: Regenerated.
7130         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
7131         * sysdeps/x86_64/configure: Regenerated.
7133         * configure.ac (libc_cv_asm_protected_directive): Remove configure
7134         test.
7135         (libc_cv_visibility_attribute): Likewise.
7136         (libc_cv_protected_data): Test unconditionally.
7137         (libc_cv_broken_visibility_attribute): Remove configure test.
7138         (libc_cv_have_sdata_section): Test unconditionally.
7139         * configure: Regenerated.
7141         * include/libc-internal.h (libc_max_align_t): Remove typedef.
7142         * include/scratch_buffer.h: Include <stddef.h> instead of
7143         <libc-internal.h>.
7144         (struct scratch_buffer): Use max_align_t instead of
7145         libc_max_align_t.
7147 2015-10-29  Florian Weimer  <fweimer@redhat.com>
7149         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
7150         instead of extend_alloca.  Change control flow to avoid a goto.
7151         Remove assert which is trivially always true.
7153 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
7155         [BZ #16068]
7156         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
7157         (FE_ALL_EXCEPT_X86): New macro.
7158         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
7159         FE_ALL_EXCEPT.  Ensure precision control is included in
7160         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
7161         handle "denormal operand exception" and clear FZ and DAZ bits.
7162         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
7163         (FE_ALL_EXCEPT_X86): New macro.
7164         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
7165         FE_ALL_EXCEPT.  Ensure precision control is included in
7166         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
7167         handle "denormal operand exception" and clear FZ and DAZ bits.
7168         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
7169         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
7170         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7171         test-fenv-x87 and test-fenv-sse-2.
7172         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
7174         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
7175         * math/test-double.h (BUILD_COMPLEX): New macro.
7176         * math/test-float.h (BUILD_COMPLEX): Likewise.
7177         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
7179         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
7180         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
7181         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
7182         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
7183         instead of DBL_DENORM_MIN in comment.
7184         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
7185         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
7186         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
7187         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
7188         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
7189         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
7191 2015-10-28  Florian Weimer  <fweimer@redhat.com>
7193         [BZ# 19048]
7194         * malloc/malloc.c (struct malloc_state): Update comment.  Add
7195         attached_threads member.
7196         (main_arena): Initialize attached_threads.
7197         * malloc/arena.c (list_lock): Update comment.
7198         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
7199         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
7200         (deattach_arena): New function.
7201         (_int_new_arena): Initialize arena reference count and deattach
7202         replaced arena.
7203         (get_free_list, reused_arena): Update reference count and deattach
7204         replaced arena.
7205         (arena_thread_freeres): Update arena reference count and only put
7206         unreferenced arenas on the free list.
7208 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
7210         [BZ #19181]
7211         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
7212         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
7213         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
7214         * math/test-fenv-clear-main.c: New file.
7215         * math/test-fenv-clear.c: Likewise.
7216         * math/Makefile (tests): Add test-fenv-clear.
7217         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
7218         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7219         test-fenv-clear-sse.
7220         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
7222         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
7223         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
7224         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
7226 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7228         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
7229         static libc.
7231 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
7233         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
7234         test.
7235         * sysdeps/i386/configure: Regenerated.
7236         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
7237         test.
7238         * sysdeps/x86_64/configure: Regenerated.
7239         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
7240         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7241         memset-avx2 unconditionally instead of conditionally on
7242         [$(config-cflags-avx2) = yes].
7243         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7244         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
7245         unconditional.
7246         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
7247         * sysdeps/x86_64/multiarch/memset_chk.S
7248         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
7249         to [IS_IN (libc) && SHARED].
7251 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
7253         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
7254         configure test.
7255         * sysdeps/arm/configure: Regenerated.
7256         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
7257         Define variable if not already defined.
7259         [BZ #17404]
7260         * sysdeps/mips/atomic-machine.h
7261         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
7262         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
7263         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
7265         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
7266         unconditional.
7267         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
7268         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7269         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
7270         unconditional.
7271         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7272         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
7273         unconditional.
7274         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7275         * stdlib/setenv.c
7276         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
7277         code unconditional.
7278         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
7279         Remove conditional code.
7280         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
7281         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
7282         unconditional.
7283         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
7284         code.
7285         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
7286         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
7287         unconditional.
7288         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
7289         code.
7290         * sysdeps/ieee754/ldbl-128/k_tanl.c
7291         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
7292         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7293         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
7294         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
7295         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7296         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
7297         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
7298         unconditional.
7299         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
7300         code.
7301         * sysdeps/ieee754/ldbl-96/k_tanl.c
7302         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
7303         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
7305         * nptl/tst-initializers1-c11.c: New file.
7306         * nptl/tst-initializers1-gnu11.c: Likewise.
7307         * nptl/Makefile (tests): Add these new tests.
7308         (CFLAGS-tst-initializers1-c11.c): New variable.
7309         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
7311         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
7312         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
7313         instead of -std=gnu99.
7314         * configure.ac (systemtap): Test with -std=gnu11 instead of
7315         -std=gnu99.
7316         * configure: Regenerated.
7317         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
7318         in compilation command in comment.
7320         * sysdeps/nptl/configure.ac: Remove file.
7321         * sysdeps/nptl/configure: Remove generated file.
7322         * configure.ac (libc_cv_forced_unwind): Do not substitute.
7323         * configure: Regenerated.
7324         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
7325         * config.make.in (have-forced-unwind): Remove variable.
7326         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
7327         unconditional.
7328         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
7329         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
7330         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
7331         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
7332         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
7333         unconditional.
7335 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7337         [BZ #19174]
7338         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
7339         .skip_lock_out_of_tbegin_retries.
7340         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
7341         (__lll_lock_elision): Likewise, and respect a value of
7342         try_tbegin <= 0.
7344 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7346         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
7347         statement.
7349 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
7351         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
7352         variable.
7353         (test-xfail-ISO11/stdalign.h/conform): Likewise.
7354         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7356         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
7357         of -std=c1x -D_ISOC11_SOURCE.
7359         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
7360         * configure: Regenerated.
7361         * manual/install.texi (Tools for Compilation): Document
7362         requirement for GCC 4.7 or later.
7363         * INSTALL: Regenerated.
7365 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
7367         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
7368         on CNT to a conditional jump to 'puntdata'.
7370 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
7372         * configure.ac (libc_cv_gcc___thread): Remove configure test.
7373         (libc_cv_gcc_tls_model_attr): Likewise.
7374         * configure: Regenerated.
7376         * configure.ac (libc_cv_need_minus_P): Remove configure test.
7377         * configure: Regenerated.
7378         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
7380 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
7382         * configure.ac (old_glibc_headers): Remove configure test.
7383         * configure: Regenerated.
7384         * config.make.in (old-glibc-headers): Remove variable.
7385         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
7386         (install): Remove dependency on remove-old-headers.
7387         (headers2_0): Remove variable.
7388         (remove-old-headers): Remove rule.
7390         * configure.ac (libc_cv_dot_text): Remove configure test.
7391         (libc_cv_asm_set_directive): Use .text instead of
7392         ${libc_cv_dot_text} in configure test.
7393         * configure: Regenerated.
7395 2015-10-26  Florian Weimer  <fweimer@redhat.com>
7397         [BZ #19168]
7398         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7400 2015-10-26  Florian Weimer  <fweimer@redhat.com>
7402         * configure.ac (CXX): Clear the variable if the C++ toolchain does
7403         not support static linking.
7404         * configure: Regenerate.
7406 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
7408         * math/libm-test.inc (check_float_internal): Do not special-case
7409         errors up to 0.5 ulp.
7411         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7412         log2.
7413         * math/auto-libm-test-out: Regenerated.
7414         * math/libm-test.inc (MAX_EXP): New macro.
7415         (ilogb_test_data): Add more tests.
7416         (isfinite_test_data): Likewise.
7417         (isgreater_test_data): Likewise.
7418         (isgreaterequal_test_data): Likewise.
7419         (isinf_test_data): Likewise.
7420         (isless_test_data): Likewise.
7421         (islessequal_test_data): Likewise.
7422         (islessgreater_test_data): Likewise.
7423         (isnan_test_data): Likewise.
7424         (isnormal_test_data): Likewise.
7425         (issignaling_test_data): Likewise.
7426         (isunordered_test_data): Likewise.
7427         (j0_test_data): Likewise.
7428         (j1_test_data): Likewise.
7429         (jn_test_data): Likewise.
7430         (lgamma_test_data): Likewise.
7431         (log_test_data): Likewise.
7432         (log10_test_data): Likewise.
7433         (log1p_test_data): Likewise.
7434         (log2_test_data): Likewise.
7435         (logb_test_data): Likewise.
7436         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7438         [BZ #18611]
7439         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
7440         avoid excess range and precision on underflow.
7441         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7442         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
7443         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7444         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
7445         underflow.
7446         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7447         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7448         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7449         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7450         * math/auto-libm-test-in: Do not allow missing errno setting for
7451         tests of j1 and jn.
7452         * math/auto-libm-test-out: Regenerated.
7454 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
7456         [BZ #15491]
7457         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
7458         floating-point environment instead of clearing all exceptions.
7459         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
7460         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
7461         merging in "invalid" exceptions from frndint.
7462         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
7463         * math/test-nearbyint-except.c: New file.
7464         * math/Makefile (tests): Add test-nearbyint-except.
7466 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
7468         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
7470         * sysdeps/tile/libm-test-ulps: Regenerated.
7472 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
7475         (__NR_sync_file_range2): Assume it is always defined.
7476         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
7477         (__NR_sync_file_range): Assume it is always defined.
7479 2015-10-22  Andreas Schwab  <schwab@suse.de>
7481         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
7482         INTERNAL_SYSCALL_ERRNO.
7483         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7484         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
7485         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7486         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
7487         Likewise.
7488         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7490 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
7492         * io/tst-fcntl.c (fd): New static variable.
7493         (do_prepare): Open temporary file here....
7494         (do_test): ...not here.
7496         * io/ftwtest-sh: Also trap on exit to remove temporary files.
7498 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
7500         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
7501         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
7502         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
7503         Moved before "#ifdef __ASSEMBLER__".
7505 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
7507         [BZ #19156]
7508         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
7509         arguments very close to 0.
7511 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
7513         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
7514         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
7516 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
7518         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
7519         New.  Defined for GCC 5 and above when not compiling for
7520         profiling.
7521         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
7523         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
7524         Renamed to ...
7525         (CFLAGS-epoll_pwait.o): This.
7526         (CFLAGS-mmap.c): Renamed to ...
7527         (CFLAGS-mmap.o): This.
7528         (CFLAGS-mmap64.c): Renamed to ...
7529         (CFLAGS-mmap64.o): This.
7530         (CFLAGS-epoll_pwait.os): New.
7531         (CFLAGS-mmap.os): Likewise.
7532         (CFLAGS-mmap64.os): Likewise.
7533         (CFLAGS-semtimedop.os): Likewise.
7534         (CFLAGS-semtimedop.c): Renamed to ...
7535         (CFLAGS-semtimedop.o): This.
7537 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7539         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
7540         warning message.
7542 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
7544         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
7545         * Makefile ($(objpfx)c++-types-check.out): Filter out
7546         $(+gccwarn-c) instead of -Wstrict-prototypes.
7548         * io/fts.c (fts_open): Convert to prototype-style function
7549         definition.
7550         * malloc/mcheck.c (mcheck): Likewise.
7551         (mcheck_pedantic): Likewise.
7552         * posix/regexec.c (re_search_2_stub): Likewise.  Use
7553         internal_function.
7554         (re_search_internal): Likewise.
7555         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
7556         prototype-style function definition.
7557         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7558         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
7559         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
7560         (xdr_utmpptr): Likewise.
7561         (xdr_utmparr): Likewise.
7562         (xdr_utmpidle): Likewise.
7563         (xdr_utmpidleptr): Likewise.
7564         (xdr_utmpidlearr): Likewise.
7566         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
7567         log, log10 and log2.
7568         * math/auto-libm-test-out: Regenerated.
7569         * math/libm-test.inc (fmod_test_data): Add more tests.
7570         (fpclassify_test_data): Likewise.
7571         (frexp_test_data): Likewise.
7572         (hypot_test_data): Likewise.
7573         (ilogb_test_data): Likewise.
7575 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
7577         * debug/fortify_fail.c (__fortify_fail): Convert to
7578         prototype-style function definition.  Use internal_function.
7579         * libio/genops.c (save_for_backup): Convert to prototype-style
7580         function definition.
7581         * libio/wgenops.c (save_for_wbackup): Likewise.
7582         * login/grantpt.c (grantpt): Likewise.
7583         * login/ptsname.c (ptsname): Likewise.
7584         (__ptsname_r): Likewise.
7585         * login/unlockpt.c (unlockpt): Likewise.
7586         * mach/msgserver.c (__mach_msg_server): Likewise.
7587         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
7588         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
7589         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
7590         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
7591         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
7592         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
7593         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
7594         Likewise.
7595         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
7596         internal_function.
7597         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
7598         prototype-style function definition.
7599         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
7600         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
7601         (__pthread_create_2_0): Likewise.
7602         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
7603         * nptl/register-atfork.c (__register_atfork): Likewise.
7604         * posix/glob.c (glob): Likewise.
7605         * posix/regcomp.c (re_comp): Likewise.
7606         * posix/regexec.c (re_exec): Likewise.
7607         * stdlib/add_n.c [__STDC__]: Make code unconditional.
7608         [!__STDC__]: Remove conditional code.
7609         * stdlib/cmp.c [__STDC__]: Make code unconditional.
7610         [!__STDC__]: Remove conditional code.
7611         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
7612         [!__STDC__]: Remove conditional code.
7613         * stdlib/divrem.c [__STDC__]: Make code unconditional.
7614         [!__STDC__]: Remove conditional code.
7615         * stdlib/lshift.c [__STDC__]: Make code unconditional.
7616         [!__STDC__]: Remove conditional code.
7617         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
7618         [!__STDC__]: Remove conditional code.
7619         * stdlib/mul.c [__STDC__]: Make code unconditional.
7620         [!__STDC__]: Remove conditional code.
7621         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
7622         [!__STDC__]: Remove conditional code.
7623         * stdlib/rshift.c [__STDC__]: Make code unconditional.
7624         [!__STDC__]: Remove conditional code.
7625         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
7626         function definition.
7627         (STRTOF): Likewise.
7628         * stdlib/strtod_l.c (__STRTOF): Likewise.
7629         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
7630         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
7631         (__strtol_l): Likewise.
7632         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
7633         [!__STDC__]: Remove conditional code.
7634         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
7635         definition.
7636         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
7637         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
7638         type.
7639         (__strcasecmp): Convert to prototype-style function definition.
7640         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
7641         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
7642         type.
7643         (__strncasecmp): Convert to prototype-style function definition.
7644         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
7645         * sunrpc/xdr.c (xdr_union): Likewise.
7646         * sunrpc/xdr_array.c (xdr_array): Likewise.
7647         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
7648         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
7649         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
7650         Likewise.
7651         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
7652         Likewise.
7653         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
7654         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7655         Likewise.
7656         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
7657         (LOCALE_PARAM_PROTO): Likewise.
7658         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
7659         argument type.
7660         (ut_argument_spec): Remove macro.
7661         (ut_argument_spec_iso): Rename to ut_argument_spec.
7662         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
7663         prototype-style function definition.
7664         (memcpy_uppcase): Likewise.
7665         (__strftime_internal): Likewise.
7666         (my_strftime): Likewise.
7667         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
7668         (LOCALE_PARAM_DECL): Likewise.
7669         [_LIBC] (LOCALE_PARAM): Include argument type.
7670         (__strptime_internal): Convert to prototype-style function
7671         definition.
7672         (strptime): Likewise.
7673         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
7674         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
7675         type.
7676         (__wcscasecmp): Convert to prototype-style function definition.
7677         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
7678         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
7679         type.
7680         (__wcsncasecmp): Convert to prototype-style function definition.
7682         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
7683         function definition.
7684         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7685         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7686         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
7687         * elf/dl-minimal.c (_itoa): Likewise.
7688         * hurd/hurdmalloc.c (malloc): Likewise.
7689         (free): Likewise.
7690         (realloc): Likewise.
7691         * inet/inet6_option.c (inet6_option_space): Likewise.
7692         (inet6_option_init): Likewise.
7693         (inet6_option_append): Likewise.
7694         (inet6_option_alloc): Likewise.
7695         (inet6_option_next): Likewise.
7696         (inet6_option_find): Likewise.
7697         * io/ftw.c (FTW_NAME): Likewise.
7698         (NFTW_NAME): Likewise.
7699         (NFTW_NEW_NAME): Likewise.
7700         (NFTW_OLD_NAME): Likewise.
7701         * libio/iofwide.c (_IO_fwide): Likewise.
7702         * libio/strops.c (_IO_str_init_static_internal): Likewise.
7703         (_IO_str_init_static): Likewise.
7704         (_IO_str_init_readonly): Likewise.
7705         (_IO_str_overflow): Likewise.
7706         (_IO_str_underflow): Likewise.
7707         (_IO_str_count): Likewise.
7708         (_IO_str_seekoff): Likewise.
7709         (_IO_str_pbackfail): Likewise.
7710         (_IO_str_finish): Likewise.
7711         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
7712         (_IO_wstr_overflow): Likewise.
7713         (_IO_wstr_underflow): Likewise.
7714         (_IO_wstr_count): Likewise.
7715         (_IO_wstr_seekoff): Likewise.
7716         (_IO_wstr_pbackfail): Likewise.
7717         (_IO_wstr_finish): Likewise.
7718         * locale/programs/localedef.c (normalize_codeset): Likewise.
7719         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
7720         (add_locales_to_archive): Likewise.
7721         (delete_locales_from_archive): Likewise.
7722         * malloc/malloc.c (__libc_mallinfo): Likewise.
7723         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
7724         * misc/tsearch.c (__tfind): Likewise.
7725         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
7726         * nptl/pthread_attr_getdetachstate.c
7727         (__pthread_attr_getdetachstate): Likewise.
7728         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
7729         Likewise.
7730         * nptl/pthread_attr_getinheritsched.c
7731         (__pthread_attr_getinheritsched): Likewise.
7732         * nptl/pthread_attr_getschedparam.c
7733         (__pthread_attr_getschedparam): Likewise.
7734         * nptl/pthread_attr_getschedpolicy.c
7735         (__pthread_attr_getschedpolicy): Likewise.
7736         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
7737         Likewise.
7738         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
7739         Likewise.
7740         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
7741         Likewise.
7742         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
7743         Likewise.
7744         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
7745         (__pthread_attr_init_2_0): Likewise.
7746         * nptl/pthread_attr_setdetachstate.c
7747         (__pthread_attr_setdetachstate): Likewise.
7748         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
7749         Likewise.
7750         * nptl/pthread_attr_setinheritsched.c
7751         (__pthread_attr_setinheritsched): Likewise.
7752         * nptl/pthread_attr_setschedparam.c
7753         (__pthread_attr_setschedparam): Likewise.
7754         * nptl/pthread_attr_setschedpolicy.c
7755         (__pthread_attr_setschedpolicy): Likewise.
7756         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
7757         Likewise.
7758         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
7759         Likewise.
7760         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
7761         Likewise.
7762         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
7763         Likewise.
7764         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
7765         Likewise.
7766         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
7767         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
7768         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
7769         use internal_function.
7770         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
7771         prototype-style function definition.
7772         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
7773         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
7774         internal_function.
7775         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
7776         Convert to prototype-style function definition.
7777         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7778         Likewise.
7779         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
7780         Likewise.
7781         (__pthread_mutex_unlock): Likewise.
7782         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
7783         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
7784         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
7785         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
7786         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
7787         * nss/makedb.c (process_input): Likewise.
7788         * posix/fnmatch.c (__strchrnul): Likewise.
7789         (__wcschrnul): Likewise.
7790         (fnmatch): Likewise.
7791         * posix/fnmatch_loop.c (FCT): Likewise.
7792         * posix/glob.c (globfree): Likewise.
7793         (__glob_pattern_type): Likewise.
7794         (__glob_pattern_p): Likewise.
7795         * posix/regcomp.c (re_compile_pattern): Likewise.
7796         (re_set_syntax): Likewise.
7797         (re_compile_fastmap): Likewise.
7798         (regcomp): Likewise.
7799         (regerror): Likewise.
7800         (regfree): Likewise.
7801         * posix/regexec.c (regexec): Likewise.
7802         (re_match): Likewise.
7803         (re_search): Likewise.
7804         (re_match_2): Likewise.
7805         (re_search_2): Likewise.
7806         (re_search_stub): Likewise.  Use internal_function
7807         (re_copy_regs): Likewise.
7808         (re_set_registers): Convert to prototype-style function
7809         definition.
7810         (prune_impossible_nodes): Likewise.  Use internal_function.
7811         * resolv/inet_net_pton.c (inet_net_pton): Convert to
7812         prototype-style function definition.
7813         (inet_net_pton_ipv4): Likewise.
7814         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7815         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
7816         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
7817         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
7818         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
7819         Make variadic.
7820         * time/strptime_l.c (localtime_r): Convert to prototype-style
7821         function definition.
7822         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
7823         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
7824         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
7825         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
7827         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
7828         definition.
7829         (_ufc_doit_r): Likewise.
7830         * crypt/crypt_util.c (_ufc_copymem): Likewise.
7831         (_ufc_output_conversion_r): Likewise.
7832         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
7833         * inet/rcmd.c (rcmd_af): Likewise.
7834         (rcmd): Likewise.
7835         (ruserok_af): Likewise.
7836         (ruserok): Likewise.
7837         (ruserok2_sa): Likewise.
7838         (ruserok_sa): Likewise.
7839         (iruserok_af): Likewise.
7840         (iruserok): Likewise.
7841         (__ivaliduser): Likewise.
7842         (__validuser2_sa): Likewise.
7843         * inet/rexec.c (rexec_af): Likewise.
7844         (rexec): Likewise.
7845         * inet/ruserpass.c (ruserpass): Likewise.
7846         * locale/programs/xmalloc.c (xcalloc): Likewise.
7847         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
7848         * math/w_drem.c (__drem): Likewise.
7849         * math/w_dremf.c (__dremf): Likewise.
7850         * math/w_dreml.c (__dreml): Likewise.
7851         * misc/daemon.c (daemon): Likewise.
7852         * resolv/res_debug.c (p_fqnname): Likewise.
7853         * stdlib/div.c (div): Likewise.
7854         * string/memcmp.c (memcmp_bytes): Likewise.
7855         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
7856         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
7858         * crypt/cert.c (main): Convert to prototype-style function
7859         definition.
7860         * io/pipe.c (__pipe): Likewise.
7861         * io/pipe2.c (__pipe2): Likewise.
7862         * misc/futimesat.c (futimesat): Likewise.
7863         * misc/utimes.c (__utimes): Likewise.
7864         * posix/execve.c (__execve): Likewise.
7865         * posix/execvp.c (execvp): Likewise.
7866         * posix/execvpe.c (__execvpe): Likewise.
7867         * posix/fexecve.c (fexecve): Likewise.
7868         * socket/socketpair.c (socketpair): Likewise.
7869         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7870         * stdlib/erand48.c (erand48): Likewise.
7871         * stdlib/erand48_r.c (__erand48_r): Likewise.
7872         * stdlib/jrand48.c (jrand48): Likewise.
7873         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
7874         * stdlib/lcong48.c (lcong48): Likewise.
7875         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
7876         * stdlib/nrand48.c (nrand48): Likewise.
7877         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
7878         * stdlib/seed48.c (seed48): Likewise.
7879         * stdlib/seed48_r.c (__seed48_r): Likewise.
7880         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
7881         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
7882         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
7884 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
7886         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
7887         * configure: Regenerated.
7888         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
7889         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
7890         unconditional.
7891         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7892         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7893         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7894         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
7895         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
7896         unconditional.
7897         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7899         * posix/Makefile (CFLAGS-regex.c): Remove variable.
7900         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
7902         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
7903         function definition.
7904         * crypt/crypt_util.c (__encrypt_r): Likewise.
7905         * libio/genops.c (_IO_no_init): Likewise.
7906         * libio/iofopncook.c (_IO_fopencookie): Likewise.
7907         (_IO_old_fopencookie): Likewise.
7908         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
7909         * libio/iogetline.c (_IO_getline): Likewise.
7910         (_IO_getline_info): Likewise.
7911         * libio/iogetwline.c (_IO_getwline): Likewise.
7912         (_IO_getwline_info): Likewise.
7913         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
7914         * libio/vswprintf.c (_IO_vswprintf): Likewise.
7915         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
7916         (find_entry): Likewise.
7917         (iterate_table): Likewise.
7918         (lookup): Likewise.
7919         * login/forkpty.c (forkpty): Likewise.
7920         * misc/hsearch_r.c (__hsearch_r): Likewise.
7921         * misc/select.c (__select): Likewise.
7922         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
7923         Likewise.
7924         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
7925         Likewise.
7926         * nptl/old_pthread_cond_timedwait.c
7927         (__pthread_cond_timedwait_2_0): Likewise.
7928         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
7929         * nptl/pthread_barrierattr_getpshared.c
7930         (pthread_barrierattr_getpshared): Likewise.
7931         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
7932         Likewise.
7933         * nptl/pthread_mutex_setprioceiling.c
7934         (pthread_mutex_setprioceiling): Likewise.
7935         * nptl/pthread_mutexattr_getprioceiling.c
7936         (pthread_mutexattr_getprioceiling): Likewise.
7937         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
7938         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
7939         Likewise.
7940         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
7941         Likewise.
7942         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
7943         Likewise.
7944         * socket/recvfrom.c (__recvfrom): Likewise.
7945         * socket/sendto.c (__sendto): Likewise.
7946         * socket/setsockopt.c (__setsockopt): Likewise.
7947         * stdio-common/_itoa.c (_itoa): Likewise.
7948         * stdio-common/_itowa.c (_itowa): Likewise.
7949         * stdio-common/reg-printf.c (__register_printf_specifier):
7950         Likewise.
7951         (__register_printf_function): Likewise.
7952         * stdio-common/tempname.c (__path_search): Likewise.
7953         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
7954         * stdlib/mul_1.c (mpn_mul_1): Likewise.
7955         * stdlib/random_r.c (__initstate_r): Likewise.
7956         * stdlib/setenv.c (__add_to_environ): Likewise.
7957         * stdlib/submul_1.c (mpn_submul_1): Likewise.
7958         * streams/getpmsg.c (getpmsg): Likewise.
7959         * streams/putmsg.c (putmsg): Likewise.
7960         * streams/putpmsg.c (putpmsg): Likewise.
7961         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
7962         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
7963         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
7964         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
7965         * sunrpc/pm_getport.c (pmap_getport): Likewise.
7966         * sunrpc/svc_udp.c (cache_get): Likewise.
7967         * sunrpc/xdr_array.c (xdr_vector): Likewise.
7968         * sysdeps/mach/hurd/getcwd.c
7969         (__canonicalize_directory_name_internal): Likewise.
7970         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
7971         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
7972         * sysdeps/mach/hurd/select.c (__select): Likewise.
7973         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
7974         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
7975         * sysdeps/sparc/nptl/pthread_barrier_init.c
7976         (__pthread_barrier_init): Likewise.
7977         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
7978         (__pthread_cond_timedwait): Likewise.
7979         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
7980         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
7981         Likewise.
7982         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
7983         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
7984         Likewise.
7985         * sysvipc/semtimedop.c (semtimedop): Likewise.
7986         * time/setitimer.c (__setitimer): Likewise.
7987         * time/strftime_l.c (emacs_strftime): Likewise.
7989 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
7991         * config.make.in (have-ssp): Delete.
7992         (stack-protector): New variable.
7993         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
7994         cache test for -fstack-protector-strong.  Export stack_protector to
7995         the best ssp flag.
7996         * configure: Regenerated.
7997         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
7998         * nscd/Makefile (CFLAGS-nscd): Likewise.
7999         * resolv/Makefile (CFLAGS-libresolv): Likewise.
8001 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
8003         [BZ #19122]
8004         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
8005         attribute_hidden.
8007 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8009         [BZ #18743]
8010         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
8011         code to...
8012         (ELIDE_LOCK): ...here.
8013         (__get_new_count): New function with part of the code from
8014         __elide_lock that updates the value of adapt_count after a
8015         transaction abort.
8016         (__elided_trylock): Moved this code to...
8017         (ELIDE_TRYLOCK): ...here.
8019 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
8021         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
8022         * configure: Regenerate.
8023         * INSTALL: Regenerate.
8024         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
8025         and tweak grammar.
8027 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
8029         * login/programs/pt_chown.c: Include signal.h
8030         (main): Clear any signal mask from the parent process.
8032 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
8034         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
8035         * configure: Regenerated.
8036         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
8037         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
8038         $(gnu89-inline-CFLAGS).
8040         * configure.ac (libc_cv_asm_weak_directive): Remove configure
8041         test.
8042         (libc_cv_asm_weakext_directive): Likewise.
8043         * configure: Regenerated.
8044         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
8045         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
8046         * include/libc-symbols.h
8047         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
8048         #error.
8049         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
8050         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
8052         * sysdeps/arm/backtrace.c (__backtrace): Convert to
8053         prototype-style function definition.
8054         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
8055         * sysdeps/i386/ffs.c (__ffs): Likewise.
8056         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
8057         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
8058         Likewise.
8059         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
8060         Likewise.
8061         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
8062         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
8063         Likewise.
8064         * sysdeps/m68k/ffs.c (__ffs): Likewise.
8065         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
8066         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
8067         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
8068         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
8069         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
8070         * sysdeps/mach/hurd/access.c (__access): Likewise.
8071         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
8072         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
8073         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
8074         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
8075         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
8076         (cthread_getspecific): Likewise.
8077         (cthread_setspecific): Likewise.
8078         (__libc_getspecific): Likewise.
8079         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
8080         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
8081         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
8082         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
8083         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
8084         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
8085         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
8086         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
8087         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
8088         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
8089         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
8090         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
8091         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
8092         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
8093         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
8094         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
8095         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
8096         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
8097         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
8098         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
8099         * sysdeps/mach/hurd/link.c (__link): Likewise.
8100         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
8101         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
8102         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
8103         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
8104         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
8105         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
8106         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
8107         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
8108         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
8109         * sysdeps/mach/hurd/rename.c (rename): Likewise.
8110         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
8111         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
8112         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
8113         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
8114         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
8115         * sysdeps/mach/hurd/send.c (__send): Likewise.
8116         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
8117         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
8118         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
8119         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
8120         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
8121         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
8122         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
8123         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
8124         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
8125         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
8126         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
8127         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
8128         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
8129         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
8130         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
8131         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
8132         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
8133         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
8134         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
8135         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
8136         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
8137         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
8138         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
8139         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
8140         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
8141         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
8142         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
8143         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
8144         * sysdeps/posix/alarm.c (alarm): Likewise.
8145         * sysdeps/posix/cuserid.c (cuserid): Likewise.
8146         * sysdeps/posix/dirfd.c (dirfd): Likewise.
8147         * sysdeps/posix/dup.c (__dup): Likewise.
8148         * sysdeps/posix/dup2.c (__dup2): Likewise.
8149         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
8150         (main): Likewise.
8151         * sysdeps/posix/flock.c (__flock): Likewise.
8152         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
8153         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
8154         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
8155         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
8156         * sysdeps/posix/isatty.c (__isatty): Likewise.
8157         * sysdeps/posix/killpg.c (killpg): Likewise.
8158         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
8159         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
8160         * sysdeps/posix/raise.c (raise): Likewise.
8161         * sysdeps/posix/remove.c (remove): Likewise.
8162         * sysdeps/posix/rename.c (rename): Likewise.
8163         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
8164         * sysdeps/posix/seekdir.c (seekdir): Likewise.
8165         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
8166         * sysdeps/posix/sigignore.c (sigignore): Likewise.
8167         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
8168         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
8169         * sysdeps/posix/sigset.c (sigset): Likewise.
8170         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
8171         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
8172         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
8173         * sysdeps/posix/time.c (time): Likewise.
8174         * sysdeps/posix/ttyname.c (getttyname): Likewise.
8175         (ttyname): Likewise.
8176         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
8177         * sysdeps/posix/utime.c (utime): Likewise.
8178         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
8179         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
8180         Likewise.
8181         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
8182         (pthread_spin_trylock): Likewise.
8183         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
8184         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
8185         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
8186         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
8187         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
8188         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
8189         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
8190         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
8191         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
8192         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
8193         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
8194         * sysdeps/s390/ffs.c (__ffs): Likewise.
8195         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
8196         Likewise.
8197         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
8198         Likewise.
8199         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
8200         Likewise.
8201         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
8202         (pthread_barrier_destroy): Likewise.
8203         * sysdeps/sparc/nptl/pthread_barrier_wait.c
8204         (__pthread_barrier_wait): Likewise.
8205         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
8206         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
8207         (__pthread_barrier_wait): Likewise.
8208         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
8209         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
8210         (memcmp_not_common_alignment): Likewise.
8211         (MEMCMP): Likewise.
8212         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
8213         (_wordcopy_fwd_dest_aligned): Likewise.
8214         (_wordcopy_bwd_aligned): Likewise.
8215         (_wordcopy_bwd_dest_aligned): Likewise.
8216         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
8217         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
8218         * sysdeps/unix/bsd/stty.c (stty): Likewise.
8219         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
8220         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
8221         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
8222         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
8223         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
8224         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
8225         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
8226         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
8227         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
8228         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
8229         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
8230         * sysdeps/unix/stime.c (stime): Likewise.
8231         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
8232         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
8233         Likewise.  Use internal_function.
8234         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
8235         Convert to prototype-style function definition.
8236         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8237         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8238         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
8239         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8240         Likewise.  Use internal_function.
8241         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
8242         prototype-style function definition
8243         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8244         Likewise.
8245         (__getlogin_r): Likewise.
8246         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
8247         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
8248         (__pthread_cond_broadcast): Likewise.
8249         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
8250         (__pthread_cond_destroy): Likewise.
8251         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
8252         (__pthread_cond_init): Likewise.
8253         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
8254         (__pthread_cond_signal): Likewise.
8255         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
8256         (__pthread_cond_wait): Likewise.
8257         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
8258         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
8259         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
8260         Likewise.
8261         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
8262         Likewise.
8263         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
8264         Likewise.
8265         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
8266         Likewise.
8267         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
8268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
8269         (__ftruncate64): Likewise.
8270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
8271         (truncate64): Likewise.
8272         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
8273         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
8274         (pthread_getcpuclockid): Likewise.
8275         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
8276         Likewise.
8277         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
8278         Likewise.
8279         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
8280         Likewise.
8281         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
8282         Likewise.
8283         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
8284         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
8285         (__libc_sigaction): Likewise.
8286         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
8287         Likewise.
8288         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
8289         (__sigprocmask): Likewise.
8290         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
8291         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
8292         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
8293         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
8294         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8295         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
8296         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8297         Likewise.
8298         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
8299         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
8300         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8301         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
8302         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
8303         Likewise.
8304         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
8305         (__sigprocmask): Likewise.
8306         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
8307         (cfgetispeed): Likewise.
8308         (cfsetospeed): Likewise.
8309         (cfsetispeed): Likewise.
8310         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
8311         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
8312         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8313         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
8314         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
8315         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
8316         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
8317         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
8318         Likewise.
8319         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
8320         Likewise.
8321         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
8322         Likewise.
8323         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
8324         Likewise.
8325         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
8327 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8329         sunrpc: Rewrite with explicit TLS access using __thread.
8330         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
8331         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
8332         directly.
8333         (__rpc_thread_variables): Access thread_rpc_vars directly.
8334         Eliminate redundant assignment of the tvp variable.
8336 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8338         malloc: Rewrite with explicit TLS access using __thread.
8339         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
8340         (tsd_setspecific, tsd_getspecific): Remove.
8341         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
8342         (tsd_setspecific, tsd_getspecific): Likewise.
8343         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
8344         (tsd_setspecific, tsd_getspecific): Likewise.
8345         * malloc/arena.c (thread_arena): New TLS variable.
8346         (arena_key): Remove variable.
8347         (arena_get): Use thread_arena.
8348         (arena_lookup): Remove macro.
8349         (malloc_atfork, free_atfork, ptmalloc_lock_all)
8350         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
8351         (_int_new_arena, get_free_list, reused_arena)
8352         (arena_thread_freeres): Use thread_arena.
8353         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
8354         tsd_getspecific, tsd_setspecific from safety annotations.
8355         (Allocating Cleared Space): Remove arena_lookup from safety
8356         annotations.
8358 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8360         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
8361         struct scratch_buffer instead of extend_alloca.
8363 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8365         * sysdeps/unix/sysv/linux/kernel-features.h
8366         (__ASSUME_SOCK_CLOEXEC): Remove.
8367         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
8368         (__have_paccept): Remove unused macro.
8369         * include/unistd.h (__have_sock_cloexec): Remove declaration.
8370         * misc/syslog.c (openlog_internal): Remove fallback code for
8371         !__ASSUME_SOCK_CLOEXEC.
8372         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
8373         missing SOCK_CLOEXEC.
8374         * nscd/connections.c (have_sock_cloexec): Remove definition.
8375         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
8376         * nscd/nscd_helper.c (open_socket): Remove fallback code for
8377         !__ASSUME_SOCK_CLOEXEC.
8378         * resolv/res_send.c (__have_o_nonblock): Remove definition.
8379         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
8380         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
8381         definition.
8382         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
8383         code for !__ASSUME_SOCK_CLOEXEC.
8385 2015-10-17  Florian Weimer  <fweimer@redhat.com>
8387         [BZ #18982]
8388         * manual/stdio.texi (Variable Arguments Output): Add portability
8389         note, explaining that vfprintf clobbers the va_list pointer.
8391 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
8393         * math/libm-test.inc (fabs_test_data): Add more tests.
8394         (fdim_test_data): Likewise.
8395         (fma_test_data): Likewise.
8396         (fmax_test_data): Likewise.
8397         (fmin_test_data): Likewise.
8398         (fmod_test_data): Likewise.
8400 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
8402         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
8403         data.
8405 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
8407         * math/libm-test.inc (ceil_test_data): Add more tests and more
8408         expectations for "inexact".
8409         (floor_test_data): Add more tests.
8410         (round_test_data): Likewise.
8411         (trunc_test_data): Likewise.
8413         * crypt/cert.c (good_bye): Convert to prototype-style function
8414         definition.
8415         (get8): Likewise.
8416         (put8): Likewise.
8417         * crypt/crypt-entry.c (crypt): Likewise.
8418         (__fcrypt): Likewise.
8419         * crypt/crypt_util.c (_ufc_prbits): Likewise.
8420         (_ufc_set_bits): Likewise.
8421         (_ufc_clearmem): Likewise.
8422         (__init_des_r): Likewise.
8423         (shuffle_sb): Likewise.
8424         (shuffle_sb): Likewise.
8425         (_ufc_setup_salt_r): Likewise.
8426         (_ufc_mk_keytab_r): Likewise.
8427         (_ufc_dofinalperm_r): Likewise.
8428         (encrypt): Likewise.
8429         (__setkey_r): Likewise.
8430         (setkey): Likewise.
8431         * crypt/md5.c (md5_init_ctx): Likewise.
8432         (md5_read_ctx): Likewise.
8433         (md5_finish_ctx): Likewise.
8434         (md5_stream): Likewise.
8435         (md5_buffer): Likewise.
8436         (md5_process_bytes): Likewise.
8437         * crypt/sha256.c (__sha256_init_ctx): Likewise.
8438         (__sha256_finish_ctx): Likewise.
8439         (__sha256_process_bytes): Likewise.
8440         * crypt/sha512.c (__sha512_init_ctx): Likewise.
8441         (__sha512_finish_ctx): Likewise.
8442         (__sha512_process_bytes): Likewise.
8443         * ctype/isctype.c (__isctype): Likewise.
8444         * debug/backtrace.c (__backtrace): Likewise.
8445         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
8446         * debug/fgets_chk.c (__fgets_chk): Likewise.
8447         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
8448         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
8449         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
8450         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
8451         * debug/memset_chk.c (__memset_chk): Likewise.
8452         * debug/strcat_chk.c (__strcat_chk): Likewise.
8453         * debug/strncat_chk.c (__strncat_chk): Likewise.
8454         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
8455         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
8456         * dirent/dirfd.c (dirfd): Likewise.
8457         * dirent/getdents.c (__getdirentries): Likewise.
8458         * dirent/getdents64.c (getdirentries64): Likewise.
8459         * dirent/rewinddir.c (__rewinddir): Likewise.
8460         * dirent/seekdir.c (seekdir): Likewise.
8461         * dirent/telldir.c (telldir): Likewise.
8462         * elf/sln.c (makesymlinks): Likewise.
8463         (makesymlink): Likewise.
8464         * gmon/gmon.c (__moncontrol): Likewise.
8465         (__monstartup): Likewise.
8466         (write_hist): Likewise.
8467         (write_call_graph): Likewise.
8468         (write_bb_counts): Likewise.
8469         * grp/setgroups.c (setgroups): Likewise.
8470         * inet/inet_lnaof.c (inet_lnaof): Likewise.
8471         * inet/inet_net.c (inet_network): Likewise.
8472         * inet/inet_netof.c (inet_netof): Likewise.
8473         * inet/rcmd.c (rresvport_af): Likewise.
8474         (rresvport): Likewise.
8475         * io/access.c (__access): Likewise.
8476         * io/chdir.c (__chdir): Likewise.
8477         * io/chmod.c (__chmod): Likewise.
8478         * io/chown.c (__chown): Likewise.
8479         * io/close.c (__close): Likewise.
8480         * io/creat.c (creat): Likewise.
8481         * io/creat64.c (creat64): Likewise.
8482         * io/dup.c (__dup): Likewise.
8483         * io/dup2.c (__dup2): Likewise.
8484         * io/dup3.c (__dup3): Likewise.
8485         * io/euidaccess.c (__euidaccess): Likewise.
8486         * io/faccessat.c (faccessat): Likewise.
8487         * io/fchmod.c (__fchmod): Likewise.
8488         * io/fchmodat.c (fchmodat): Likewise.
8489         * io/fchown.c (__fchown): Likewise.
8490         * io/fchownat.c (fchownat): Likewise.
8491         * io/fcntl.c (__fcntl): Likewise.
8492         * io/flock.c (__flock): Likewise.
8493         * io/fts.c (fts_load): Likewise.
8494         (fts_close): Likewise.
8495         (fts_read): Likewise.
8496         (fts_set): Likewise.
8497         (fts_children): Likewise.
8498         (fts_build): Likewise.
8499         (fts_stat): Likewise.
8500         (fts_sort): Likewise.
8501         (fts_alloc): Likewise.
8502         (fts_lfree): Likewise.
8503         (fts_palloc): Likewise.
8504         (fts_padjust): Likewise.
8505         (fts_maxarglen): Likewise.
8506         (fts_safe_changedir): Likewise.
8507         * io/getwd.c (getwd): Likewise.
8508         * io/isatty.c (__isatty): Likewise.
8509         * io/lchown.c (__lchown): Likewise.
8510         * io/link.c (__link): Likewise.
8511         * io/linkat.c (linkat): Likewise.
8512         * io/lseek.c (__libc_lseek): Likewise.
8513         * io/mkdir.c (__mkdir): Likewise.
8514         * io/mkdirat.c (mkdirat): Likewise.
8515         * io/mkfifo.c (mkfifo): Likewise.
8516         * io/mkfifoat.c (mkfifoat): Likewise.
8517         * io/open.c (__libc_open): Likewise.
8518         * io/open64.c (__libc_open64): Likewise.
8519         * io/readlink.c (__readlink): Likewise.
8520         * io/readlinkat.c (readlinkat): Likewise.
8521         * io/rmdir.c (__rmdir): Likewise.
8522         * io/symlink.c (__symlink): Likewise.
8523         * io/symlinkat.c (symlinkat): Likewise.
8524         * io/ttyname.c (ttyname): Likewise.
8525         * io/ttyname_r.c (__ttyname_r): Likewise.
8526         * io/umask.c (__umask): Likewise.
8527         * io/unlink.c (__unlink): Likewise.
8528         * io/unlinkat.c (unlinkat): Likewise.
8529         * io/utime.c (utime): Likewise.
8530         * libio/clearerr.c (clearerr): Likewise.
8531         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
8532         * libio/feof.c (_IO_feof): Likewise.
8533         * libio/feof_u.c (feof_unlocked): Likewise.
8534         * libio/ferror.c (_IO_ferror): Likewise.
8535         * libio/ferror_u.c (ferror_unlocked): Likewise.
8536         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8537         * libio/fileno.c (__fileno): Likewise.
8538         * libio/fputc.c (fputc): Likewise.
8539         * libio/fputc_u.c (fputc_unlocked): Likewise.
8540         * libio/fputwc.c (fputwc): Likewise.
8541         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
8542         * libio/freopen.c (freopen): Likewise.
8543         * libio/freopen64.c (freopen64): Likewise.
8544         * libio/fseek.c (fseek): Likewise.
8545         * libio/fseeko.c (fseeko): Likewise.
8546         * libio/fseeko64.c (fseeko64): Likewise.
8547         * libio/ftello.c (__ftello): Likewise.
8548         * libio/ftello64.c (ftello64): Likewise.
8549         * libio/fwide.c (fwide): Likewise.
8550         * libio/genops.c (_IO_un_link): Likewise.
8551         (_IO_link_in): Likewise.
8552         (_IO_least_marker): Likewise.
8553         (_IO_switch_to_main_get_area): Likewise.
8554         (_IO_switch_to_backup_area): Likewise.
8555         (_IO_switch_to_get_mode): Likewise.
8556         (_IO_free_backup_area): Likewise.
8557         (_IO_switch_to_put_mode): Likewise.
8558         (__overflow): Likewise.
8559         (__underflow): Likewise.
8560         (__uflow): Likewise.
8561         (_IO_setb): Likewise.
8562         (_IO_doallocbuf): Likewise.
8563         (_IO_default_underflow): Likewise.
8564         (_IO_default_uflow): Likewise.
8565         (_IO_default_xsputn): Likewise.
8566         (_IO_sgetn): Likewise.
8567         (_IO_default_xsgetn): Likewise.
8568         (_IO_sync): Likewise.
8569         (_IO_default_setbuf): Likewise.
8570         (_IO_default_seekpos): Likewise.
8571         (_IO_default_doallocate): Likewise.
8572         (_IO_init): Likewise.
8573         (_IO_old_init): Likewise.
8574         (_IO_default_sync): Likewise.
8575         (_IO_default_finish): Likewise.
8576         (_IO_default_seekoff): Likewise.
8577         (_IO_sputbackc): Likewise.
8578         (_IO_sungetc): Likewise.
8579         (_IO_set_column): Likewise.
8580         (_IO_set_column): Likewise.
8581         (_IO_adjust_column): Likewise.
8582         (_IO_get_column): Likewise.
8583         (_IO_init_marker): Likewise.
8584         (_IO_remove_marker): Likewise.
8585         (_IO_marker_difference): Likewise.
8586         (_IO_marker_delta): Likewise.
8587         (_IO_seekmark): Likewise.
8588         (_IO_unsave_markers): Likewise.
8589         (_IO_nobackup_pbackfail): Likewise.
8590         (_IO_default_pbackfail): Likewise.
8591         (_IO_default_seek): Likewise.
8592         (_IO_default_stat): Likewise.
8593         (_IO_default_read): Likewise.
8594         (_IO_default_write): Likewise.
8595         (_IO_default_showmanyc): Likewise.
8596         (_IO_default_imbue): Likewise.
8597         (_IO_iter_next): Likewise.
8598         (_IO_iter_file): Likewise.
8599         * libio/getc.c (_IO_getc): Likewise.
8600         * libio/getwc.c (_IO_getwc): Likewise.
8601         * libio/iofclose.c (_IO_new_fclose): Likewise.
8602         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
8603         * libio/iofflush.c (_IO_fflush): Likewise.
8604         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
8605         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
8606         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
8607         * libio/iofgets.c (_IO_fgets): Likewise.
8608         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
8609         * libio/iofgetws.c (fgetws): Likewise.
8610         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8611         * libio/iofopen64.c (_IO_fopen64): Likewise.
8612         * libio/iofopncook.c (_IO_cookie_read): Likewise.
8613         (_IO_cookie_write): Likewise.
8614         (_IO_cookie_seek): Likewise.
8615         (_IO_cookie_close): Likewise.
8616         (_IO_cookie_seekoff): Likewise.
8617         (_IO_old_cookie_seek): Likewise.
8618         * libio/iofputs.c (_IO_fputs): Likewise.
8619         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
8620         * libio/iofputws.c (fputws): Likewise.
8621         * libio/iofputws_u.c (fputws_unlocked): Likewise.
8622         * libio/iofread.c (_IO_fread): Likewise.
8623         * libio/iofread_u.c (__fread_unlocked): Likewise.
8624         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
8625         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
8626         * libio/ioftell.c (_IO_ftell): Likewise.
8627         * libio/iofwrite.c (_IO_fwrite): Likewise.
8628         * libio/iogetdelim.c (_IO_getdelim): Likewise.
8629         * libio/iogets.c (_IO_gets): Likewise.
8630         * libio/iopadn.c (_IO_padn): Likewise.
8631         * libio/iopopen.c (_IO_new_proc_open): Likewise.
8632         (_IO_new_popen): Likewise.
8633         (_IO_new_proc_close): Likewise.
8634         * libio/ioputs.c (_IO_puts): Likewise.
8635         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
8636         (_IO_seekoff): Likewise.
8637         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
8638         (_IO_seekpos): Likewise.
8639         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
8640         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
8641         * libio/ioungetc.c (_IO_ungetc): Likewise.
8642         * libio/ioungetwc.c (ungetwc): Likewise.
8643         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
8644         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
8645         * libio/iowpadn.c (_IO_wpadn): Likewise.
8646         * libio/libc_fatal.c (__libc_fatal): Likewise.
8647         * libio/memstream.c (__open_memstream): Likewise.
8648         (_IO_mem_sync): Likewise.
8649         (_IO_mem_finish): Likewise.
8650         * libio/oldfileops.c (_IO_old_file_init): Likewise.
8651         (_IO_old_file_close_it): Likewise.
8652         (_IO_old_file_finish): Likewise.
8653         (_IO_old_file_fopen): Likewise.
8654         (_IO_old_file_attach): Likewise.
8655         (_IO_old_file_setbuf): Likewise.
8656         (_IO_old_do_write): Likewise.
8657         (old_do_write): Likewise.
8658         (_IO_old_file_underflow): Likewise.
8659         (_IO_old_file_overflow): Likewise.
8660         (_IO_old_file_sync): Likewise.
8661         (_IO_old_file_seekoff): Likewise.
8662         (_IO_old_file_write): Likewise.
8663         (_IO_old_file_xsputn): Likewise.
8664         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
8665         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
8666         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
8667         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
8668         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
8669         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
8670         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
8671         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
8672         (_IO_old_popen): Likewise.
8673         (_IO_old_proc_close): Likewise.
8674         * libio/oldpclose.c (__old_pclose): Likewise.
8675         * libio/pclose.c (__new_pclose): Likewise.
8676         * libio/peekc.c (_IO_peekc_locked): Likewise.
8677         * libio/putc.c (_IO_putc): Likewise.
8678         * libio/putc_u.c (putc_unlocked): Likewise.
8679         * libio/putchar.c (putchar): Likewise.
8680         * libio/putchar_u.c (putchar_unlocked): Likewise.
8681         * libio/putwc.c (putwc): Likewise.
8682         * libio/putwc_u.c (putwc_unlocked): Likewise.
8683         * libio/putwchar.c (putwchar): Likewise.
8684         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
8685         * libio/rewind.c (rewind): Likewise.
8686         * libio/setbuf.c (setbuf): Likewise.
8687         * libio/setlinebuf.c (setlinebuf): Likewise.
8688         * libio/vasprintf.c (_IO_vasprintf): Likewise.
8689         * libio/vscanf.c (_IO_vscanf): Likewise.
8690         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
8691         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
8692         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
8693         * libio/wgenops.c (_IO_least_wmarker): Likewise.
8694         (_IO_switch_to_main_wget_area): Likewise.
8695         (_IO_switch_to_wbackup_area): Likewise.
8696         (_IO_wsetb): Likewise.
8697         (_IO_wdefault_pbackfail): Likewise.
8698         (_IO_wdefault_finish): Likewise.
8699         (_IO_wdefault_uflow): Likewise.
8700         (__woverflow): Likewise.
8701         (__wuflow): Likewise.
8702         (__wunderflow): Likewise.
8703         (_IO_wdefault_xsputn): Likewise.
8704         (_IO_wdefault_xsgetn): Likewise.
8705         (_IO_wdoallocbuf): Likewise.
8706         (_IO_wdefault_doallocate): Likewise.
8707         (_IO_switch_to_wget_mode): Likewise.
8708         (_IO_free_wbackup_area): Likewise.
8709         (_IO_switch_to_wput_mode): Likewise.
8710         (_IO_sputbackwc): Likewise.
8711         (_IO_sungetwc): Likewise.
8712         (_IO_adjust_wcolumn): Likewise.
8713         (_IO_init_wmarker): Likewise.
8714         (_IO_wmarker_delta): Likewise.
8715         (_IO_seekwmark): Likewise.
8716         (_IO_unsave_wmarkers): Likewise.
8717         * libio/wmemstream.c (open_wmemstream): Likewise.
8718         (_IO_wmem_sync): Likewise.
8719         (_IO_wmem_finish): Likewise.
8720         * locale/nl_langinfo.c (nl_langinfo): Likewise.
8721         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
8722         * locale/programs/simple-hash.c (init_hash): Likewise.
8723         (delete_hash): Likewise.
8724         (insert_entry): Likewise.
8725         (set_entry): Likewise.
8726         (next_prime): Likewise.
8727         (is_prime): Likewise.
8728         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
8729         (xmalloc): Likewise.
8730         (xrealloc): Likewise.
8731         * locale/programs/xstrdup.c (xstrdup): Likewise.
8732         * localedata/collate-test.c (xstrcoll): Likewise.
8733         * localedata/xfrm-test.c (xstrcmp): Likewise.
8734         * login/getlogin_r.c (__getlogin_r): Likewise.
8735         * login/getpt.c (__posix_openpt): Likewise.
8736         * login/login_tty.c (login_tty): Likewise.
8737         * login/setlogin.c (setlogin): Likewise.
8738         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
8739         (mach_msg_destroy_port): Likewise.
8740         (mach_msg_destroy_memory): Likewise.
8741         * malloc/mcheck.c (flood): Likewise.
8742         * misc/acct.c (acct): Likewise.
8743         * misc/brk.c (__brk): Likewise.
8744         * misc/chflags.c (chflags): Likewise.
8745         * misc/chroot.c (chroot): Likewise.
8746         * misc/fchflags.c (fchflags): Likewise.
8747         * misc/fstab.c (getfsspec): Likewise.
8748         (getfsfile): Likewise.
8749         * misc/fsync.c (fsync): Likewise.
8750         * misc/ftruncate.c (__ftruncate): Likewise.
8751         * misc/ftruncate64.c (__ftruncate64): Likewise.
8752         * misc/getdomain.c (getdomainname): Likewise.
8753         (getdomainname): Likewise.
8754         * misc/gethostname.c (__gethostname): Likewise.
8755         * misc/getpass.c (getpass): Likewise.
8756         * misc/getttyent.c (skip): Likewise.
8757         (value): Likewise.
8758         * misc/gtty.c (gtty): Likewise.
8759         * misc/hsearch.c (hsearch): Likewise.
8760         (hcreate): Likewise.
8761         * misc/hsearch_r.c (__hcreate_r): Likewise.
8762         (__hdestroy_r): Likewise.
8763         * misc/ioctl.c (__ioctl): Likewise.
8764         * misc/mkdtemp.c (mkdtemp): Likewise.
8765         * misc/mkostemp.c (mkostemp): Likewise.
8766         * misc/mkostemp64.c (mkostemp64): Likewise.
8767         * misc/mkostemps.c (mkostemps): Likewise.
8768         * misc/mkostemps64.c (mkostemps64): Likewise.
8769         * misc/mkstemp.c (mkstemp): Likewise.
8770         * misc/mkstemp64.c (mkstemp64): Likewise.
8771         * misc/mkstemps.c (mkstemps): Likewise.
8772         * misc/mkstemps64.c (mkstemps64): Likewise.
8773         * misc/mktemp.c (__mktemp): Likewise.
8774         * misc/preadv.c (preadv): Likewise.
8775         * misc/preadv64.c (preadv64): Likewise.
8776         * misc/pwritev.c (pwritev): Likewise.
8777         * misc/pwritev64.c (pwritev64): Likewise.
8778         * misc/readv.c (__readv): Likewise.
8779         * misc/revoke.c (revoke): Likewise.
8780         * misc/setdomain.c (setdomainname): Likewise.
8781         * misc/setegid.c (setegid): Likewise.
8782         * misc/seteuid.c (seteuid): Likewise.
8783         * misc/sethostid.c (sethostid): Likewise.
8784         * misc/sethostname.c (sethostname): Likewise.
8785         * misc/setregid.c (__setregid): Likewise.
8786         * misc/setreuid.c (__setreuid): Likewise.
8787         * misc/sstk.c (sstk): Likewise.
8788         * misc/stty.c (stty): Likewise.
8789         * misc/syscall.c (syscall): Likewise.
8790         * misc/syslog.c (setlogmask): Likewise.
8791         * misc/truncate.c (__truncate): Likewise.
8792         * misc/truncate64.c (truncate64): Likewise.
8793         * misc/ualarm.c (ualarm): Likewise.
8794         * misc/usleep.c (usleep): Likewise.
8795         * misc/ustat.c (ustat): Likewise.
8796         * misc/writev.c (__writev): Likewise.
8797         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
8798         * nptl/old_pthread_cond_broadcast.c
8799         (__pthread_cond_broadcast_2_0): Likewise.
8800         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
8801         Likewise.
8802         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
8803         Likewise.
8804         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
8805         Likewise.
8806         * nptl/pt-raise.c (raise): Likewise.
8807         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
8808         Likewise.
8809         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
8810         * nptl/pthread_barrierattr_destroy.c
8811         (pthread_barrierattr_destroy): Likewise.
8812         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
8813         Likewise.
8814         * nptl/pthread_barrierattr_setpshared.c
8815         (pthread_barrierattr_setpshared): Likewise.
8816         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
8817         Likewise.
8818         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
8819         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
8820         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
8821         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
8822         Likewise.
8823         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
8824         Likewise.
8825         * nptl/pthread_condattr_getpshared.c
8826         (pthread_condattr_getpshared): Likewise.
8827         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
8828         Likewise.
8829         * nptl/pthread_condattr_setpshared.c
8830         (pthread_condattr_setpshared): Likewise.
8831         * nptl/pthread_detach.c (pthread_detach): Likewise.
8832         * nptl/pthread_equal.c (__pthread_equal): Likewise.
8833         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
8834         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
8835         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
8836         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
8837         Likewise.
8838         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
8839         Likewise.
8840         * nptl/pthread_mutex_getprioceiling.c
8841         (pthread_mutex_getprioceiling): Likewise.
8842         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
8843         Likewise.
8844         * nptl/pthread_mutexattr_getprotocol.c
8845         (pthread_mutexattr_getprotocol): Likewise.
8846         * nptl/pthread_mutexattr_getpshared.c
8847         (pthread_mutexattr_getpshared): Likewise.
8848         * nptl/pthread_mutexattr_getrobust.c
8849         (pthread_mutexattr_getrobust): Likewise.
8850         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
8851         Likewise.
8852         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
8853         Likewise.
8854         * nptl/pthread_mutexattr_setprioceiling.c
8855         (pthread_mutexattr_setprioceiling): Likewise.
8856         * nptl/pthread_mutexattr_setprotocol.c
8857         (pthread_mutexattr_setprotocol): Likewise.
8858         * nptl/pthread_mutexattr_setpshared.c
8859         (pthread_mutexattr_setpshared): Likewise.
8860         * nptl/pthread_mutexattr_setrobust.c
8861         (pthread_mutexattr_setrobust): Likewise.
8862         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
8863         Likewise.
8864         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
8865         Likewise.
8866         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
8867         Likewise.
8868         * nptl/pthread_rwlockattr_getkind_np.c
8869         (pthread_rwlockattr_getkind_np): Likewise.
8870         * nptl/pthread_rwlockattr_getpshared.c
8871         (pthread_rwlockattr_getpshared): Likewise.
8872         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
8873         Likewise.
8874         * nptl/pthread_rwlockattr_setkind_np.c
8875         (pthread_rwlockattr_setkind_np): Likewise.
8876         * nptl/pthread_rwlockattr_setpshared.c
8877         (pthread_rwlockattr_setpshared): Likewise.
8878         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
8879         Likewise.
8880         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
8881         Likewise.
8882         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
8883         Likewise.
8884         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
8885         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
8886         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
8887         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
8888         * nptl/sem_close.c (sem_close): Likewise.
8889         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
8890         * nptl/sem_init.c (__old_sem_init): Likewise.
8891         * nptl/sigaction.c (__sigaction): Likewise.
8892         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
8893         * posix/_exit.c (_exit): Likewise.
8894         * posix/alarm.c (alarm): Likewise.
8895         * posix/confstr.c (confstr): Likewise.
8896         * posix/fpathconf.c (__fpathconf): Likewise.
8897         * posix/getgroups.c (__getgroups): Likewise.
8898         * posix/getpgid.c (__getpgid): Likewise.
8899         * posix/group_member.c (__group_member): Likewise.
8900         * posix/pathconf.c (__pathconf): Likewise.
8901         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
8902         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
8903         * posix/setgid.c (__setgid): Likewise.
8904         * posix/setpgid.c (__setpgid): Likewise.
8905         * posix/setuid.c (__setuid): Likewise.
8906         * posix/sleep.c (__sleep): Likewise.
8907         * posix/sysconf.c (__sysconf): Likewise.
8908         * posix/times.c (__times): Likewise.
8909         * posix/uname.c (__uname): Likewise.
8910         * posix/waitid.c (__waitid): Likewise.
8911         * pwd/getpw.c (__getpw): Likewise.
8912         * resolv/base64.c (b64_pton): Likewise.
8913         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
8914         * resolv/gethnamaddr.c (Dprintf): Likewise.
8915         (gethostbyname): Likewise.
8916         (gethostbyname2): Likewise.
8917         (gethostbyaddr): Likewise.
8918         (_sethtent): Likewise.
8919         (_gethtbyname): Likewise.
8920         (_gethtbyname2): Likewise.
8921         (_gethtbyaddr): Likewise.
8922         (map_v4v6_address): Likewise.
8923         (map_v4v6_hostent): Likewise.
8924         (addrsort): Likewise.
8925         (ht_sethostent): Likewise.
8926         (ht_gethostbyname): Likewise.
8927         (ht_gethostbyaddr): Likewise.
8928         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
8929         (inet_net_ntop_ipv4): Likewise.
8930         * resolv/inet_neta.c (inet_neta): Likewise.
8931         * resolv/inet_ntop.c (inet_ntop): Likewise.
8932         (inet_ntop4): Likewise.
8933         (inet_ntop6): Likewise.
8934         * resolv/inet_pton.c (__inet_pton): Likewise.
8935         (inet_pton4): Likewise.
8936         (inet_pton6): Likewise.
8937         * resolv/res_debug.c (loc_aton): Likewise.
8938         (loc_ntoa): Likewise.
8939         * resource/getpriority.c (__getpriority): Likewise.
8940         * resource/getrusage.c (__getrusage): Likewise.
8941         * resource/nice.c (nice): Likewise.
8942         * resource/setpriority.c (__setpriority): Likewise.
8943         * resource/setrlimit64.c (setrlimit64): Likewise.
8944         * resource/vlimit.c (vlimit): Likewise.
8945         * resource/vtimes.c (vtimes): Likewise.
8946         * rt/aio_error.c (aio_error): Likewise.
8947         * rt/aio_return.c (aio_return): Likewise.
8948         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
8949         * signal/kill.c (__kill): Likewise.
8950         * signal/killpg.c (killpg): Likewise.
8951         * signal/raise.c (raise): Likewise.
8952         * signal/sigaction.c (__sigaction): Likewise.
8953         * signal/sigaddset.c (sigaddset): Likewise.
8954         * signal/sigaltstack.c (sigaltstack): Likewise.
8955         * signal/sigandset.c (sigandset): Likewise.
8956         * signal/sigblock.c (__sigblock): Likewise.
8957         * signal/sigdelset.c (sigdelset): Likewise.
8958         * signal/sigempty.c (sigemptyset): Likewise.
8959         * signal/sigfillset.c (sigfillset): Likewise.
8960         * signal/sighold.c (sighold): Likewise.
8961         * signal/sigignore.c (sigignore): Likewise.
8962         * signal/sigintr.c (siginterrupt): Likewise.
8963         * signal/sigisempty.c (sigisemptyset): Likewise.
8964         * signal/sigismem.c (sigismember): Likewise.
8965         * signal/signal.c (signal): Likewise.
8966         * signal/sigorset.c (sigorset): Likewise.
8967         * signal/sigpause.c (__sigpause): Likewise.
8968         * signal/sigpending.c (sigpending): Likewise.
8969         * signal/sigprocmask.c (__sigprocmask): Likewise.
8970         * signal/sigrelse.c (sigrelse): Likewise.
8971         * signal/sigreturn.c (__sigreturn): Likewise.
8972         * signal/sigset.c (sigset): Likewise.
8973         * signal/sigsetmask.c (__sigsetmask): Likewise.
8974         * signal/sigstack.c (sigstack): Likewise.
8975         * signal/sigsuspend.c (__sigsuspend): Likewise.
8976         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
8977         * signal/sysv_signal.c (__sysv_signal): Likewise.
8978         * socket/accept.c (accept): Likewise.
8979         * socket/accept4.c (__libc_accept4): Likewise.
8980         * socket/bind.c (__bind): Likewise.
8981         * socket/connect.c (__connect): Likewise.
8982         * socket/getpeername.c (getpeername): Likewise.
8983         * socket/getsockname.c (__getsockname): Likewise.
8984         * socket/getsockopt.c (getsockopt): Likewise.
8985         * socket/listen.c (__listen): Likewise.
8986         * socket/recv.c (__recv): Likewise.
8987         * socket/recvmsg.c (__recvmsg): Likewise.
8988         * socket/send.c (__send): Likewise.
8989         * socket/sendmsg.c (__sendmsg): Likewise.
8990         * socket/shutdown.c (shutdown): Likewise.
8991         * socket/sockatmark.c (sockatmark): Likewise.
8992         * socket/socket.c (__socket): Likewise.
8993         * stdio-common/ctermid.c (ctermid): Likewise.
8994         * stdio-common/cuserid.c (cuserid): Likewise.
8995         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
8996         * stdio-common/remove.c (remove): Likewise.
8997         * stdio-common/rename.c (rename): Likewise.
8998         * stdio-common/renameat.c (renameat): Likewise.
8999         * stdio-common/tempname.c (__gen_tempname): Likewise.
9000         * stdio-common/xbug.c (InitBuffer): Likewise.
9001         (AppendToBuffer): Likewise.
9002         (ReadFile): Likewise.
9003         * stdlib/a64l.c (a64l): Likewise.
9004         * stdlib/drand48_r.c (drand48_r): Likewise.
9005         * stdlib/getcontext.c (getcontext): Likewise.
9006         * stdlib/getenv.c (getenv): Likewise.
9007         * stdlib/l64a.c (l64a): Likewise.
9008         * stdlib/llabs.c (llabs): Likewise.
9009         * stdlib/lldiv.c (lldiv): Likewise.
9010         * stdlib/lrand48_r.c (lrand48_r): Likewise.
9011         * stdlib/mrand48_r.c (mrand48_r): Likewise.
9012         * stdlib/putenv.c (putenv): Likewise.
9013         * stdlib/random.c (__srandom): Likewise.
9014         (__initstate): Likewise.
9015         (__setstate): Likewise.
9016         * stdlib/random_r.c (__srandom_r): Likewise.
9017         (__setstate_r): Likewise.
9018         (__random_r): Likewise.
9019         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
9020         * stdlib/setcontext.c (setcontext): Likewise.
9021         * stdlib/setenv.c (setenv): Likewise.
9022         (unsetenv): Likewise.
9023         * stdlib/srand48.c (srand48): Likewise.
9024         * stdlib/srand48_r.c (__srand48_r): Likewise.
9025         * stdlib/swapcontext.c (swapcontext): Likewise.
9026         * stdlib/system.c (__libc_system): Likewise.
9027         * stdlib/tst-strtod.c (expand): Likewise.
9028         * stdlib/tst-strtol.c (expand): Likewise.
9029         * stdlib/tst-strtoll.c (expand): Likewise.
9030         * streams/fattach.c (fattach): Likewise.
9031         * streams/fdetach.c (fdetach): Likewise.
9032         * streams/getmsg.c (getmsg): Likewise.
9033         * streams/isastream.c (isastream): Likewise.
9034         * string/ffs.c (__ffs): Likewise.
9035         * string/ffsll.c (ffsll): Likewise.
9036         * string/memcmp.c (memcmp_common_alignment): Likewise.
9037         (memcmp_not_common_alignment): Likewise.
9038         (MEMCMP): Likewise.
9039         * string/memcpy.c (memcpy): Likewise.
9040         * string/memmove.c (MEMMOVE): Likewise.
9041         * string/memset.c (memset): Likewise.
9042         * string/rawmemchr.c (RAWMEMCHR): Likewise.
9043         * string/strchrnul.c (STRCHRNUL): Likewise.
9044         * string/strerror.c (strerror): Likewise.
9045         * string/strndup.c (__strndup): Likewise.
9046         * string/strverscmp.c (__strverscmp): Likewise.
9047         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
9048         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
9049         (clnttcp_freeres): Likewise.
9050         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
9051         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
9052         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
9053         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
9054         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
9055         (xdr_callhdr): Likewise.
9056         * sunrpc/rpcinfo.c (udpping): Likewise.
9057         (tcpping): Likewise.
9058         (pstatus): Likewise.
9059         (pmapdump): Likewise.
9060         (brdcst): Likewise.
9061         (deletereg): Likewise.
9062         (getprognum): Likewise.
9063         (getvers): Likewise.
9064         (get_inet_address): Likewise.
9065         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
9066         * sunrpc/svc_udp.c (svcudp_create): Likewise.
9067         (svcudp_stat): Likewise.
9068         (svcudp_recv): Likewise.
9069         (svcudp_reply): Likewise.
9070         (svcudp_getargs): Likewise.
9071         (svcudp_freeargs): Likewise.
9072         (svcudp_destroy): Likewise.
9073         * sunrpc/xdr.c (xdr_bytes): Likewise.
9074         (xdr_netobj): Likewise.
9075         (xdr_string): Likewise.
9076         (xdr_wrapstring): Likewise.
9077         * sunrpc/xdr_float.c (xdr_float): Likewise.
9078         (xdr_double): Likewise.
9079         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
9080         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
9081         * sysvipc/ftok.c (ftok): Likewise.
9082         * sysvipc/msgctl.c (msgctl): Likewise.
9083         * sysvipc/msgget.c (msgget): Likewise.
9084         * sysvipc/msgrcv.c (msgrcv): Likewise.
9085         * sysvipc/msgsnd.c (msgsnd): Likewise.
9086         * sysvipc/semget.c (semget): Likewise.
9087         * sysvipc/semop.c (semop): Likewise.
9088         * sysvipc/shmat.c (shmat): Likewise.
9089         * sysvipc/shmctl.c (shmctl): Likewise.
9090         * sysvipc/shmdt.c (shmdt): Likewise.
9091         * sysvipc/shmget.c (shmget): Likewise.
9092         * termios/cfmakeraw.c (cfmakeraw): Likewise.
9093         * termios/speed.c (cfgetospeed): Likewise.
9094         (cfgetispeed): Likewise.
9095         (cfsetospeed): Likewise.
9096         (cfsetispeed): Likewise.
9097         * termios/tcflow.c (tcflow): Likewise.
9098         * termios/tcflush.c (tcflush): Likewise.
9099         * termios/tcgetattr.c (__tcgetattr): Likewise.
9100         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
9101         * termios/tcgetsid.c (tcgetsid): Likewise.
9102         * termios/tcsendbrk.c (tcsendbreak): Likewise.
9103         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
9104         * time/adjtime.c (__adjtime): Likewise.
9105         * time/dysize.c (dysize): Likewise.
9106         * time/ftime.c (ftime): Likewise.
9107         * time/getitimer.c (__getitimer): Likewise.
9108         * time/gettimeofday.c (__gettimeofday): Likewise.
9109         * time/gmtime.c (__gmtime_r): Likewise.
9110         (gmtime): Likewise.
9111         * time/localtime.c (__localtime_r): Likewise.
9112         (localtime): Likewise.
9113         * time/offtime.c (__offtime): Likewise.
9114         * time/settimeofday.c (__settimeofday): Likewise.
9115         * time/stime.c (stime): Likewise.
9116         * time/strftime_l.c (tm_diff): Likewise.
9117         (iso_week_days): Likewise.
9118         * time/strptime.c (strptime): Likewise.
9119         * time/time.c (time): Likewise.
9120         * time/timespec_get.c (timespec_get): Likewise.
9121         * time/tzset.c (tzset_internal): Likewise.
9122         (compute_change): Likewise.
9123         (__tz_compute): Likewise.
9124         * wcsmbs/btowc.c (__btowc): Likewise.
9125         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
9126         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
9127         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
9128         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
9129         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
9130         * wcsmbs/wcscat.c (__wcscat): Likewise.
9131         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
9132         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
9133         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
9134         * wcsmbs/wcscspn.c (wcscspn): Likewise.
9135         * wcsmbs/wcsdup.c (wcsdup): Likewise.
9136         * wcsmbs/wcslen.c (__wcslen): Likewise.
9137         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
9138         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
9139         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
9140         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
9141         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
9142         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
9143         * wcsmbs/wcsspn.c (wcsspn): Likewise.
9144         * wcsmbs/wcsstr.c (wcsstr): Likewise.
9145         * wcsmbs/wcstok.c (wcstok): Likewise.
9146         * wcsmbs/wctob.c (wctob): Likewise.
9147         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
9148         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9149         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
9150         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
9151         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
9152         * wcsmbs/wmemset.c (__wmemset): Likewise.
9153         * wctype/wcfuncs.c (__towlower): Likewise.
9154         (__towupper): Likewise.
9156         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
9157         (lll_unlock_elision): Add adapt_count parameter.
9159 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
9161         * sysdeps/nptl/configure.ac: Do not give errors based on the
9162         results of top-level configure tests.
9163         * sysdeps/nptl/configure: Regenerated.
9165         * configure.ac (libc_cv_Bgroup): Remove configure test.
9166         * configure: Regenerated.
9167         * config.make.in (have-Bgroup): Remove variable.
9169         * configure.ac (sizeof_long_double): Remove configure test.
9170         * configure: Regenerated.
9171         * config.make.in (sizeof-long-double): Remove variable.
9173         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
9174         * configure: Regenerated.
9175         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
9176         variable.
9177         (exceptions): Likewise.
9178         * sysdeps/arm/configure: Regenerated.
9179         * config.make.in (exceptions): Remove variable.
9180         * Makeconfig (uses-callbacks): Use -fexceptions instead of
9181         $(exceptions).
9182         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
9183         (CFLAGS-vdprintf_chk.c): Likewise.
9184         (CFLAGS-printf_chk.c): Likewise.
9185         (CFLAGS-fprintf_chk.c): Likewise.
9186         (CFLAGS-vprintf_chk.c): Likewise.
9187         (CFLAGS-vfprintf_chk.c): Likewise.
9188         (CFLAGS-gets_chk.c): Likewise.
9189         (CFLAGS-fgets_chk.c): Likewise.
9190         (CFLAGS-fgets_u_chk.c): Likewise.
9191         (CFLAGS-fread_chk.c): Likewise.
9192         (CFLAGS-fread_u_chk.c): Likewise.
9193         (CFLAGS-wprintf_chk.c): Likewise.
9194         (CFLAGS-fwprintf_chk.c): Likewise.
9195         (CFLAGS-vwprintf_chk.c): Likewise.
9196         (CFLAGS-vfwprintf_chk.c): Likewise.
9197         (CFLAGS-fgetws_chk.c): Likewise.
9198         (CFLAGS-fgetws_u_chk.c): Likewise.
9199         * libio/Makefile (CFLAGS-fileops.c): Likewise.
9200         (CFLAGS-fputc.c): Likewise.
9201         (CFLAGS-fputwc.c): Likewise.
9202         (CFLAGS-freopen64.c): Likewise.
9203         (CFLAGS-freopen.c): Likewise.
9204         (CFLAGS-fseek.c): Likewise.
9205         (CFLAGS-fseeko64.c): Likewise.
9206         (CFLAGS-fseeko.c): Likewise.
9207         (CFLAGS-ftello64.c): Likewise.
9208         (CFLAGS-ftello.c): Likewise.
9209         (CFLAGS-fwide.c): Likewise.
9210         (CFLAGS-genops.c): Likewise.
9211         (CFLAGS-getc.c): Likewise.
9212         (CFLAGS-getchar.c): Likewise.
9213         (CFLAGS-getwc.c): Likewise.
9214         (CFLAGS-getwchar.c): Likewise.
9215         (CFLAGS-iofclose.c): Likewise.
9216         (CFLAGS-iofflush.c): Likewise.
9217         (CFLAGS-iofgetpos64.c): Likewise.
9218         (CFLAGS-iofgetpos.c): Likewise.
9219         (CFLAGS-iofgets.c): Likewise.
9220         (CFLAGS-iofgetws.c): Likewise.
9221         (CFLAGS-iofputs.c): Likewise.
9222         (CFLAGS-iofputws.c): Likewise.
9223         (CFLAGS-iofread.c): Likewise.
9224         (CFLAGS-iofsetpos64.c): Likewise.
9225         (CFLAGS-iofsetpos.c): Likewise.
9226         (CFLAGS-ioftell.c): Likewise.
9227         (CFLAGS-iofwrite.c): Likewise.
9228         (CFLAGS-iogetdelim.c): Likewise.
9229         (CFLAGS-iogetline.c): Likewise.
9230         (CFLAGS-iogets.c): Likewise.
9231         (CFLAGS-iogetwline.c): Likewise.
9232         (CFLAGS-ioputs.c): Likewise.
9233         (CFLAGS-ioseekoff.c): Likewise.
9234         (CFLAGS-ioseekpos.c): Likewise.
9235         (CFLAGS-iosetbuffer.c): Likewise.
9236         (CFLAGS-iosetvbuf.c): Likewise.
9237         (CFLAGS-ioungetc.c): Likewise.
9238         (CFLAGS-ioungetwc.c): Likewise.
9239         (CFLAGS-oldfileops.c): Likewise.
9240         (CFLAGS-oldiofclose.c): Likewise.
9241         (CFLAGS-oldiofgetpos64.c): Likewise.
9242         (CFLAGS-oldiofgetpos.c): Likewise.
9243         (CFLAGS-oldiofsetpos64.c): Likewise.
9244         (CFLAGS-oldiofsetpos.c): Likewise.
9245         (CFLAGS-peekc.c): Likewise.
9246         (CFLAGS-putc.c): Likewise.
9247         (CFLAGS-putchar.c): Likewise.
9248         (CFLAGS-putwc.c): Likewise.
9249         (CFLAGS-putwchar.c): Likewise.
9250         (CFLAGS-rewind.c): Likewise.
9251         (CFLAGS-wfileops.c): Likewise.
9252         (CFLAGS-wgenops.c): Likewise.
9253         (CFLAGS-oldiofopen.c): Likewise.
9254         (CFLAGS-iofopen.c): Likewise.
9255         (CFLAGS-iofopen64.c): Likewise.
9256         (CFLAGS-oldtmpfile.c): Likewise.
9257         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
9258         (CFLAGS-fprintf.c): Likewise.
9259         (CFLAGS-printf.c): Likewise.
9260         (CFLAGS-vfwprintf.c): Likewise.
9261         (CFLAGS-vfscanf.c): Likewise.
9262         (CFLAGS-vfwscanf.c): Likewise.
9263         (CFLAGS-fscanf.c): Likewise.
9264         (CFLAGS-scanf.c): Likewise.
9265         (CFLAGS-isoc99_vfscanf.c): Likewise.
9266         (CFLAGS-isoc99_vscanf.c): Likewise.
9267         (CFLAGS-isoc99_fscanf.c): Likewise.
9268         (CFLAGS-isoc99_scanf.c): Likewise.
9269         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
9270         (CFLAGS-isoc99_fwscanf.c): Likewise.
9271         (CFLAGS-isoc99_vwscanf.c): Likewise.
9272         (CFLAGS-isoc99_vfwscanf.c): Likewise.
9274         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
9275         after mkstemp64.
9276         * login/tst-utmp.c (do_prepare): Likewise.
9277         * rt/tst-aio.c (do_prepare): Likewise.
9278         * rt/tst-aio64.c (do_prepare): Likewise.
9280 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9282         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
9283         (__lll_lock_elision): Remove adapt_count decrement...
9284         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
9285         (__lll_trylock_elision): Likewise.
9286         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
9287         (__lll_unlock_elision): ... to here. And utilize
9288         new adapt_count parameter.
9289         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
9290         (__lll_unlock_elision): Update to include adapt_count
9291         parameter.
9292         (lll_unlock_elision): Pass pointer to adapt_count
9293         variable.
9295 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9297         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
9298         Add elision adapt_count parameter to list of arguments.
9299         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
9300         (lll_unlock_elision): Update with new parameter list
9301         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
9302         (lll_unlock_elision): Likewise.
9303         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
9304         (lll_unlock_elision): Likewise.
9306 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9308         [BZ #19122]
9309         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
9310         attribute_hidden.
9312         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
9313         attribute_hidden.
9314         [IS_IN (rtld)] (__strdup): Likewise.
9315         [IS_IN (rtld)] (__strerror_r): Likewise.
9316         [IS_IN (rtld)] (__strsep_g): Likewise.
9317         [IS_IN (rtld)] (memchr): Likewise.
9318         [IS_IN (rtld)] (memcmp): Likewise.
9319         [IS_IN (rtld)] (memcpy): Likewise.
9320         [IS_IN (rtld)] (memmove): Likewise.
9321         [IS_IN (rtld)] (memset): Likewise.
9322         [IS_IN (rtld)] (rawmemchr): Likewise.
9323         [IS_IN (rtld)] (stpcpy): Likewise.
9324         [IS_IN (rtld)] (strchr): Likewise.
9325         [IS_IN (rtld)] (strcmp): Likewise.
9326         [IS_IN (rtld)] (strlen): Likewise.
9327         [IS_IN (rtld)] (strnlen): Likewise.
9328         [IS_IN (rtld)] (strsep): Likewise.
9330         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
9331         attribute_hidden.
9332         [IS_IN (rtld)] (__strtoul_internal): Likewise.
9334         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
9335         attribute_hidden.
9336         [IS_IN (rtld)] (__libc_sigaction): Likewise.
9338         * include/setjmp.h (__longjmp): Add attribute_hidden.
9339         [IS_IN (rtld)] (__sigsetjmp): Likewise.
9341         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
9342         Add attribute_hidden.
9344         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
9345         [IS_IN (rtld)] (__open): Likewise.
9346         [IS_IN (rtld)] (__fcntl): Likewise.
9348         * include/dirent.h (__opendirat): Add attribute_hidden.
9349         (__getdents): Likewise.
9350         (__getdents64): Likewise.
9351         (__alloc_dir): Likewise.
9352         [IS_IN (rtld)] (__closedir): Likewise.
9353         [IS_IN (rtld)] (__fdopendir): Likewise.
9354         [IS_IN (rtld)] (__readdir): Likewise.
9355         [IS_IN (rtld)] (__readdir64): Likewise.
9356         [IS_IN (rtld)] (__rewinddir): Likewise.
9358         * include/dlfcn.h (_dl_catch_error): Moved to ...
9359         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
9360         attribute_hidden.
9362         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
9363         (_itoa_word): Likewise.
9365         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
9366         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
9367         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
9368         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
9369         (_dl_higher_prime_number): Likewise.
9370         (_dl_debug_printf_c): Likewise.
9371         (_dl_signal_cerror): Likewise.
9372         (_dl_receive_error): Likewise.
9373         (_dl_reloc_bad_type): Likewise.
9374         (_dl_resolve_conflicts): Likewise.
9375         (_dl_check_all_versions): Likewise.
9376         (_dl_check_map_versions): Likewise.
9377         (_dl_sort_fini): Likewise.
9378         (_dl_debug_initialize): Likewise.
9379         (_dl_init_paths): Likewise.
9380         (_dl_show_auxv): Likewise.
9381         (_dl_next_ld_env_entry): Likewise.
9382         (_dl_important_hwcaps): Likewise.
9383         (_dl_load_cache_lookup): Likewise.
9384         (_dl_update_slotinfo): Likewise.
9385         (_dl_show_scope): Likewise.
9387         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
9388         attribute_hidden.
9389         (_wordcopy_fwd_dest_aligned): Likewise.
9390         (_wordcopy_bwd_aligned): Likewise.
9391         (_wordcopy_bwd_dest_aligned): Likewise.
9393         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
9394         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
9395         Likewise.
9396         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
9397         Likewise.
9398         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
9400 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9402         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
9403         GCC 5 requirement.
9405 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
9407         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
9408         test.
9409         * sysdeps/i386/configure: Regenerated.
9410         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
9411         code unconditional.
9413         * configure.ac (libc_cv_asm_previous_directive): Remove configure
9414         test.
9415         (libc_cv_asm_popsection_directive): Likewise.
9416         * configure: Regenerated.
9417         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
9418         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
9419         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
9420         (__make_section_unallocated): Make definition unconditional.
9421         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
9422         Remove conditional definition.
9423         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
9424         (__make_section_unallocated): Likewise.
9426         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
9427         * configure: Regenerated.
9428         * config.make.in (static-libgcc): Remove variable.
9429         * Makerules (build-shlib-helper): Use -static-libgcc instead of
9430         $(static-libgcc).
9431         (build-module-helper): Likewise.
9433         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
9434         * configure: Regenerated.
9436 2015-10-15  Florian Weimer  <fweimer@redhat.com>
9438         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
9439         (struct char_buffer): New type.
9440         (char_buffer_start, char_buffer_size, char_buffer_error)
9441         (char_buffer_rewind, char_buffer_add): New functions.
9442         (ADDW): Remove macro, replaced by the char_buffer_add function.
9443         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
9444         of extend_alloca.  Make control flow more explicit.
9446 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9448         [BZ #19137]
9449         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
9450         Add -fomit-frame-pointer.
9451         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
9453 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9455         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
9456         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
9457         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
9458         only if !__GNUC_PREREQ (5,0).
9459         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
9460         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
9461         (INTERNAL_SYSCALL_NCS): Likewise.
9462         (LOADREGS_0): New macro for GCC 5.
9463         (ASMARGS_0): Likewise.
9464         (LOADREGS_1): Likewise.
9465         (ASMARGS_1): Likewise.
9466         (LOADREGS_2): Likewise.
9467         (ASMARGS_2): Likewise.
9468         (LOADREGS_3): Likewise.
9469         (ASMARGS_3): Likewise.
9470         (LOADREGS_4): Likewise.
9471         (ASMARGS_4): Likewise.
9472         (LOADREGS_5): Likewise.
9473         (ASMARGS_5): Likewise.
9474         (LOADREGS_6): Likewise.
9475         (ASMARGS_6): Likewise.
9477 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
9479         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
9480         -fomit-frame-pointer.
9481         (CFLAGS-mmap64.c): Likewise.
9482         (CFLAGS-semtimedop.c): Likewise.
9483         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
9484         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
9485         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9486         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
9488 2015-10-15  Florian Weimer  <fweimer@redhat.com>
9490         [BZ #18928]
9491         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
9492         _dl_pointer_guard member.
9493         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
9494         initializer.
9495         (security_init): Always set up pointer guard.
9496         (process_envvars): Do not process LD_POINTER_GUARD.
9498 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
9500         [BZ #19134]
9501         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
9502         (.LC2): Likewise.
9503         (.LC3): Likewise.
9504         (__lround): Do not add 0.5 to integer or out-of-range arguments.
9506 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9508         [BZ #19129]
9509         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
9510         r0 and r1.
9512 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
9514         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
9516 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
9518         * include/stap-probe.h: Fix macro definition formatting.
9520 2015-10-14  Florian Weimer  <fweimer@redhat.com>
9522         [BZ #19074]
9523         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
9524         load and store num_ifs.
9526 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
9528         [BZ #18822]
9529         * sysdeps/unix/sysv/linux/sched_getaffinity.c
9530         (__sched_getaffinity_new): Add libc_hidden_proto and
9531         libc_hidden_def.
9533 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
9535         [BZ #19007]
9536         * scripts/localplt.awk: Also allow GOT references.
9537         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
9538         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
9539         with "+ REL R_386_GLOB_DAT".
9540         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
9541         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
9543 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
9545         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
9546         INLINE_SYSCALL_ERROR_RETURN_VALUE.
9547         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
9548         Likewise.
9549         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
9550         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
9551         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
9552         INTERNAL_SYSCALLINTERNAL_SYSCALL and
9553         INLINE_SYSCALL_ERROR_RETURN_VALUE.
9554         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
9555         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9556         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
9557         Likewise.
9558         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9560 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
9562         [BZ #19125]
9563         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
9564         <math_private.h> and <stdint.h>.
9565         (__llround): Avoid conversions to and from long long int, and
9566         subtractions, where those might raise spurious exceptions.
9567         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
9568         <math_private.h> and <stdint.h>.
9569         (__llroundf): Avoid conversions to and from long long int, and
9570         subtractions, where those might raise spurious exceptions.
9572 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
9574         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
9575         INLINE_SYSCALL_ERROR_RETURN_VALUE.
9576         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
9577         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
9578         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9579         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9580         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
9581         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
9582         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
9583         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9584         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9585         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9586         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
9587         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9588         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9589         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
9590         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
9591         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9592         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
9593         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
9594         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
9595         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
9596         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
9597         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
9598         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
9599         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
9600         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
9601         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9602         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9603         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
9604         (__xstat64_conv): Likewise.
9605         (__xstat32_conv): Likewise.
9607 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
9609         * sysdeps/unix/sysv/linux/sysdep.h: New file.
9610         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
9611         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
9612         <sysdeps/unix/sysv/linux/sysdep.h>.
9613         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
9614         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
9615         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
9616         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9617         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
9618         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
9619         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
9620         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
9621         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
9622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9624         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9625         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9626         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9627         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9628         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9629         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
9630         (sysdep-dl-routines): Add sysdep.
9631         [$(subdir) == nptl] (libpthread-routines): Likewise.
9632         [$(subdir) == rt] (librt-routines): Likewise.
9633         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
9634         PIC when branching to SYSCALL_ERROR_LABEL.
9635         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
9636         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
9637         <sysdeps/unix/sysv/linux/sysdep.h>.
9638         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
9639         (SYSCALL_ERROR_ERRNO): Removed.
9640         (SYSCALL_ERROR_HANDLER): Changed to empty.
9641         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
9642         (__syscall_error): New prototype.
9643         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
9644         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
9646 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
9648         [BZ #19124]
9649         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
9650         (_dl_runtime_resolve_avx512): Make it a hidden alias of
9651         _dl_runtime_resolve_avx.
9652         (_dl_runtime_profile_avx512): Make it a hidden alias of
9653         _dl_runtime_profile_avx.
9655 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
9657         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
9658         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
9659         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
9660         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
9662         [BZ #16422]
9663         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
9664         New configure test.
9665         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
9666         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
9667         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
9668         <math_private.h> and <stdint.h>.
9669         (__llrint): Avoid conversions to long long int where those might
9670         raise spurious exceptions.
9671         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
9672         <math_private.h> and <stdint.h>.
9673         (__llrintf): Avoid conversions to long long int where those might
9674         raise spurious exceptions.
9676 2015-10-12  Andreas Schwab  <schwab@suse.de>
9678         [BZ #18969]
9679         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
9680         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
9681         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
9682         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
9683         $(gen-locales).
9684         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
9685         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
9686         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
9687         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
9688         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
9689         $(gen-locales).
9690         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
9691         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
9692         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
9693         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
9694         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
9695         ($(objpfx)tst-ftell-active-handler.out)
9696         ($(objpfx)tst-ftell-append.out)
9697         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
9698         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
9699         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
9700         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
9701         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
9702         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
9703         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
9704         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
9705         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
9706         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
9707         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
9708         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
9709         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
9710         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
9711         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
9712         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
9713         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
9714         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
9715         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
9716         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
9717         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
9718         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
9719         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
9720         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
9721         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
9722         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
9723         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
9724         $(gen-locales).
9725         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
9726         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
9727         $(gen-locales).
9728         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
9729         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
9730         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
9731         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
9732         $(gen-locales).
9733         * libio/tst_wprintf2.c (main): Use explicit locale.
9734         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
9736 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9738         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
9739         __msg_sig_post.
9740         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
9742 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
9744         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9745         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9747         * sysdeps/arm/libm-test-ulps: Regenerated.
9749         [BZ #15470]
9750         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
9752         [BZ #16399]
9753         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
9754         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
9755         and <fix-fp-int-convert-overflow.h>.
9756         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
9757         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9758         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
9759         and <fix-fp-int-convert-overflow.h>.
9760         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
9761         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9762         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
9763         <fix-fp-int-convert-overflow.h>.
9764         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
9765         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9766         * sysdeps/ieee754/dbl-64/s_lround.c: Include
9767         <fix-fp-int-convert-overflow.h>.
9768         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
9769         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9770         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
9771         and <fix-fp-int-convert-overflow.h>.
9772         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
9773         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9774         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
9775         <limits.h> and <fix-fp-int-convert-overflow.h>.
9776         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
9777         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9778         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
9779         and <fix-fp-int-convert-overflow.h>.
9780         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
9781         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9782         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
9783         and <fix-fp-int-convert-overflow.h>.
9784         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
9785         FIX_DBL_LLONG_CONVERT_OVERFLOW.
9786         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
9788 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
9790         [BZ #18589]
9791         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
9792         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
9793         $(gen-locales).
9795 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9796             Phil Blundell <pb@pbcl.net>
9798         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
9799         * nptl/tst-cancel26.c: New file.
9800         * nptl/tst-cancel27.c: Likewise.
9802 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
9804         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
9805         __ILP32__ isn't defined.
9806         (lrint): Likewise.
9807         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
9808         (lrintf): Likewise.
9809         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
9810         (lrintl): Likewise.
9811         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
9812         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
9813         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
9815 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9817         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
9818         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
9820         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
9821         file.
9822         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
9823         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
9825 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
9827         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
9828         configure test.
9829         * sysdeps/i386/configure: Regenerated.
9830         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
9831         configure test.
9832         * sysdeps/x86_64/configure: Regenerated.
9833         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
9834         Make code unconditional.
9836         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
9837         test.
9838         * sysdeps/i386/configure: Regenerated.
9839         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
9840         test.
9841         * sysdeps/x86_64/configure: Regenerated.
9842         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
9843         Make code unconditional.
9844         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
9845         Likewise.
9846         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
9847         Likewise.
9848         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9849         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
9850         code unconditional.
9851         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9852         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
9853         code unconditional.
9854         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9855         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
9856         code unconditional.
9857         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
9858         code unconditional.
9859         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9860         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
9861         code unconditional.
9862         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9863         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
9864         code unconditional.
9865         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9866         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
9867         code unconditional.
9868         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9869         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
9870         code unconditional.
9871         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9872         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
9874         [BZ #19095]
9875         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
9876         mantissa to long int before shifting left.
9878 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
9880         [BZ #19094]
9881         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
9882         <limits.h>.
9883         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9884         when result overflows but exception would not result from cast.
9885         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
9886         <limits.h>.
9887         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9888         when result overflows but exception would not result from cast.
9889         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
9890         <limits.h>.
9891         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9892         when result overflows but exception would not result from cast.
9893         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
9894         <limits.h>.
9895         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9896         when result overflows but exception would not result from cast.
9897         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
9898         <limits.h>.
9899         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9900         when result overflows but exception would not result from cast.
9901         * math/libm-test.inc (lrint_test_data): Add more tests.
9902         (llrint_test_data): Likewise.
9904 2015-10-08  Roland McGrath  <roland@hack.frob.com>
9906         [BZ #18872]
9907         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
9908         Move out from under [$(run-built-tests) = yes] conditional.
9909         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
9910         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
9912 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
9914         [BZ #18589]
9915         * string/Makefile (tests): Add bug-strcoll2.
9916         (LOCALES): Add cs_CZ.UTF-8.
9917         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
9919         [BZ #18589]
9920         * string/bug-strcoll2.c: New file.
9921         * locale/categories.def: Revert commit
9922         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
9923         * locale/langinfo.h: Likewise.
9924         * locale/localeinfo.h: Likewise.
9925         * locale/C-collate.c: Likewise.
9926         * locale/programs/ld-collate.c (collate_output): Likewise.
9927         * string/strcoll_l.c (STRDIFF): Likewise.
9928         (STRCOLL): Likewise.
9929         * wcsmbs/wcscoll_l.c: Likewise.
9931 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
9933         * math/libm-test.inc (lround_test_data): Do not expect the absence
9934         of "inexact" for some tests with non-integer arguments.
9935         (llround_test_data): Likewise.
9937         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
9938         test.
9939         (libc_cv_cc_sse2avx): Likewise.
9940         * sysdeps/i386/configure: Regenerated.
9941         * sysdeps/i386/i686/multiarch/Makefile
9942         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
9943         [$(subdir) = math].
9944         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
9945         code unconditional.
9946         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
9947         Likewise.
9948         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
9949         Likewise.
9950         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
9951         Likewise.
9952         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
9953         test.
9954         (libc_cv_cc_sse2avx): Likewise.
9955         * sysdeps/x86_64/configure: Regenerated.
9956         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
9957         unconditional.
9958         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
9959         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
9960         unconditional.
9961         (_dl_runtime_profile)
9962         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
9963         conditional code.
9964         * sysdeps/x86_64/fpu/multiarch/Makefile
9965         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
9966         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
9967         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9968         * sysdeps/x86_64/fpu/multiarch/e_exp.c
9969         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9970         * sysdeps/x86_64/fpu/multiarch/e_log.c
9971         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9972         * sysdeps/x86_64/fpu/multiarch/s_atan.c
9973         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9974         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
9975         Likewise.
9976         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
9977         Likewise.
9978         * sysdeps/x86_64/fpu/multiarch/s_sin.c
9979         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9980         * sysdeps/x86_64/fpu/multiarch/s_tan.c
9981         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9982         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
9983         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
9984         (HAVE_SSE2AVX_SUPPORT): Likewise.
9986 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
9988         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
9989         instead of #pragma optimize.
9991 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
9993         [BZ #17195]
9994         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
9995         as is similarly done in systrim and _int_free already.
9997 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9999         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
10001 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
10003         [BZ #19088]
10004         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
10005         <limits.h>.
10006         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
10007         overflows but exception would not result from cast.
10008         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
10009         and <limits.h>.
10010         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
10011         overflows but exception would not result from cast.
10012         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
10013         <limits.h>.
10014         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
10015         overflows but exception would not result from cast.
10016         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
10017         <limits.h>.
10018         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
10019         overflows but exception would not result from cast.
10020         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
10021         <limits.h>.
10022         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
10023         overflows but exception would not result from cast.
10024         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
10025         <limits.h>.
10026         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
10027         overflows but exception would not result from cast.
10028         * math/libm-test.inc (lround_test_data): Add more tests.
10029         (llround_test_data): Likewise.
10031 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
10033         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
10034         (CFLAGS-ialloc.c): Ditto.
10035         (CFLAGS-scheck.c): Ditto.
10037 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
10039         [BZ #19086]
10040         * manual/filesys.texi (Storage Allocation): Fix argument order for
10041         posix_fallocate64.
10043 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
10045         [BZ #19085]
10046         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
10047         exponent below 48 inside case for non-overflowing exponent.
10048         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
10050 2015-10-07  Florian Weimer  <fweimer@redhat.com>
10052         * iconvdata/cp737.h (from_idx): Add const.
10053         * iconvdata/cp775.h (from_idx): Likewise.
10055 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
10057         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
10058         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
10059         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
10061         [BZ #19079]
10062         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
10063         file, conditioned on [!_LP64].
10064         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
10065         [!_LP64] (__lround): Do not define as function or alias.
10066         [!_LP64] (lround): Likewise.
10067         [!_LP64] (__lroundl): Likewise.
10068         [!_LP64] (lroundl): Likewise.
10069         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
10070         macro.
10071         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
10072         Likewise.
10074 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
10076         * math/libm-test.inc (lrint_test_data): Add more tests.
10077         (llrint_test_data): Likewise.
10078         (lround_test_data): Likewise.
10079         (llround_test_data): Likewise.
10081         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
10082         (llrint_test_data): Add tests used for lrint.
10084         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
10085         test.
10086         * sysdeps/i386/configure: Regenerated.
10087         * sysdeps/i386/i686/multiarch/Makefile
10088         [$(config-cflags-sse4) = yes]: Make code unconditional.
10089         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
10090         Likewise.
10091         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
10092         Likewise.
10093         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
10094         test.
10095         * sysdeps/x86_64/configure: Regenerated.
10096         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
10097         Make code unconditional.
10098         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
10099         Likewise.
10100         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
10101         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
10103         * scripts/rpm2dynsym.sh: Remove file.
10105 2015-10-06  Florian Weimer  <fweimer@redhat.com>
10107         * configure.ac (libc_cv_cxx_thread_local): Define.
10108         * configure: Regenerate.
10109         * config.make.in (have-cxx-thread_local): Define.
10110         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
10111         (LDLIBS-tst-thread_local1): Define.
10112         (tests): Add tst-thread_local1.
10113         [have-cxx-thread_local != yes] (tests-unsupported): Add
10114         tst-thread_local1.
10115         * nptl/tst-thread_local1.cc: New file.
10117 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
10119         [BZ #19078]
10120         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
10121         (u_thres): Likewise.
10122         (__expl): Determine whether to call __kernel_standard_l based on
10123         value of result, not argument.
10125         * math/libm-test.inc (scalb_test_data): Add more expectations for
10126         the "inexact" exception.
10128         [BZ #19077]
10129         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
10130         0.0L for argument 1.0L.
10132         [BZ #19076]
10133         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
10134         constant 0.0L when computing infinite result.
10136 2015-10-06  Florian Weimer  <fweimer@redhat.com>
10138         [BZ #10432]
10139         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
10140         malloc_usable_size.
10142 2015-10-06  Florian Weimer  <fweimer@redhat.com>
10144         [BZ #19018]
10145         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10146         Mangle function pointer before storing it.
10147         (__call_tls_dtors): Demangle function pointer before calling it.
10149 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
10151         [BZ #19012]
10152         * iconv/gconv_db.c (gen_steps): Check for additional errors.
10153         Clean up on failure.
10155 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
10157         [BZ #19071]
10158         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
10159         long int variable to store possibly incremented high part of
10160         mantissa.
10161         * math/libm-test.inc (lround_test_data): Add tests used for
10162         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
10163         for tests requiring 64-bit long.  Do not condition tests on
10164         [TEST_FLOAT] unnecessarily.
10165         (llround_test_data): Add tests used for lround.  Add another
10166         expectation for the "inexact" exception.  Do not condition tests
10167         on [TEST_FLOAT] unnecessarily.
10169         [BZ #887]
10170         [BZ #19049]
10171         [BZ #19050]
10172         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
10173         * sysdeps/ieee754/dbl-64/e_log10.c: Include
10174         <fix-int-fp-convert-zero.h>.
10175         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10176         * sysdeps/ieee754/dbl-64/e_log2.c: Include
10177         <fix-int-fp-convert-zero.h>.
10178         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10179         * sysdeps/ieee754/dbl-64/s_erf.c: Include
10180         <fix-int-fp-convert-zero.h>.
10181         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10182         * sysdeps/ieee754/dbl-64/s_logb.c: Include
10183         <fix-int-fp-convert-zero.h>.
10184         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10185         * sysdeps/ieee754/flt-32/e_log10f.c: Include
10186         <fix-int-fp-convert-zero.h>.
10187         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10188         * sysdeps/ieee754/flt-32/e_log2f.c: Include
10189         <fix-int-fp-convert-zero.h>.
10190         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10191         * sysdeps/ieee754/flt-32/s_erff.c: Include
10192         <fix-int-fp-convert-zero.h>.
10193         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10194         * sysdeps/ieee754/flt-32/s_logbf.c: Include
10195         <fix-int-fp-convert-zero.h>.
10196         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10197         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
10198         <fix-int-fp-convert-zero.h>.
10199         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10200         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
10201         <fix-int-fp-convert-zero.h>.
10202         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
10203         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
10204         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
10205         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
10206         file.
10207         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
10209 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
10211         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10213 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
10215         [BZ #19059]
10216         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
10217         overflowing computation.
10218         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10219         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
10220         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10221         Likewise.
10222         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10223         Likewise.
10224         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
10225         Likewise.
10226         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10227         Likewise.
10228         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10229         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10230         Likewise.
10231         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10232         Likewise.
10233         * math/libm-test.inc (nexttoward_test_data): Add more tests.
10235         * nss/rewrite_field.c (__nss_rewrite_field): Use
10236         internal_function.
10237         * nss/valid_field.c (__nss_valid_field): Likewise.
10238         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
10240 2015-10-02  Florian Weimer  <fweimer@redhat.com>
10242         [BZ #18724]
10243         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
10244         (__nss_invalid_field_characters, __nss_valid_field)
10245         (__nss_valid_list_field, __nss_rewrite_field): Declare.
10246         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
10247         tst-field.c: New file.
10248         * nss/Makefile (routines): Add valid_field, rewrite_field.
10249         (tests-static): Define unconditionally.
10250         (tests): Include tests-static.
10251         [build-static-nss] (tests-static): Use append.
10252         [build-static-nss] (tests): Remove modification.
10253         * nss/getent.c (print_group): Call putgrent.  Report error.
10254         (print_gshadow): Call putsgent.  Report error.
10255         (print_passwd): Call putpwent.  Report error.
10256         (print_shadow): Call putspent.  Report error.
10257         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
10258         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
10259         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
10260         name, password, directory, shell fields for valid syntax.  Rewrite
10261         GECOS field to match syntax.
10262         * pwd/Makefile (tests): Add tst-putpwent.
10263         * pwd/tst-putpwent.c: New file.
10264         * grp/putgrent.c (putgrent): Convert to ISO function definition.
10265         Check grName, grpasswd, gr_mem fields for valid syntax.
10266         Change loop variable i to size_t.
10267         * grp/Makefile (tests): Add tst-putgrent.
10268         * grp/tst-putgrent.c: New file.
10269         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
10270         valid syntax.
10271         * shadow/Makefile (tests): Add tst-putspent.
10272         * shadow/tst-putspent.c: New file.
10273         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
10274         sg_mem fields for valid syntax.
10275         * gshadow/Makefile (tests): Add tst-putsgent.
10276         * gshadow/tst-putsgent.c: New file.
10278 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10280         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
10281         assembly instructions.
10283 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10285         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
10286         prefix from operands.
10288 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
10290         [BZ #16347]
10291         [BZ #19046]
10292         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
10293         <libc-internal.h>.
10294         (MAXLGM): Do not use diagnostic control macros.
10295         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
10296         threshold for ldbl-128ibm.
10297         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
10298         instead of multiplying by log then subtracting.
10299         * math/auto-libm-test-in: Add more tests of lgamma.
10300         * math/auto-libm-test-out: Regenerated.
10302         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
10303         (TYPE_HEX_DIG): Likewise.
10304         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
10305         precisions when printing floating-point numbers.
10306         (check_float_internal): Likewise.
10308 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
10310         [BZ #16620]
10311         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
10312         of log (10) rounded downward to 48 bits.
10313         (log10_low): Use corresponding low part of log (10).
10315         [BZ #19032]
10316         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
10317         compute result as (x - x) / (x - x) not as 0 / 0.
10318         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
10319         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
10321         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10322         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
10323         and expm1.
10324         * math/auto-libm-test-out: Regenerated.
10325         * math/libm-test.inc (acos_test_data): Add more tests.
10326         (asin_test_data): Likewise.
10327         (asinh_test_data): Likewise.
10328         (atan_test_data): Likewise.
10329         (atanh_test_data): Likewise.
10330         (atan2_test_data): Likewise.
10331         (cbrt_test_data): Likewise.
10332         (ceil_test_data): Likewise.
10333         (copysign_test_data): Likewise.
10334         (cos_test_data): Likewise.
10335         (cosh_test_data): Likewise.
10336         (erf_test_data): Likewise.
10337         (erfc_test_data): Likewise.
10338         (exp_test_data): Likewise.
10339         (exp10_test_data): Likewise.
10340         (exp2_test_data): Likewise.
10341         (expm1_test_data): Likewise.
10342         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10344 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
10346         [BZ #19006]
10347         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
10348         to ...
10349         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
10350         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
10351         to ...
10352         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
10353         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
10354         to ...
10355         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
10356         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
10357         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
10358         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
10359         to ...
10360         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
10361         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
10362         Moved to ...
10363         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
10364         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
10365         Moved to ...
10366         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
10367         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
10368         to ...
10369         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
10370         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
10371         Moved to ...
10372         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
10373         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
10374         to ...
10375         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
10376         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
10377         Removed.
10378         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
10379         Likewise.
10380         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
10381         Likewise.
10382         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
10383         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
10384         Likewise.
10385         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
10386         Likewise.
10387         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
10388         Likewise.
10389         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
10390         Likewise.
10391         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
10392         Likewise.
10393         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
10394         Likewise.
10395         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
10396         Likewise.
10397         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
10398         Likewise.
10399         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
10400         Likewise.
10401         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
10402         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
10403         Likewise.
10404         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
10405         Likewise.
10406         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
10407         Likewise.
10408         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
10409         Likewise.
10410         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
10411         Likewise.
10412         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
10413         Replace ../i486/pthread_cond_timedwait.S with
10414         ../pthread_cond_timedwait.S.
10416 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
10418         * math/libm-test.inc (acos_test_data): Refine expectations for
10419         errno and "inexact" exceptions.
10420         (acosh_test_data): Likewise.
10421         (asin_test_data): Likewise.
10422         (asinh_test_data): Likewise.
10423         (atan_test_data): Likewise.
10424         (atanh_test_data): Likewise.
10425         (atan2_test_data): Likewise.
10426         (cbrt_test_data): Likewise.
10427         (ceil_test_data): Likewise.
10428         (copysign_test_data): Likewise.
10429         (cosh_test_data): Likewise.
10430         (erf_test_data): Likewise.
10431         (erfc_test_data): Likewise.
10432         (exp_test_data): Likewise.
10433         (exp10_test_data): Likewise.
10434         (exp2_test_data): Likewise.
10435         (expm1_test_data): Likewise.
10436         (fabs_test_data): Likewise.
10437         (floor_test_data): Likewise.
10438         (fma_test_data): Likewise.
10439         (fmax_test_data): Likewise.
10440         (fmin_test_data): Likewise.
10441         (fmod_test_data): Likewise.
10442         (fpclassify_test_data): Likewise.
10443         (frexp_test_data): Likewise.
10444         (hypot_test_data): Likewise.
10445         (ilogb_test_data): Likewise.
10446         (isgreater_test_data): Likewise.
10447         (isgreaterequal_test_data): Likewise.
10448         (isinf_test_data): Likewise.
10449         (isless_test_data): Likewise.
10450         (islessequal_test_data): Likewise.
10451         (islessgreater_test_data): Likewise.
10452         (isnan_test_data): Likewise.
10453         (isnormal_test_data): Likewise.
10454         (issignaling_test_data): Likewise.
10455         (isunordered_test_data): Likewise.
10456         (j0_test_data): Likewise.
10457         (j1_test_data): Likewise.
10458         (jn_test_data): Likewise.
10459         (lgamma_test_data): Likewise.
10460         (lrint_test_data): Likewise.
10461         (llrint_test_data): Likewise.
10462         (log_test_data): Likewise.
10463         (log10_test_data): Likewise.
10464         (log1p_test_data): Likewise.
10465         (log2_test_data): Likewise.
10466         (logb_test_data): Likewise.
10467         (lround_test_data): Likewise.
10468         (llround_test_data): Likewise.
10469         (modf_test_data): Likewise.
10470         (nearbyint_test_data): Likewise.
10471         (nextafter_test_data): Likewise.
10472         (nexttoward_test_data): Likewise.
10473         (pow_test_data): Likewise.
10474         (remainder_test_data): Likewise.
10475         (remquo_test_data): Likewise.
10476         (rint_test_data): Likewise.
10477         (round_test_data): Likewise.
10478         (signbit_test_data): Likewise.
10479         (sinh_test_data): Likewise.
10480         (sqrt_test_data): Likewise.
10481         (tanh_test_data): Likewise.
10482         (tgamma_test_data): Likewise.
10483         (trunc_test_data): Likewise.
10484         (y0_test_data): Likewise.
10485         (y1_test_data): Likewise.
10486         (yn_test_data): Likewise.
10487         (significand_test_data): Likewise.
10489 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
10491         * manual/filesys.texi (Storage Allocation): Document that
10492         posix_fallocate emulation fails when fd is open with O_WRONLY.
10494 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
10496         [BZ #19016]
10497         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
10498         allow more cases with X^2 + Y^2 >= 0.5.
10499         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
10500         normal element in sum instead of special-casing based on values of
10501         arguments.
10502         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
10503         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
10504         -1 as normal element in sum instead of special-casing based on
10505         values of arguments.
10506         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
10507         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
10508         (__x2y2m1): Update comment.
10509         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
10510         as normal element in sum instead of special-casing based on values
10511         of arguments.
10512         * math/s_clog.c (__clog): Handle more cases using log1p without
10513         hypot.
10514         * math/s_clog10.c (__clog10): Likewise.
10515         * math/s_clog10f.c (__clog10f): Likewise.
10516         * math/s_clog10l.c (__clog10l): Likewise.
10517         * math/s_clogf.c (__clogf): Likewise.
10518         * math/s_clogl.c (__clogl): Likewise.
10519         * math/auto-libm-test-in: Add more tests of clog and clog10.
10520         * math/auto-libm-test-out: Regenerated.
10521         * sysdeps/i386/fpu/libm-test-ulps: Update.
10522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10524 2015-09-28  Martin Sebor  <msebor@redhat.com>
10526         [BZ #18969]
10527         * string/Makefile (LOCALES): Define.
10528         (gen-locales.mk): Include.
10529         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
10530         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
10531         * string/tst-strxfrm2.c (do_test): Print the name of the locale
10532         on setlocale failure.
10534 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
10536         [BZ #18985]
10537         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
10538         (__strftime_internal): Likewise.
10539         * time/tst-strftime.c (do_bz18985): New test.
10540         (do_test): Call it.
10542 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
10544         [BZ #18956]
10545         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
10546         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
10547         extracting high part.
10548         * math/auto-libm-test-in: Add another test of pow.
10549         * math/auto-libm-test-out: Regenerated.
10550         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10552 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
10554         [BZ #18825]
10555         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
10556         New macro.
10557         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
10558         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
10559         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
10560         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
10561         DBL_NARROW_EVAL, reloading the PIC register as needed.
10562         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
10563         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
10564         FLT_NARROW_EVAL.  Use separate return path for case when first
10565         argument is NaN.
10566         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
10567         DEFINE_LDBL_MIN.
10568         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
10569         PIC register.
10570         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
10571         math_check_force_underflow_nonneg.
10572         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
10573         underflow for subnormal result.
10574         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
10575         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
10576         math_check_force_underflow_nonneg.
10577         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
10578         math_check_force_underflow.
10579         * sysdeps/x86_64/fpu/x86_64-math-asm.h
10580         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
10581         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
10582         DEFINE_LDBL_MIN.
10583         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
10584         * math/auto-libm-test-in: Add more tests of pow.
10585         * math/auto-libm-test-out: Regenerated.
10587 2015-09-25  Florian Weimer  <fweimer@redhat.com>
10589         * nss/bug17079.c (init_test_items): Add diagnostic for
10590         inconsistent entries.
10591         (test_buffer_size): Skip inconsistent entries.
10593 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
10595         [BZ #13304]
10596         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
10597         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
10598         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
10600         [BZ #13304]
10601         * sysdeps/microblaze/s_fma.c: New file.
10602         * sysdeps/microblaze/s_fmaf.c: Likewise.
10603         * sysdeps/microblaze/sfp-machine.h: Likewise.
10605 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
10607         [BZ #17250]
10608         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
10609         member.
10611 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
10613         [BZ #18803]
10614         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
10615         (MO): New macro.
10616         (__ieee754_hypot) [PIC]: Load PIC register.
10617         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
10618         DBL_NARROW_EVAL.
10619         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
10620         math_check_force_underflow_nonneg in case where result might be
10621         tiny.
10622         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10623         Likewise.
10624         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10625         Likewise.
10626         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
10627         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
10628         * math/auto-libm-test-in: Add more tests of hypot.
10629         * math/auto-libm-test-out: Regenerated.
10631 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
10633         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
10635 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
10637         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
10638         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
10639         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
10640         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
10641         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
10642         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
10643         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
10645         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
10646         LOAD_PIC_REG.
10648         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
10649         (FLT_CHECK_FORCE_UFLOW): Likewise.
10650         (DBL_CHECK_FORCE_UFLOW): Likewise.
10651         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
10652         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
10653         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
10654         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
10655         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
10656         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
10657         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
10658         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
10659         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
10660         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10661         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
10662         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
10663         (flt_min): Replace with use of DEFINE_FLT_MIN.
10664         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
10665         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
10666         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10667         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
10668         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
10669         (flt_min): Replace with use of DEFINE_FLT_MIN.
10670         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
10671         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
10672         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10673         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
10674         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
10675         (flt_min): Replace with use of DEFINE_FLT_MIN.
10676         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
10677         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
10678         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
10679         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
10680         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
10681         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
10682         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
10683         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
10684         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10685         (__atan): Use DBL_CHECK_FORCE_UFLOW.
10686         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
10687         (flt_min): Replace with use of DEFINE_FLT_MIN.
10688         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
10689         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
10690         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10691         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
10692         main computation.
10693         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
10694         (flt_min): Replace with use of DEFINE_FLT_MIN.
10695         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
10696         main computation.
10697         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
10698         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10699         (MO): New macro.
10700         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
10701         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
10702         (flt_min): Replace with use of DEFINE_FLT_MIN.
10703         (MO): New macro.
10704         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
10705         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
10706         (__log1pl): Use MO.
10708         [BZ #19003]
10709         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
10710         $(config-cflags-nofma).
10712 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10714         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10716 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
10718         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
10719         (TWO127): Likewise.
10721         * sysdeps/generic/math_private.h (fabs_tg): New macro.
10722         (min_of_type): Likewise.
10723         (math_check_force_underflow): Likewise.
10724         (math_check_force_underflow_nonneg): Likewise.
10725         (math_check_force_underflow_complex): Likewise.
10726         * math/e_exp2l.c (__ieee754_exp2l): Use
10727         math_check_force_underflow_nonneg.
10728         * math/k_casinh.c (__kernel_casinh): Likewise.
10729         * math/k_casinhf.c (__kernel_casinhf): Likewise.
10730         * math/k_casinhl.c (__kernel_casinhl): Likewise.
10731         * math/s_catan.c (__catan): Use
10732         math_check_force_underflow_complex.
10733         * math/s_catanf.c (__catanf): Likewise.
10734         * math/s_catanh.c (__catanh): Likewise.
10735         * math/s_catanhf.c (__catanhf): Likewise.
10736         * math/s_catanhl.c (__catanhl): Likewise.
10737         * math/s_catanl.c (__catanl): Likewise.
10738         * math/s_ccosh.c (__ccosh): Likewise.
10739         * math/s_ccoshf.c (__ccoshf): Likewise.
10740         * math/s_ccoshl.c (__ccoshl): Likewise.
10741         * math/s_cexp.c (__cexp): Likewise.
10742         * math/s_cexpf.c (__cexpf): Likewise.
10743         * math/s_cexpl.c (__cexpl): Likewise.
10744         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
10745         * math/s_clog10.c (__clog10): Likewise.
10746         * math/s_clog10f.c (__clog10f): Likewise.
10747         * math/s_clog10l.c (__clog10l): Likewise.
10748         * math/s_clogf.c (__clogf): Likewise.
10749         * math/s_clogl.c (__clogl): Likewise.
10750         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
10751         * math/s_csinf.c (__csinf): Likewise.
10752         * math/s_csinh.c (__csinh): Likewise.
10753         * math/s_csinhf.c (__csinhf): Likewise.
10754         * math/s_csinhl.c (__csinhl): Likewise.
10755         * math/s_csinl.c (__csinl): Likewise.
10756         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
10757         * math/s_csqrtf.c (__csqrtf): Likewise.
10758         * math/s_csqrtl.c (__csqrtl): Likewise.
10759         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
10760         * math/s_ctanf.c (__ctanf): Likewise.
10761         * math/s_ctanh.c (__ctanh): Likewise.
10762         * math/s_ctanhf.c (__ctanhf): Likewise.
10763         * math/s_ctanhl.c (__ctanhl): Likewise.
10764         * math/s_ctanl.c (__ctanl): Likewise.
10765         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
10766         instead of volatile.
10767         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
10768         math_check_force_underflow.
10769         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10770         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
10771         volatile when forcing underflow.
10772         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10773         math_check_force_underflow_nonneg.
10774         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
10775         Likewise.
10776         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
10777         math_check_force_underflow.
10778         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10779         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10780         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10781         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
10782         math_check_force_underflow_nonneg.
10783         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
10784         math_check_force_underflow.
10785         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
10786         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
10787         instead of volatile.
10788         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
10789         math_check_force_underflow.
10790         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10791         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
10792         math_check_force_underflow_nonneg.
10793         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
10794         math_check_force_underflow.
10795         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
10796         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10797         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
10798         math_check_force_underflow_nonneg.
10799         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10800         Likewise.
10801         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
10802         math_check_force_underflow.
10803         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10804         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
10805         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
10806         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
10807         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
10808         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
10809         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
10810         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
10811         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
10812         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
10813         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
10814         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
10815         Likewise.
10816         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
10817         math_check_force_underflow_nonneg.
10818         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10819         Likewise.
10820         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
10821         math_check_force_underflow.
10822         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10823         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
10824         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
10825         Likewise.
10826         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
10827         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
10828         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
10829         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
10830         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
10831         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
10832         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
10833         instead of volatile.
10834         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
10835         math_check_force_underflow.
10836         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
10837         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
10838         math_check_force_underflow.
10839         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
10840         Likewise.
10841         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10842         Use math_check_force_underflow_nonneg.
10843         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
10844         math_check_force_underflow.
10845         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
10846         Likewise.
10847         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
10848         Likewise.
10849         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10850         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
10851         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
10852         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
10853         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
10854         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
10855         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
10856         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
10857         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
10858         math_check_force_underflow_nonneg.
10859         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
10860         math_check_force_underflow.
10861         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10862         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
10863         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
10864         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
10865         math_check_force_underflow_nonneg.
10866         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
10867         math_check_force_underflow.
10868         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
10869         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
10870         instead of volatile.
10871         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
10872         math_check_force_underflow.
10874         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
10875         * stdlib/strtod_l.c: Include <math_private.h>.
10876         (overflow_value): Use math_narrow_eval.
10877         (underflow_value): Likewise.
10878         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10879         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
10880         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
10881         (__ieee754_gamma_r): Likewise.
10882         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
10883         Likewise.
10884         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
10885         Likewise.
10886         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
10887         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
10888         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
10889         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
10890         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
10891         (__ieee754_gammaf_r): Likewise.
10892         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10893         Likewise.
10894         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
10895         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
10896         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
10897         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
10898         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
10899         volatile.
10900         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
10901         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
10902         math_narrow_eval.
10903         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
10904         Likewise.
10905         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10906         Likewise.
10907         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
10908         Likewise.
10909         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
10910         volatile.
10911         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
10912         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
10913         math_narrow_eval.
10914         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10915         Likewise.
10916         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10917         Likewise.
10919 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
10921         * nptl/Versions: Remove ignored symbols.
10923 2015-09-22  Florian Weimer  <fweimer@redhat.com>
10925         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
10926         * nss/Makefile (tests): Update.
10928 2015-09-22  Florian Weimer  <fweimer@redhat.com>
10930         * nss/bug18287.c: New file.
10931         * nss/Makefile (tests): Add bug18287.
10933 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10935         * mach/Versions (__mach_host_self_): Add symbol.
10937 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10939         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
10940         vm_page_size.
10942 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10944         Really fix sysdeps/i386/fpu/s_scalbn.S build
10946         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
10947         (libc: GLIBC_2_22): Remove unused version set.
10949 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
10951         * config.make.in (enable-timezone-tools): New variable.
10952         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
10953         (enable_timezone_tools): Export to generated files.
10954         * configure: Regenerate.
10955         * INSTALL: Regenerate.
10956         * manual/install.texi (--disable-timezone-tools): Document new flag.
10957         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
10958         ifeq ($(enable-timezone-tools),yes) check.
10960 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
10962         * timezone/Makefile: Revert previous change.
10964         [BZ #18980]
10965         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
10966         (DEFINE_DBL_MIN): Likewise.
10967         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
10968         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
10969         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
10970         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
10971         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
10972         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10973         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10974         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
10975         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
10976         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10977         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10978         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
10979         (flt_min): Replace with use of DEFINE_FLT_MIN.
10980         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10981         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
10982         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10983         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10984         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
10985         (flt_min): Replace with use of DEFINE_FLT_MIN.
10986         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10987         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
10988         (flt_min): Replace with use of DEFINE_FLT_MIN.
10989         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10990         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
10991         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
10992         (__ieee754_hypot): Use DBL_NARROW_EVAL.
10993         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
10994         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
10995         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
10996         (__ieee754_pow): Use DBL_NARROW_EVAL.
10997         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
10998         (__ieee754_powf): Use FLT_NARROW_EVAL.
10999         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
11000         (__ieee754_expf_sse2): Convert double-precision result to single
11001         precision.
11002         * sysdeps/i386/fpu/libm-test-ulps: Update.
11004 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11006         * timezone/Makefile: Ignore unused variable errors due to private.h
11007         (time_t_min) and (time_t_max).
11008         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
11009         Likewise.
11011 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
11013         [BZ #18981]
11014         * sysdeps/i386/fpu/i386-math-asm.h: New file.
11015         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
11016         (__ieee754_scalb): Use DBL_NARROW_EVAL.
11017         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
11018         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
11019         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
11020         (__scalbn): Use DBL_NARROW_EVAL.
11021         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
11022         (__scalbnf): Use FLT_NARROW_EVAL.
11024 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11026         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
11027         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
11028         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
11029         * stdio-common/printf_fp.c (___printf_fp):
11030         Use signbit to get the sign. Use isinf macro to allow inlining.
11031         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
11032         * stdio-common/printf_size.c (__printf_size): Likewise.
11034 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
11036         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
11038 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
11040         [BZ #18980]
11041         * sysdeps/generic/math_private.h: Include <float.h>.
11042         (math_narrow_eval): New macro.
11043         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
11044         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
11045         math_narrow_eval on overflowing return value.
11046         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
11047         Likewise.
11048         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11049         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
11050         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
11051         Likewise.
11052         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
11054 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11056         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
11057         * math/Makefile: Remove isinf_ns.c.
11058         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
11059         * math/multc3.c (__multc3): Likewise.
11060         * math/s_casin.c (__casin): Likewise.
11061         * math/s_casinf.c (__casinf): Likewise.
11062         * math/s_casinl.c (__casinl): Likewise.
11063         * math/s_cproj.c (__cproj): Likewise.
11064         * math/s_cprojf.c (__cprojf): Likewise.
11065         * math/s_cprojl.c (__cprofl): Likewise.
11066         * math/s_ctan.c (__ctan): Likewise.
11067         * math/s_ctanf.c (__ctanf): Likewise.
11068         * math/s_ctanh.c (__ctanh): Likewise.
11069         * math/s_ctanhf.c (__ctanhf): Likewise.
11070         * math/s_ctanhl.c (__ctanhl): Likewise.
11071         * math/s_ctanl.c (__ctanl): Likewise.
11072         * math/w_fmod.c (__fmod): Likewise.
11073         * math/w_fmodf.c (__fmodf): Likewise.
11074         * math/w_fmodl.c (_fmodl): Likewise.
11075         * math/w_remainder.c (__remainder): Likewise.
11076         * math/w_remainderf.c (__remainderf): Likewise.
11077         * math/w_remainderl.c (__remainderl): Likewise.
11078         * math/w_scalb.c (__scalb): Likewise.
11079         * math/w_scalbf.c (__scalbf): Likewise.
11080         * math/w_scalbl.c (__scalbl): Likewise.
11081         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
11082         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
11083         with isinf.
11084         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
11085         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
11086         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
11087         __isinf_nsf with isinf.
11088         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
11089         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
11090         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
11091         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
11092         with isinf.
11093         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
11094         __isinf_nsl with isinf.
11095         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
11096         with isinf.
11097         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
11098         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
11099         __isinf_nsl with isinf.
11100         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
11101         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
11102         with isinf.
11104 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11106         * resolv/base64.c (rcsid): Remove unused static.
11107         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
11108         static.  (tqpi1): Likewise.
11109         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
11110         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
11111         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
11112         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
11113         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
11114         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
11115         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
11116         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
11117         Likewise.
11119 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
11121         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
11122         <nptl/pthreadP.h>.
11123         (_longjmp_unwind): Use __libc_ptf_call.
11124         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
11126 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
11128         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
11129         * sysdeps/arm/__longjmp.S: Likewise.
11131 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11133         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
11134         Use __builtin_signbit.
11135         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
11136         Use __builtin_signbitf.
11137         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
11138         Use __builtin_signbitl.
11139         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11140         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
11142 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11144         [BZ #15367]
11145         [BZ #17441]
11147         * math/Makefile: Build test-snan.c with -fsignaling-nans.
11148         * math/math.h (fpclassify): Use __builtin_fpclassify when
11149         available.  (signbit): Use __builtin_signbit(f/l).
11150         (isfinite): Use__builtin_isfinite.  (isnormal): Use
11151         __builtin_isnormal.  (isnan): Use __builtin_isnan.
11152         (isinf): Use __builtin_isinf_sign.
11154 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
11156         * benchtests/Makefile: Add bench-math-inlines, link with libm.
11157         * benchtests/bench-math-inlines.c: New benchmark.
11158         * benchtests/bench-util.h: New file.
11159         * benchtests/bench-util.c: New file.
11160         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
11162 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
11164         * elf/tst-dlmopen1.c: Define TEST_SO.
11165         (do_test): Use TEST_SO.
11167         * elf/dl-load.c: Include libc-internal.h.
11168         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
11170 2015-09-18  Vincent Bernat  <vincent@bernat.im>
11172         [BZ #17887]
11173         * time/strptime_l.c (__strptime_internal): Make %z accept
11174         [+-]HH:MM time zones.
11176 2015-09-18  Vincent Bernat  <vincent@bernat.im>
11178         [BZ #17886]
11179         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
11180         valid time zone.
11182 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
11184         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
11185         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
11186         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11187         (__ASSUME_FDATASYNC): Delete.
11189 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
11191         * conform/linknamespace.pl: Require weak undefined symbols to be
11192         in the standard namespace.
11193         (%strong_syms): Rename to %seen_syms.
11194         (%strong_seen): Rename to %seen_where.
11196 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
11198         [BZ #18970]
11199         * misc/error.c (error): Replace pthread_setcancelstate with
11200         __pthread_setcancelstate.
11201         (error_at_line): Likewise.
11202         * posix/wordexp.c (parse_comm): Likewise.
11203         * stdlib/fmtmsg.c (fmtmsg): Likewise.
11204         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
11205         (__pthread_setcancelstate): This.
11206         (pthread_setcancelstate): Add an alias.
11207         * nptl/nptl-init.c (pthread_functions): Replace
11208         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
11209         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
11210         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
11211         hidden_proto.
11212         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
11213         it with hidden_def.
11214         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
11215         (pthread_setcancelstate): Renamed to ...
11216         (__pthread_setcancelstate): This.
11217         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
11218         __libc_ptf_call with __pthread_setcancelstate.
11220 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
11221             Andreas Schwab  <schwab@suse.de>
11223         [BZ #17118]
11224         * math/s_ctan.c (__ctan): Determine sign of zero real part of
11225         result when imaginary part of argument is infinite using sine and
11226         cosine.
11227         * math/s_ctanf.c (__ctanf): Likewise.
11228         * math/s_ctanl.c (__ctanl): Likewise.
11229         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
11230         of result when real part of argument is infinite using sine and
11231         cosine.
11232         * math/s_ctanhf.c (__ctanhf): Likewise.
11233         * math/s_ctanhl.c (__ctanhl): Likewise.
11234         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
11235         (ctanh_test_data): Add more tests of ctanh.
11237 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
11239         [BZ #15384]
11240         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
11241         bit-mask as in subtraction.
11242         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
11243         Likewise.
11244         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
11245         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
11246         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
11248         [BZ #18951]
11249         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
11250         underflow exception for small results.
11251         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
11252         Likewise.
11253         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
11254         Likewise.
11255         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11256         Likewise.
11257         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11258         Likewise.
11259         * math/auto-libm-test-in: Add more tests of tgamma.
11260         * math/auto-libm-test-out: Regenerated.
11262 2015-09-17  Andreas Schwab  <schwab@suse.de>
11264         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
11266 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
11268         [BZ #18977]
11269         * math/bits/mathcalls.h
11270         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
11271         not declare.
11272         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
11273         Likewise.
11274         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
11275         Likewise.
11276         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
11277         Likewise.
11278         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
11279         Likewise.
11280         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
11281         Likewise.
11282         * conform/data/math.h-data
11283         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
11284         function.
11285         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
11286         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
11287         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
11288         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
11289         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
11290         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
11291         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
11292         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
11293         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
11294         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
11295         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
11297         [BZ #6803]
11298         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
11299         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
11300         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
11301         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
11302         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
11303         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
11304         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
11305         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
11306         [NO_LONG_DOUBLE] (scalbnl): Likewise.
11307         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
11308         Likewise.
11309         [NO_LONG_DOUBLE] (scalbnl): Likewise.
11310         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
11311         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
11312         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
11313         long_double_symbol calls.
11314         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
11315         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
11316         strong alias of __ldexpl.
11317         (scalbnl): Define using long_double_symbol.
11318         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
11319         Remove alias.
11320         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
11321         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
11322         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
11323         (scalbln_test_data): Add more errno expectations.
11325 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
11327         Cache the host port like we cache the task port.  This way we do not
11328         need to call the kernel just to get the port.  Furthermore, we no
11329         longer increase the reference count on every invocation of
11330         `mach_host_self'.
11332         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
11333         Protect declarations against the macro expansion.
11334         * mach/mach_init.c (__mach_host_self_): New variable.
11335         (mach_init): Initialize `__mach_host_self_'.
11336         * mach/mach_init.h (__mach_host_self_): New declaration.
11337         (__mach_host_self, mach_host_self): New macros.
11338         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
11339         Release reference.
11341 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
11343         [BZ #4404]
11344         * po/de.po: Update from Translation Project.
11346         [BZ #16415]
11347         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
11348         (__expm1l): Remove code to handle positive infinity and overflow.
11349         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
11350         variable.
11351         (__expm1l): Remove code to handle positive infinity and overflow.
11353 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
11354             Paul Pluzhnikov  <ppluzhnikov@google.com>
11356         [BZ #18872]
11357         * stdio-common/Makefile (tst-printf-bz18872): New test.
11358         (tst-printf-bz18872-mem.out): Likewise.
11359         * stdio-common/tst-printf-bz18872.sh: Generate new test.
11360         * stdio-common/vfprintf.c: Fix memory leaks.
11362 2015-09-16  Andreas Schwab  <schwab@suse.de>
11364         [BZ #17244]
11365         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
11366         Remove extra va_start/va_end calls.
11368         [BZ #17243]
11369         * posix/execl.c (execl): Add missing va_end.
11370         * posix/execle.c (execle): Likewise.
11371         * posix/execlp.c (execlp): Likewise.
11373 2015-09-15  Roland McGrath  <roland@hack.frob.com>
11375         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
11376         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
11378 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
11380         [BZ #18967]
11381         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
11382         undefine around includes of <bits/mathcalls.h>.
11383         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
11384         not declare function.
11385         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
11386         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
11387         (scalb): Likewise.
11388         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
11389         not define macro.
11390         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
11391         variable.
11392         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
11393         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11394         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11396         [BZ #18857]
11397         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
11398         return non-finite argument without doing ordered comparisons on
11399         it.
11401         [BZ #16296]
11402         * math/fenv.h (fegetround): Use __attribute_pure__.
11403         * include/fenv.h (__fegetround): Likewise.
11405         [BZ #18595]
11406         * math/s_ctan.c (__ctan): Force underflow exception for results
11407         whose real or imaginary part has small absolute value.
11408         * math/s_ctanf.c (__ctanf): Likewise.
11409         * math/s_ctanh.c (__ctanh): Likewise.
11410         * math/s_ctanhf.c (__ctanhf): Likewise.
11411         * math/s_ctanhl.c (__ctanhl): Likewise.
11412         * math/s_ctanl.c (__ctanl): Likewise.
11413         * math/auto-libm-test-in: Do not allow missing underflow for ctan
11414         and ctanh.  Add more tests of ctan and ctanh.
11416         [BZ #15918]
11417         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
11418         handling of cases where one argument is an infinity.
11420         [BZ #18875]
11421         [BZ #18966]
11422         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
11423         (MO): New macro.
11424         (__ieee754_exp10): For small results, force underflow exception
11425         and remove excess range and precision from return value.
11426         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
11427         (MO): New macro.
11428         (__ieee754_exp10f): For small results, force underflow exception
11429         and remove excess range and precision from return value.
11430         * math/auto-libm-test-in: Add more tests of exp10.
11431         * math/auto-libm-test-out: Regenerated.
11433 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
11435         [BZ #18875]
11436         [BZ #18961]
11437         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
11438         (MO): New macro.
11439         (__ieee754_exp): For small results, force underflow exception and
11440         remove excess range and precision from return value.
11441         (__exp_finite): Likewise.
11442         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
11443         (MO): New macro.
11444         (__ieee754_expf): For small results, force underflow exception and
11445         remove excess range and precision from return value.
11446         (__expf_finite): Likewise.
11447         * math/auto-libm-test-in: Add more tests of exp.
11448         * math/auto-libm-test-out: Regenerated.
11450         [BZ #16521]
11451         [BZ #18875]
11452         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
11453         small results.
11454         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
11455         (MO): New macro.
11456         (__ieee754_exp2): For small results, force underflow exception and
11457         remove excess range and precision from return value.
11458         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
11459         (MO): New macro.
11460         (__ieee754_exp2f): For small results, force underflow exception
11461         and remove excess range and precision from return value.
11462         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
11463         (MO): New macro.
11464         (__ieee754_exp2l): Force underflow exception for small results.
11465         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11466         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
11467         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
11468         (MO): New macro.
11469         (__ieee754_exp2l): Force underflow exception for small results.
11470         * math/auto-libm-test-in: Add more tests or exp2.
11471         * math/auto-libm-test-out: Regenerated.
11473 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
11475         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
11477         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
11478         /dev/null.
11480 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11482         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
11483         io fs process)): Drop spurious backslash.
11485 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
11487         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
11488         Use sysinfo system call instead of parsing /proc/meminfo.
11489         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
11490         Likewise.
11492 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
11494         [BZ #16985]
11495         * programs/localedef.c (main): Display argv[remaining] when
11496         output_path is NULL.
11498 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
11500         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11501         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
11502         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
11503         tanh.
11504         * math/auto-libm-test-out: Regenerated.
11505         * sysdeps/i386/fpu/libm-test-ulps: Update.
11506         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11507         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11510 2015-09-11  Roland McGrath  <roland@hack.frob.com>
11512         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
11513         Use 'override' keyword to freeze the value here, preventing
11514         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
11516 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
11518         [BZ #14912]
11519         * sysdeps/aarch64/bits/atomic.h: Move to ...
11520         * sysdeps/aarch64/atomic-machine.h: ...here.
11521         (_AARCH64_BITS_ATOMIC_H): Rename macro to
11522         _AARCH64_ATOMIC_MACHINE_H.
11523         * sysdeps/alpha/bits/atomic.h: Move to ...
11524         * sysdeps/alpha/atomic-machine.h: ...here.
11525         * sysdeps/arm/bits/atomic.h: Move to ...
11526         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
11527         * bits/atomic.h: Move to ...
11528         * sysdeps/generic/atomic-machine.h: ...here.
11529         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11530         * sysdeps/i386/bits/atomic.h: Move to ...
11531         * sysdeps/i386/atomic-machine.h: ...here.
11532         * sysdeps/ia64/bits/atomic.h: Move to ...
11533         * sysdeps/ia64/atomic-machine.h: ...here.
11534         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
11535         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
11536         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11537         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
11538         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
11539         * sysdeps/microblaze/bits/atomic.h: Move to ...
11540         * sysdeps/microblaze/atomic-machine.h: ...here.
11541         * sysdeps/mips/bits/atomic.h: Move to ...
11542         * sysdeps/mips/atomic-machine.h: ...here.
11543         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
11544         * sysdeps/powerpc/bits/atomic.h: Move to ...
11545         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
11546         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
11547         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
11548         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
11549         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
11550         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
11551         <atomic-machine.h> instead of <bits/atomic.h>.
11552         * sysdeps/s390/bits/atomic.h: Move to ...
11553         * sysdeps/s390/atomic-machine.h: ...here.
11554         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
11555         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
11556         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11557         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
11558         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
11559         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
11560         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
11561         * sysdeps/tile/bits/atomic.h: Move to ...
11562         * sysdeps/tile/atomic-machine.h: ...here.
11563         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
11564         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
11565         <sysdeps/tile/atomic-machine.h> instead of
11566         <sysdeps/tile/bits/atomic.h>.
11567         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11568         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
11569         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
11570         <sysdeps/tile/atomic-machine.h> instead of
11571         <sysdeps/tile/bits/atomic.h>.
11572         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11573         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
11574         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
11575         <sysdeps/arm/atomic-machine.h> instead of
11576         <sysdeps/arm/bits/atomic.h>.
11577         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
11578         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
11579         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11580         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
11581         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
11582         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
11583         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
11584         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
11585         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
11586         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
11587         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
11588         * sysdeps/x86_64/bits/atomic.h: Move to ...
11589         * sysdeps/x86_64/atomic-machine.h: ...here.
11590         * include/atomic.h: Include <atomic-machine.h> instead of
11591         <bits/atomic.h>.
11593         * sysdeps/mips/mips32/libm-test-ulps: Update.
11594         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11596         [BZ #18952]
11597         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
11598         not convert non-integer negative arguments to int to determine the
11599         value of signgam.
11600         * math/auto-libm-test-in: Add more tests of lgamma.
11601         * math/auto-libm-test-out: Regenerated.
11603         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
11604         cosh, csqrt, erfc, expm1 and lgamma.
11605         * math/auto-libm-test-out: Regenerated.
11606         * sysdeps/i386/fpu/libm-test-ulps: Update.
11607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11609 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
11611         [BZ #2542]
11612         [BZ #2543]
11613         [BZ #2558]
11614         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
11615         __lgamma_neg for arguments from -28.0 to -2.0.
11616         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
11617         __lgamma_negf for arguments from -15.0 to -2.0.
11618         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11619         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
11620         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
11621         Call __lgamma_negl for arguments from -33.0 to -2.0.
11622         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
11623         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
11624         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
11625         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
11626         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
11627         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
11628         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
11629         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
11630         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
11631         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
11632         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
11633         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
11634         (__lgamma_neg): Likewise.
11635         (__lgamma_negl): Likewise.
11636         (__lgamma_product): Likewise.
11637         (__lgamma_productl): Likewise.
11638         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
11639         * math/auto-libm-test-in: Add more tests of lgamma.
11640         * math/auto-libm-test-out: Regenerated.
11641         * sysdeps/i386/fpu/libm-test-ulps: Update.
11642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11644 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
11646         [BZ #18675]
11647         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
11649 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
11651         [BZ #14912]
11652         * bits/libc-lock.h: Move to ...
11653         * sysdeps/generic/libc-lock.h: ...here.
11654         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
11655         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
11656         * sysdeps/mach/hurd/libc-lock.h: ...here.
11657         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
11658         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
11659         * sysdeps/mach/bits/libc-lock.h: Move to ...
11660         * sysdeps/mach/libc-lock.h: ...here.
11661         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
11662         * sysdeps/nptl/bits/libc-lock.h: Move to ...
11663         * sysdeps/nptl/libc-lock.h: ...here.
11664         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
11665         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
11666         * sysdeps/nptl/libc-lockP.h: ...here.
11667         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
11668         * crypt/crypt_util.c: Include <libc-lock.h> instead of
11669         <bits/libc-lock.h>.
11670         * dirent/scandir-tail.c: Likewise.
11671         * dlfcn/dlerror.c: Likewise.
11672         * elf/dl-close.c: Likewise.
11673         * elf/dl-iteratephdr.c: Likewise.
11674         * elf/dl-lookup.c: Likewise.
11675         * elf/dl-open.c: Likewise.
11676         * elf/dl-support.c: Likewise.
11677         * elf/dl-writev.h: Likewise.
11678         * elf/rtld.c: Likewise.
11679         * grp/fgetgrent.c: Likewise.
11680         * gshadow/fgetsgent.c: Likewise.
11681         * gshadow/sgetsgent.c: Likewise.
11682         * iconv/gconv_conf.c: Likewise.
11683         * iconv/gconv_db.c: Likewise.
11684         * iconv/gconv_dl.c: Likewise.
11685         * iconv/gconv_int.h: Likewise.
11686         * iconv/gconv_trans.c: Likewise.
11687         * include/link.h: Likewise.
11688         * inet/getnameinfo.c: Likewise.
11689         * inet/getnetgrent.c: Likewise.
11690         * inet/getnetgrent_r.c: Likewise.
11691         * intl/bindtextdom.c: Likewise.
11692         * intl/dcigettext.c: Likewise.
11693         * intl/finddomain.c: Likewise.
11694         * intl/gettextP.h: Likewise.
11695         * intl/loadmsgcat.c: Likewise.
11696         * intl/localealias.c: Likewise.
11697         * intl/textdomain.c: Likewise.
11698         * libidn/idn-stub.c: Likewise.
11699         * libio/libioP.h: Likewise.
11700         * locale/duplocale.c: Likewise.
11701         * locale/freelocale.c: Likewise.
11702         * locale/newlocale.c: Likewise.
11703         * locale/setlocale.c: Likewise.
11704         * login/getutent_r.c: Likewise.
11705         * login/getutid_r.c: Likewise.
11706         * login/getutline_r.c: Likewise.
11707         * login/utmp-private.h: Likewise.
11708         * login/utmpname.c: Likewise.
11709         * malloc/mtrace.c: Likewise.
11710         * misc/efgcvt.c: Likewise.
11711         * misc/error.c: Likewise.
11712         * misc/fstab.c: Likewise.
11713         * misc/getpass.c: Likewise.
11714         * misc/mntent.c: Likewise.
11715         * misc/syslog.c: Likewise.
11716         * nis/nis_call.c: Likewise.
11717         * nis/nis_callback.c: Likewise.
11718         * nis/nss-default.c: Likewise.
11719         * nis/nss_compat/compat-grp.c: Likewise.
11720         * nis/nss_compat/compat-initgroups.c: Likewise.
11721         * nis/nss_compat/compat-pwd.c: Likewise.
11722         * nis/nss_compat/compat-spwd.c: Likewise.
11723         * nis/nss_nis/nis-alias.c: Likewise.
11724         * nis/nss_nis/nis-ethers.c: Likewise.
11725         * nis/nss_nis/nis-grp.c: Likewise.
11726         * nis/nss_nis/nis-hosts.c: Likewise.
11727         * nis/nss_nis/nis-network.c: Likewise.
11728         * nis/nss_nis/nis-proto.c: Likewise.
11729         * nis/nss_nis/nis-pwd.c: Likewise.
11730         * nis/nss_nis/nis-rpc.c: Likewise.
11731         * nis/nss_nis/nis-service.c: Likewise.
11732         * nis/nss_nis/nis-spwd.c: Likewise.
11733         * nis/nss_nisplus/nisplus-alias.c: Likewise.
11734         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
11735         * nis/nss_nisplus/nisplus-grp.c: Likewise.
11736         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
11737         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
11738         * nis/nss_nisplus/nisplus-network.c: Likewise.
11739         * nis/nss_nisplus/nisplus-proto.c: Likewise.
11740         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
11741         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
11742         * nis/nss_nisplus/nisplus-service.c: Likewise.
11743         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
11744         * nis/ypclnt.c: Likewise.
11745         * nptl/libc_pthread_init.c: Likewise.
11746         * nss/getXXbyYY.c: Likewise.
11747         * nss/getXXent.c: Likewise.
11748         * nss/getXXent_r.c: Likewise.
11749         * nss/nss_db/db-XXX.c: Likewise.
11750         * nss/nss_db/db-netgrp.c: Likewise.
11751         * nss/nss_db/nss_db.h: Likewise.
11752         * nss/nss_files/files-XXX.c: Likewise.
11753         * nss/nss_files/files-alias.c: Likewise.
11754         * nss/nsswitch.c: Likewise.
11755         * posix/regex_internal.h: Likewise.
11756         * posix/wordexp.c: Likewise.
11757         * pwd/fgetpwent.c: Likewise.
11758         * resolv/res_hconf.c: Likewise.
11759         * resolv/res_libc.c: Likewise.
11760         * shadow/fgetspent.c: Likewise.
11761         * shadow/lckpwdf.c: Likewise.
11762         * shadow/sgetspent.c: Likewise.
11763         * socket/opensock.c: Likewise.
11764         * stdio-common/reg-modifier.c: Likewise.
11765         * stdio-common/reg-printf.c: Likewise.
11766         * stdio-common/reg-type.c: Likewise.
11767         * stdio-common/vfprintf.c: Likewise.
11768         * stdio-common/vfscanf.c: Likewise.
11769         * stdlib/abort.c: Likewise.
11770         * stdlib/cxa_atexit.c: Likewise.
11771         * stdlib/fmtmsg.c: Likewise.
11772         * stdlib/random.c: Likewise.
11773         * stdlib/setenv.c: Likewise.
11774         * string/strsignal.c: Likewise.
11775         * sunrpc/auth_none.c: Likewise.
11776         * sunrpc/bindrsvprt.c: Likewise.
11777         * sunrpc/create_xid.c: Likewise.
11778         * sunrpc/key_call.c: Likewise.
11779         * sunrpc/rpc_thread.c: Likewise.
11780         * sysdeps/arm/backtrace.c: Likewise.
11781         * sysdeps/generic/ldsodefs.h: Likewise.
11782         * sysdeps/generic/stdio-lock.h: Likewise.
11783         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
11784         * sysdeps/i386/backtrace.c: Likewise.
11785         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
11786         * sysdeps/m68k/backtrace.c: Likewise.
11787         * sysdeps/mach/hurd/cthreads.c: Likewise.
11788         * sysdeps/mach/hurd/dirstream.h: Likewise.
11789         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
11790         * sysdeps/nptl/malloc-machine.h: Likewise.
11791         * sysdeps/nptl/stdio-lock.h: Likewise.
11792         * sysdeps/posix/dirstream.h: Likewise.
11793         * sysdeps/posix/getaddrinfo.c: Likewise.
11794         * sysdeps/posix/system.c: Likewise.
11795         * sysdeps/pthread/aio_suspend.c: Likewise.
11796         * sysdeps/s390/s390-32/backtrace.c: Likewise.
11797         * sysdeps/s390/s390-64/backtrace.c: Likewise.
11798         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11799         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
11800         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
11801         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
11802         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
11803         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
11804         * sysdeps/unix/sysv/linux/system.c: Likewise.
11805         * sysdeps/x86_64/backtrace.c: Likewise.
11806         * time/alt_digit.c: Likewise.
11807         * time/era.c: Likewise.
11808         * time/tzset.c: Likewise.
11809         * wcsmbs/wcsmbsload.c: Likewise.
11810         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
11811         instead of <bits/libc-lock.h> in comment.
11813 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
11815         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
11816         Only use .set mips2 if the current ISA is below mips2.
11817         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
11818         Likewise.
11819         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
11820         mips32r2 if the current ISA is below mips32r2.
11821         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
11822         (TLS_IE): Updated to use the TLD_RDHWR macro.
11823         (TLS_LE): Likewise.
11824         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
11825         __ASSEMBLER__ condition.
11827 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11829         Fix parallel build of before-compile targets.
11831         * sysdeps/mach/Makefile ($(patsubst
11832         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
11833         mach-before-compile target.
11834         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
11835         io fs process)): Move rule to dedicated hurd-before-compile target.
11837 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11839         Fix rules generating headers in hurd/ and mach/ when initial make call
11840         has subdir= explicitly set.
11842         * sysdeps/mach/Makefile ($(patsubst
11843         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
11844         calling $(MAKE).
11845         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
11846         io fs process)): Force subdir to hurd when calling $(MAKE).
11847         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
11848         subdir to mach when calling $(MAKE).
11850 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
11852         Check sysheaders when looking for Mach and Hurd headers
11854         * sysdeps/mach/configure.ac: Add sysheaders check.
11855         * sysdeps/mach/configure: Regenerate.
11856         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
11857         * sysdeps/mach/hurd/configure: Regenerate.
11859 2015-09-04  Roland McGrath  <roland@hack.frob.com>
11861         [BZ #18921]
11862         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
11863         Fix inverted sense of test of 'o_directory_works' value.
11864         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
11865         Bernhard Voelker <mail@bernhard-voelker.de>.
11867 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
11869         [BZ #14912]
11870         * bits/linkmap.h: Move to ...
11871         * sysdeps/generic/linkmap.h: ...here.
11872         * sysdeps/aarch64/bits/linkmap.h: Move to ...
11873         * sysdeps/aarch64/linkmap.h: ...here.
11874         * sysdeps/arm/bits/linkmap.h: Move to ...
11875         * sysdeps/arm/linkmap.h: ...here.
11876         * sysdeps/hppa/bits/linkmap.h: Move to ...
11877         * sysdeps/hppa/linkmap.h: ...here.
11878         * sysdeps/ia64/bits/linkmap.h: Move to ...
11879         * sysdeps/ia64/linkmap.h: ...here.
11880         * sysdeps/mips/bits/linkmap.h: Move to ...
11881         * sysdeps/mips/linkmap.h: ...here.
11882         * sysdeps/s390/bits/linkmap.h: Move to ...
11883         * sysdeps/s390/linkmap.h: ...here.
11884         * sysdeps/sh/bits/linkmap.h: Move to ...
11885         * sysdeps/sh/linkmap.h: ...here.
11886         * sysdeps/x86/bits/linkmap.h: Move to ...
11887         * sysdeps/x86/linkmap.h: ...here.
11888         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
11890 2015-09-04  Andreas Schwab  <schwab@suse.de>
11892         [BZ #18635]
11893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
11894         (__makecontext): Terminate FDE before return label.
11895         (__novec_makecontext): Likewise.
11897 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11899         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
11900         first member of struct sv in syscall macro.
11902 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
11904         [BZ #14912]
11905         * bits/stdio-lock.h: Move to ...
11906         * sysdeps/generic/stdio-lock.h: ...here.
11907         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
11908         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
11909         * sysdeps/nptl/stdio-lock.h: ...here.
11910         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
11911         * include/libio.h: Include <stdio-lock.h> instead of
11912         <bits/stdio-lock.h>.
11913         * sysdeps/nptl/fork.c: Likewise.
11914         * sysdeps/pthread/flockfile.c: Likewise.
11915         * sysdeps/pthread/ftrylockfile.c: Likewise.
11916         * sysdeps/pthread/funlockfile.c: Likewise.
11918         [BZ #14912]
11919         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
11920         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
11921         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
11922         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
11923         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
11924         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
11925         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
11927 2015-09-03  Roland McGrath  <roland@hack.frob.com>
11929         * elf/Makefile (test-xfail-tst-protected1a): New variable.
11930         (test-xfail-tst-protected1b): New variable.
11932 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
11934         [BZ #14912]
11935         * bits/libc-tsd.h: Move to ...
11936         * sysdeps/generic/libc-tsd.h: ...here.
11937         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
11938         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
11939         * sysdeps/mach/hurd/libc-tsd.h: ...here.
11940         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
11941         * include/ctype.h: Include <libc-tsd.h> instead of
11942         <bits/libc-tsd.h>.
11943         * include/rpc/rpc.h: Likewise.
11944         * locale/localeinfo.h: Likewise.
11945         * sunrpc/rpc_thread.c: Likewise.
11946         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
11947         * sysdeps/nptl/malloc-machine.h: Likewise.
11949         * Makefile (headers): Remove bits/libc-lock.h.
11950         * libio/Makefile (headers): Remove bits/stdio-lock.h.
11952         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
11953         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
11954         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
11955         <bits/stdio-lock.h>.
11956         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
11957         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
11959 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
11961         [BZ #18757]
11962         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
11963         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
11964         BZ #18757.
11966 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
11968         * malloc/mtrace.pl: Filter out NULL entries.
11970 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
11972         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
11973         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
11974         macro.
11976         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
11977         (TCP_CC_INFO): Likewise.
11978         (TCP_SAVE_SYN): Likewise.
11979         (TCP_SAVED_SYN): Likewise.
11981 2015-08-31  Brett Neumeier <brett@neumeier.us>
11983         [BZ #18870]
11984         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
11986 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
11988         [BZ #18873]
11989         Fix broken overflow check in posix_fallocate
11990         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
11991         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
11992         Fix parenthesization typo.
11994 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
11996         [BZ #18887]
11997         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
11998         tst-mntent-blank-passno.
11999         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
12000         * misc/tst-mntent-blank-corrupt.c: New test.
12001         * misc/tst-mntent-blank-passno.c: New test ripped from ...
12002         * misc/tst-mntent.c (do_test): ... here.
12004 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
12006         [BZ #4404]
12007         * po/de.po: Fix SIGALRM typo.
12009 2015-08-28  James Perkins  <james@loowit.net>
12011         * time/tst-strptime2.c (tests): Replace short list of test
12012         strings for strptime %z specifier with code which exhaustively
12013         tests every combination of sign and 0 to 5 digits. Tests for
12014         rejection of invalid strings.
12016 2015-08-28  James Perkins  <james@loowit.net>
12018         [BZ #16141]
12019         * time/strptime_l.c (__strptime_internal): Fix %z minutes
12020         calculation, removing incorrect decimal time rounding, so that
12021         all minute values result in a valid seconds value.
12022         * time/strptime_l.c (__strptime_internal): Extend %z time zone
12023         offset range limits to UTC-99:59 through UTC+99:59 to parse
12024         current and historical use cases.
12025         * time/tst-strptime2.c (tests): Modify and add tests for the
12026         strptime %z input field descriptor, specifically conversion of
12027         minutes to seconds and validating an offset range of -9959 to
12028         +9959.
12030 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12031             Dmitry V. Levin  <ldv@altlinux.org>
12033         [BZ #18877]
12034         * posix/Makefile (tests): Add tst-mmap-offset.
12035         * posix/tst-mmap.c: New file.
12036         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
12037         offset calculation for negative values.
12039 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12041         * sysdeps/i386/init-arch.h: New file.
12042         * sysdeps/i386/i586/init-arch.h: Likewise.
12043         * sysdeps/i386/i686/init-arch.h: Likewise.
12044         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
12045         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
12046         * sysdeps/x86/cpu-features.h (bit_I586): New.
12047         (bit_I686): Likewise.
12048         (bit_CX8): Likewise.
12049         (bit_CMOV): Likewise.
12050         (index_CX8): Likewise.
12051         (index_CMOV): Likewise.
12052         (index_I586): Likewise.
12053         (index_I686): Likewise.
12054         (reg_CX8): Likewise.
12055         (reg_CMOV): Likewise.
12056         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
12057         available at compile-time.
12058         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
12059         available at compile-time.
12060         * sysdeps/x86/init-arch.h (USE_I586): New macro.
12061         (USE_I686): Likewise.
12063 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12065         * sysdeps/i386/bcopy.S: New file.
12066         * sysdeps/i386/bzero.S: Likewise.
12067         * sysdeps/i386/memcpy.S: Likewise.
12068         * sysdeps/i386/memmove.S: Likewise.
12069         * sysdeps/i386/mempcpy.S: Likewise.
12070         * sysdeps/i386/memset.S: Likewise.
12071         * sysdeps/i386/bzero.c: Removed.
12072         * sysdeps/i386/memset.c: Likewise.
12073         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
12074         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
12075         * sysdeps/i386/i586/memset_chk.S: Likewise.
12076         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
12077         * sysdeps/i386/memcpy_chk.S: Here.
12078         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
12079         * sysdeps/i386/memmove_chk.S: Here.
12080         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
12081         * sysdeps/i386/mempcpy_chk.S: Likewise.
12082         * sysdeps/i386/i686/memset_chk.S: Moved to ...
12083         * sysdeps/i386/memset_chk.S: Likewise.
12085 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
12087         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
12088         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
12089         file, move DIAG_POP_NEEDS_COMMENT to end of file.
12090         * soft-fp/fmadf4.c: Ditto.
12091         * soft-fp/fmatf4.c: Ditto.
12093 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12095         * sysdeps/i386/i586/Implies: Removed.
12096         * sysdeps/i386/i686/Implies: Likewise.
12098 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12100         * sysdeps/i386/i486/strlen.S: Moved to ...
12101         * sysdeps/i386/strlen.S: Here.
12103 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12105         * sysdeps/i386/i486/strcat.S: Moved to ...
12106         * sysdeps/i386/strcat.S: Here.
12108 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12110         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
12111         * sysdeps/i386/pthread_spin_trylock.S: Here.
12112         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
12113         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
12115 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12117         * sysdeps/i386/i486/string-inlines.c: Moved to ...
12118         * sysdeps/i386/string-inlines.c: Here.
12120 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12122         * sysdeps/i386/i486/htonl.S: Moved ...
12123         * sysdeps/i386/htonl.S: here.
12125 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12127         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
12128         * sysdeps/i386/bits/atomic.h: Here.
12130 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
12132         * sysdeps/i386/i486/Versions: Removed.
12134 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
12136         [BZ #2898]
12137         * misc/mktemp.c: Add mkdtemp to the link_warning message.
12138         Based on patch by Aurelien Jarno.
12140 2015-08-26  Stan Shebs  <stanshebs@google.com>
12142         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
12143         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
12145 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12147         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
12148         * sysdeps/powerpc/dl-procinfo.c:
12149         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
12150         feature so it shows when LD_SHOW_AUXV=1.
12152 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12154         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
12155         (__arch_compare_and_exchange_val_32_acq): Remove and use common
12156         definition.  ISA 2.07B no longer requires full sync.
12158 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
12160         [BZ #18863]
12161         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
12162         (si_call_addr): Define.
12163         (si_syscall): Define.
12164         (si_arch): Define.
12166 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
12168         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
12169         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
12170         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
12171         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
12172         (__memset_zero_constant_len_parameter): New.
12173         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
12174         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
12175         (__memset_zero_constant_len_parameter): Don't define if
12176         __memset_chk or USE_AS_BZERO are defined.
12178         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
12179         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
12180         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
12182         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
12183         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
12184         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
12185         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
12186         comments.
12187         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
12188         -mno-mmx for $(all-rtld-routines).
12189         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
12190         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
12191         i386.
12193 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
12195         * sysdeps/generic/unwind.h
12196         (_Unwind_Word): Use __mode__(__unwind_word__)
12197         instead of __mode__(__word__).
12198         (_Unwind_Sword): Likewise.
12200         * sysdeps/s390/s390-64/utf8-utf16-z9.c
12201         (MAX_NEEDED_INPUT): New define.
12202         (MAX_NEEDED_OUTPUT): New define.
12204         * NEWS: New item for IBM z13 string optimizations.
12206         * sysdeps/s390/multiarch/memrchr-c.c: New File.
12207         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
12208         * sysdeps/s390/multiarch/memrchr.c: Likewise.
12209         * sysdeps/s390/multiarch/Makefile
12210         (sysdep_routines): Add memrchr functions.
12211         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12212         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
12214         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
12215         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
12216         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
12217         * sysdeps/s390/multiarch/Makefile
12218         (sysdep_routines): Add wmemcmp functions.
12219         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12220         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
12221         * benchtests/bench-wmemcmp.c: New File.
12222         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
12224         * sysdeps/s390/multiarch/wmemset-c.c: New File.
12225         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
12226         * sysdeps/s390/multiarch/wmemset.c: Likewise.
12227         * sysdeps/s390/multiarch/Makefile
12228         (sysdep_routines): Add wmemset functions.
12229         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12230         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
12231         * wcsmbs/wmemset.c: Use WMEMSET if defined.
12232         * string/test-memset.c: Add wmemset support.
12233         * wcsmbs/test-wmemset.c: New File.
12234         * wcsmbs/Makefile (strop-tests): Add wmemset.
12235         * benchtests/bench-memset.c: Add wmemset support.
12236         * benchtests/bench-wmemset.c: New File.
12237         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
12239         * sysdeps/s390/multiarch/memccpy-c.c: New File.
12240         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
12241         * sysdeps/s390/multiarch/memccpy.c: Likewise.
12242         * sysdeps/s390/multiarch/Makefile
12243         (sysdep_routines): Add memccpy functions.
12244         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12245         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
12246         * string/memccpy.c: Use MEMCCPY if defined.
12248         * sysdeps/s390/multiarch/memchr-vx.S: New File.
12249         * sysdeps/s390/multiarch/memchr.c: Likewise.
12250         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
12251         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
12252         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
12253         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
12254         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
12255         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
12256         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
12257         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
12258         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
12259         and rawmemchr functions.
12260         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
12261         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
12262         and wmemchr.
12263         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
12264         * string/test-memchr.c: Add wmemchr support.
12265         * wcsmbs/test-wmemchr.c: New File.
12266         * wcsmbs/Makefile (strop-tests): Add wmemchr.
12267         * benchtests/bench-memchr.c: Add wmemchr support.
12268         * benchtests/bench-wmemchr.c: New File.
12269         * benchtests/Makefile (wcsmbs-bench): wmemchr.
12271         * sysdeps/s390/multiarch/strcspn-c.c: New File.
12272         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
12273         * sysdeps/s390/multiarch/strcspn.c: Likewise.
12274         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
12275         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
12276         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
12277         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
12278         wcscspn functions.
12279         * sysdeps/s390/multiarch/ifunc-impl-list.c
12280         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
12281         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
12282         * string/test-strcspn.c: Add wcscspn support.
12283         * wcsmbs/test-wcscspn.c: New File.
12284         * wcsmbs/Makefile (strop-tests): Add wcscspn.
12285         * benchtests/bench-strcspn.c: Add wcscspn support.
12286         * benchtests/bench-wcscspn.c: New File.
12287         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
12289         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
12290         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
12291         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
12292         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
12293         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
12294         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
12295         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
12296         wcspbrk functions.
12297         * sysdeps/s390/multiarch/ifunc-impl-list.c
12298         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
12299         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
12300         * string/test-strpbrk.c: Add wcspbrk support.
12301         * wcsmbs/test-wcspbrk.c: New File.
12302         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
12303         * benchtests/bench-strpbrk.c: Add wcspbrk support.
12304         * benchtests/bench-wcspbrk.c: New File.
12305         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
12307         * sysdeps/s390/multiarch/strspn-c.c: New File.
12308         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
12309         * sysdeps/s390/multiarch/strspn.c: Likewise.
12310         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
12311         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
12312         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
12313         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
12314         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
12315         wcsspn functions.
12316         * sysdeps/s390/multiarch/ifunc-impl-list.c
12317         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
12318         * string/test-strspn.c: Add wcsspn support.
12319         * wcsmbs/test-wcsspn.c: New File.
12320         * wcsmbs/Makefile (strop-tests): Add wcsspn.
12321         * benchtests/bench-strspn.c: Add wcsspn support.
12322         * benchtests/bench-wcsspn.c: New File.
12323         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
12325         * sysdeps/s390/multiarch/strrchr-c.c: New File.
12326         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
12327         * sysdeps/s390/multiarch/strrchr.c: Likewise.
12328         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
12329         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
12330         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
12331         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
12332         wcsrchr functions.
12333         * sysdeps/s390/multiarch/ifunc-impl-list.c
12334         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
12335         * benchtests/bench-wcsrchr.c: New File.
12336         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
12338         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
12339         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
12340         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
12341         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
12342         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
12343         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
12344         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
12345         wcschrnul functions.
12346         * sysdeps/s390/multiarch/ifunc-impl-list.c
12347         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
12348         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
12349         * string/test-strchr.c: Add wcschrnul support.
12350         * wcsmbs/test-wcschrnul.c: New File.
12351         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
12352         * benchtests/bench-strchr.c: Add wcschrnul support.
12353         * benchtests/bench-wcschrnul.c: New File.
12354         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
12356         * sysdeps/s390/multiarch/strchr-c.c: New File.
12357         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
12358         * sysdeps/s390/multiarch/strchr.c: Likewise.
12359         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
12360         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
12361         * sysdeps/s390/multiarch/wcschr.c: Likewise.
12362         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
12363         wcschr functions.
12364         * sysdeps/s390/multiarch/ifunc-impl-list.c
12365         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
12366         * string/strchr.c (STRCHR): Define and use macro.
12367         * benchtests/bench-wcschr.c: New File.
12368         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
12370         * sysdeps/s390/multiarch/strncmp-c.c: New File.
12371         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
12372         * sysdeps/s390/multiarch/strncmp.c: Likewise.
12373         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
12374         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
12375         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
12376         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
12377         wcsncmp functions.
12378         * sysdeps/s390/multiarch/ifunc-impl-list.c
12379         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
12380         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
12381         * benchtests/bench-strncmp.c: Add wcsncmp support.
12382         * benchtests/bench-wcsncmp.c: New File.
12383         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
12385         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
12386         * sysdeps/s390/multiarch/strcmp.c: Likewise.
12387         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
12388         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
12389         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
12390         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
12391         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
12392         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
12393         wcscmp functions.
12394         * sysdeps/s390/multiarch/ifunc-impl-list.c
12395         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
12396         * string/strcmp.c (STRCMP): Define and use macro.
12397         * benchtests/bench-wcscmp.c: New File.
12398         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
12399         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
12400         instead of _HAVE_STRING_ARCH_memchr.
12402         * sysdeps/s390/multiarch/strncat-c.c: New File.
12403         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
12404         * sysdeps/s390/multiarch/strncat.c: Likewise.
12405         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
12406         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
12407         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
12408         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
12409         wcsncat functions.
12410         * sysdeps/s390/multiarch/ifunc-impl-list.c
12411         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
12412         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
12413         * string/test-strncat.c: Add wcsncat support.
12414         * wcsmbs/test-wcsncat.c: New File.
12415         * wcsmbs/Makefile (strop-tests): Add wcsncat.
12416         * benchtests/bench-strncat.c: Add wcsncat support.
12417         * benchtests/bench-wcsncat.c: New File.
12418         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
12420         * sysdeps/s390/multiarch/strcat-c.c: New File.
12421         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
12422         * sysdeps/s390/multiarch/strcat.c: Likewise.
12423         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
12424         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
12425         * sysdeps/s390/multiarch/wcscat.c: Likewise.
12426         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
12427         wcscat functions.
12428         * sysdeps/s390/multiarch/ifunc-impl-list.c
12429         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
12430         * string/strcat.c (STRCAT): Define and use macro.
12431         * wcsmbs/wcscat.c: Use WCSCAT if defined.
12432         * string/test-strcat.c: Add wcscat support.
12433         * wcsmbs/test-wcscat.c: New File.
12434         * wcsmbs/Makefile (strop-tests): Add wcscat.
12435         * benchtests/bench-strcat.c: Add wcscat support.
12436         * benchtests/bench-wcscat.c: New File.
12437         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
12439         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
12440         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
12441         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
12442         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
12443         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
12444         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
12445         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
12446         wcpncpy functions.
12447         * sysdeps/s390/multiarch/ifunc-impl-list.c
12448         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
12449         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
12450         * string/test-stpncpy.c: Add wcpncpy support.
12451         * wcsmbs/test-wcpncpy.c: New File.
12452         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
12453         * benchtests/bench-stpncpy.c: Add wcpncpy support.
12454         * benchtests/bench-wcpncpy.c: New File.
12455         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
12457         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
12458         * sysdeps/s390/multiarch/strncpy.c: Likewise.
12459         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
12460         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
12461         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
12462         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
12463         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
12464         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
12465         wcsncpy functions.
12466         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
12467         * sysdeps/s390/multiarch/ifunc-impl-list.c
12468         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
12469         * string/test-strncpy.c: Add wcsncpy support.
12470         * wcsmbs/test-wcsncpy.c: New File.
12471         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
12472         * benchtests/bench-strncpy.c: Add wcsncpy support.
12473         * benchtests/bench-wcsncpy.c: New File.
12474         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
12476         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
12477         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
12478         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
12479         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
12480         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
12481         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
12482         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
12483         wcpcpy functions.
12484         * string/stpcpy.c: Use STPCPY if defined.
12485         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
12486         * sysdeps/s390/multiarch/ifunc-impl-list.c
12487         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
12488         * string/test-stpcpy.c: Add wcpcpy support.
12489         * wcsmbs/test-wcpcpy.c: New File.
12490         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
12491         * benchtests/bench-stpcpy.c: Add wcpcpy support.
12492         * benchtests/bench-wcpcpy.c: New File.
12493         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
12495         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
12496         * sysdeps/s390/multiarch/strcpy.c: Likewise.
12497         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
12498         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
12499         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
12500         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
12501         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
12502         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
12503         wcscpy functions.
12504         * sysdeps/s390/multiarch/ifunc-impl-list.c
12505         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
12506         * benchtests/bench-wcscpy.c: New File.
12507         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
12509         * sysdeps/s390/multiarch/strnlen-c.c: New File.
12510         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
12511         * sysdeps/s390/multiarch/strnlen.c: Likewise.
12512         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
12513         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
12514         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
12515         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
12516         wcsnlen functions.
12517         * sysdeps/s390/multiarch/ifunc-impl-list.c
12518         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
12519         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
12520         * string/test-strnlen.c: Add wcsnlen support.
12521         * wcsmbs/test-wcsnlen.c: New File.
12522         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
12523         * benchtests/bench-strnlen.c: Add wcsnlen support.
12524         * benchtests/bench-wcsnlen.c: New File.
12525         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
12527         * sysdeps/s390/multiarch/Makefile: New File.
12528         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
12529         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
12530         * sysdeps/s390/multiarch/strlen.c: Likewise.
12531         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
12532         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
12533         * sysdeps/s390/multiarch/wcslen.c: Likewise.
12534         * string/strlen.c (STRLEN): Define and use macro.
12535         * sysdeps/s390/multiarch/ifunc-impl-list.c
12536         (IFUNC_VX_IMPL): New macro function.
12537         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
12538         * benchtests/Makefile (wcsmbs-bench): New variable.
12539         (string-bench-all): Added wcsmbs-bench.
12540         * benchtests/bench-wcslen.c: New File.
12542         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
12543         s390_vx_libc_ifunc2): New macro function.
12545         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
12546         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
12547         assembler support.
12548         * sysdeps/s390/configure: Regenerated.
12550         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
12551         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
12553         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
12554         * sysdeps/s390/dl-procinfo.h: Add vector capability.
12555         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
12557         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
12558         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
12559         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
12560         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
12561         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
12562         (memcmp, bcmp): Use __memcmp_default as alias source.
12563         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
12564         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
12565         Rename to __memcmp_default.
12566         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
12567         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
12568         (memcpy): Use __memcpy_default as alias source.
12569         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
12570         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
12571         Rename to __memcpy_default.
12572         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
12573         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
12574         (memset): Use __memset_default as alias source.
12575         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
12576         * sysdeps/s390/s390-32/memset.S (__memset_g5):
12577         Rename to __memset_default.
12578         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
12579         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
12580         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
12581         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
12582         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
12583         (memcmp, bcmp): Use __memcmp_default as alias source.
12584         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
12585         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
12586         Rename to __memcmp_default.
12587         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
12588         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
12589         (memcpy): Use __memcpy_default as alias source.
12590         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
12591         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
12592         Rename to __memcpy_default.
12593         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
12594         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
12595         (memset): Use __memset_default as alias source.
12596         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
12597         * sysdeps/s390/s390-64/memset.S (__memset_z900):
12598         Rename to __memset_default.
12599         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
12600         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
12602         [BZ #18610]
12603         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
12604         __ieee_instruction_pointer to __unused.
12605         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
12606         __ieee_instruction_pointer.
12607         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
12608         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
12609         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12610         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12611         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
12612         Mark dxc-field as reserved.
12614 2015-08-25  Roland McGrath  <roland@hack.frob.com>
12616         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
12617         if the weak reference is not null.
12619 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
12621         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
12623         [BZ #11214]
12624         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
12626 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12628         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
12629         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
12630         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
12631         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
12632         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
12633         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
12634         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
12635         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
12636         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
12637         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
12638         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
12639         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
12640         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
12641         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
12642         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
12643         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
12644         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
12645         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
12647 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12649         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
12650         register other than r0 for tabort, it has special meaning.
12651         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
12652         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
12653         transaction before starting syscall.
12655 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12657         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
12659 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
12661         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
12663         * sysdeps/x86_64/rtld-memcmp.c: Removed.
12664         * sysdeps/x86_64/rtld-memset.S: Likewise.
12665         * sysdeps/x86_64/rtld-strchr.S: Likewise.
12666         * sysdeps/x86_64/rtld-strlen.S: Likewise.
12667         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
12668         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
12670         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
12672 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
12674         * debug/strcpy_chk.c: Improve performance.
12675         * debug/stpcpy_chk.c: Likewise.
12676         * sysdeps/x86_64/strcpy_chk.S: Remove.
12677         * sysdeps/x86_64/stpcpy_chk.S: Remove.
12679         [BZ #18240]
12680         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
12682 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
12684         [BZ #15128]
12685         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
12686         ifuncmain8.
12687         (modules-names): Add ifuncmod8.
12688         ($(objpfx)ifuncmain8): New rule.
12689         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
12690         <cpuid.h>.
12691         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
12692         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
12693         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
12694         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
12695         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
12696         * sysdeps/x86_64/dl-trampoline.h: Likewise.
12697         * sysdeps/x86_64/ifuncmain8.c: New file.
12698         * sysdeps/x86_64/ifuncmod8.c: Likewise.
12699         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
12700         Removed.
12701         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
12702         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
12703         Change rtld_savespace_sse to __glibc_unused2.
12704         (RTLD_CHECK_FOREIGN_CALL): Removed.
12705         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
12706         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
12707         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
12709 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
12711         * sysdeps/aarch64/bzero.S (__bzero): Remove.
12713 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
12715         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
12716         Unconditionally set __fpcr to avoid uninialized warning.
12717         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
12719 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12721         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
12722         is corrupt.
12724         * malloc/arena.c (arena_get2): Drop unused argument.
12725         (arena_lock): Adjust.
12726         (arena_get_retry): Likewise.
12728 2015-08-24  Andreas Schwab  <schwab@suse.de>
12730         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
12731         Don't define.
12732         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12733         (__ASSUME_IPC64): Don't undef.
12734         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
12735         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
12736         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
12737         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
12738         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
12739         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
12740         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
12741         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
12742         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
12743         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
12744         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
12745         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
12746         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
12747         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
12748         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
12749         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
12750         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
12751         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
12752         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
12753         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
12754         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
12756 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
12758         * manual/Makefile (install): Only build manual when perl is available.
12760 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12762         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
12763         '#undef memcpy' by '#undef memchr'.
12765 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12767         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
12768         memchr not point to the internal __GI_memchr implementation.
12770 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
12772         * timezone/Makefile (CFLAGS-zdump.c): Remove
12773         -Wno-strict-prototypes.
12774         (CFLAGS-zic.c): Likewise.
12775         (CFLAGS-ialloc.c): Likewise.
12776         (CFLAGS-scheck.c): Likewise.
12778         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
12779         -Wno-error=undef.
12781 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
12783         * i386/i686/multiarch/strcasestr-c.c: Removed.
12784         * x86_64/multiarch/strcasestr.c: Likewise.
12785         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12786         Remove strcasestr.
12788 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
12790         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
12792         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
12793         variables for high and low parts before possibly modifying them.
12795 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
12797         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
12798         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
12799         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
12800         of "multiarch/init-arch.h".
12801         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
12802         * sysdeps/x86/init-arch.h: This.
12804 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
12806         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
12807         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
12809 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
12811         [BZ #17787]
12812         * manual/macros.texi: Add twoexp macro.
12813         * manual/filesys.texi: Fix exponents.
12814         * manual/llio.texi: Likewise.
12815         * manual/stdio.texi: Likewise.
12817 2015-08-20  Florian Weimer  <fweimer@redhat.com>
12819         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
12820         incorrect use.
12822 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
12824         [BZ #18370]
12825         * math/s_csqrt.c (__csqrt): Force underflow exception for results
12826         whose real or imaginary part has small absolute value.
12827         * math/s_csqrtf.c (__csqrtf): Likewise.
12828         * math/s_csqrtl.c (__csqrtl): Likewise.
12829         * math/auto-libm-test-in: Add more tests of csqrt.
12830         * math/auto-libm-test-out: Regenerated.
12831         * sysdeps/i386/fpu/libm-test-ulps: Update.
12833 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12835         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
12836         __ppc_set_ppr_very_low): New functions.
12837         * manual/platform.texi: Add documentation about
12838         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
12840 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
12842         * string/stpncpy.c (stpncpy): Improve performance using
12843         __strnlen/memcpy/memset.
12845 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
12847         [BZ #18796]
12848         * scripts/test-installation.pl: Don't add -lmvec to build options if
12849         libmvec wasn't built.
12851 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
12853         [BZ #14341]
12854         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
12855         case when there is a gap between DT_REL and DT_JMPREL sections.
12856         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
12857         (LDFLAGS-tst-split-dynreloc): New.
12858         (tst-split-dynreloc-ENV): Likewise.
12859         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
12860         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
12862 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12864         [BZ #18822]
12865         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
12866         attribute_hidden.
12867         (__xstat64_conv): Likewise.
12868         (__xstat32_conv): Likewise.
12870 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12872         [BZ #18822]
12873         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
12874         Don't load %ebx when calling __setcontext.  Call __setcontext
12875         with HIDDEN_JUMPTARGET.
12876         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
12877         libc_hidden_def.
12879 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12881         * sysdeps/i386/i686/Makefile
12882         [$(subdir) == string] (sysdep_routines): Moved to ...
12883         * sysdeps/i386/Makefile: Here.
12884         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
12885         * sysdeps/i386/cacheinfo.c: Here.
12886         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
12887         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
12888         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
12889         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
12891 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12893         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
12894         __i586__ is defined.
12895         (HAS_I686): Defined to 1 if __i686__ is defined.
12897 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
12899         * elf/Makefile [$(have-z-execstack) = yes]
12900         (CPPFLAGS-tst-execstack.c): New variable.
12902         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
12903         conditional to [defined UTMPX || _HAVE_UT_TYPE].
12904         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
12905         UTMPX || _HAVE_UT_TV].
12906         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
12907         UTMPX || _HAVE_UT_TV - 0].
12909 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
12911         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
12912         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
12913         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
12915 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12917         * sysdeps/powerpc/dl-procinfo.c:
12918         (_dl_powerpc_cap_flags): Added missing strings for some
12919         hwcap features.
12920         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
12922 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
12924         Port the 0x7efe...feff pattern to GCC 6.
12925         See Steve Ellcey's bug report in:
12926         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
12927         * string/memrchr.c (MEMRCHR):
12928         * string/rawmemchr.c (RAWMEMCHR):
12929         * string/strchr.c (strchr):
12930         * string/strchrnul.c (STRCHRNUL):
12931         Rewrite code to avoid issues with signed shift overflow.
12933 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
12935         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
12936         whether cpuid is available only if HAS_CPUID is 0.
12937         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
12938         (HAS_I586): Likewise.
12939         (HAS_I686): Likewise.
12941 2015-08-18  Zack Weinberg  <zackw@panix.com>
12943         * misc/Versions (libc): Add GLIBC_2.23.
12945 2015-08-18  Alan Modra  <amodra@gmail.com>
12947         [BZ #18421]
12948         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
12949         .Lp__global.
12950         (_start): Load %dp via .Lp__global.
12951         [!SHARED]: Use .section .rodata.
12953 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12955         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
12956         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
12958 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12960         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
12961         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
12963 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12965         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
12966         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
12968 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12970         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
12971         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
12973 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12975         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
12976         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
12978 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12980         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
12981         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
12983 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12985         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
12987 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12989         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
12990         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
12991         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12992         (__ASSUME_LWS_CAS): Delete.
12994 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12996         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
12997         * sysdeps/hppa/configure: Regenerated.
12998         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
12999         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
13000         * sysdeps/hppa/nptl/tls.h: Likewise.
13002 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
13004         [BZ #18823]
13005         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
13006         for scaling up small arguments.
13007         * math/s_csqrtf.c (__csqrtf): Likewise.
13008         * math/s_csqrtl.c (__csqrtl): Likewise.
13009         * math/auto-libm-test-in: Add more tests of csqrt.
13010         * math/auto-libm-test-out: Regenerated.
13012 2015-08-17  Andreas Schwab  <schwab@suse.de>
13014         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
13015         version set GLIBC_2.19.
13017 2015-08-16  Zack Weinberg  <zackw@panix.com>
13019         [BZ #18681]
13020         * misc/regexp.h: This interface is no longer supported.
13021         Remove all contents, leaving only an #error directive.
13022         * misc/regexp.c (loc1, loc2, locs, step, advance):
13023         Demote to compatibility symbols.
13025 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
13027         [BZ #18084]
13028         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
13029         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
13030         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
13031         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
13032         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
13033         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
13034         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
13035         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
13036         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
13038 2015-08-15  Zack Weinberg  <zackw@panix.com>
13040         [BZ #18795]
13041         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
13042         buffer length is known to be too large, not if it's known to be
13043         small enough.
13044         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
13045         overflow at runtime, involving a length parameter, twice: once
13046         with a compile-time constant length parameter, once without.
13048 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
13050         [BZ #18824]
13051         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
13052         scaling x * y up instead of down.
13053         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13054         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13055         * math/auto-libm-test-in: Add more tests of fma.
13056         * math/auto-libm-test-out: Regenerated.
13058 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
13060         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13062 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13064         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
13065         unnecessary movq.
13066         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
13067         Likewise.
13069 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
13071         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13072         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
13073         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
13074         and tgamma.
13075         * math/auto-libm-test-out: Regenerated.
13076         * sysdeps/i386/fpu/libm-test-ulps: Update.
13077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13079         [BZ #16520]
13080         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
13081         (__tanh): Force underflow exception for arguments with small
13082         absolute value.
13083         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
13084         (__tanhf): Force underflow exception for arguments with small
13085         absolute value.
13086         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
13087         (__tanhl): Force underflow exception for arguments with small
13088         absolute value.
13089         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
13090         (__tanhl): Force underflow exception for arguments with small
13091         absolute value.
13092         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
13093         (__tanhl): Force underflow exception for arguments with small
13094         absolute value.
13095         * math/auto-libm-test-in: Add more tests of tanh.
13096         * math/auto-libm-test-out: Regenerated.
13097         * sysdeps/i386/fpu/libm-test-ulps: Update.
13099 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13101         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
13102         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
13104 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13106         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
13107         <cpuid.h>.
13109 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13111         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
13112         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
13114 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13116         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
13117         Remove $(objpfx)init-arch.o.
13118         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
13119         init-arch.
13120         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
13121         (INIT_ARCH_EXT): Defined as empty.
13122         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
13123         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
13124         __init_cpu_features call.  Replace HAS_XXX with
13125         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13126         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
13127         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
13128         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
13129         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
13130         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
13131         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
13132         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
13133         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
13134         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
13135         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
13136         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
13137         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
13138         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
13139         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
13140         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
13141         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
13142         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
13143         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
13144         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
13145         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
13146         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
13147         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
13148         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
13149         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
13150         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
13151         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
13152         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
13153         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
13154         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
13155         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
13156         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
13157         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
13158         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
13159         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
13160         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
13162 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13164         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
13165         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13166         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
13167         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
13168         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
13169         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
13170         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
13171         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
13172         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
13173         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
13174         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
13175         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
13176         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13177         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13178         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13179         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13180         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13181         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13182         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13183         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13184         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13185         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13186         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13187         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13188         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13189         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13190         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13191         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13192         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13193         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13194         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13195         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13196         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13197         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13198         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13199         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13200         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13201         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13202         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13203         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13204         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13205         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13206         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13208 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13210         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
13211         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13212         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13213         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13214         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13215         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
13216         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13217         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
13218         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13219         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13220         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13221         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
13222         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
13223         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
13224         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
13225         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
13226         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
13227         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
13228         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
13229         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
13230         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
13231         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
13232         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
13233         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13234         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13235         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
13236         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
13237         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
13238         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
13239         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13240         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13241         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13242         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13243         * sysdeps/x86_64/multiarch/memset.S: Likewise.
13244         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13245         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13246         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13247         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13248         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13249         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13250         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13251         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13252         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13254 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
13256         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
13257         (dl_platform_init): Call init_cpu_features.
13258         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
13259         * sysdeps/i386/i686/cacheinfo.c
13260         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
13261         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
13262         * sysdeps/i386/i686/multiarch/Versions: Removed.
13263         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
13264         Removed.
13265         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
13266         * sysdeps/unix/sysv/linux/x86/Makefile
13267         (libpthread-sysdep_routines): Remove init-arch.
13268         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
13269         <sysdeps/x86_64/dl-procinfo.c> instead of
13270         sysdeps/generic/dl-procinfo.c>.
13271         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
13272         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
13273         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
13274         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
13275         [$(subdir) == elf] (tests-static): Add
13276         tst-get-cpu-features-static.
13277         * sysdeps/x86/Versions: New file.
13278         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
13279         * sysdeps/x86/cpu-features.c: Likewise.
13280         * sysdeps/x86/cpu-features.h: Likewise.
13281         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
13282         * sysdeps/x86/libc-start.c: Likewise.
13283         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
13284         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
13285         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
13286         * sysdeps/x86_64/dl-procinfo.c: Likewise.
13287         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
13288         Assume USE_MULTIARCH is defined and don't check it.
13289         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
13290         (is_amd): Likewise.
13291         (max_cpuid): Likewise.
13292         (intel_check_word): Likewise.
13293         (__cache_sysconf): Don't call __init_cpu_features.
13294         (__x86_preferred_memory_instruction): Removed.
13295         (init_cacheinfo): Don't call __init_cpu_features. Replace
13296         __cpu_features with GLRO(dl_x86_cpu_features).
13297         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
13298         (dl_platform_init): Call init_cpu_features.
13299         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
13300         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
13301         * sysdeps/x86_64/multiarch/Versions: Removed.
13302         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
13303         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
13304         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
13305         Removed.
13306         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
13308 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
13310         [BZ #18820]
13311         * libio/Makefile (test-fmemopen-mem): New test.
13312         * libio/test-fmemopen.c (do_bz18820): New test.
13313         * libio/fmemopen.c (__fmemopen): Fix memory leak.
13314         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
13316 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
13318         [BZ #16734]
13319         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
13320         (FREE_BUF): Delete.
13321         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
13322         * libio/genops.c (_IO_setb): Use malloc and free directly.
13323         (_IO_default_doallocate, _IO_default_finish): Likewise.
13324         ( _IO_unbuffer_all): Likewise.
13325         ( libc_freeres_fn): Likewise.
13326         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
13327         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
13328         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
13329         (_IO_wdefault_doallocate): Likewise.
13331 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
13333         [BZ #18086]
13334         * sysdeps/posix/nice.c (nice): Restore old errno.
13335         * posix/tst-nice.c (do_test): Add test for BZ #18086.
13337 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
13339         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
13341 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13343         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
13344         __bcopy and add a weak_alias to bcopy.
13345         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
13346         for static build.
13348         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
13349         cleanup macro usage.
13350         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
13351         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
13352         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
13353         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
13354         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
13355         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
13356         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
13357         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
13358         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13359         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
13360         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
13361         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
13362         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
13363         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
13364         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13365         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
13366         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
13367         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
13368         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
13370         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
13371         libc_hidden_def.
13372         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
13374         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
13375         (sysdep_routines): Add strstr-ppc64.
13376         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
13378 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
13380         [BZ #18778]
13381         * elf/Makefile (tests): Add Add tst-nodelete2.
13382         (modules-names): Add tst-nodelete2mod.
13383         (tst-nodelete2mod.so-no-z-defs): New.
13384         ($(objpfx)tst-nodelete2): Likewise.
13385         ($(objpfx)tst-nodelete2.out): Likewise.
13386         (LDFLAGS-tst-nodelete2): Likewise.
13387         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
13388         out of loop through all loaded libraries.
13389         * elf/tst-nodelete2.c: New file.
13390         * elf/tst-nodelete2mod.c: Likewise.
13391         * elf/tst-znodelete-zlib.cc: Delete.
13393 2015-08-11  Andreas Schwab  <schwab@suse.de>
13395         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
13396         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
13397         (__openat64_nocancel): Likewise.
13399 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
13401         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
13402         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
13403         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
13404         * math/auto-libm-test-out: Regenerated.
13405         * sysdeps/i386/fpu/libm-test-ulps: Update.
13406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13408 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
13410         [BZ #18790]
13411         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
13412         threshold for returning +/- 1.
13413         * math/auto-libm-test-in: Add more tests of tanh.
13414         * math/auto-libm-test-out: Regenerated.
13415         * sysdeps/i386/fpu/libm-test-ulps: Update.
13417 2015-08-10  Andreas Schwab  <schwab@suse.de>
13419         [BZ #18781]
13420         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
13421         MORE_OFLAGS to oflag.
13422         * io/test-lfs.c (do_test): Test openat64.
13424 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
13426         [BZ #18789]
13427         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
13428         smaller threshold for returning the argument.
13429         * math/auto-libm-test-in: Add more tests of sinh.
13430         * math/auto-libm-test-out: Regenerated.
13431         * sysdeps/i386/fpu/libm-test-ulps: Update.
13433 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
13435         [BZ #18674]
13436         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
13437         break.
13439 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
13441         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
13442         (generated): Don't add $(addprefix z.,$(tzfiles)).
13444 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
13446         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
13447         * scripts/sysd-rules.awk: Likewise.
13449 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
13451         * iconvdata/tst-tables.sh: Change echo -n to printf.
13452         * nss/db-Makefile: Likewise.
13453         * posix/tst-getconf.sh: Likewise.
13454         * stdio-common/tst-unbputc.sh: Likewise.
13456 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
13458         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
13459         MADV_*_PAGES defines behind this feature check.
13461 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
13463         [BZ #18480]
13464         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
13465         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
13466         Define.
13467         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
13468         LOAD_REGS_5, LOAD_REGS_6): Update.
13469         (INTERNAL_SYSCALL): Update using new LOAD defines.
13470         (INTERNAL_SYSCALL_NCS): Likewise.
13471         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
13473 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
13475         [BZ #16734]
13476         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
13478 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
13480         [BZ #17905]
13481         * catgets/Makefile (tst-catgets-mem): New test.
13482         * catgets/catgets.c (catopen): Don't use unbounded alloca.
13483         * catgets/open_catalog.c (__open_catalog): Likewise.
13484         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
13486 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
13488         [BZ #18787]
13489         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
13490         clobber registers.
13491         (atomic_compare_and_exchange_val_acq): Use register asms to assign
13492         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
13493         Cast return to __typeof (oldval).
13495 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
13497         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
13498         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
13499         and delete sys/syscall.h include.
13501 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
13503         [BZ #16517]
13504         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
13505         (tan): Force underflow exception for arguments with small absolute
13506         value.
13507         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
13508         (__kernel_tanf): Force underflow exception for arguments with
13509         small absolute value.
13510         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
13511         (__kernel_tanl): Force underflow exception for arguments with
13512         small absolute value.
13513         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
13514         (__kernel_tanl): Force underflow exception for arguments with
13515         small absolute value.
13516         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
13517         (__kernel_tanl): Force underflow exception for arguments with
13518         small absolute value.
13519         * math/auto-libm-test-in: Add more tests of tan.
13520         * math/auto-libm-test-out: Regenerated.
13522 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13524         Fix sysdeps/i386/fpu/s_scalbn.S build
13526         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
13528 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
13530         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
13532 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13534         Fix gcrt0.o compilation
13536         When static-start-installed-name is different from
13537         start-installed-name, we must not use the shared objects.
13539         * csu/Makefile
13540         (extra-objs): Add gmon-start.o when building shared library and
13541         $(static-start-installed-name) is different from
13542         $(start-installed-name).
13543         $(objpfx)g$(static-start-installed-name): When building shared
13544         library and $(static-start-installed-name) is different from
13545         $(static-start-installed-name), revert to non-shared rule,
13546         i.e. using $(objpfx)% and gmon-start.o.
13548 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
13550         [BZ #16519]
13551         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
13552         (__ieee754_sinh): Force underflow exception for arguments with
13553         small absolute value.
13554         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
13555         (__ieee754_sinhf): Force underflow exception for arguments with
13556         small absolute value.
13557         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
13558         (__ieee754_sinhl): Force underflow exception for arguments with
13559         small absolute value.
13560         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
13561         (__ieee754_sinhl): Force underflow exception for arguments with
13562         small absolute value.
13563         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
13564         (__ieee754_sinhl): Force underflow exception for arguments with
13565         small absolute value.
13566         * math/auto-libm-test-in: Add more tests of sinh.
13567         * math/auto-libm-test-out: Regenerated.
13568         * sysdeps/i386/fpu/libm-test-ulps: Update.
13570 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
13572         * libio/oldfileops.c: Include unistd.h.
13574 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
13576         * stdlib/isomac.c: Include ctype.h.
13578 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
13580         * dirent/tst-seekdir.c (main): Converted to ...
13581         (do_test): ... this.
13582         (TEST_FUNCTION): New macro.
13583         Include test-skeleton.c.
13584         * elf/tst-dlmodcount.c (main): Converted to ...
13585         (do_test): ... this.
13586         (TEST_FUNCTION): New macro.
13587         Include test-skeleton.c.
13588         * elf/tst-order-main.c (main): Converted to ...
13589         (do_test): ... this.
13590         (TEST_FUNCTION): New macro.
13591         Include test-skeleton.c.
13592         * elf/tst-pie2.c (main): Converted to ...
13593         (do_test): ... this.
13594         (TEST_FUNCTION): New macro.
13595         Include test-skeleton.c.
13596         * inet/tst-ether_aton.c (main): Converted to ...
13597         (do_test): ... this.
13598         (TEST_FUNCTION): New macro.
13599         Include test-skeleton.c.
13600         * misc/tst-mntent.c (main): Converted to ...
13601         (do_test): ... this.
13602         (TEST_FUNCTION): New macro.
13603         Include test-skeleton.c.
13604         * misc/tst-tsearch.c (main): Converted to ...
13605         (do_test): ... this.
13606         (TEST_FUNCTION): New macro.
13607         Include test-skeleton.c.
13608         * posix/tst-regexloc.c (main): Converted to ...
13609         (do_test): ... this.
13610         (TEST_FUNCTION): New macro.
13611         Include test-skeleton.c.
13612         * resolv/tst-aton.c (main): Converted to ...
13613         (do_test): ... this.
13614         (TEST_FUNCTION): New macro.
13615         Include test-skeleton.c.
13616         * stdio-common/test-fwrite.c (main): Converted to ...
13617         (do_test): ... this.
13618         (TEST_FUNCTION): New macro.
13619         Include test-skeleton.c.
13620         * stdio-common/tst-ferror.c (main): Converted to ...
13621         (do_test): ... this.
13622         (TEST_FUNCTION): New macro.
13623         Include test-skeleton.c.
13624         * stdio-common/tst-printf.c (main): Converted to ...
13625         (do_test): ... this.
13626         (TEST_FUNCTION): New macro.
13627         Include test-skeleton.c.
13628         * stdio-common/tst-printfsz.c (main): Converted to ...
13629         (do_test): ... this.
13630         (TEST_FUNCTION): New macro.
13631         Include test-skeleton.c.
13632         * stdlib/tst-strtod.c (main): Converted to ...
13633         (do_test): ... this.
13634         (TEST_FUNCTION): New macro.
13635         Include test-skeleton.c.
13636         * string/tst-strlen.c (main): Converted to ...
13637         (do_test): ... this.
13638         (TEST_FUNCTION): New macro.
13639         Include test-skeleton.c.
13640         * string/tst-svc.c (main): Converted to ...
13641         (do_test): ... this.
13642         (TEST_FUNCTION): New macro.
13643         Include test-skeleton.c.
13644         * time/tst-strptime.c (main): Converted to ...
13645         (do_test): ... this.
13646         (TEST_FUNCTION): New macro.
13647         Include test-skeleton.c.
13648         * timezone/tst-timezone.c (main): Converted to ...
13649         (do_test): ... this.
13650         (TEST_FUNCTION): New macro.
13651         Include test-skeleton.c.
13653 2015-08-05  Zack Weinberg  <zackw@panix.com>
13655         * misc/regexp.h: Update comments.
13657 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
13659         [BZ #18635]
13660         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
13661         before return label.
13663 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13665         [BZ #18661]
13666         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
13667         when calling __errno_location.
13668         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
13669         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
13671 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13673         [BZ #18661]
13674         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
13675         (__lll_timedwait_tid): Align stack to 16 bytes when calling
13676         __gettimeofday.
13678 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13680         [BZ #18661]
13681         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
13682         (__start_context): Don't use pop to restore %rdi so that stack
13683         is aligned to 16 bytes when calling __setcontext.
13685 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13687         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
13688         only for libc.
13689         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13691 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13693         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
13694         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
13695         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
13697 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13699         * string/memccpy.c (memccpy):
13700         Improve performance by using memchr/memcpy/__mempcpy.
13702 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13704         * string/strncpy.c (strncpy):
13705         Improve performance by using __strnlen/memcpy.
13707 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13709         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
13710         Optimize to avoid an unnecessary FPCR read.
13712 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
13714         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
13715         Optimize to reduce FPCR/FPSR accesses.
13717 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
13719         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
13720         dead->data[category] != NULL.
13722 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
13724         [BZ #18647]
13725         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
13726         and |x| close to 1, use absolute value of x when computing log.
13727         * math/auto-libm-test-in: Add more tests of pow.
13728         * math/auto-libm-test-out: Regenerated.
13730 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13732         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
13733         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
13734         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
13736 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
13738         [BZ #18525]
13739         * locales/km_KH: Remove timezone definition.
13740         * locales/lo_LA: Likewise.
13741         * locales/my_MM: Likewise.
13742         * locales/nan_TW@latin: Likewise.
13743         * locales/th_TH: Likewise.
13744         * locales/uk_UA: Likewise.
13746 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
13748         [BZ #18265]
13749         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
13750         (wcsncat): Likewise.
13751         (wcscmp): Likewise.
13752         (wcsncmp): Likewise.
13754 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
13756         * test-skeleton.c (usage): New function.
13757         (main): Call usage when opt is '?'.
13759 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
13761         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
13762         before first use.
13764 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
13766         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
13767         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
13768         in there too.
13770 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
13772         * version.h (RELEASE): Set to "development".
13773         (VERSION): Set to "2.22.90"
13775         * version.h (RELEASE): Set to "stable".
13776         (VERSION): Set to "2.22"
13777         * include/features.h (__GLIBC_MINOR__): Set to 22.
13779 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
13781         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
13782         Restructure macro to avoid "value computed is not used" warning.
13783         (atomic_compare_and_exchange_val_acq): Likewise.
13785 2015-08-04  Andreas Schwab  <schwab@suse.de>
13787         [BZ #18635]
13788         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
13789         ret.
13790         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
13792 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
13794         * po/pl.po: Updated translation.
13795         * po/uk.po: Likewise.
13796         * po/fi.po: Likewise.
13797         * po/ko.po: Likewise.
13798         * po/ru.po: Likewise.
13799         * po/vi.po: Likewise.
13801 2015-07-31  Zack Weinberg  <zackw@panix.com>
13803         [BZ #18681]
13804         * regexp.h: Add unconditional #warning stating that this header
13805         will be removed soon.  Revise banner comment to match.
13806         (compile): Consistently use ERROR instead of RETURN to report
13807         errors (partial fix for bz#18681).
13808         * regexp.c: Don't include regexp.h. Remove some unnecessary
13809         declarations.
13811 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
13813         * po/libc.pot: Regenerated.
13815 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
13817         [BZ #18740]
13818         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
13819         float-vlen4-arch-ext-cflags): Removed.
13820         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
13821         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
13823 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
13825         [BZ #14113]
13826         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
13827         aligned to __aligned__.
13828         (pthread_cond_t, pthread_rwlock_t): Likewise.
13830 2015-07-30  Torvald Riegel  <triegel@redhat.com>
13832         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
13834 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
13836         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
13837         (struct sigaction): Change sa_flags from a long to an int, and add
13838         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
13840 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
13842         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
13843         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
13844         sysdeps/generic/sysdep.h include.
13845         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
13846         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
13847         sysdeps/hppa/sysdep.h.
13848         (ENTRY, PSEUDO): Undefine before defining.
13850 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
13852         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
13853         from scratch to use INTERNAL_SYSCALL.
13855 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
13857         [BZ #18078]
13858         * scripts/check-localplt.awk: Support alternate relocations.
13859         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
13860         sections.
13861         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
13862         malloc entries with + REL R_386_GLOB_DAT.
13863         * sysdeps/x86_64/localplt.data: New file.
13865 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
13867         [BZ #18731]
13868         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
13869         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13870         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13872 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13874         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
13876 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13878         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
13879         directly in terms of __sync_fetch_and_add and delete (int) cast.
13881 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13883         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
13884         the -D_ASM_IA64_CURRENT_H flag.
13886 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13888         [BZ #18641]
13889         * pwd/pwd.h (putpwent): Delete __nonnull markings.
13891 2015-07-27  Andreas Schwab  <schwab@suse.de>
13893         * conform/conformtest.pl (checknamespace): Filter out string
13894         literals while tokenizing.
13896 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
13898         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
13899         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
13900         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
13902 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
13904         * nptl/tst-join7mod.c: Add #include <string.h>.
13906 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
13908         * sysdeps/nios2/libm-test-ulps: Update.
13910 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
13912         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
13913         Fix order of arguments to the rt_sigprocmask syscall.
13914         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
13915         Likewise.
13917 2015-07-24  Roland McGrath  <roland@hack.frob.com>
13919         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
13921 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13923         [BZ #18457]
13924         * nptl/Makefile (tests): New test case tst-join7.
13925         (modules-names): New test case module tst-join7mod.
13926         * nptl/tst-join7.c: New file.
13927         * nptl/tst-join7mod.c: New file.
13928         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
13929         all translation units in libc.so, libpthread.so and rtld.
13931 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13933         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13935 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
13937         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
13938         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
13939         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
13940         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
13941         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
13942         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
13943         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
13944         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
13945         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
13946         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
13947         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
13948         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
13949         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
13950         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
13951         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
13952         implementation.
13954 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13956         [BZ #17711]
13957         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
13958         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
13959         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
13960         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
13961         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
13962         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
13964 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13966         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
13967         instead of just saying load lock in the comments.
13969 2015-07-23  Roland McGrath  <roland@hack.frob.com>
13971         * sysdeps/unix/Subdirs: Moved ...
13972         * sysdeps/posix/Subdirs: ... here.
13973         * login/pty.h (struct termios, struct winsize): Add forward decls.
13974         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
13975         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
13976         * sysdeps/arm/nacl/libc.abilist: Updated.
13977         * sysdeps/nacl/libutil.abilist: New file.
13979         * bits/signum.h: Update comments to mention 1003.1-2013 too.
13980         (SIGWINCH): New macro.
13982         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
13983         * sysdeps/arm/nacl/libc.abilist: Add it.
13985 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
13987         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
13989 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
13991         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
13992         Swap __glibc_reserved0 and sa_flags order.
13994 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
13996         [BZ #18657]
13997         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
13998         are pending TLS destructor calls.
13999         * include/link.h (struct link_map): Add concurrency note for
14000         L_TLS_DTOR_COUNT.
14001         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14002         Don't touch the link map flag.  Atomically increment
14003         l_tls_dtor_count.
14004         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
14005         Avoid taking the load lock and don't touch the link map flag.
14006         * stdlib/tst-tls-atexit-nodelete.c: New test case.
14007         * stdlib/Makefile (tests): Use it.
14008         * stdlib/tst-tls-atexit.c (do_test): dlopen
14009         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
14010         to allow tst-tls-atexit-nodelete test case to use it.
14012 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14014         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
14015         to bits/types.h.
14016         (msgqnum_t): New typedef.
14017         (msglen_t): Likewise.
14018         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
14019         and msg_qbytes type to msglen_t.
14021 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14023         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
14024         pad0 to __glibc_reserved0.
14025         (struct stat64): Likewise.
14027 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14029         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
14030         Change sa_flags from a long to an int and add __glibc_reserved0 before
14031         it for padding.
14033 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
14035         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
14036         anonymous by deleting "siginfo" name.
14038 2015-07-21  Roland McGrath  <roland@hack.frob.com>
14040         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
14041         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
14042         rather than __nacl_irt_filename.
14043         * sysdeps/nacl/xstat.c (__xstat): Likewise.
14045         * NEWS: New item for arm-nacl port.
14046         * sysdeps/arm/nacl/libc.abilist: New file.
14047         * sysdeps/nacl/ld.abilist: New file.
14048         * sysdeps/nacl/libBrokenLocale.abilist: New file.
14049         * sysdeps/nacl/libanl.abilist: New file.
14050         * sysdeps/nacl/libcrypt.abilist: New file.
14051         * sysdeps/nacl/libdl.abilist: New file.
14052         * sysdeps/nacl/libm.abilist: New file.
14053         * sysdeps/nacl/libpthread.abilist: New file.
14054         * sysdeps/nacl/libresolv.abilist: New file.
14055         * sysdeps/nacl/librt.abilist: New file.
14057 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
14059         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
14060         __startcontext to initialize the new context.
14061         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
14062         up CFI directive to forbid further backtracing.
14064 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
14066         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
14067         reference.
14068         * charmaps/ANSI_X3.4-1968: Likewise.
14069         * charmaps/BS_4730: Likewise.
14070         * charmaps/BS_VIEWDATA: Likewise.
14071         * charmaps/CP1250: Likewise.
14072         * charmaps/CP1251: Likewise.
14073         * charmaps/CP1252: Likewise.
14074         * charmaps/CP1253: Likewise.
14075         * charmaps/CP1254: Likewise.
14076         * charmaps/CP1255: Likewise.
14077         * charmaps/CP1256: Likewise.
14078         * charmaps/CSN_369103: Likewise.
14079         * charmaps/EBCDIC-DK-NO: Likewise.
14080         * charmaps/GB_1988-80: Likewise.
14081         * charmaps/GREEK-CCITT: Likewise.
14082         * charmaps/GREEK7: Likewise.
14083         * charmaps/INIS-8: Likewise.
14084         * charmaps/ISIRI-3342: Likewise.
14085         * charmaps/ISO_2033-1983: Likewise.
14086         * charmaps/ISO_5427-EXT: Likewise.
14087         * locales/POSIX: Likewise.
14088         * locales/ar_SA: Likewise.
14089         * locales/be_BY: Likewise.
14090         * locales/be_BY@latin: Likewise.
14091         * locales/ca_ES: Likewise.
14092         * locales/cs_CZ: Likewise.
14093         * locales/da_DK: Likewise.
14094         * locales/de_BE: Likewise.
14095         * locales/de_CH: Likewise.
14096         * locales/de_LU: Likewise.
14097         * locales/en_AU: Likewise.
14098         * locales/en_BW: Likewise.
14099         * locales/en_CA: Likewise.
14100         * locales/en_DK: Likewise.
14101         * locales/en_GB: Likewise.
14102         * locales/en_IE: Likewise.
14103         * locales/en_NZ: Likewise.
14104         * locales/en_ZA: Likewise.
14105         * locales/en_ZW: Likewise.
14106         * locales/es_AR: Likewise.
14107         * locales/es_BO: Likewise.
14108         * locales/es_CL: Likewise.
14109         * locales/es_CO: Likewise.
14110         * locales/es_DO: Likewise.
14111         * locales/es_EC: Likewise.
14112         * locales/es_ES: Likewise.
14113         * locales/es_HN: Likewise.
14114         * locales/es_MX: Likewise.
14115         * locales/es_PA: Likewise.
14116         * locales/es_PE: Likewise.
14117         * locales/es_PY: Likewise.
14118         * locales/es_SV: Likewise.
14119         * locales/es_US: Likewise.
14120         * locales/es_UY: Likewise.
14121         * locales/es_VE: Likewise.
14122         * locales/et_EE: Likewise.
14123         * locales/fa_IR: Likewise.
14124         * locales/fo_FO: Likewise.
14125         * locales/fr_CA: Likewise.
14126         * locales/fr_CH: Likewise.
14127         * locales/gv_GB: Likewise.
14128         * locales/he_IL: Likewise.
14129         * locales/hr_HR: Likewise.
14130         * locales/id_ID: Likewise.
14131         * locales/is_IS: Likewise.
14132         * locales/it_CH: Likewise.
14133         * locales/iw_IL: Likewise.
14134         * locales/kl_GL: Likewise.
14135         * locales/ko_KR: Likewise.
14136         * locales/kw_GB: Likewise.
14137         * locales/lg_UG: Likewise.
14138         * locales/lt_LT: Likewise.
14139         * locales/lv_LV: Likewise.
14140         * locales/mi_NZ: Likewise.
14141         * locales/nhn_MX: Likewise.
14142         * locales/nl_BE: Likewise.
14143         * locales/pl_PL: Likewise.
14144         * locales/sk_SK: Likewise.
14145         * locales/sl_SI: Likewise.
14146         * locales/sv_FI: Likewise.
14147         * locales/tl_PH: Likewise.
14148         * locales/tr_TR: Likewise.
14149         * locales/vi_VN: Likewise.
14151 2015-07-21  Khem Raj  <raj.khem@gmail.com>
14153         [BZ #17475]
14154         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
14155         of tu_IN and bh_IN.
14157 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
14159         [BZ #18694]
14160         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
14161         bits/wordsize.h.
14162         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
14164 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14166         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
14167         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
14168         (spawn_thread): New function.
14169         (load): Rename to reg_dtor_and_close.  Move dlopen to...
14170         (do_test): ... here.  Use IS_LOADED to test for its
14171         availability.
14173 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
14175         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14177 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
14179         [BZ #18696]
14180         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
14181         si_addr_bnd.
14182         (si_lower): New.
14183         (si_upper): Likewise.
14185 2015-07-16  David S. Miller  <davem@davemloft.net>
14187         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
14189 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14191         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
14192         buffer.
14193         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
14194         fail output information.
14196 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14198         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
14199         and strstr-ppc64..
14200         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
14201         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
14202         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
14203         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
14204         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
14206 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
14208         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
14209         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
14210         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
14211         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
14213 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
14215         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
14216         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
14217         rtld_hidden_proto.
14218         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
14220 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14222         * tst-nodelete-opened.c (do_test): Add comment to clarify how
14223         the test can fail.
14225         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
14227         [BZ #18676]
14228         * elf/tst-nodelete-opened.c: New test case.
14229         * elf/tst-nodelete-opened-lib.c: New test case module.
14230         * elf/Makefile (tests, modules-names): Use them.
14231         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
14232         early.
14234 2015-07-15  David S. Miller  <davem@davemloft.net>
14236         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
14237         futex-intenal.h
14238         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
14239         * sysdeps/sparc/sparc64/Makefile: Likewise.
14240         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
14241         Remove space from macro define.
14242         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
14244 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
14246         [BZ #17475]
14247         * locale/iso-639.def: Update Bhili and Tulu language codes as
14248         per iso639-3.
14250 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
14252         * elf/tst-leaks1.c (main): Converted to ...
14253         (do_test): ... this.
14254         (TEST_FUNCTION): New macro.
14255         Include test-skeleton.c.
14256         * localedata/tst-langinfo.c (main): Converted to ...
14257         (do_test): ... this.
14258         (TEST_FUNCTION): New macro.
14259         Include test-skeleton.c.
14260         * math/test-fpucw.c (main): Converted to ...
14261         (do_test): ... this.
14262         (TEST_FUNCTION): New macro.
14263         Include test-skeleton.c.
14264         * math/test-tgmath.c (main): Converted to ...
14265         (do_test): ... this.
14266         (TEST_FUNCTION): New macro.
14267         Include test-skeleton.c.
14268         * math/test-tgmath2.c (main): Converted to ...
14269         (do_test): ... this.
14270         (TEST_FUNCTION): New macro.
14271         Include test-skeleton.c.
14272         * setjmp/tst-setjmp.c (main): Converted to ...
14273         (do_test): ... this.
14274         (TEST_FUNCTION): New macro.
14275         Include test-skeleton.c.
14276         * stdio-common/tst-sscanf.c (main): Converted to ...
14277         (do_test): ... this.
14278         (TEST_FUNCTION): New macro.
14279         Include test-skeleton.c.
14280         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
14281         (do_test): ... this.
14282         (TEST_FUNCTION): New macro.
14283         Include test-skeleton.c.
14285         * elf/tst-audit9.c (main): Converted to ...
14286         (do_test): ... this.
14287         (TEST_FUNCTION): New macro.
14288         Include test-skeleton.c.
14290 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
14292         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
14294 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
14296         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
14297         New variable.
14299 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
14301         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14303 2015-07-14  Roland McGrath  <roland@hack.frob.com>
14305         * sysdeps/generic/dl-fileid.h: New file.
14306         * sysdeps/posix/dl-fileid.h: New file.
14307         * sysdeps/nacl/dl-fileid.h: New file.
14308         * include/link.h: Include <dl-fileid.h>.
14309         (struct link_map): Replace l_dev and l_ino with l_file_id.
14310         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
14311         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
14312         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
14314 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14316         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
14318 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14320         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
14321         Add iff $CXX is set.
14322         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
14323         Likewise.
14324         (tst-nodelete-zmodiff): Likewise.
14325         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
14327 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14329         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
14331 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
14333         * sysdeps/aarch64/fpu/math_private.h
14334         (define math_opt_barrier): Add AArch64 version.
14335         (math_force_eval): Likewise.
14337 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
14339         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
14341 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
14343         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
14344         %ld with %jd and cast to intmax_t.
14345         (do_test_length_zero): Likewise.
14347 2015-07-10  Roland McGrath  <roland@hack.frob.com>
14349         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
14351 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
14353         * sysdeps/tile/libm-test-ulps: Regenerated.
14355         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
14356         Comment out the whole function, not just its body.
14358 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14360         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
14361         locks.
14363         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
14365 2015-07-10  Torvald Riegel  <triegel@redhat.com>
14367         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
14368         (sem_assume_only_signals_cause_futex_EINTR): Remove.
14370 2015-07-10  Torvald Riegel  <triegel@redhat.com>
14372         * sysdeps/nptl/futex-internal.h: New file.
14373         * sysdeps/nacl/futex-internal.h: New file.
14374         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
14375         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
14376         error checking.
14377         (setxid_unmark_thread): Likewise.
14378         (__nptl_setxid): Likewise.
14379         (__wait_lookup_done): Likewise.
14380         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
14381         * nptl/nptl-init.c (sighandler_setxid): Likewise.
14382         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
14383         * nptl/pthread_once.c (clear_once_control): Likewise.
14384         (__pthread_once_slow): Likewise.
14385         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
14386         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
14387         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
14388         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
14389         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
14390         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
14391         Likewise.
14392         (__pthread_rwlock_rdlock): Likewise.
14393         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
14394         Likewise.
14395         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
14396         Likewise.
14397         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
14398         Likewise.
14399         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
14400         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
14401         Likewise.
14402         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
14403         __ASSUME_PRIVATE_FUTEX check.
14404         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
14405         Check that shared futexes are supported.
14406         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
14407         wrappers with error checking.
14408         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
14409         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
14410         * nptl/pthread_barrierattr_setpshared.c
14411         (pthread_barrierattr_setpshared): Check that shared futexes are
14412         supported.
14413         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
14414         Likewise.
14415         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
14416         Likewise.
14417         * nptl/sem_init.c (futex_private_if_supported): Remove.
14418         (__new_sem_init): Adapt and check that shared futexes are supported.
14419         * nptl/sem_open.c (sem_open): Likewise.
14420         * nptl/sem_post.c (futex_wake): Remove.
14421         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
14422         (do_futex_wait): Use futex wrappers with error checking.
14423         * nptl/sem_wait.c: Include lowlevellock.h.
14424         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
14425         Use futex_supports_pshared.
14426         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
14427         Use futex wrappers with error checking.
14428         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
14429         Likewise.
14430         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
14431         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
14432         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
14433         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
14434         (futex_wake): Likewise.
14435         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
14436         (do_futex_wait): Use futex wrappers with error checking.
14437         (__new_sem_wait_slow): Update EINTR handling.
14438         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
14440 2015-07-09  Martin Sebor  <msebor@redhat.com>
14442         [BZ #18435]
14443         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
14444         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
14445         * nptl/Makefile (test-xfail-tst-once5): Define.
14447 2015-07-09  Roland McGrath  <roland@hack.frob.com>
14449         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
14450         * elf/dl-minimal.c: For readability, reorder some definitions and
14451         introduce more page breaks.  Include <stdio.h>.
14452         (__libc_fatal): New function.
14454         * include/unistd.h: Add rtld_hidden_proto for _exit.
14455         * posix/_exit.c: Add rtld_hidden_def.
14456         * sysdeps/mach/hurd/_exit.c: Likewise.
14457         * sysdeps/nacl/_exit.c: Likewise.
14458         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
14459         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
14461 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
14463         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
14464         bndmov encoding with zero displacement.
14466 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
14467             H.J. Lu  <hongjiu.lu@intel.com>
14469         [BZ #18134]
14470         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
14471         * sysdeps/i386/configure: Regenerated.
14472         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
14473         (_dl_runtime_profile): Save and restore Intel MPX return bound
14474         registers when calling _dl_call_pltexit.  Add
14475         PRESERVE_BND_REGS_PREFIX before return.
14476         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
14477         (LRV_BND1_OFFSET): Likewise.
14478         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
14479         lrv_bnd1.
14480         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
14481         typo in bndmov encoding.
14482         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
14483         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
14484         branch instructions to preserve bounds.
14486 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
14489         [GLIBC_2.22]: Add fmemopen.
14491 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14493         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
14494         returns an error, also try to use host port from __mach_host_self for
14495         the __vm_wire call.
14496         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
14498 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14500         [BZ #18400]
14501         [BZ #18648]
14502         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
14503         Fix pr_uid and pr_gid members.
14504         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
14505         definition to elf_greg_t.
14507 2015-07-08  Roland McGrath  <roland@hack.frob.com>
14509         [BZ #18383]
14510         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
14511         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
14512         * sysdeps/arm/configure: Regenerated.
14513         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
14514         (test-xfail-tst-tlsalign-static): Variable removed.
14516         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
14517         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
14518         rather than explicit 'ln -s'.
14520         * resolv/rpc/netdb.h: New file.
14521         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
14523 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14525         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
14526         length buffers.
14527         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
14528         test-skeleton.c.
14530         [BZ #6544]
14531         [BZ #11216]
14532         [BZ #12836]
14533         [BZ #13151]
14534         [BZ #13152]
14535         [BZ #14292]
14536         * include/stdio.h (fmemopen): Remove hidden prototype.
14537         (__fmemopen): Add new hidden prototype.
14538         * libio/Makefile: Add oldfmemopen object.
14539         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
14540         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
14541         compliance.
14542         * libio/oldfmemopen.c: New file: old fmemopen implementation for
14543         symbol compatibility.
14544         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
14545         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
14546         fmemopen.
14547         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
14548         on append and read mode.
14549         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
14550         fmemopen.
14551         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
14552         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
14553         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
14554         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
14555         Likewise.
14556         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
14557         [GLIBC_2.22]: Likewise.
14558         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
14559         Likewise.
14560         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
14561         Likewise.
14562         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
14563         [GLIBC_2.22]: Likewise.
14564         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
14565         [GLIBC_2.22]: Likewise.
14566         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
14567         [GLIBC_2.22]: Likewise.
14568         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
14569         [GLIBC_2.22]: Likewise.
14570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
14571         [GLIBC_2.22]: Likewise.
14572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
14573         [GLIBC_2.22]: Likewise.
14574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
14575         [GLIBC_2.22]: Likewise.
14576         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
14577         Likewise.
14578         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
14579         Likewise.
14580         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
14581         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
14582         [GLIBC_2.22]: Likewise.
14583         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
14584         [GLIBC_2.22]: Likewise.
14585         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
14586         [GLIBC_2.22]: Likewise.
14587         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
14588         [GLIBC_2.22]: Likewise.
14589         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
14590         Likewise.
14591         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
14592         Likewise.
14593         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
14594         Likewise.
14595         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
14596         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
14598 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
14600         [BZ #18643]
14601         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
14602         IPV6_PATHMTU, and IPV6_DONTFRAG.
14604 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
14606         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
14607         and _IO_UNBUFFERED.
14608         * libio/oldfileops.c: Likewise.
14609         * libio/wfileops.c: Likewise.
14611 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
14613         * nscd/selinux.c: Delete selinux/flask.h include.
14615 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
14617         [BZ #18641]
14618         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
14619         (putpwent): Likewise.
14620         (getpwnam): Likewise.
14621         (getpwent_r): Likewise.
14622         (getpwuid_r): Likewise.
14623         (getpwnam_r): Likewise.
14624         (fgetpwent_r): Likewise.
14626 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
14628         [BZ #18557]
14629         * inet/rcmd.c (__validuser2_sa): Check user first to
14630         short-circuit host check.
14632 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
14633             Mikhail Ilin  <m.ilin@samsung.com>
14635         [BZ #17833]
14636         * elf/Makefile (tests): Add tst-nodelete.
14637         (modules-names): Add tst-nodelete-uniquemod.
14638         (tst-nodelete-uniquemod.so-no-z-defs): New.
14639         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
14640         (tst-nodelete-zmod.so-no-z-defs): Likewise.
14641         ($(objpfx)tst-nodelete): Likewise.
14642         ($(objpfx)tst-nodelete.out): Likewise.
14643         (LDFLAGS-tst-nodelete): Likewise.
14644         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
14645         * elf/dl-close.c (_dl_close_worker): Add a parameter to
14646         implement forced object deletion.
14647         (_dl_close): Pass false to _dl_close_worker.
14648         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
14649         * elf/tst-nodelete.cc: New file.
14650         * elf/tst-nodeletelib.cc: Likewise.
14651         * elf/tst-znodeletelib.cc: Likewise.
14652         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
14654 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14656         [BZ #18508]
14657         * stdlib/Makefile ($(objpfx)tst-makecontext3):
14658         Depend on $(libdl).
14659         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
14660         is not called infinitely times.
14661         (backtrace_helper): New function.
14662         (trace_arg): New struct.
14663         (st1): Enlarge stack size.
14664         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14665         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
14666         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14667         Likewise.
14669 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14671         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14673 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14675         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
14676         Include sys/types.h instead of bits/types.h.
14677         Remove inclusion of bits/wordsize.h.
14679 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
14681         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
14682         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
14683         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
14684         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
14685         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
14686         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
14688 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
14690         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
14691         link-defines.sym.
14692         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
14693         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
14694         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
14695         and LR_SIZE.
14696         * sysdeps/i386/link-defines.sym: New file.
14698 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
14700         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
14701         (modules-names): Add tst-auditmod3a tst-auditmod3b.
14702         ($(objpfx)tst-audit3): New rule.
14703         ($(objpfx)tst-audit3.out): Likewise.
14704         * sysdeps/i386/tst-audit3.c: New file.
14705         * sysdeps/i386/tst-audit3.h: Likewise.
14706         * sysdeps/i386/tst-auditmod3a.c: Likewise.
14707         * sysdeps/i386/tst-auditmod3b.c: Likewise.
14709 2015-07-07  Torvald Riegel  <triegel@redhat.com>
14711         [BZ #18633]
14712         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
14713         pointer in C code.
14714         (__strcat_c): Likewise.
14715         (__strcat_g): Likewise.
14717 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
14719         [BZ #18592]
14720         * misc/sbrk.c: Set errno to ENOMEM on overflow.
14722 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
14724         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
14725         New function.  (__ieee754_sqrtf): New function.
14726         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
14727         New function.
14728         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
14729         New function.
14731 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
14733         * sysdeps/ieee754/support.c: Remove unused file.
14735 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14737         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
14738         registers instead of d ones so the layout is kernel abi compatible.
14739         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
14740         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
14741         Likewise.
14743 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14745         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14747 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
14749         [BZ #18619]
14750         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
14751         and return argument in case of subnormal argument.
14753 2015-07-01  Martin Sebor  <msebor@redhat.com>
14755         [BZ #18435]
14756         * nptl/Makefile: Add tst-once5.cc.
14757         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
14758         Remove macro redefinitions.
14759         * nptl/tst-once5.cc: New test.
14761 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
14763         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14765         * sysdeps/arm/libm-test-ulps: Regenerated.
14767         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14768         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14770 2015-06-30  Torvald Riegel  <triegel@redhat.com>
14772         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
14773         lll_lock_wait_private and lll_futex_wake probes.
14775         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
14776         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
14777         Likewise.
14778         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
14779         atomic_spin_nop.
14780         * sysdeps/x86_64/bits/atomic.h: Likewise.
14781         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
14782         to atomic_spin_nop and move ...
14783         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
14784         ... here and ...
14785         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
14786         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
14787         atomic_spin_nop instead of BUSY_WAIT_NOP.
14788         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
14789         Likewise.
14790         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
14791         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
14792         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
14793         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
14794         instead of atomic_delay.
14796 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
14798         [BZ #18613]
14799         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
14800         X_ADJ not X when adjusting exponent.
14801         (__ieee754_gamma_r): Do intermediate computations in
14802         round-to-nearest then adjust overflowing and underflowing results
14803         as needed.
14804         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
14805         of X_ADJ not X when adjusting exponent.
14806         (__ieee754_gammaf_r): Do intermediate computations in
14807         round-to-nearest then adjust overflowing and underflowing results
14808         as needed.
14809         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
14810         log of X_ADJ not X when adjusting exponent.
14811         (__ieee754_gammal_r): Do intermediate computations in
14812         round-to-nearest then adjust overflowing and underflowing results
14813         as needed.  Use 1.0L not 1.0f as numerator of division.
14814         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
14815         log of X_ADJ not X when adjusting exponent.
14816         (__ieee754_gammal_r): Do intermediate computations in
14817         round-to-nearest then adjust overflowing and underflowing results
14818         as needed.  Use 1.0L not 1.0f as numerator of division.
14819         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
14820         of X_ADJ not X when adjusting exponent.
14821         (__ieee754_gammal_r): Do intermediate computations in
14822         round-to-nearest then adjust overflowing and underflowing results
14823         as needed.  Use 1.0L not 1.0f as numerator of division.
14824         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
14825         to auto-libm-test-in.
14826         (tgamma_test): Use ALL_RM_TEST.
14827         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
14828         tests of tgamma with spurious-overflow.
14829         * math/auto-libm-test-out: Regenerated.
14830         * math/gen-libm-have-vector-test.sh: Do not check for START.
14831         * sysdeps/i386/fpu/libm-test-ulps: Update.
14832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14834         [BZ #18612]
14835         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
14836         arguments, just return 0.5 times the argument, with underflow
14837         forced as needed.
14838         * math/auto-libm-test-in: Add more tests of j1.
14839         * math/auto-libm-test-out: Regenerated.
14841         [BZ #16559]
14842         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
14843         (__ieee754_j1): Force underflow exception for small results.
14844         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14845         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
14846         (__ieee754_j1f): Force underflow exception for small results.
14847         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14848         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14849         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14850         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
14851         (__ieee754_j1l): Force underflow exception for small results.
14852         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14853         * math/auto-libm-test-in: Add more tests of j1 and jn.
14854         * math/auto-libm-test-out: Regenerated.
14856         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
14857         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
14858         (PF_MPLS): Likewise.
14859         (AF_IB): Likewise.
14860         (AF_MPLS): Likewise.
14861         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
14862         value and macro.
14863         (MS_RMT_MASK): Include MS_LAZYTIME.
14865 2015-06-26  Mel Gorman  <mgorman@suse.de>
14867         [BZ #18502]
14868         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
14869         already minimal.
14871 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
14873         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
14874         (DT_MIPS_NUM): Update.
14875         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
14876         DT_MIPS_RLD_MAP_REL.
14878 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
14880         [BZ #16559]
14881         [BZ #18602]
14882         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
14883         round-to-nearest internally then recompute results that
14884         underflowed to zero in the original rounding mode.
14885         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14886         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14887         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14888         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14889         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
14890         * sysdeps/i386/fpu/libm-test-ulps: Update.
14891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14893 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
14895         * NEWS: Fixed description of link with vector math library.
14897 2015-06-25  Andreas Schwab  <schwab@suse.de>
14899         [BZ #18549]
14900         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
14901         * libio/test-fmemopen.c (do_test): Add test for it.
14903 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
14905         [BZ #17841]
14906         * Makeconfig (no-pie-ldflag): New.
14907         (+link): Set to $(+link-pie) if default to PIE.
14908         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
14909         * config.make.in (build-pie-default): New.
14910         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
14911         is default.  AC_SUBST.
14912         * configure: Regenerated.
14913         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
14915 2015-06-24  Roland McGrath  <roland@hack.frob.com>
14917         * nptl/descr.h (struct pthread): Change type of field setxid_futex
14918         to 'unsigned int'.
14920         * resolv/gai_misc.h (struct waitlist): Change type of field
14921         counterp to 'volatile unsigned int *'.
14922         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
14923         FUTEXADDR and OLDVAL.
14924         * resolv/getaddrinfo_a.c (getaddrinfo_a):
14925         Give local variable TOTAL type 'volatile unsigned int'.
14926         (struct async_waitlist): Change type of field counter to 'unsigned int'.
14927         * resolv/gai_suspend.c (gai_suspend):
14928         Give local variable CNTR type 'unsigned int'.
14930         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
14931         counterp to 'volatile unsigned int *'.
14932         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
14933         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
14934         (aio_suspend): Give local variable CNTR type 'unsigned int'.
14935         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
14936         Give local variable TOTAL type 'volatile unsigned int'.
14937         (struct async_waitlist): Change type of field counter to 'unsigned int'.
14939 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
14941         [BZ #18383]
14942         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
14943         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
14944         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
14945         comment for i386/x86-64.
14946         (test-xfail-tst-tlsalign-extern-static): Removed.
14948 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
14950         * math/test-double.h: New file.
14951         * math/test-float.h: Likewise.
14952         * math/test-ldouble.h: Likewise.
14953         * math/test-math-inline.h: Likewise.
14954         * math/test-math-no-inline.h: Likewise.
14955         * math/test-math-scalar.h: Likewise.
14956         * math/test-math-vector.h: Likewise.
14957         * math/test-vec-loop.h: Remove file.  Contents moved into
14958         test-math-vector.h.
14959         * math/libm-test.inc (MATHCONST): Do not document macro.
14960         * math/test-double.c: Include test-double.h, test-math-no-inline.h
14961         and test-math-scalar.h.
14962         (FUNC): Remove macro.
14963         (FUNC_TEST): Likewise.
14964         (FLOAT): Likewise.
14965         (MATHCONST): Likewise.
14966         (PRINTF_EXPR): Likewise.
14967         (PRINTF_XEXPR): Likewise.
14968         (PRINTF_NEXPR): Likewise.
14969         (TEST_DOUBLE): Likewise.
14970         (TEST_MATHVEC): Likewise.
14971         (__NO_MATH_INLINES): Likewise.
14972         * math/test-float.c: Include test-float.h, test-math-no-inline.h
14973         and test-math-scalar.h.
14974         (FUNC): Remove macro.
14975         (FUNC_TEST): Likewise.
14976         (FLOAT): Likewise.
14977         (MATHCONST): Likewise.
14978         (PRINTF_EXPR): Likewise.
14979         (PRINTF_XEXPR): Likewise.
14980         (PRINTF_NEXPR): Likewise.
14981         (TEST_FLOAT): Likewise.
14982         (TEST_MATHVEC): Likewise.
14983         (__NO_MATH_INLINES): Likewise.
14984         * math/test-idouble.c: Include test-double.h, test-math-inline.h
14985         and test-math-scalar.h.
14986         (FUNC): Remove macro.
14987         (FUNC_TEST): Likewise.
14988         (FLOAT): Likewise.
14989         (MATHCONST): Likewise.
14990         (PRINTF_EXPR): Likewise.
14991         (PRINTF_XEXPR): Likewise.
14992         (PRINTF_NEXPR): Likewise.
14993         (TEST_DOUBLE): Likewise.
14994         (TEST_MATHVEC): Likewise.
14995         (TEST_INLINE): Likewise.
14996         (__NO_MATH_INLINES): Likewise.
14997         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
14998         test-math-scalar.h.
14999         (FUNC): Remove macro.
15000         (FUNC_TEST): Likewise.
15001         (FLOAT): Likewise.
15002         (MATHCONST): Likewise.
15003         (PRINTF_EXPR): Likewise.
15004         (PRINTF_XEXPR): Likewise.
15005         (PRINTF_NEXPR): Likewise.
15006         (TEST_FLOAT): Likewise.
15007         (TEST_MATHVEC): Likewise.
15008         (TEST_INLINE): Likewise.
15009         (__NO_MATH_INLINES): Likewise.
15010         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
15011         and test-math-scalar.h.
15012         (FUNC): Remove macro.
15013         (FUNC_TEST): Likewise.
15014         (FLOAT): Likewise.
15015         (MATHCONST): Likewise.
15016         (PRINTF_EXPR): Likewise.
15017         (PRINTF_XEXPR): Likewise.
15018         (PRINTF_NEXPR): Likewise.
15019         (TEST_LDOUBLE): Likewise.
15020         (TEST_MATHVEC): Likewise.
15021         (TEST_INLINE): Likewise.
15022         (__NO_MATH_INLINES): Likewise.
15023         * math/test-ldouble.c: Include test-ldouble.h,
15024         test-math-no-inline.h and test-math-scalar.h.
15025         (FUNC): Remove macro.
15026         (FUNC_TEST): Likewise.
15027         (FLOAT): Likewise.
15028         (MATHCONST): Likewise.
15029         (PRINTF_EXPR): Likewise.
15030         (PRINTF_XEXPR): Likewise.
15031         (PRINTF_NEXPR): Likewise.
15032         (TEST_LDOUBLE): Likewise.
15033         (TEST_MATHVEC): Likewise.
15034         (__NO_MATH_INLINES): Likewise.
15035         * math/test-double-vlen2.h: Include test-double.h,
15036         test-math-no-inline.h and test-math-vector.h.
15037         (FLOAT): Remove macro.
15038         (FUNC): Likewise.
15039         (MATHCONST): Likewise.
15040         (PRINTF_EXPR): Likewise.
15041         (PRINTF_XEXPR): Likewise.
15042         (PRINTF_NEXPR): Likewise.
15043         (TEST_DOUBLE): Likewise.
15044         (TEST_MATHVEC): Likewise.
15045         (__NO_MATH_INLINES): Likewise.
15046         (CNCT): Likewise.
15047         (CONCAT): Likewise.
15048         (WRAPPER_NAME): Likewise.
15049         (WRAPPER_DECL): Likewise.
15050         (WRAPPER_DECL_ff): Likewise.
15051         (WRAPPER_DECL_fFF): Likewise.
15052         (VECTOR_WRAPPER): Likewise.
15053         (VECTOR_WRAPPER_ff): Likewise.
15054         (VECTOR_WRAPPER_fFF): Likewise.
15055         (VEC_LEN): New macro.
15056         * math/test-double-vlen4.h: Include test-double.h,
15057         test-math-no-inline.h and test-math-vector.h.
15058         (FLOAT): Remove macro.
15059         (FUNC): Likewise.
15060         (MATHCONST): Likewise.
15061         (PRINTF_EXPR): Likewise.
15062         (PRINTF_XEXPR): Likewise.
15063         (PRINTF_NEXPR): Likewise.
15064         (TEST_DOUBLE): Likewise.
15065         (TEST_MATHVEC): Likewise.
15066         (__NO_MATH_INLINES): Likewise.
15067         (CNCT): Likewise.
15068         (CONCAT): Likewise.
15069         (WRAPPER_NAME): Likewise.
15070         (WRAPPER_DECL): Likewise.
15071         (WRAPPER_DECL_ff): Likewise.
15072         (WRAPPER_DECL_fFF): Likewise.
15073         (VECTOR_WRAPPER): Likewise.
15074         (VECTOR_WRAPPER_ff): Likewise.
15075         (VECTOR_WRAPPER_fFF): Likewise.
15076         (VEC_LEN): New macro.
15077         * math/test-double-vlen8.h: Include test-double.h,
15078         test-math-no-inline.h and test-math-vector.h.
15079         (FLOAT): Remove macro.
15080         (FUNC): Likewise.
15081         (MATHCONST): Likewise.
15082         (PRINTF_EXPR): Likewise.
15083         (PRINTF_XEXPR): Likewise.
15084         (PRINTF_NEXPR): Likewise.
15085         (TEST_DOUBLE): Likewise.
15086         (TEST_MATHVEC): Likewise.
15087         (__NO_MATH_INLINES): Likewise.
15088         (CNCT): Likewise.
15089         (CONCAT): Likewise.
15090         (WRAPPER_NAME): Likewise.
15091         (WRAPPER_DECL): Likewise.
15092         (WRAPPER_DECL_ff): Likewise.
15093         (WRAPPER_DECL_fFF): Likewise.
15094         (VECTOR_WRAPPER): Likewise.
15095         (VECTOR_WRAPPER_ff): Likewise.
15096         (VECTOR_WRAPPER_fFF): Likewise.
15097         (VEC_LEN): New macro.
15098         * math/test-float-vlen4.h: Include test-float.h,
15099         test-math-no-inline.h and test-math-vector.h.
15100         (FLOAT): Remove macro.
15101         (FUNC): Likewise.
15102         (MATHCONST): Likewise.
15103         (PRINTF_EXPR): Likewise.
15104         (PRINTF_XEXPR): Likewise.
15105         (PRINTF_NEXPR): Likewise.
15106         (TEST_FLOAT): Likewise.
15107         (TEST_MATHVEC): Likewise.
15108         (__NO_MATH_INLINES): Likewise.
15109         (CNCT): Likewise.
15110         (CONCAT): Likewise.
15111         (WRAPPER_NAME): Likewise.
15112         (WRAPPER_DECL): Likewise.
15113         (WRAPPER_DECL_ff): Likewise.
15114         (WRAPPER_DECL_fFF): Likewise.
15115         (VECTOR_WRAPPER): Likewise.
15116         (VECTOR_WRAPPER_ff): Likewise.
15117         (VECTOR_WRAPPER_fFF): Likewise.
15118         (VEC_LEN): New macro.
15119         * math/test-float-vlen8.h: Include test-float.h,
15120         test-math-no-inline.h and test-math-vector.h.
15121         (FLOAT): Remove macro.
15122         (FUNC): Likewise.
15123         (MATHCONST): Likewise.
15124         (PRINTF_EXPR): Likewise.
15125         (PRINTF_XEXPR): Likewise.
15126         (PRINTF_NEXPR): Likewise.
15127         (TEST_FLOAT): Likewise.
15128         (TEST_MATHVEC): Likewise.
15129         (__NO_MATH_INLINES): Likewise.
15130         (CNCT): Likewise.
15131         (CONCAT): Likewise.
15132         (WRAPPER_NAME): Likewise.
15133         (WRAPPER_DECL): Likewise.
15134         (WRAPPER_DECL_ff): Likewise.
15135         (WRAPPER_DECL_fFF): Likewise.
15136         (VECTOR_WRAPPER): Likewise.
15137         (VECTOR_WRAPPER_ff): Likewise.
15138         (VECTOR_WRAPPER_fFF): Likewise.
15139         (VEC_LEN): New macro.
15140         * math/test-float-vlen16.h: Include test-float.h,
15141         test-math-no-inline.h and test-math-vector.h.
15142         (FLOAT): Remove macro.
15143         (FUNC): Likewise.
15144         (MATHCONST): Likewise.
15145         (PRINTF_EXPR): Likewise.
15146         (PRINTF_XEXPR): Likewise.
15147         (PRINTF_NEXPR): Likewise.
15148         (TEST_FLOAT): Likewise.
15149         (TEST_MATHVEC): Likewise.
15150         (__NO_MATH_INLINES): Likewise.
15151         (CNCT): Likewise.
15152         (CONCAT): Likewise.
15153         (WRAPPER_NAME): Likewise.
15154         (WRAPPER_DECL): Likewise.
15155         (WRAPPER_DECL_ff): Likewise.
15156         (WRAPPER_DECL_fFF): Likewise.
15157         (VECTOR_WRAPPER): Likewise.
15158         (VECTOR_WRAPPER_ff): Likewise.
15159         (VECTOR_WRAPPER_fFF): Likewise.
15160         (VEC_LEN): New macro.
15161         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
15162         test-vec-loop.h.
15163         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15164         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15165         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15166         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15167         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15168         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15169         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
15171 2015-06-24  Roland McGrath  <roland@hack.frob.com>
15173         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
15174         (__getlogin_r): ... this.
15176 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
15178         [BZ #18594]
15179         * math/s_ccosh.c (__ccosh): Compare with least normal value
15180         instead of comparing class with FP_SUBNORMAL.
15181         * math/s_ccoshf.c (__ccoshf): Likewise.
15182         * math/s_ccoshl.c (__ccoshl): Likewise.
15183         * math/s_cexp.c (__cexp): Likewise.
15184         * math/s_cexpf.c (__cexpf): Likewise.
15185         * math/s_cexpl.c (__cexpl): Likewise.
15186         * math/s_csin.c (__csin): Likewise.
15187         * math/s_csinf.c (__csinf): Likewise.
15188         * math/s_csinh.c (__csinh): Likewise.
15189         * math/s_csinhf.c (__csinhf): Likewise.
15190         * math/s_csinhl.c (__csinhl): Likewise.
15191         * math/s_csinl.c (__csinl): Likewise.
15192         * math/s_ctan.c (__ctan): Likewise.
15193         * math/s_ctanf.c (__ctanf): Likewise.
15194         * math/s_ctanh.c (__ctanh): Likewise.
15195         * math/s_ctanhf.c (__ctanhf): Likewise.
15196         * math/s_ctanhl.c (__ctanhl): Likewise.
15197         * math/s_ctanl.c (__ctanl): Likewise.
15198         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
15199         csin, csinh, ctan and ctanh.
15200         * math/auto-libm-test-out: Regenerated.
15201         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
15202         * sysdeps/i386/fpu/libm-test-ulps: Update.
15203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15205 2015-06-24  Roland McGrath  <roland@hack.frob.com>
15207         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
15208         return value is wrong, print the expected value too.
15210 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
15212         [BZ #18585]
15213         * elf/readlib.c (is_gdb_python_file): New.
15214         (process_file): Don't issue errors on filenames with -gdb.py
15215         suffix.
15217 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
15219         * math/auto-libm-test-in: Add more tests of csin and csinh.
15220         * math/auto-libm-test-out: Regenerated.
15221         * math/libm-test.inc (csin_test_data): Remove tests moved to
15222         auto-libm-test-in.
15223         (csinh_test_data): Likewise.
15225         [BZ #18593]
15226         * math/s_csin.c (__csin): Negate before rather than after possibly
15227         overflowing multiplication.
15228         * math/s_csinf.c (__csinf): Likewise.
15229         * math/s_csinh.c (__csinh): Likewise.
15230         * math/s_csinhf.c (__csinhf): Likewise.
15231         * math/s_csinhl.c (__csinhl): Likewise.
15232         * math/s_csinl.c (__csinl): Likewise.
15233         * math/auto-libm-test-in: Add some tests of csin and csinh.
15234         * math/auto-libm-test-out: Regenerated.
15235         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
15236         (csinh_test_data): Likewise.
15237         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15239         [BZ #18586]
15240         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
15241         underflow exception for small results.
15243 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
15245         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
15246         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
15247         variable and included header.
15248         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
15249         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
15250         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
15251         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
15252         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
15253         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
15254         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
15255         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
15256         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
15257         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
15258         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
15259         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
15260         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
15261         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
15262         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
15263         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
15265 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
15267         [BZ #16526]
15268         [BZ #16538]
15269         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
15270         (__sin): Force underflow exception for arguments with small
15271         absolute value.
15272         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
15273         (__kernel_sinf): Force underflow exception for arguments with
15274         small absolute value.
15275         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
15276         (__kernel_sincosl): Force underflow exception for arguments with
15277         small absolute value.
15278         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
15279         (__kernel_sinl): Force underflow exception for arguments with
15280         small absolute value.
15281         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
15282         (__kernel_sincosl): Force underflow exception for arguments with
15283         small absolute value.
15284         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
15285         (__kernel_sinl): Force underflow exception for arguments with
15286         small absolute value.
15287         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
15288         (__kernel_sinl): Force underflow exception for arguments with
15289         small absolute value.
15290         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
15291         (__kernel_sinf): Force underflow exception for arguments with
15292         small absolute value.
15293         * math/auto-libm-test-in: Add more tests of sin and sincos.
15294         * math/auto-libm-test-out: Regenerated.
15296         [BZ #18245]
15297         [BZ #18583]
15298         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
15299         (__kernel_standard_l): Use feholdexcept and fesetenv around
15300         conversion to double instead of special-casing overflow and
15301         underflow.
15302         * math/libm-test.inc (fmod_test_data): Add more tests.
15303         (remainder_test_data): Likewise.
15304         (sqrt_test_data): Likewise.
15306 2015-06-23  Torvald Riegel  <triegel@redhat.com>
15308         [BZ #17403]
15309         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
15310         atomic_read_barrier, atomic_write_barrier): Define.
15311         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
15312         atomic_read_barrier, atomic_write_barrier): Define.
15314 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
15316         * math/Makefile [$(PERL) != no]
15317         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
15318         dependency on libm-test.stmp below the inclusion of Rules.
15320 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
15322         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
15323         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
15324         and included header.
15325         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
15326         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
15327         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
15328         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
15329         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
15330         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
15331         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
15332         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
15333         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
15334         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
15335         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
15336         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
15337         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
15338         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
15339         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
15340         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
15341         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
15342         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
15343         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
15345 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
15347         [BZ #18371]
15348         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
15349         intermediate but not final result might underflow.
15350         * math/s_csqrtf.c (__csqrtf): Likewise.
15351         * math/s_csqrtl.c (__csqrtl): Likewise.
15352         * math/auto-libm-test-in: Add more tests of csqrt.
15353         * math/auto-libm-test-out: Regenerated.
15354         * sysdeps/i386/fpu/libm-test-ulps: Update.
15356         [BZ #18219]
15357         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
15358         threshold on absolute value of exponent for which scaling is used.
15359         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
15360         * math/auto-libm-test-in: Add more tests of exp2.
15361         * math/auto-libm-test-out: Regenerated.
15363 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
15365         [BZ #17977]
15366         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
15367         when initializing interface list, based on the bug analysis
15368         and the patch proposed by Eric Newton.
15369         * resolv/tst-res_hconf_reorder.c: New test.
15370         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
15371         tst-res_hconf_reorder.
15372         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
15373         and $(shared-thread-library).
15374         (tst-res_hconf_reorder-ENV): New variable.
15376         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
15377         in comment.
15379 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
15381         [BZ #16353]
15382         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
15383         (__expm1): Force underflow exception for arguments with small
15384         absolute value.
15385         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
15386         (__expm1f): Force underflow exception for arguments with small
15387         absolute value.
15388         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
15389         (__expm1): Force underflow exception for arguments with small
15390         absolute value.
15391         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
15392         (__expm1f): Force underflow exception for arguments with small
15393         absolute value.
15394         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15395         Check for small arguments before calling __expm1.
15396         * math/auto-libm-test-in: Do not mark underflow exceptions as
15397         possibly missing for bug 16353.
15398         * math/auto-libm-test-out: Regenerated.
15400 2015-06-22  Andreas Schwab  <schwab@suse.de>
15402         [BZ #18513]
15403         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
15404         PTR queries.
15406 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
15408         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
15410         * string/strcoll_l.c: Remove unused struct element idxnow.
15412 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
15414         [BZ #18569]
15415         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
15416         underflow and return argument in case of subnormal argument.
15417         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15418         Likewise.
15419         * math/auto-libm-test-in: Add more tests of expm1.
15420         * math/auto-libm-test-out: Regenerated.
15422         [BZ #16361]
15423         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
15424         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
15425         tiny results.
15426         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
15427         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
15428         tiny results.
15429         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
15430         mark underflow exceptions as possibly missing for bug 16361.
15431         * math/auto-libm-test-out: Regenerated.
15433 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
15435         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
15436         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
15437         Remove variable.
15438         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15439         (test-xfail-XOPEN2K8/utmpx.h/conform).
15441         * conform/conformtest.pl ($xerrors): New variable.
15442         (note_error): New function.
15443         (compiletest): New argument $xfail.  Use not_error.
15444         (runtest): Likewise.
15445         (top level): Handle xfail- lines.  Update calls to compiletest and
15446         runtest.  Handle xfail- and optional- in headers listed with
15447         allow-header.
15448         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
15449         (O_EXEC): Likewise.
15450         (O_SEARCH): Likewise.
15451         * conform/data/stropts.h-data (ioctl): Likewise.
15452         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
15453         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
15454         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
15455         (msghdr.msg_controllen): Likewise.
15456         (cmsghdr.cmsg_len): Likewise.
15457         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
15458         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
15459         variable.
15460         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15461         (test-xfail-XPG4/stropts.h/conform): Likewise.
15462         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15463         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15464         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15465         (test-xfail-UNIX98/stropts.h/conform): Likewise.
15466         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15467         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15468         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15469         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15470         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15471         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15472         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15473         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15474         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15475         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15476         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15477         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15478         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15479         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15480         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15482 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
15484         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
15485         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
15486         definitions for proper unfolding of __MATHDECL_VEC.
15488 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
15490         * benchtests/bench-strcoll.c:
15491         Include string.h.
15492         (main): Remove unused variable res.
15494 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
15496         * timezone/Makefile (%/UTC %/Universal):
15497         Generate test-result files for UTC and Universal.
15499 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
15501         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15503 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
15505         [BZ #16350]
15506         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
15507         for arguments with small absolute value.
15508         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
15509         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
15510         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
15511         (__asinh): Force underflow exception for arguments with small
15512         absolute value.
15513         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
15514         (__asinhf): Force underflow exception for arguments with small
15515         absolute value.
15516         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
15517         (__asinhl): Force underflow exception for arguments with small
15518         absolute value.
15519         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
15520         (__asinhl): Force underflow exception for arguments with small
15521         absolute value.
15522         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
15523         (__asinhl): Force underflow exception for arguments with small
15524         absolute value.
15525         * math/auto-libm-test-in: Do not mark underflow exceptions as
15526         possibly missing for bug 16350.
15527         * math/auto-libm-test-out: Regenerated.
15529         * include/bits/ipc.h: Remove file.
15530         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
15531         variable.
15532         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15533         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15534         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15535         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15536         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15537         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15538         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15539         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15540         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15542         * math/auto-libm-test-in: Remove spurious underflow allowance for
15543         tests of cexp.
15544         * math/auto-libm-test-out: Regenerated.
15546         [BZ #18558]
15547         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
15548         unconditional definition.
15549         (MCAST_BLOCK_SOURCE): Likewise.
15550         (MCAST_UNBLOCK_SOURCE): Likewise.
15551         (MCAST_LEAVE_GROUP): Likewise.
15552         (MCAST_JOIN_SOURCE_GROUP): Likewise.
15553         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
15554         (MCAST_MSFILTER): Likewise.
15555         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
15556         Remove variable.
15557         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15558         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15559         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15560         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15561         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15563 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
15565         * NEWS: Mention addition of x86_64 vector sincosf.
15566         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
15567         * math/test-float-vlen4.h: Likewise.
15568         * math/test-float-vlen8.h: Likewise.
15569         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15570         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
15571         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15572         * sysdeps/x86_64/fpu/Versions: New versions added.
15573         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15574         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15575         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15576         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
15577         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
15578         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
15579         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
15580         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
15581         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
15582         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
15583         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
15584         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
15585         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
15586         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
15587         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
15588         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
15589         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
15590         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
15591         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15592         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15593         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15594         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15595         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15596         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15598         * NEWS: Mention addition of x86_64 vector sincos.
15599         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
15600         * math/math.h (__MATHDECL_VEC): New macro.
15601         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
15602         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
15603         declaration under condition.
15604         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
15605         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
15606         TEST_VEC_LOOP change.
15607         * math/test-double-vlen4.h: Likewise.
15608         * math/test-double-vlen8.h: Likewise.
15609         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
15610         * math/test-float-vlen4.h: Likewise.
15611         * math/test-float-vlen8.h: Likewise.
15612         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15613         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
15614         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15615         * sysdeps/x86_64/fpu/Versions: New versions added.
15616         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15617         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15618         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15619         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
15620         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
15621         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
15622         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
15623         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
15624         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
15625         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
15626         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
15627         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
15628         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
15629         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
15630         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
15631         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
15632         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
15633         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15634         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15635         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15636         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15637         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15638         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15639         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15641         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15642         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15643         redirections for powf.
15644         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15645         * sysdeps/x86_64/fpu/Versions: New versions added.
15646         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15647         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15648         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15649         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
15650         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
15651         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
15652         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
15653         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
15654         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
15655         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
15656         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
15657         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
15658         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
15659         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
15660         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
15661         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
15662         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
15663         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15664         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15665         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15666         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15667         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15668         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15669         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15670         * math/test-float-vlen16.h: Fixed 2 argument macro.
15671         * math/test-float-vlen4.h: Likewise.
15672         * math/test-float-vlen8.h: Likewise.
15673         * NEWS: Mention addition of x86_64 vector powf.
15675 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
15677         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15678         and redefine.
15679         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15680         and redefine.
15681         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
15682         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
15683         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15685         [BZ #18553]
15686         * resource/getpriority.c (getpriority): Rename to __getpriority
15687         and define as weak alias of __getpriority.
15688         * resource/setpriority.c (setpriority): Rename to __setpriority
15689         and define as weak alias of __setpriority.
15690         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
15691         __getpriority and define as weak alias of __getpriority.
15692         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
15693         __setpriority and define as weak alias of __setpriority.
15694         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
15695         strong name.
15696         (setpriority): Use __setpriority as strong name.
15697         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
15698         __getpriority and define as weak alias of __getpriority.
15699         * include/sys/resource.h (__getpriority): Declare.  Use
15700         libc_hidden_proto.
15701         (__setpriority): Likewise.
15702         (getpriority): Don't use libc_hidden_proto.
15703         (setpriority): Likewise.
15704         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
15705         getpriority.  Call __setpriority instead of setpriority.
15706         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
15707         Remove variable.
15709         [BZ #18547]
15710         * misc/getttyent.c (getttynam): Rename to __getttynam and define
15711         as weak alias of __getttynam.  Use prototype function definition.
15712         Call __setttyent, __getttyent and __endttyent instead of
15713         setttyent, getttyent and endttyent.
15714         (getttyent): Rename to __getttyent and define as weak alias of
15715         __getttyent.  Call __setttyent instead of setttyent.  Call
15716         __fgets_unlocked instead of fgets_unlocked.
15717         (setttyent): Rename to __setttyent and define as weak alias of
15718         __setttyent.
15719         (endttyent): Rename to __endttyent and define as weak alias of
15720         __endttyent.
15721         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
15722         (__setttyent): Likewise.
15723         (__endttyent): Likewise.
15724         (getttyent): Don't use libc_hidden_proto.
15725         (setttyent): Likewise.
15726         (endttyent): Likewise.
15727         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
15728         __endttyent instead of setttyent, getttyent and endttyent.
15729         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
15730         Remove variable.
15732         [BZ #18546]
15733         * socket/recv.c (__recv): Use libc_hidden_def.
15734         * socket/socket.c (__socket): Likewise.
15735         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
15736         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
15737         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
15738         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
15739         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
15740         libc_hidden_def.
15741         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
15742         libc_hidden_weak.
15743         * include/sys/socket.h (__socket): Do not use attribute_hidden.
15744         Use libc_hidden_proto.
15745         (__recv): Likewise.
15746         * socket/Versions (libc): Export __recv and __socket at version
15747         GLIBC_PRIVATE.
15748         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
15749         instead of recv.
15750         (init_mq_netlink): Call __socket instead of socket.
15751         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
15752         Remove variable.
15754         [BZ #18545]
15755         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
15756         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
15757         hidden_weak.
15758         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
15759         define as alias of __mq_timedsend.  Use hidden_weak.
15760         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
15761         __mq_timedsend as strong name.
15762         (mq_timedreceive): Use __mq_timedreceive as strong name.
15763         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
15764         (__mq_timedreceive): Likewise.
15765         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
15766         __mq_timedreceive instead of mq_timedreceive.
15767         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
15768         instead of mq_timedsend.
15769         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
15770         Remove variable.
15772         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
15773         hidden_def and hidden_weak instead of libc_hidden_def and
15774         libc_hidden_weak.
15775         (top level): Refer to hidden_def in comment.
15776         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
15777         macro.  Use it instead of libc_hidden_def.
15778         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
15779         specify __GI_* name explicitly.
15780         (mq_timedreceive): Likewise.
15781         (mq_setattr): Likewise.
15783         [BZ #18544]
15784         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
15785         __pthread_barrier_init and define as weak alias of
15786         __pthread_barrier_init.
15787         * sysdeps/sparc/nptl/pthread_barrier_init.c
15788         (pthread_barrier_init): Likewise.
15789         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
15790         __pthread_barrier_wait and define as weak alias of
15791         __pthread_barrier_wait.
15792         * sysdeps/sparc/nptl/pthread_barrier_wait.c
15793         (pthread_barrier_wait): Likewise.
15794         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
15795         (pthread_barrier_wait): Likewise.
15796         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
15797         (pthread_barrier_wait): Likewise.
15798         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
15799         (pthread_barrier_wait): Likewise.
15800         * nptl/Versions (libpthread): Export __pthread_barrier_init and
15801         __pthread_barrier_wait at version GLIBC_PRIVATE.
15802         * include/pthread.h (__pthread_barrier_init): Declare.
15803         (__pthread_barrier_wait): Likewise.
15804         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
15805         Call __pthread_barrier_wait instead of pthread_barrier_wait.
15806         (helper_thread): Likewise.
15807         (init_mq_netlink): Call __pthread_barrier_init instead of
15808         pthread_barrier_init.
15810         [BZ #18542]
15811         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
15812         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
15813         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
15814         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
15815         vswscanf.
15816         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
15817         Remove variable.
15819         [BZ #18540]
15820         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
15821         strong alias of _IO_fflush.  Use libc_hidden_def.
15822         * libio/iofflush_u.c (fflush_unlocked): Rename to
15823         __fflush_unlocked and define as weak alias of __fflush_unlocked.
15824         Use libc_hidden_weak.
15825         * include/stdio.h (__fflush_unlocked): Declare.  Use
15826         libc_hidden_proto.
15827         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
15828         fflush_unlocked.
15829         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
15830         Remove variable.
15832         [BZ #18539]
15833         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
15834         define as weak alias of __addseverity.
15835         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
15836         Remove variable.
15837         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
15838         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
15839         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
15841         [BZ #18536]
15842         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
15843         (__tfind): Likewise.
15844         (__tdelete): Likewise.
15845         (__twalk): Likewise.
15846         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
15847         __twalk to GLIBC_PRIVATE.
15848         * include/search.h (__tsearch): Use libc_hidden_proto.
15849         (__tfind): Likewise.
15850         (__tdelete): Likewise.
15851         (__twalk): Likewise.
15852         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
15853         Call __tdelete instead of tdelete.
15854         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
15855         tfind.  Call __tsearch instead of tsearch.
15856         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
15857         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
15858         Remove variable.
15859         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
15861         [BZ #18534]
15862         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
15863         (dprintf): Define as a weak alias of __dprintf, not a strong
15864         alias.
15865         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
15866         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
15867         dprintf.
15868         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
15869         Remove variable.
15870         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
15871         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
15873         [BZ #18533]
15874         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
15875         not a strong alias.
15876         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
15877         Remove variable.
15879         [BZ #18532]
15880         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
15881         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
15882         (in6addr_loopback): Rename to __in6addr_loopback and define as
15883         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
15884         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
15885         libc_hidden_proto.
15886         (__in6addr_any): Likewise.
15887         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
15888         in6addr_any.
15889         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
15890         variable.
15891         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
15893 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
15895         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
15896         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
15897         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15898         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15899         redirections for pow.
15900         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15901         * sysdeps/x86_64/fpu/Versions: New versions added.
15902         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15903         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15904         build of SSE, AVX2 and AVX512 IFUNC versions.
15905         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
15906         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
15907         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
15908         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
15909         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
15910         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
15911         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
15912         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
15913         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
15914         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
15915         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
15916         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
15917         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
15918         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
15919         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15920         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15921         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15922         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15923         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15924         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15925         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15926         * NEWS: Mention addition of x86_64 vector pow.
15928         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15929         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15930         redirections for expf.
15931         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15932         * sysdeps/x86_64/fpu/Versions: New versions added.
15933         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15934         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15935         build of SSE, AVX2 and AVX512 IFUNC versions.
15936         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
15937         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
15938         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
15939         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
15940         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
15941         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
15942         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
15943         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
15944         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
15945         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
15946         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
15947         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
15948         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
15949         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15950         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15951         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15952         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15953         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15954         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15955         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15956         * NEWS: Mention addition of x86_64 vector expf.
15958         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
15959         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
15960         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15961         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15962         redirections for exp.
15963         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15964         * sysdeps/x86_64/fpu/Versions: New versions added.
15965         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15966         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15967         build of SSE, AVX2 and AVX512 IFUNC versions.
15968         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
15969         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
15970         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
15971         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
15972         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
15973         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
15974         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
15975         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
15976         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
15977         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
15978         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
15979         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
15980         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
15981         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15982         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15983         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15984         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15985         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15986         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15987         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15988         * NEWS: Mention addition of x86_64 vector exp.
15990         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15991         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15992         redirections for logf.
15993         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15994         * sysdeps/x86_64/fpu/Versions: New versions added.
15995         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15996         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15997         build of SSE, AVX2 and AVX512 IFUNC versions.
15998         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
15999         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
16000         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
16001         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
16002         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
16003         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
16004         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
16005         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
16006         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
16007         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
16008         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
16009         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
16010         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
16011         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16012         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16013         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16014         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16015         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16016         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16017         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16018         * NEWS: Mention addition of x86_64 vector logf.
16020         * bits/libm-simd-decl-stubs.h: Added stubs for log.
16021         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
16022         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16023         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
16024         redirections for log.
16025         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16026         * sysdeps/x86_64/fpu/Versions: New versions added.
16027         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16028         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16029         build of SSE, AVX2 and AVX512 IFUNC versions.
16030         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
16031         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
16032         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
16033         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
16034         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
16035         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
16036         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
16037         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
16038         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
16039         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
16040         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
16041         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
16042         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
16043         test.
16044         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16045         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16046         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16047         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16048         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16049         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16050         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16051         * NEWS: Mention addition of x86_64 vector log.
16053 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16055         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
16056         cfi_adjust_cfa_offset argument.
16057         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
16058         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
16060         [BZ #18034]
16061         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
16062         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
16063         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
16064         ordering using ldar.
16065         (_dl_tlsdesc_dynamic): Likewise.
16066         (_dl_tlsdesc_return_lazy): Likewise.
16067         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
16068         relaxed atomics instead of volatile and synchronize with release store.
16069         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
16070         volatile.
16071         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
16073 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
16075         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
16076         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
16077         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16078         * sysdeps/x86_64/fpu/Versions: New versions added.
16079         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16080         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
16081         build of SSE, AVX2 and AVX512 IFUNC versions.
16082         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
16083         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
16084         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
16085         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
16086         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
16087         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
16088         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
16089         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
16090         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
16091         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
16092         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
16093         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
16094         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
16095         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
16096         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16097         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
16098         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16099         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
16100         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16101         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16102         * NEWS: Mention addition of x86_64 vector sinf.
16104 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
16106         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
16107         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
16108         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
16109         Remove variable.
16110         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
16111         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
16113 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
16115         [BZ #18530]
16116         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
16117         strong alias of _IO_fputs.  Use libc_hidden_def.
16118         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
16119         and define as weak alias of __fputs_unlocked.  Use
16120         libc_hidden_weak.
16121         * include/stdio.h (__fputs_unlocked): Declare.  Use
16122         libc_hidden_proto.
16123         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
16124         fputs_unlocked.
16126         [BZ #18529]
16127         * resolv/netdb.h [__USE_POSIX]: Change condition to
16128         [__USE_XOPEN2K].
16129         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
16130         not expect.
16131         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
16132         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
16133         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
16134         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
16135         [XPG4 || UNIX98] (AI_ALL): Likewise.
16136         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
16137         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
16138         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
16139         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
16140         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
16141         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
16142         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
16143         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
16144         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
16145         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
16146         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
16147         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
16148         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
16149         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
16150         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
16151         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
16152         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
16153         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
16154         [XPG4 || UNIX98] (gai_strerror): Likewise.
16155         [XPG4 || UNIX98] (getaddrinfo): Likewise.
16156         [XPG4 || UNIX98] (getnameinfo): Likewise.
16158         [BZ #18528]
16159         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
16160         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
16161         __USE_XOPEN2K8].
16162         (getgrent): Likewise.
16163         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
16164         expect.
16165         [XPG3 || POSIX2008] (endgrent): Likewise.
16166         [XPG3] (setgrent): Likewise.
16167         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
16168         variable.
16169         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
16171         [BZ #18527]
16172         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
16173         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
16174         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
16175         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
16176         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
16177         * include/unistd.h (__getlogin_r): Declare.  Use
16178         libc_hidden_proto.
16179         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
16180         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
16181         variable.
16182         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
16183         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
16184         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
16186 2015-06-12  Martin Sebor  <msebor@redhat.com>
16188         [BZ #18512]
16189         * Makerules (check-install-supported): New target.
16190         (install): Add check-install-supported as a dependency.
16191         * manual/install.texi (Installing the C Library): Document
16192         that overriding prefix and exec_prefix is not supported.
16193         Mention DESTDIR.
16194         * INSTALL: Regenerate from the above.
16196 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
16198         [BZ #18519]
16199         * posix/Versions (libc): Export __libc_pread at version
16200         GLIBC_PRIVATE.
16201         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
16202         instead of pread.
16203         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
16204         variable.
16206         [BZ #18522]
16207         * misc/efgcvt_r.c
16208         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
16209         (cvt_symbol): Use weak_alias instead of strong_alias.
16210         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
16211         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
16212         Remove variable.
16213         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
16214         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
16216         [BZ #18520]
16217         * inet/herrno.c (h_errno): Rename to __h_errno.
16218         (__libc_h_errno): Define as alias of __h_errno not h_errno.
16219         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
16220         to __h_errno instead of h_errno.
16221         * nptl/herrno.c (h_errno): Rename to __h_errno.
16222         (__h_errno_location): Refer to __h_errno not h_errno.
16223         * resolv/Versions (h_errno): Rename to __h_errno.
16224         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
16225         Remove variable.
16226         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
16228 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
16230         * configure.ac: More strict check for AVX512 assembler support.
16231         * configure: Regenerated.
16233         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
16234         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
16235         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16236         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
16237         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16238         * sysdeps/x86_64/fpu/Versions: New versions added.
16239         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16240         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16241         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16242         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
16243         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
16244         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
16245         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
16246         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
16247         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
16248         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
16249         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
16250         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
16251         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
16252         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
16253         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
16254         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
16255         test.
16256         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
16257         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16258         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
16259         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16260         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16261         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16262         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
16263         * NEWS: Mention addition of x86_64 vector sin.
16265 2015-06-11  Florian Weimer  <fweimer@redhat.com>
16267         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
16268         comment.
16270 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
16272         [BZ #18479]
16273         * nptl/pt-interp.c: New file.
16274         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
16275         Add pt-interp.
16276         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
16277         $(common-objpfx)runtime-linker.h.
16279 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
16281         * Makeconfig (+interp): Remove unused variable.
16282         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
16283         only.  Depend on $(common-objpfx)runtime-linker.h instead of
16284         $(elf-objpfx)runtime-linker.h.
16285         ($(elf-objpfx)runtime-linker.h): Rename to
16286         $(common-objpfx)runtime-linker.h and move ...
16287         * Makerules [$(build-shared) = yes]: ... here.
16288         * elf/interp.c: Include <runtime-linker.h> instead of
16289         <elf/runtime-linker.h>.
16291 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16293         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
16294         (__gettimeofday_syscall): Remove vsyscall fallback.
16295         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
16296         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
16297         Add syscall fallback function.
16298         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
16299         if vDSO is not present.
16300         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
16301         fallback function.
16302         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
16303         present.
16304         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
16305         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16307 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
16309         [BZ #18497]
16310         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
16311         of wcscmp.
16312         (wcscmp): Define as weak alias of WCSCMP.
16313         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
16314         wcscoll.
16315         (USE_HIDDEN_DEF): Define.
16316         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
16317         __wcscoll.  Don't use libc_hidden_weak.
16318         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
16319         wcscmp.
16320         * sysdeps/i386/i686/multiarch/wcscmp-c.c
16321         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
16322         __GI_wcscmp.
16323         (weak_alias): Undefine and redefine.
16324         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
16325         __wcscmp and define as weak alias of __wcscmp.
16326         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
16327         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
16328         (__wcscoll): Likewise.
16329         (wcscmp): Don't use libc_hidden_proto.
16330         (wcscoll): Likewise.
16331         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
16332         wcscoll.
16333         * posix/regexec.c (check_node_accept_bytes): Likewise.
16334         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
16335         variable.
16336         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
16337         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
16339         [BZ #18507]
16340         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
16341         __fstatvfs and define as weak alias of __fstatvfs.  Use
16342         libc_hidden_weak.
16343         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
16344         and define as weak alias of __statvfs.  Use libc_hidden_weak.
16345         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
16346         Define as alias of __fstatvfs, not fstatvfs.
16347         (fstatvfs64): Likewise.
16348         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
16349         Define as alias of __statvfs, not statvfs.
16350         (statvfs64): Likewise.
16351         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
16352         Remove variable.
16354 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16357         (HAVE_GETCPU_VSYSCALL): Define.
16358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16359         (HAVE_GETCPU_VSYSCALL): Likewise.
16360         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
16361         * sysdeps/unix/sysv/linux/sched_getcpu.c
16362         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
16363         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
16364         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
16365         prototype.
16366         * sysdeps/unix/sysv/linux/x86_64/init-first.c
16367         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
16368         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
16369         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
16370         Define.
16371         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
16372         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16373         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
16374         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16376 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
16378         * sysdeps/x86_64/fpu/Makefile: New file.
16379         * sysdeps/x86_64/fpu/Versions: New file.
16380         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
16381         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
16382         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
16383         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
16384         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
16385         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
16386         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
16387         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
16388         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
16389         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
16390         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
16391         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
16392         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
16393         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16394         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16395         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
16396         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
16397         * sysdeps/x86_64/configure.ac: Options for libmvec build.
16398         * sysdeps/x86_64/configure: Regenerated.
16399         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
16400         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
16401         * manual/install.texi (Configuring and compiling): Document
16402         --disable-mathvec.
16403         * INSTALL: Regenerated.
16404         * NEWS: Mention addition of libmvec and x86_64 vector cos.
16406         * math/Makefile: Added rules for vector tests.
16407         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
16408         declaration under condition.
16409         * math/test-double-vlen2.h: New file.
16410         * math/test-double-vlen4.h: New file.
16411         * math/test-double-vlen8.h: New file.
16412         * math/test-vec-loop.h: Added initialization macro.
16413         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
16414         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
16415         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
16416         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
16417         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
16418         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
16419         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
16420         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
16421         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
16422         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
16423         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
16425         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
16426         * sysdeps/x86_64/fpu/Versions: New versions added.
16427         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
16428         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
16429         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
16430         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
16431         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
16432         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
16433         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
16434         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
16435         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
16436         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
16437         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
16438         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
16439         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
16440         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
16441         Added build of SSE, AVX2 and AVX512 IFUNC versions.
16442         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
16443         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
16444         * NEWS: Mention addition of x86_64 vector cosf.
16446         * math/Makefile: Added CFLAGS for new tests.
16447         * math/test-float-vlen16.h: New file.
16448         * math/test-float-vlen4.h: New file.
16449         * math/test-float-vlen8.h: New file.
16450         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
16451         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
16452         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16453         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
16454         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
16455         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
16456         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
16457         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
16458         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
16459         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
16460         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
16462 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
16464         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
16465         * locale/programs/ld-ctype.c: Likewise.
16467 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
16469         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
16470         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
16471         bit_ZMM16_31_state): New macro.
16472         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16473         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
16475 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
16477         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
16479 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
16481         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
16483 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
16485         [BZ #18498]
16486         * libio/memstream.c (open_memstream): Rename to __open_memstream
16487         and define as weak alias of __open_memstream.
16488         * include/stdio.h (__open_memstream): Declare.  Use
16489         libc_hidden_proto.
16490         (open_memstream): Don't use libc_hidden_proto.
16491         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
16492         open_memstream.
16493         * posix/getopt.c (_getopt_internal_r): Likewise.
16494         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
16495         variable.
16496         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
16497         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
16498         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
16500         [BZ #18496]
16501         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
16502         instead of wcrtomb.
16504         [BZ #18483]
16505         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
16506         [__USE_XOPEN2K8].  Remove redundant #endif.
16507         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
16508         Remove redundant #if.
16509         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
16510         Remove variable.
16511         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
16512         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
16514         [BZ #18495]
16515         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
16516         (__iswlower): Likewise.
16517         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
16518         (__iswlower): Likewise.
16519         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
16520         instead of towlower.
16521         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
16522         instead of iswlower.  Call __towupper instead of towupper.
16523         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
16524         instead of iswalnum.
16526 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16528         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
16529         errors to stderr.
16531 2015-06-05  Florian Weimer  <fweimer@redhat.com>
16533         [BZ #15661]
16534         [BZ #17322]
16535         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
16536         Check for overflow properly.  Check for O_APPEND.  Ignore large
16537         file system block sizes.  Add comments about problems.
16538         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
16539         * manual/filesys.texi (Storage Allocation): New node.
16541 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16543         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
16544         cancellable syscalls.
16545         (SYS_ify): Add guard to no redefine it.
16546         (INLINE_SYSCALL): Likewise.
16547         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
16548         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
16549         SYSCALL_CANCEL instead.
16550         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
16551         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
16552         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
16553         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
16554         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
16555         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
16556         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
16557         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
16558         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
16559         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
16560         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
16561         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
16562         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
16563         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
16564         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
16565         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
16566         Likewise.
16567         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
16568         (__libc_pread64): Likewise.
16569         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
16570         (__libc_preadv): Likewise.
16571         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
16572         (__libc_readv64): Likewise.
16573         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
16574         (__libc_pwrite): Likewise.
16575         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
16576         (__libc_pwrite64): Likewise.
16577         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
16578         (__libc_pwritev): Likewise.
16579         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
16580         (__libc_pwritev64): Likewise.
16581         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
16582         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
16583         (sync_file_range): Likewise.
16584         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
16585         Likewise.
16586         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
16587         Likewise.
16588         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
16589         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
16590         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
16591         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
16592         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
16593         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
16594         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
16595         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
16596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
16597         Likewise.
16598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
16599         (__libc_read64): Likewise.
16600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
16601         Likewise.
16602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
16603         Likewise.
16604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
16605         Likewise.
16606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
16607         Likewise.
16608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
16609         (__libc_pread64): Likewise.
16610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
16611         Likewise.
16612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
16613         (__libc_pwrite64): Likewise.
16614         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
16615         (sync_file_range): Likewise.
16616         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
16617         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
16618         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
16619         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
16620         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
16621         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
16622         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
16623         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
16624         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
16625         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
16626         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
16627         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
16628         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
16629         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
16630         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
16631         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
16632         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
16633         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
16634         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
16635         Likewise.
16636         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
16637         Likewise.
16638         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
16639         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
16640         Likewise.
16641         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
16642         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
16643         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
16644         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
16645         Likewise.
16646         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
16647         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
16648         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
16649         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
16650         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
16652 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
16654         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
16655         Include dl-vdso.
16656         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
16657         Use VDSO routines for gettimeofday, clock_gettime if
16658         available.
16659         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
16660         Declare VDSO symbols.
16661         * sysdeps/unix/sysv/linux/arm/sysdep.h:
16662         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
16663         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
16664         * sysdeps/unix/sysv/linux/arm/Versions: Add
16665         __vdso_clock_gettime.
16667 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16669         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
16670         be an inline implementation regardless of library is built within.
16671         (open_not_cancel_2): Likewise.
16672         (__read_nocancel): Likewise.
16673         (__write_nocancel): Likewise.
16674         (openat_not_cancel): Likewise.
16675         (openat_not_cancel_3): Likewise.
16676         (openat64_not_cancel): Likewise.
16677         (openat64_not_cancel_3): Likewise.
16678         (__close_nocancel): Likewise.
16679         (pause_not_cancel): Likewise.
16680         (nanosleep_not_cancel): Likewise.
16681         (sigsuspend_not_cancel): Likewise.
16683 2015-06-04  Torvald Riegel  <triegel@redhat.com>
16685         [BZ #14958]
16686         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
16687         wake-up.
16688         (__pthread_rwlock_rdlock_slow): Likewise.
16689         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
16690         Likewise.
16691         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
16692         Likewise.
16693         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
16694         * nptl/tst-rwlock16.c: New file.
16695         * nptl/Makefile (tests): Add new test.
16697 2015-06-04  Torvald Riegel  <triegel@redhat.com>
16699         [BZ #18324]
16700         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
16701         missing wake-up of readers.
16702         * nptl/tst-rwlock15.c: New file.
16703         * nptl/Makefile (tests): Add new test.
16705 2015-06-03  Roland McGrath  <roland@hack.frob.com>
16707         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
16708         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
16709         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
16710         and __nacl_supply_interface_rtld.
16711         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
16712         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
16713         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
16714         Add __nacl_supply_interface_rtld.
16715         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
16717 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
16719         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
16720         isfinite.
16721         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16722         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
16724 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
16726         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
16727         __signbit* with standard C99 macros.
16728         * math/e_exp10l.c: Likewise.
16729         * math/e_exp2l.c: Likewise.
16730         * math/e_scalb.c: Likewise.
16731         * math/e_scalbf.c: Likewise.
16732         * math/e_scalbl.c: Likewise.
16733         * math/s_ldexp.c: Likewise.
16734         * math/s_ldexpf.c: Likewise.
16735         * math/s_ldexpl.c: Likewise.
16736         * math/w_atan2.c: Likewise.
16737         * math/w_atan2f.c: Likewise.
16738         * math/w_atan2l.c: Likewise.
16739         * math/w_cosh.c: Likewise.
16740         * math/w_coshf.c: Likewise.
16741         * math/w_coshl.c: Likewise.
16742         * math/w_exp10.c: Likewise.
16743         * math/w_exp10f.c: Likewise.
16744         * math/w_exp10l.c: Likewise.
16745         * math/w_exp2.c: Likewise.
16746         * math/w_exp2f.c: Likewise.
16747         * math/w_exp2l.c: Likewise.
16748         * math/w_fmod.c: Likewise.
16749         * math/w_fmodf.c: Likewise.
16750         * math/w_fmodl.c: Likewise.
16751         * math/w_hypot.c: Likewise.
16752         * math/w_hypotf.c: Likewise.
16753         * math/w_hypotl.c: Likewise.
16754         * math/w_jnl.c: Likewise.
16755         * math/w_lgamma.c: Likewise.
16756         * math/w_lgamma_r.c: Likewise.
16757         * math/w_lgammaf.c: Likewise.
16758         * math/w_lgammaf_r.c: Likewise.
16759         * math/w_lgammal.c: Likewise.
16760         * math/w_lgammal_r.c: Likewise.
16761         * math/w_pow.c: Likewise.
16762         * math/w_powf.c: Likewise.
16763         * math/w_powl.c: Likewise.
16764         * math/w_remainder.c: Likewise.
16765         * math/w_remainderf.c: Likewise.
16766         * math/w_remainderl.c: Likewise.
16767         * math/w_scalb.c: Likewise.
16768         * math/w_scalbf.c: Likewise.
16769         * math/w_scalbl.c: Likewise.
16770         * math/w_scalbln.c: Likewise.
16771         * math/w_scalblnf.c: Likewise.
16772         * math/w_scalblnl.c: Likewise.
16773         * math/w_sinh.c: Likewise.
16774         * math/w_sinhf.c: Likewise.
16775         * math/w_sinhl.c: Likewise.
16776         * math/w_tgamma.c: Likewise.
16777         * math/w_tgammaf.c: Likewise.
16778         * math/w_tgammal.c: Likewise.
16779         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16780         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
16781         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16782         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16783         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16784         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16785         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
16786         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
16787         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16788         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16789         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16790         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
16791         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16792         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16793         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16794         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16795         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16796         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16797         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16798         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16799         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16800         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16801         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16802         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16803         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
16804         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16805         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
16806         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16807         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16808         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16809         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
16810         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
16811         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
16812         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
16813         * stdio-common/printf_fp.c: Likewise.
16814         * stdio-common/printf_fphex.c: Likewise.
16815         * stdio-common/printf_size.c: Likewise.
16817 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
16819         [BZ #18470]
16820         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
16821         strnlen.
16822         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
16823         Remove variable.
16824         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
16825         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
16826         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
16827         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
16828         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
16829         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
16830         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
16831         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
16832         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
16833         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
16835         [BZ #18468]
16836         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
16837         weak alias of __wmemchr.  Use libc_hidden_weak.
16838         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
16839         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
16840         instead of wmemchr.
16842 2015-06-02  Roland McGrath  <roland@hack.frob.com>
16844         [BZ #18383]
16845         * elf/tst-tlsalign-extern.c: New file.
16846         * elf/tst-tlsalign-extern-static.c: New file.
16847         * elf/tst-tlsalign-vars.c: New file.
16848         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
16849         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
16850         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
16851         ($(objpfx)tst-tlsalign-extern-static): Likewise.
16852         (test-xfail-tst-tlsalign-extern-static): New variable.
16854 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
16856         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
16857         Use variable name _sc_err instead of err.
16858         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
16859         instead of ret.
16860         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
16861         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
16862         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
16863         (INLINE_SYSCALL): Likewise.
16865         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
16866         * include/string.h (__strnlen): Use libc_hidden_proto.
16867         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
16868         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
16869         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
16870         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
16871         (libc_hidden_def): Undefine and redefine.
16872         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
16873         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
16874         __GI_strnlen.
16875         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
16876         libc_hidden_def.
16877         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
16879         [BZ #18469]
16880         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
16881         weak alias of __towlower.  Use libc_hidden_weak.
16882         (towupper): Rename to __towupper and define as weak alias of
16883         __towupper.  Use libc_hidden_weak.
16884         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
16885         (__towupper): Likewise.
16886         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
16887         __towlower instead of towlower.
16889 2015-06-02  Roland McGrath  <roland@hack.frob.com>
16891         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
16892         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
16894 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16896         * sysdeps/aarch64/libm-test-ulps: Update.
16898 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16900         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
16901         Define.
16902         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16903         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
16904         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
16905         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16906         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
16907         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
16908         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
16910 2015-06-01  Martin Sebor  <msebor@redhat.com>
16912         [BZ #18116]
16913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16914         (__setcontext): Use extended four-operand version of mtsf whenever
16915         possible.
16916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16917         (__novec_swapcontext): Likewise.
16919 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
16921         * benchtests/scripts/compare_bench.py: New file.
16922         * benchtests/scripts/import_bench.py (mean): New function.
16923         (split_list): Likewise.
16924         (do_for_all_timings): Likewise.
16925         (compress_timings): Likewise.
16927         * benchtests/scripts/import_bench.py: New file.
16928         * benchtests/scripts/validate_benchout.py: Import import_bench
16929         instead of jsonschema.
16930         (validate_bench): Remove function.
16931         (main): Use import_bench.
16933 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
16935         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
16936         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
16938 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16940         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16942 2015-05-28  Roland McGrath  <roland@hack.frob.com>
16944         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
16945         set THREAD_SELF->tid to a magic value and futex-wake it.
16946         Pass its address to the thread_exit system call.
16947         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
16948         bit is clear.
16949         * sysdeps/nacl/lowlevellock.h: New file.
16950         * sysdeps/nacl/lll_timedwait_tid.c: New file.
16952         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
16953         Add TIMEOUT to current time, don't subtract it.
16955 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
16957         [BZ #2981]
16958         [BZ #18422]
16959         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
16960         ($(objpfx)tst-audit2.out): Also depend on
16961         $(objpfx)tst-auditmod9b.so.
16962         * elf/tst-audit2.c: Include <dlfcn.h>.
16963         (calloc_called): New.
16964         (calloc): Allow to be called more than once.
16965         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
16967 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
16969         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
16970         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
16972 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
16974         * stdlib/monetary.h: Fix comment.
16976 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
16978         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
16979         Avoid using variables in #defines that might cause shadowing.
16980         (INTERNAL_VSYSCALL_CALL): Likewise.
16982 2015-05-26  Roland McGrath  <roland@hack.frob.com>
16984         * sysdeps/nacl/lll_timedlock_wait.c: New file.
16986         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
16987         * nptl/lll_timedlock_wait.c: ... to this new file.
16988         * nptl/Makefile (libpthread-routines): Add it.
16989         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
16990         * nptl/lll_timedwait_tid.c: ... to this new file.
16991         * nptl/Makefile (libpthread-routines): Add it.
16992         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
16993         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
16994         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
16995         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
16996         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
16997         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
16998         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
16999         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
17000         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
17001         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
17003 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17005         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
17006         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17007         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
17008         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
17009         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
17010         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17011         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17012         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17013         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17014         * sysdeps/unix/sysv/linux/tile/sysdep.h
17015         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
17016         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
17017         using vDSO syscall macro.
17019 2015-05-26  Andriy Rysin  <arysin@gmail.com>
17021         [BZ #17293]
17022         * uk_UA: Fix sorting order for Ukrainian locale
17024 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
17026         * stdlib/monetary.h: Fix comment.
17028 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17030         [BZ #18234]
17031         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
17032         st_mtim and st_ctim members.
17033         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
17034         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
17035         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
17036         (struct stat64): Likewise.
17037         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
17038         (struct stat64): Likewise.
17039         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
17040         (struct stat64): Likewise.
17042 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17044         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
17045         Define and include sysdep-vdso.h.
17046         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
17047         Likewise.
17048         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
17049         Likewise.
17050         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
17051         Define with VDSO_SYMBOL and use PTR_MANGLE.
17052         (__vdso_clock_gettime): Likewise.
17053         (__vdso_clock_getres): Likewise.
17054         (_libc_vdso_platform_setup): Likewise.
17055         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
17056         Likewise.
17057         (_libc_vdso_platform_setup): Likewise.
17058         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
17059         Likewise.
17060         (__vdso_clock_gettime): Likewise.
17061         (__vdso_clock_getres): Likewise.
17062         (__vdso_get_tbfreq): Likewise.
17063         (__vdso_getcpu): Likewise.
17064         (__vdso_time): Likewise.
17065         (__vdso_sigtramp_rt64): Likewise.
17066         (__vdso_signtramp32): Likewise.
17067         (__vdso_sigtramp_rt32): Likewise.
17068         (_libc_vdso_platform_setup): Likewise.
17069         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
17070         Likewise.
17071         (__vdso_clock_gettime): Likewise.
17072         (__vdso_clock_getres): Likewise.
17073         (_libc_vdso_platform_setup): Likewise.
17074         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
17075         Likewise.
17076         (__vdso_clock_gettime): Likewise.
17077         (_libc_vdso_platform_setup): Likewise.
17078         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
17079         Likewise.
17080         (__vdso_getcpu): Likewise.
17081         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
17082         Use VDSO_SYMBOL macro to define.
17083         (__vdso_clock_gettime): Likewise.
17084         (__vdso_clock_getres): Likewise.
17085         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
17086         Likewise.
17087         (__vdso_clock_gettime): Likewise.
17088         (__vdso_clock_getres): Likewise.
17089         (__vdso_get_tbfreq): Likewise.
17090         (__vdso_getcpu): Likewise.
17091         (__vdso_time): Likewise.
17092         (__vdso_sigtramp_rt64): Likewise.
17093         (__vdso_signtramp32): Likewise.
17094         (__vdso_sigtramp_rt32): Likewise.
17095         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
17096         Likewise.
17097         (__vdso_clock_gettime): Likewise.
17098         (__vdso_clock_getres): Likewise.
17099         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
17100         Likewise.
17101         (__vdso_clock_gettime): Likewise.
17102         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
17103         Likewise.
17104         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
17105         macro.
17106         (INTERNAL_VSYSCALL): Likewise.
17107         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
17108         Remove macro.
17109         (INTERNAL_VSYSCALL): Likewise.
17110         (INTERNAL_VSYSCALL_NCS): Likewise.
17111         (INTERNAL_VSYSCALL_CALL): New macro.
17112         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
17113         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
17114         Likewise.
17115         (INTERNAL_VSYSCALL): Likewise.
17116         (INTERNAL_VSYSCALL_NCS): Likewise.
17117         (INTERNAL_VSYSCALL_CALL): New macro.
17118         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
17119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17120         (INLINE_VSYSCALL): Remove macro.
17121         (INTERNAL_VSYSCALL): Remove macro.
17122         (INTERNAL_VSYSCALL_NCS): Remove macro.
17123         (INTERNAL_VSYSCALL_CALL): New macro.
17124         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
17125         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
17126         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
17127         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
17128         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
17129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17130         (INLINE_VSYSCALL): Remove macro.
17131         (INTERNAL_VSYSCALL): Likewise.
17132         (INTERNAL_VSYSCALL_NCS): Likewise.
17133         (INTERNAL_VSYSCALL_CALL): New macro.
17134         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
17135         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
17136         PTR_DEMANGLE on vDSO pointer.
17137         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
17138         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
17139         macro.
17140         (INTERNAL_SYSCALL): Likewise.
17141         (INTERNAL_VSYSCALL_NCS): Remove macro.
17142         (INTERNAL_VSYSCALL_CALL): New macro.
17143         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
17144         Remove macro.
17145         (INTERNAL_VSYSCALL): Likewise.
17146         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
17147         sysdep-vdso.h instead of libc-vdso.h.
17148         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
17149         definition.
17150         (INLINE_VSYSCALL): Likewise.
17151         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
17152         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
17153         definition.
17154         (INLINE_VSYSCALL): Likewise.
17155         (INTERNAL_VSYSCALL): Likewise.
17156         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
17157         * sysdeps/unix/sysv/linux/timespec_get.c
17158         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
17159         (timespec_get): Use ANSI prototype.
17160         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
17161         and definition for Linux.
17163 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
17165         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
17166         * include/libc-symbols.h: libmvec_hidden_* macro series added.
17168 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
17170         [BZ #2981]
17171         [BZ #18410]
17172         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
17173         for missing DT_PLTRELSZ.
17175 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
17177         Remove obsolete aliases that broke 'locale -a'
17178         [BZ #18412]
17179         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
17180         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
17181         breaking some applications that use 'locale -a' output.
17182         Change the encoding of this file from Latin-1 to ASCII to avoid
17183         other potential problems with people grepping this file.
17185 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17187         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
17188         -fasynchronous-unwind-tables.
17189         (CFLAGS-sendto.c): Likewise.
17190         (CFLAGS-sendmsg.c): Likewise.
17191         (CFLAGS-connect.c): Likewise.
17192         (CFLAGS-recvmsg.c): Likewise.
17193         (CFLAGS-recvfrom.c): Likewise.
17194         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
17195         (SOCKETCALL): New macro: non-cancellable socketcall.
17196         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
17197         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
17198         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
17199         * sysdeps/unix/sysv/linux/accept.c: New file.
17200         * sysdeps/unix/sysv/linux/bind.c: Likewise.
17201         * sysdeps/unix/sysv/linux/connect.c: Likewise.
17202         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
17203         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
17204         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
17205         * sysdeps/unix/sysv/linux/listen.c: Likewise.
17206         * sysdeps/unix/sysv/linux/recv.c: Likewise.
17207         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
17208         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
17209         * sysdeps/unix/sysv/linux/send.c: Likewise.
17210         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
17211         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
17212         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
17213         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
17214         * sysdeps/unix/sysv/linux/socket.c: Likewise.
17215         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
17216         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
17217         prototype.
17218         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
17219         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
17220         instead of __internal_xxx function.
17221         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
17222         prototype.
17223         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
17224         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
17225         instead of __internal_xxx function.
17226         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
17227         prototype.
17228         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
17229         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
17230         instead of __internal_xxx function.
17231         * sysdeps/unix/sysv/linux/accept.S: Remove file.
17232         * sysdeps/unix/sysv/linux/bind.S: Likewise.
17233         * sysdeps/unix/sysv/linux/connect.S: Likewise.
17234         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
17235         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
17236         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
17237         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
17238         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
17239         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
17240         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
17241         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
17242         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17243         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
17244         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
17245         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
17246         * sysdeps/unix/sysv/linux/listen.S: Likewise.
17247         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
17248         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
17249         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
17250         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
17251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
17252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
17253         * sysdeps/unix/sysv/linux/recv.S: Likewise.
17254         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
17255         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
17256         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
17257         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17258         * sysdeps/unix/sysv/linux/send.S: Likewise.
17259         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
17260         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
17261         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
17262         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
17263         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
17264         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
17265         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
17266         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
17267         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
17268         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
17269         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
17270         socketcall is implemented in GLIBC.
17272 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
17274         * soft-fp/fmadf4.c: Include <libc-internal.h>.
17275         (__fma): Ignore uninitialized warnings around packing.
17276         * soft-fp/fmasf4.c: Include <libc-internal.h>.
17277         (__fmaf): Ignore uninitialized warnings around packing.
17278         * soft-fp/fmatf4.c: Include <libc-internal.h>.
17279         (__fmal): Ignore uninitialized warnings around packing.
17281         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
17282         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
17283         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
17284         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
17286         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
17287         switch statement into default case.
17288         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
17290         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
17291         a conditional in forcing "inexact".
17292         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
17293         Likewise.
17295 2015-05-22  Roland McGrath  <roland@hack.frob.com>
17297         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
17298         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
17299         for each INTERNAL_SYSCALL use.
17301 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
17303         [BZ #438]
17304         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
17305         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
17306         variable.
17308         [BZ #18444]
17309         * string/basename.c (basename): Rename to __basename and define as
17310         weak alias of __basename.  Use libc_hidden_weak.
17311         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
17312         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
17313         __basename instead of basename.
17314         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
17315         Remove variable.
17316         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
17318 2015-05-18  Florian Weimer  <fweimer@redhat.com>
17320         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
17321         (_IO_JUMPS_FILE_plus): New.
17322         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
17323         _IO_CAST_FIELD_ACCESS.
17324         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
17325         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
17326         * libio/freopen.c (freopen): Likewise.
17327         * libio/freopen64.c (freopen64): Likewise.
17328         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
17329         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
17330         * libio/iofwide.c (_IO_fwide): Likewise.
17331         * libio/memstream.c (open_memstream): Likewise.
17332         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17333         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
17334         * libio/oldiopopen.c (_IO_old_popen): Likewise.
17336 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
17338         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
17339         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
17340         NADJ.
17341         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
17342         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
17343         NADJ.
17344         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
17345         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
17346         NADJ.
17348         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
17349         (p == 4) case.
17351         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
17352         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
17353         Remove variable.
17354         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
17355         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
17356         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
17358 2015-05-21  Florian Weimer  <fweimer@redhat.com>
17360         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
17361         Adjust jump table label generation macros.
17363 2015-05-21  Florian Weimer  <fweimer@redhat.com>
17365         * stdio-common/vfprintf.c (vfprintf): Move local variables
17366         args_malloced, specs, specs_malloced, and the code after
17367         do_positional to the printf_positional function.
17368         (printf_positional): New function.
17370 2015-05-21  Florian Weimer  <fweimer@redhat.com>
17372         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
17373         function.
17374         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
17375         STEP4_TABLE, process_arg): Move macro definitions
17376         out of the vfprintf function.  (Cosmetic change only.)
17378 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
17380         * benchtests/Makefile (stdio-common-bench): Define.
17381         (benchset): Add stdio-common-bench.
17382         * sprintf-inputs: New file.
17383         * sprintf-source.c: New file.
17385 2015-05-21  Andreas Schwab  <schwab@suse.de>
17387         [BZ #13028]
17388         [BZ #17053]
17389         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
17390         of struct __res_state.
17391         * resolv/res_send.c (__libc_res_nsend): Likewise.
17392         (get_nsaddr): New function.
17393         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
17394         statp directly.
17396 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
17398         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
17399         -D_POSIX_C_SOURCE=199506L.
17401         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
17403         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
17404         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
17405         Do not mention otherwise.
17406         [POSIX] (_XOPEN_VERSION): Do not expect.
17407         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
17408         [POSIX] (_POSIX2_C_BIND): Likewise.
17409         [POSIX] (_POSIX2_VERSION): Likewise.
17410         [POSIX] (_XOPEN_XPG2): Likewise.
17411         [POSIX] (_XOPEN_XPG3): Likewise.
17412         [POSIX] (_XOPEN_XPG4): Likewise.
17413         [POSIX] (_XOPEN_UNIX): Likewise.
17414         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
17415         [POSIX] (_POSIX_BARRIERS): Likewise.
17416         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
17417         [POSIX] (_POSIX_CPUTIME): Likewise.
17418         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
17419         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
17420         [POSIX] (_POSIX_SHELL): Likewise.
17421         [POSIX] (_POSIX_SPAWN): Likewise.
17422         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
17423         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
17424         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
17425         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
17426         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
17427         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
17428         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
17429         [POSIX] (_XBS5_LP64_OFF64): Likewise.
17430         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
17431         [POSIX] (_POSIX_TIMEOUTS): Likewise.
17432         [POSIX] (_POSIX2_PBS): Likewise.
17433         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
17434         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
17435         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
17436         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
17437         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
17438         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
17439         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
17440         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
17441         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
17442         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
17443         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
17444         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
17445         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
17446         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
17447         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
17448         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
17449         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
17450         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
17451         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
17452         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
17453         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
17454         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
17455         [POSIX] (_SC_2_C_BIND): Likewise.
17456         [POSIX] (_SC_2_C_VERSION): Likewise.
17457         [POSIX] (_SC_2_PBS): Likewise.
17458         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
17459         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
17460         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
17461         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
17462         [POSIX] (_SC_2_PBS_TRACK): Likewise.
17463         [POSIX] (_SC_ATEXIT_MAX): Likewise.
17464         [POSIX] (_SC_BARRIERS): Likewise.
17465         [POSIX] (_SC_BASE): Likewise.
17466         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
17467         [POSIX] (_SC_DEVICE_IO): Likewise.
17468         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
17469         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
17470         [POSIX] (_SC_FD_MGMT): Likewise.
17471         [POSIX] (_SC_FIFO): Likewise.
17472         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
17473         [POSIX] (_SC_FILE_LOCKING): Likewise.
17474         [POSIX] (_SC_FILE_SYSTEM): Likewise.
17475         [POSIX] (_SC_IOV_MAX): Likewise.
17476         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
17477         [POSIX] (_SC_NETWORKING): Likewise.
17478         [POSIX] (_SC_PAGE_SIZE): Likewise.
17479         [POSIX] (_SC_PASS_MAX): Likewise.
17480         [POSIX] (_SC_PIPE): Likewise.
17481         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
17482         [POSIX] (_SC_REGEXP): Likewise.
17483         [POSIX] (_SC_SHELL): Likewise.
17484         [POSIX] (_SC_SIGNALS): Likewise.
17485         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
17486         [POSIX] (_SC_SPIN_LOCKS): Likewise.
17487         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
17488         [POSIX] (_SC_USER_GROUPS): Likewise.
17489         [POSIX] (_SC_USER_GROUPS_R): Likewise.
17490         [POSIX] (_SC_STREAMS): Likewise.
17491         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
17492         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
17493         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
17494         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
17495         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
17496         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
17497         [POSIX] (_PC_FILESIZEBITS): Likewise.
17498         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
17499         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
17500         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
17501         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
17502         [POSIX] (uid_t): Likewise.
17503         [POSIX] (gid_t): Likewise.
17504         [POSIX] (off_t): Likewise.
17505         [POSIX] (pid_t): Likewise.
17506         [POSIX] (cuserid): Allow.
17507         (_SC_2_CHAR_TERM): Require constant.
17508         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
17509         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
17510         variable.
17512 2015-05-20  Roland McGrath  <roland@hack.frob.com>
17514         * sysdeps/nacl/pthread-pids.h: New file.
17515         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
17516         (create_thread): Use __nacl_get_tid to initialize PD->tid.
17518         * nptl/pthread-pids.h: New file.
17519         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
17520         * nptl/nptl-init.c: Include <pthread-pids.h>.
17521         (__pthread_initialize_minimal_internal):
17522         Call __pthread_initialize_pids instead of set_tid_address syscall.
17524         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
17525         * sysdeps/posix/usleep.c: ... here.
17527 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17529         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
17530         call_pselect6 object.
17531         [$(subdir) = io]: Remove call_sync_file_range object.
17532         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
17533         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
17534         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
17535         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
17537 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
17539         * math/s_cproj.c: Add include "math_private.h".
17540         * math/s_cprojf.c: Likewise.
17541         * math/s_cprojl.c: Likewise.
17543 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
17545         [BZ #18244]
17546         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
17547         high mantissa bit when testing whether P is a NaN.
17548         * math/libm-test.inc (remainder_test_data): Add more tests.
17549         (remquo_test_data): Likewise.
17551         [BZ #18049]
17552         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
17553         below -32, return the argument, with underflow if subnormal.
17554         * math/auto-libm-test-in: Add more tests of atanh.
17555         * math/auto-libm-test-out: Regenerated.
17557 2015-05-19  Roland McGrath  <roland@hack.frob.com>
17559         [BZ #18434]
17560         * nptl/tst-sem15.c: New file.
17561         * nptl/Makefile (tests): Add it.
17562         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
17563         s/<</>>/ to fix typo in EOVERFLOW check.
17564         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
17566 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17568         * manual/strings.texi (envz_remove): Fix typo in safety
17569         annotations.
17571 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
17572             Steve Ellcey  <sellcey@imgtec.com>
17574         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
17575         in order to avoid strict alias warnings.
17576         (iruserok_af): Ditto for ra.
17578 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
17580         [BZ #17581]
17581         * malloc/hooks.c
17582         (magicbyte): Convert to a function and avoid returning 0x01.
17583         (mem2mem_check): Avoid using a length byte equal to the magic byte.
17584         (mem2chunk_check): Fix unsigned comparisons to zero.
17585         Hoist defs of sz and magic.
17587 2015-05-19  Richard Henderson  <rth@redhat.com>
17589         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
17591         * sysdeps/alpha/fpu/libm-test-ulps: Update.
17593 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17595         [BZ #16159]
17596         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
17597         * malloc/arena.c (arena_lock): Check if arena is corrupt.
17598         (reused_arena): Find a non-corrupt arena.
17599         (heap_trim): Pass arena to unlink.
17600         * malloc/hooks.c (malloc_check_get_size): Pass arena to
17601         malloc_printerr.
17602         (top_check): Likewise.
17603         (free_check): Likewise.
17604         (realloc_check): Likewise.
17605         * malloc/malloc.c (malloc_printerr): Add arena argument.
17606         (unlink): Likewise.
17607         (munmap_chunk): Adjust.
17608         (ARENA_CORRUPTION_BIT): New macro.
17609         (arena_is_corrupt): Likewise.
17610         (set_arena_corrupt): Likewise.
17611         (sysmalloc): Use mmap if there are no usable arenas.
17612         (_int_malloc): Likewise.
17613         (__libc_malloc): Don't fail if arena_get returns NULL.
17614         (_mid_memalign): Likewise.
17615         (__libc_calloc): Likewise.
17616         (__libc_realloc): Adjust for additional argument to
17617         malloc_printerr.
17618         (_int_free): Likewise.
17619         (malloc_consolidate): Likewise.
17620         (_int_realloc): Likewise.
17621         (_int_memalign): Don't touch corrupt arenas.
17622         * malloc/tst-malloc-backtrace.c: New test case.
17624         * Makefile (summarize-tests): Fix return value on success.
17626         * manual/string.texi (Envz Functions): Add envz_remove.
17628 2015-05-18  Roland McGrath  <roland@hack.frob.com>
17630         * sysdeps/posix/opendir.c: Include <stdbool.h>.
17631         (invalid_name): New function, broken out of ...
17632         (__opendirat): ... here.  Call it.
17633         (need_isdir_precheck): New function, broken out of ...
17634         (__opendirat): ... here.  Call it.
17635         Use __fxstatat64, not __xstatat64.
17636         (opendir_oflags): New function, broken out of ...
17637         (__opendirat): ... here.  Call it.
17638         (opendir_tail): New function, broken out of ...
17639         (__opendirat): ... here.  Call it.
17640         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
17641         opendir_tail, rather than punting to __opendirat.
17642         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
17644 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17646         * .gitignore: Ignore generated *.pyc.
17648 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
17650         * include/stdio.h: Define __need_wint_t.
17651         * test-skeleton.c: Avoid `for' loop initial declaration.
17652         * nptl/tst-initializers1.c: Use test-skeleton.c.
17654 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17656         [BZ #18418]
17657         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
17659 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
17661         [BZ #16352]
17662         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
17663         (__ieee754_atanh): Force underflow exception for results with
17664         small absolute value.
17665         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
17666         (__ieee754_atanhf): Force underflow exception for results with
17667         small absolute value.
17668         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
17669         (__ieee754_atanh): Force underflow exception for results with
17670         small absolute value.
17671         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
17672         (__ieee754_atanhf): Force underflow exception for results with
17673         small absolute value.
17674         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
17675         (__ieee754_atanhl): Force underflow exception for results with
17676         small absolute value.
17677         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
17678         (__ieee754_atanhl): Force underflow exception for results with
17679         small absolute value.
17680         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
17681         (__ieee754_atanhl): Force underflow exception for results with
17682         small absolute value.
17683         * math/auto-libm-test-in: Do not allow missing underflow
17684         exceptions from atanh.
17685         * math/auto-libm-test-out: Regenerated.
17687         [BZ #18221]
17688         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
17689         2**-28 as threshold for returning x or +/- 1/x.
17690         * math/auto-libm-test-in: Add more tests of tan.
17691         * math/auto-libm-test-out: Regenerated.
17693         [BZ #18220]
17694         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17695         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
17696         * math/auto-libm-test-in: Add another test of lgamma.
17697         * math/auto-libm-test-out: Regenerated.
17699 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
17701         * stdio-common/printf_fp.c (___printf_fp): Use abs.
17702         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
17703         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
17704         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
17705         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
17706         (ADD2A): Use fabs.  (SUB2A): Use fabs.
17707         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
17708         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
17709         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
17710         (log1): Use fabs.  (my_log2): Use fabs.
17711         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
17712         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
17713         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
17714         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
17715         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
17716         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
17717         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
17718         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
17719         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
17720         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
17721         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
17723 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
17725         [BZ #18217]
17726         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
17727         as threshold for returning 1 - x.
17728         * math/auto-libm-test-in: Add more tests of erfc.
17729         * math/auto-libm-test-out: Regenerated.
17731 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
17733         [BZ #18196]
17734         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
17735         threshold for large arguments.
17736         * math/auto-libm-test-in: Add another test of atan.
17737         * math/auto-libm-test-out: Regenerated.
17739         [BZ #16339]
17740         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
17741         (__log1p): Force underflow exception for results with small
17742         absolute value.
17743         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
17744         (__log1pf): Force underflow exception for results with small
17745         absolute value.
17746         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
17747         (__log1p): Force underflow exception for results with small
17748         absolute value.
17749         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
17750         (__log1pf): Force underflow exception for results with small
17751         absolute value.
17752         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
17753         (__log1pl): Force underflow exception for results with small
17754         absolute value.
17755         * math/auto-libm-test-in: Do not allow missing underflow
17756         exceptions from log1p.
17757         * math/auto-libm-test-out: Regenerated.
17759 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
17760             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17762         [BZ #16704]
17763         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
17765 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
17767         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
17768         (libmvec): New variable.
17769         * configure.ac: Added option for mathvec build.
17770         * configure: Regenerated.
17771         * mathvec/Depend: New file.
17772         * mathvec/Makefile: New file.
17773         * shlib-versions: Added libmvec.
17774         * math/Makefile: Added rule for libm.so installation.
17776         * bits/math-vector.h: New file.
17777         * bits/libm-simd-decl-stubs.h: New header.
17778         * math/Makefile (headers): Added new header
17779         libm-simd-decl-stubs.h.
17780         * math/math.h (__MATHCALL_VEC): New macro.
17782         * math/gen-libm-have-vector-test.sh: Script generates series of macros
17783         for conditions in testing functions.
17784         * math/Makefile: Added call of libm-have-vector-test.sh.
17785         * math/libm-test.inc (HAVE_VECTOR): New macros.
17787         * math/libm-test.inc: START refactored.
17788         * math/test-double.c (TEST_MATHVEC): Add define.
17789         * math/test-float.c: Likewise.
17790         * math/test-idouble.c: Likewise.
17791         * math/test-ifloat.c: Likewise.
17792         * math/test-ildoubl.c: Likewise.
17793         * math/test-ldouble.c: Likewise.
17794         * sysdeps/generic/math-tests-arch.h
17795         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
17796         architecture check.
17798         * math/test-double.c (FUNC_TEST): New macro.
17799         * math/test-float.c: Likewise.
17800         * math/test-idouble.c: Likewise.
17801         * math/test-ifloat.c: Likewise.
17802         * math/test-ildoubl.c: Likewise.
17803         * math/test-ldouble.c: Likewise.
17804         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
17806 2015-05-13  Roland McGrath  <roland@hack.frob.com>
17808         * sysdeps/nacl/fdopendir.c: New file.
17810         * dirent/scandir-tail.c: New file.
17811         * dirent/scandir64-tail.c: New file.
17812         * dirent/Makefile (routines): Add them.
17813         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
17814         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
17815         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
17816         [!SCANDIR] (SCANDIR_TAIL): New macro.
17817         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
17818         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
17819         (SCANDIRAT): Macro removed.
17820         (SCANDIR_TAIL): New macro.
17821         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
17822         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
17823         (SCANDIRAT): Just call __opendirat and __scandir_tail.
17824         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
17825         (READDIR): Macro removed.
17826         (SCANDIR_TAIL): New macro.
17827         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
17828         (SCANDIR_TAIL): New macro.
17830         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
17831         * dirent/scandir-cancel.c: ... to this new file.
17832         * dirent/Makefile (routines): Add it.
17833         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
17834         * sysdeps/unix/sysv/linux/i386/scandir64.c
17835         (SKIP_SCANDIR_CANCEL): Macro removed.
17836         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
17838         * dirent/tst-scandir.c: New file.
17839         * dirent/tst-scandir64.c: New file.
17840         * dirent/Makefile (tests): Add them.
17842 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
17844         [BZ #18409]
17845         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
17847 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17849         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
17850         list.
17852 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
17854         * benchtests/bench-strcoll.c: New benchmark.
17855         * benchtests/Makefile: Generate locales and run benchmark.
17856         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
17857         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
17858         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
17859         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
17860         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
17861         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
17862         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
17863         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
17864         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
17865         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
17866         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
17867         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
17868         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
17869         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
17870         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
17871         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
17872         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
17873         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
17874         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
17875         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
17876         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
17877         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
17878         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
17879         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
17881 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
17883         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
17884         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17886 2015-05-12  Roland McGrath  <roland@hack.frob.com>
17888         * posix/uname-values.h: New file.
17889         * posix/uname.c: Include that instead of <config-name.h>.
17890         * sysdeps/nacl/uname-values.h: New file.
17891         * sysdeps/arm/nacl/uname-values.h: New file.
17893 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
17895         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
17896         splitting into fields.
17898 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
17900         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
17901         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
17902         * locale/localeinfo.h: Add enum collation_encoding_type.
17903         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
17904         * programs/ld-collate.c (collate_output): Add encoding type info.
17905         * string/strcoll_l.c (STRDIFF): New function.
17906         * (STRCOLL): Use STRDIFF to skip over equal prefix.
17907         * wcsmbs/wcscoll_l.c: Define STRDIFF.
17909 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
17911         [BZ #18397]
17912         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
17913         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
17914         <fpu_control.h> instead of <math/fpu_control.c>.
17915         * sysdeps/mips/mips32/fpu/Makefile: New file.
17917 2015-05-11  Andreas Schwab  <schwab@suse.de>
17919         [BZ #18007]
17920         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
17921         nss_endgrent.
17922         (_nss_compat_endgrent): Call nss_endgrent.
17923         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
17924         nss_endpwent.
17925         (_nss_compat_endpwent): Call nss_endpwent.
17926         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
17927         needent, call nss_setspent only if non-zero.
17928         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
17929         (internal_endspent): Don't call nss_endspent.
17930         (_nss_compat_endspent): Call nss_endspent.
17931         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
17932         Remove.  All uses removed.
17933         (internal_setent): Remove parameter stayopen, add parameter
17934         stream.  Use it instead of global variable.
17935         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
17936         (internal_endent, internal_getent): Add parameter stream.  Use it
17937         instead of global variable.
17938         (CONCAT(_nss_files_end,ENTNAME))
17939         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
17940         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
17941         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
17942         uses removed.
17943         (internal_setent, internal_endent): Add parameter stream.  Use it
17944         instead of global variable.
17945         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
17946         stream.
17947         (get_next_alias): Add parameter stream.
17948         (_nss_files_getaliasent_r): Pass global stream.
17949         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
17950         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
17951         (_nss_files_gethostbyname4_r): Pass local stream to
17952         internal_setent, internal_getent and internal_endent.  Remove
17953         locking.
17955 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17957         * tst-strfmon1.c (tests): Update expected currency symbol.
17959 2015-05-08  Roland McGrath  <roland@hack.frob.com>
17961         * sysdeps/nacl/gethostname.c: New file.
17963 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
17965         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
17966         and sinh.
17967         * math/auto-libm-test-out: Regenerated.
17968         * sysdeps/i386/fpu/libm-test-ulps: Update.
17969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17971 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
17973         [BZ #18125]
17974         * stdlib/tst-setcontext3.c: New file.
17975         * stdlib/tst-setcontext3.sh: New file.
17976         * stdlib/Makefile (tests): Add tst-setcontext3.
17977         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
17978         to verify test program created output file.
17979         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
17980         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
17981         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
17982         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
17984 2015-05-06  Roland McGrath  <roland@hack.frob.com>
17986         [BZ #18383]
17987         * elf/tst-tlsalign.c: New file.
17988         * elf/tst-tlsalign-static.c: New file.
17989         * elf/tst-tlsalign-lib.c: New file.
17990         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
17991         (tests-static): Add tst-tlsalign-static.
17992         (modules-names): Add tst-tlsalign-lib.
17993         (test-xfail-tst-tlsalign): New variable.
17994         (test-xfail-tst-tlsalign-static): New variable.
17996         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
17997         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
17999 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
18001         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
18002         csqrt, erfc, sin and sincos.
18003         * math/auto-libm-test-out: Regenerated.
18004         * sysdeps/i386/fpu/libm-test-ulps: Update.
18005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18007 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18009         * sysdeps/aarch64/libm-test-ulps: Update.
18011 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
18013         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
18014         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
18015         * math/auto-libm-test-out: Regenerated.
18016         * sysdeps/i386/fpu/libm-test-ulps: Update.
18017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18019 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
18021         [BZ #18265]
18022         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
18023         (wcsncpy): Likewise.
18025 2015-05-05  Florian Weimer  <fweimer@redhat.com>
18027         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
18028         Assume __ASSUME_FALLOCATE is always true.
18029         * sysdeps/unix/sysv/linux/posix_fallocate64.c
18030         (__posix_fallocate64_l64): Likweise.
18031         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
18032         (posix_fallocate): Likewise.
18033         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
18034         (__posix_fallocate64_l64): Likewise.
18035         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18036         [!__ASSUME_FALLOCATE]: Add comment.
18038 2015-05-05  Florian Weimer  <fweimer@redhat.com>
18040         * sysdeps/unix/sysv/linux/i386/Makefile
18041         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
18042         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
18043         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
18044         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
18045         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
18046         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
18047         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
18049 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
18051         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
18052         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
18053         tgamma.
18054         * math/auto-libm-test-out: Regenerated.
18055         * sysdeps/i386/fpu/libm-test-ulps: Update.
18056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18058 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
18060         * math/auto-libm-test-in: Add more tests of tgamma.
18061         * math/auto-libm-test-out: Regenerated.
18062         * sysdeps/i386/fpu/libm-test-ulps: Update.
18063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18065         * math/auto-libm-test-in: Add more tests of tanh.
18066         * math/auto-libm-test-out: Regenerated.
18067         * sysdeps/i386/fpu/libm-test-ulps: Update.
18068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18070         * math/auto-libm-test-in: Add more tests of tan.
18071         * math/auto-libm-test-out: Regenerated.
18072         * sysdeps/i386/fpu/libm-test-ulps: Update.
18073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18075         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
18076         * math/auto-libm-test-out: Regenerated.
18077         * sysdeps/i386/fpu/libm-test-ulps: Update.
18078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18080         * math/auto-libm-test-in: Add another test of pow.
18081         * math/auto-libm-test-out: Regenerated.
18082         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18084         * math/auto-libm-test-in: Add more tests of lgamma.
18085         * math/auto-libm-test-out: Regenerated.
18086         * sysdeps/i386/fpu/libm-test-ulps: Update.
18087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18089         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
18090         log1p.
18091         * math/auto-libm-test-out: Regenerated.
18092         * sysdeps/i386/fpu/libm-test-ulps: Update.
18093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18095 2015-05-01  Mark Wielaard  <mjw@redhat.com>
18097         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
18098         Elf64_Chdr structs and ELFCOMPRESS constants.
18100 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
18102         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
18103         expm1.
18104         * math/auto-libm-test-out: Regenerated.
18105         * sysdeps/i386/fpu/libm-test-ulps: Update.
18106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18108         * math/auto-libm-test-in: Add more tests of erf and erfc.
18109         * math/auto-libm-test-out: Regenerated.
18110         * sysdeps/i386/fpu/libm-test-ulps: Update.
18111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18113 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18115         * config.h.in (HAVE_AARCH64_BE): Add.
18117 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
18119         * math/auto-libm-test-in: Add more tests of csqrt.
18120         * math/auto-libm-test-out: Regenerated.
18121         * sysdeps/i386/fpu/libm-test-ulps: Update.
18122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18124         * math/auto-libm-test-in: Add more tests of cosh and sinh.
18125         * math/auto-libm-test-out: Regenerated.
18126         * sysdeps/i386/fpu/libm-test-ulps: Update.
18127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18129         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
18131 2015-04-29  Roland McGrath  <roland@hack.frob.com>
18133         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
18134         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
18136         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
18137         (euidaccess, eaccess): Define as weak aliases.
18139         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
18140         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
18141         but __suseconds_t is often 'long int' so some sources assume that
18142         type is being used (e.g. they use %ld to print tv_usec).
18144 2015-04-29  Florian Weimer  <fweimer@redhat.com>
18146         [BZ #18007]
18147         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
18148         (CVE-2014-8121)
18149         * nss/tst-nss-getpwent.c: New file.
18150         * nss/Makefile (tests): Add new test.
18152 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
18154         [BZ #18346]
18155         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
18156         exponents less than 48 as cases where high part of mantissa needs
18157         examining to determine whether argument is integral.
18158         * math/libm-test.inc (round_test_data): Add more tests.
18160 2015-04-28  Mark Wielaard  <mjw@redhat.com>
18162         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
18164 2015-04-27  David S. Miller  <davem@davemloft.net>
18166         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
18167         __tls_get_addr.
18168         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
18170 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
18172         [BZ#18333]
18173         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
18175 2015-04-27  Florian Weimer  <fweimer@redhat.com>
18177         [BZ#18333]
18178         * time/tzset.c (parse_tzname): Return error on memory allocation
18179         failure.
18180         * test-skeleton.c (struct temp_name_list): Change type of name
18181         member to non-const.
18182         (add_temp_file): Create a copy of the file name.
18183         (delete_temp_files): Deallocate memory.
18184         (create_temp_file): Add comment.
18186 2015-04-24  Florian Weimer  <fweimer@redhat.com>
18188         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
18189         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
18191 2015-04-24  Roland McGrath  <roland@hack.frob.com>
18193         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
18194         * sysdeps/arm/configure: Regenerated.
18196 2015-04-24  Florian Weimer  <fweimer@redhat.com>
18198         [BZ #17715]
18199         * time/tzfile.c (__tzfile_read): Check for large values of
18200         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
18201         * time/tzset.c (__tzstring_len): New function, based on the old
18202         __tzstring function.
18203         (__tzstring): Call __tzstring_len.
18204         (parse_tzname): New helper function extracted from
18205         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
18206         the input string.
18207         (parse_offset): New helper function extracted from
18208         __tzset_parse_tz.  Replace switch with fallthrough with
18209         initialization before sscanf.
18210         (parse_rule): Likewise.
18211         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
18212         new-style function definition.
18213         * timezone/Makefile (tests): Add tst-tzset.
18214         (tst-tzset.out): Dependencies on time zone files.
18215         (tst-tzset-ENV): Set TZDIR.
18216         (testdata/XT%): Copy crafted time zone files.
18217         * timezone/README: Mention crafted time zone files.
18218         * timezone/testdata/XT1, timezone/testdata/XT2,
18219         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
18220         files.
18221         * timezone/tst-tzset.c: New test.
18223 2015-04-24  Florian Weimer  <fweimer@redhat.com>
18225         * Makeconfig (+gccwarn): Remove -Winline.
18227 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18229         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
18231 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18233         * NEWS: Mention sysconf() cache information support for s390.
18234         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
18236 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
18238         * math/k_casinh.c (__kernel_casinh): Use __copysign.
18239         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
18240         (__nearbyint): Likewise.
18241         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
18242         (copysignl): Likewise.
18244 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
18246         [BZ #18287]
18247         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
18248         based on padding.  (CVE-2015-1781)
18250 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18252         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
18253         libc-vdso.h.
18254         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
18255         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
18256         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
18257         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
18258         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
18259         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
18260         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
18261         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18262         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
18263         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
18264         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
18265         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18266         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
18267         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
18268         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
18269         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
18270         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
18271         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
18272         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
18273         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
18274         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
18275         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
18276         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
18278 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
18280         * stdlib/setenv.c (__add_to_environ):
18281         Dump core quickly if setenv (..., NULL, ...) is called.
18282         This time, do it the right way, and pacify GCC with a pragma.
18284 2015-04-17  Roland McGrath  <roland@hack.frob.com>
18286         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
18287         IMAP->l_prev cannot be null, and #if out the code for the contrary
18288         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
18289         believe that NS (&_dl_ns[NSID]) could point outside the array.
18291         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
18292         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
18293         before using NSID as an index.
18295 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
18297         [BZ #17825]
18298         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
18299         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
18300         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18302 2015-04-17  Roland McGrath  <roland@hack.frob.com>
18304         Add preliminary port to Google Native Client on ARM.
18305         * abi-tags (.*-.*-nacl.*): New entry.
18306         * sysdeps/arm/nacl: New directory.
18307         * sysdeps/nacl: New directory.
18309 2015-04-16  David S. Miller  <davem@davemloft.net>
18311         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
18312         lowlevellock-futex.h
18314 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
18316         * sysdeps/tile/configure.ac: New file.
18317         * sysdeps/tile/configure: Regenerated.
18319 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18321         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
18322         conditionals for weak_alias and libc_hidden_weak.
18323         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
18324         libc_hidden_weak and weak_alias.
18325         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
18326         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
18327         and weak_alias for static one.
18329 2015-04-15  David S. Miller  <davem@davemloft.net>
18331         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18333 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18335         [BZ #18206]
18336         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
18337           Use signed comparision instead of substraction to avoid
18338           overflow bug.
18339         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
18340           Take the sign of ret.
18341         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
18342           Do not expect precise return values. Only the sign matters.
18343         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
18344         * wcsmbs/test-wcsncmp.c: New File.
18345         * string/test-strncmp.c: Add wcsncmp support.
18347 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
18349         [BZ #6792]
18350         * math/w_log1p.c: New file.
18351         * math/w_log1pf.c: Likewise.
18352         * math/w_log1pl.c: Likewise.
18353         * math/Makefile (libm-calls): Add w_log1p.
18354         * math/s_log1pl.c (log1pl): Remove weak_alias.
18355         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
18356         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
18357         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
18358         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
18359         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
18360         [NO_LONG_DOUBLE] (log1pl): Likewise.
18361         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
18362         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
18363         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
18364         (log1p): Remove long_double_symbol.
18365         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
18366         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
18367         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
18368         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
18369         remove weak_alias for corresponding log1p function.
18370         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
18371         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
18372         * sysdeps/ia64/fpu/w_log1p.c: New file.
18373         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
18374         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
18375         * math/libm-test.inc (log1p_test_data): Add errno expectations.
18377 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
18379         [BZ #18247]
18380         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
18381         decimal exponent by 1.
18382         * stdlib/tst-strtod-round-data: Add more tests.
18383         * stdlib/tst-strtod-round.c (tests): Regenerated.
18385 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
18387         * math/auto-libm-test-in: Add more tests of clog and clog10.
18388         * math/auto-libm-test-out: Regenerated.
18389         * sysdeps/i386/fpu/libm-test-ulps: Update.
18390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18392 2015-04-09  Roland McGrath  <roland@hack.frob.com>
18394         * Makeconfig (module-cppflags): Exclude all .v.i files.
18395         (skip-module-cppflags): Variable removed.
18397         * configure.ac (libc_config_ok): Initialize before reading
18398         preconfigure scripts, not after.
18399         * configure: Regenerated.
18401         * test-skeleton.c (TIMEOUT): Move #define to top level.
18402         (main): Grok environment variable TEST_DIRECT.  If set, print
18403         test expectation details into that file and then behave as if
18404         given --direct.
18406 2015-04-09  Florian Weimer  <fweimer@redhat.com>
18408         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
18409         warning on 32-bit.
18411 2015-04-08  David S. Miller  <davem@davemloft.net>
18413         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18415 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
18417         * math/auto-libm-test-in: Add more tests of atanh.
18418         * math/auto-libm-test-out: Regenerated.
18419         * sysdeps/i386/fpu/libm-test-ulps: Update.
18420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18422         * math/auto-libm-test-in: Add more tests of atan.
18423         * math/auto-libm-test-out: Regenerated.
18424         * sysdeps/i386/fpu/libm-test-ulps: Update.
18425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18427 2015-04-08  Florian Weimer  <fweimer@redhat.com>
18429         * elf/pldd.c (main): Rewrite to use struct
18430         scratch_buffer instead of extend_alloca.
18431         * elf/pldd-xx.c (find_maps): Likewise.
18432         * grp/initgroups.c: Include <scratch_buffer.h> instead of
18433         <alloca.h>.
18434         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
18435         scratch_buffer instead of extend_alloca.
18436         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
18437         grp/compat-initgroups.c.
18438         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
18439         Rewrite to use struct scratch_buffer instead of extend_alloca.
18440         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
18441         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
18443 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
18445         * math/auto-libm-test-in: Add more tests of cbrt.
18446         * math/auto-libm-test-out: Regenerated.
18447         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18449         * math/auto-libm-test-in: Add more tests of cabs.
18450         * math/auto-libm-test-out: Regenerated.
18451         * sysdeps/i386/fpu/libm-test-ulps: Update.
18452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18454         [BZ #18210]
18455         [BZ #18211]
18456         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
18457         (__ieee754_atan2): Set FE_TONEAREST mode for internal
18458         computations.
18459         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
18460         clog10.
18461         * math/auto-libm-test-out: Regenerated.
18462         * sysdeps/i386/fpu/libm-test-ulps: Update.
18463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18465         [BZ #18197]
18466         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
18467         (atan): Set FE_TONEAREST mode for internal computations.
18468         * math/auto-libm-test-in: Add more tests of atan.
18469         * math/auto-libm-test-out: Regenerated.
18471 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
18473         [BZ #17930]
18474         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
18476 2015-04-07  Florian Weimer  <fweimer@redhat.com>
18478         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
18480 2015-04-07  Florian Weimer  <fweimer@redhat.com>
18482         * include/scratch_buffer.h: New file.
18483         * malloc/scratch_buffer_grow.c: Likewise.
18484         * malloc/scratch_buffer_grow_preserve.c: Likewise.
18485         * malloc/scratch_buffer_set_array_size.c: Likewise.
18486         * malloc/tst-scratch_buffer.c: Likewise.
18487         * malloc/Makefile (routines): Add scratch_buffer_grow.
18488         (tests): Add test case.
18489         * malloc/Versions (GLIBC_PRIVATE): Export
18490         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
18491         __libc_scratch_buffer_set_array_size.
18493 2015-04-06  Richard Henderson  <rth@redhat.com>
18495         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
18496         * sysdeps/alpha/fpu/libm-test-ulps: Update.
18498         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
18499         unsigned int before printing.
18501 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18503         [BZ #17596]
18504         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
18505         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
18507 2015-04-02  Florian Weimer  <fweimer@redhat.com>
18509         * include/libc-internal.h (libc_max_align_t): Define.
18511 2015-04-02  Andreas Schwab  <schwab@suse.de>
18513         [BZ #16850]
18514         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
18516 2015-04-02  Mel Gorman  <mgorman@suse.de>
18518         [BZ #17195]
18519         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
18520         as well as the main arena.
18522 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
18524         [BZ #18185]
18525         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
18526         sharing L2 cache to 2 for Silvermont/Knights Landing.
18528 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
18530         [BZ #17711]
18531         * config.make.in (have-protected-data): New.
18532         * configure.ac: Check linker support for protected data symbol.
18533         * configure: Regenerated.
18534         * elf/Makefile (modules-names): Add tst-protected1moda and
18535         tst-protected1modb if $(have-protected-data) is yes.
18536         (tests): Add tst-protected1a and tst-protected1b if
18537         $(have-protected-data) is yes.
18538         ($(objpfx)tst-protected1a): New.
18539         ($(objpfx)tst-protected1b): Likewise.
18540         (tst-protected1modb.so-no-z-defs): Likewise.
18541         * elf/tst-protected1a.c: New file.
18542         * elf/tst-protected1b.c: Likewise.
18543         * elf/tst-protected1mod.h: Likewise.
18544         * elf/tst-protected1moda.c: Likewise.
18545         * elf/tst-protected1modb.c: Likewise.
18547 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
18549         [BZ #17711]
18550         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
18551         indicates it is called from do_lookup_x on relocation against
18552         protected data, skip the data definion in the executable from
18553         copy reloc.
18554         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
18555         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
18556         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
18557         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
18558         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
18559         otherwise to 0.
18560         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
18561         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
18562         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
18563         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
18564         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
18565         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
18567 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
18569         * sysdeps/nptl/pthread.h: Remove duplicate definition of
18570         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
18572 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
18574         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
18575         THREAD_SETMEM_NC.
18576         * sysdeps/x86_64/nptl/tls.h: Ditto.
18578 2015-03-27  Roland McGrath  <roland@hack.frob.com>
18580         * dlfcn/tststatic.c (main): Converted to ...
18581         (do_test): ... this.
18582         (TEST_FUNCTION): New macro.
18583         Include test-skeleton.c.
18585 2015-03-26  Alan Modra  <amodra@gmail.com>
18587         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
18588         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
18589         zero for undefined weak.
18590         (elf_machine_plt_conflict): Similarly.
18592 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
18594         * math/auto-libm-test-in: Add more tests of acosh, asinh and
18595         atanh.
18596         * math/auto-libm-test-out: Regenerated.
18597         * sysdeps/i386/fpu/libm-test-ulps: Update.
18598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18600         * math/auto-libm-test-in: Add another test of asin.
18601         * math/auto-libm-test-out: Regenerated.
18602         * sysdeps/i386/fpu/libm-test-ulps: Update.
18603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18605         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
18606         Remove macro.
18607         (LLL_EBX_REG): Likewise.
18608         (LLL_ENTER_KERNEL): Likewise.
18610         * math/auto-libm-test-in: Add more tests of asin.
18611         * math/auto-libm-test-out: Regenerated.
18612         * sysdeps/i386/fpu/libm-test-ulps: Update.
18613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18615         [BZ #18138]
18616         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
18617         libc_do_syscall_args): New structure.
18618         (INTERNAL_SYSCALL_MAIN_0): New macro.
18619         (INTERNAL_SYSCALL_MAIN_1): Likewise.
18620         (INTERNAL_SYSCALL_MAIN_2): Likewise.
18621         (INTERNAL_SYSCALL_MAIN_3): Likewise.
18622         (INTERNAL_SYSCALL_MAIN_4): Likewise.
18623         (INTERNAL_SYSCALL_MAIN_5): Likewise.
18624         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
18625         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
18626         Replace conditional definitions by conditional definitions of ....
18627         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
18628         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
18629         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
18630         (libpthread-sysdep_routines): Add libc-do-syscall.
18631         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
18632         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
18633         to __NR_futex not 240.
18635 2015-03-25  Alan Modra  <amodra@gmail.com>
18637         * NEWS: Advertise TLS optimization.
18638         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
18639         (DT_PPC_NUM): Increment.
18640         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
18641         (CHECK_STATIC_TLS): Use here.
18642         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
18643         TLS descriptors.
18644         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18645         * sysdeps/powerpc/dl-tls.c: New file.
18646         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
18647         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
18648         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
18649         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
18650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
18651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
18652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
18654 2015-03-25  Alan Modra  <amodra@gmail.com>
18656         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
18657         for overlapping .opd entries" to "support...".
18658         * sysdeps/powerpc/powerpc64/configure: Regenerate
18660 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
18662         * math/auto-libm-test-in: Add more tests of acos.
18663         * math/auto-libm-test-out: Regenerated.
18664         * sysdeps/i386/fpu/libm-test-ulps: Update.
18665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18667         * math/auto-libm-test-in: Add more tests of expm1.
18668         * math/auto-libm-test-out: Regenerated.
18669         * sysdeps/i386/fpu/libm-test-ulps: Update.
18670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18672 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
18674         * math/auto-libm-test-in: Add more tests of cosh and sinh.
18675         * math/auto-libm-test-out: Regenerated.
18676         * sysdeps/i386/fpu/libm-test-ulps: Update.
18677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18679         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18682         * math/auto-libm-test-in: Add more tests of log2.
18683         * math/auto-libm-test-out: Regenerated.
18684         * sysdeps/i386/fpu/libm-test-ulps: Update.
18685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18687 2015-03-23  Roland McGrath  <roland@hack.frob.com>
18689         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
18690         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
18691         _IO_IS_APPENDING bit in READ_WRITE instead.
18693 2015-03-23  Florian Weimer  <fweimer@redhat.com>
18695         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
18696         (__determine_cpumask_size): Replace extend_alloca with a
18697         variable-length array.  Do not treat res == 0 as an error.
18699 2015-03-23  Florian Weimer  <fweimer@redhat.com>
18701         [BZ #18100]
18702         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
18703         and integer overflow.
18704         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
18705         (main): Add integer overflow tests.
18706         * manual/pattern.texi (Calling Wordexp): Document additional use
18707         for WRDE_SYNTAX.
18709 2015-03-23  Alan Modra  <amodra@gmail.com>
18711         * config.h.in: Remove HAVE_ASM_PPC_REL16.
18712         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
18713         and false branch of conditional.
18714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
18715         Likewise.
18717 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
18719         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
18720         libc-modules.h
18721         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
18722         unused declaration of _hurd_intr_rpc_msg_in_trap.
18723         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
18724         defined instead of whether it is non-zero.
18725         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
18726         input constraint instead of both input and output constraint.  Use ecx
18727         clobber instead of %ecx.
18728         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
18729         mutex_unlock): Use a statement expression instead of an expression list.
18730         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
18731         type to vm_size_t instead of vm_address_t.
18732         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
18733         defined instead of whether it is non-zero.
18734         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
18735         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
18736         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
18737         comparisons with mapaddr.
18738         * nscd/nscd-client.h: Include <time.h>.
18739         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
18740         9th parameter to __vm_region instead of int.
18741         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
18742         * scripts/check-local-headers.sh (exclude): Add device/,
18743         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
18744         cthreads.h.
18746 2015-03-19  Roland McGrath  <roland@hack.frob.com>
18748         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
18749         to account for alignment padding.
18750         * sysdeps/arm/memmove.S: Likewise.
18752 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
18754         * sysdeps/unix/sysv/linux/generic/README: New file.
18756 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
18758         [BZ #18138]
18759         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
18760         (futex_abstimed_wait)
18761         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
18762         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
18763         of lll_futex_timed_wait.
18765 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
18767         [BZ #17542]
18768         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
18770 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
18772         [BZ #17090]
18773         [BZ #17620]
18774         [BZ #17621]
18775         [BZ #17628]
18776         * NEWS: Update.
18777         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
18778         entries with Static TLS too.  Skip entries past the end of the
18779         allocated DTV, from Alan Modra.
18780         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
18781         Static TLS DTV entry set up from...
18782         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
18783         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
18784         * nptl/allocatestack.c (init_one_static_tls): ... and here...
18785         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
18786         for Static TLS.
18787         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
18788         that the slot we find is associated with the given map before
18789         using its generation count.
18790         * nptl_db/db_info.c: Include ldsodefs.h.
18791         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
18792         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
18793         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
18794         (link_map::l_tls_offset): New struct field.
18795         (dtv_t::counter): Likewise.
18796         (rtld_global): New struct.
18797         (_rtld_global): New rtld variable.
18798         (dl_tls_dtv_slotinfo_list): New rtld global field.
18799         (dtv_slotinfo_list): New struct.
18800         (dtv_slotinfo): Likewise.
18801         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
18802         (td_lookup): Rename to...
18803         (td_mod_lookup): ... this.  Use new mod parameter instead of
18804         LIBPTHREAD_SO.
18805         * nptl_db/td_thr_tlsbase.c: Include link.h.
18806         (dtv_slotinfo_list, dtv_slotinfo): New functions.
18807         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
18808         addresses even if the DTV is out of date or missing them.
18809         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
18810         index zero-length arrays.
18811         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
18812         (td_lookup): Make it a macro implemented in terms of...
18813         (td_mod_lookup): ... this declaration.
18814         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
18815         (DB_MAIN_VARIABLE): Likewise.
18817 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
18819         [BZ #18134]
18820         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
18822 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
18824         * stdlib/setenv.c (__add_to_environ): Revert previous change.
18826 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
18828         [BZ #18128]
18829         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
18830         (atomic_add, atomic_increment_and_test)
18831         (atomic_decrement_and_test): Fix 64-bit arithmetic.
18833 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
18835         * stdlib/setenv.c (__add_to_environ):
18836         Dump core quickly if setenv (..., NULL, ...) is called.
18838 2015-03-13  Roland McGrath  <roland@hack.frob.com>
18840         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
18841         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
18842         all the necessary asm magic in one place.
18843         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
18844         using those.
18846 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
18848         [BZ #14906]
18849         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
18850         traced file mtime. Use consistent log message.
18851         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
18852         (register_traced_file): Call install_watches. Always set mtime.
18853         (invalidate_cache): Iterate over all trace files. Call install_watches.
18854         (inotify_check_files): Don't inline. Handle watching parent
18855         directories and configuration file movement in and out.
18856         (handle_inotify_events): New function.
18857         (main_loop_poll): Call handle_inotify_events.
18858         (main_loop_epoll): Likewise.
18859         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
18860         (struct traced_file): Use array of inotify fds. Add parent directory,
18861         and basename.
18862         (struct database_dyn): Remove unused file_mtime.
18863         (init_traced_file): New inline function.
18864         (define_traced_file): New macro.
18865         * nss/nss_db/db-init.c: Use define_traced_file.
18866         (_nss_db_init): Use init_traced_file.
18867         * nss/nss_files/files-init.c: Use define_traced_file.
18868         (_nss_files_init): Use init_traced_file.
18870 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
18872         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
18873         [_LIBC]: Do not include <stdlib.h>.
18874         [!_LIBC] (abort): Remove declaration.
18875         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
18876         _FP_STATIC_ASSERT instead of conditionally calling abort.
18877         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
18878         (_FP_EXTEND_CNAN): Likewise.
18879         (FP_TRUNC): Likewise.
18880         (__FP_CLZ): Likewise.
18881         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
18883 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
18885         * manual/string.texi (XPG basename): Fix prototype.
18887 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18889         [BZ #18080]
18890         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
18891         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
18892         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
18893         (__setcontext): Likewise.
18894         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
18895         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
18896         Call rt_sigprocmask syscall one time to set new signal mask
18897         and retrieve the current signal mask instead of two calls.
18898         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
18899         (__swapcontext): Likewise.
18900         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
18901         * stdlib/tst-setcontext2.c: New file.
18903 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18905         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18907 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
18909         [BZ #18093]
18910         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
18911         the wrong size.
18913 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
18915         [BZ #18043]
18916         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
18918 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18920         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
18921         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
18922         Remove define.
18923         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
18924         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
18925         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
18926         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
18927         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
18928         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
18929         define.
18930         * nptl_db/td_symbol_list.c (td_lookup): Remove
18931         HAVE_ASM_GLOBAL_DOT_NAME code.
18932         * sysdeps/powerpc/powerpc64/configure.ac: Remove
18933         HAVE_ASM_GLOBAL_DOT_NAME check.
18934         * sysdeps/powerpc/powerpc64/configure: Regenerate.
18935         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
18936         (DOT_LABEL): Remove define.
18937         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
18938         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
18939         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
18940         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
18941         (__TLS_GET_ADDR): Likewise.
18942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
18943         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
18945 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
18947         [BZ #18111]
18948         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
18949         (_FPU_SETCW): Initialize cw from fpsr before storing.
18950         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
18951         (fesetexceptflag): Rewrite using fpu_control.h.
18952         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
18954 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
18956         [BZ #18110]
18957         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
18958         asms.
18959         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
18961 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
18963         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
18964         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
18965         abort.
18966         (_FP_FMA): Likewise.
18967         (_FP_DIV): Likewise.
18969 2015-03-10  Roland McGrath  <roland@hack.frob.com>
18971         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
18972         with 0 in that case.
18973         * Makefile (summarize-tests): New canned sequence, factored out of
18974         commands for targets tests and xtests.  Display summary lines that
18975         don't start with PASS: or XFAIL: rather than ones that do start with
18976         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
18977         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
18978         do start with ERROR: or FAIL:.
18979         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
18980         (except for [$(build-shared) = yes]).
18981         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
18982         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
18983         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
18984         * nptl/Makefile: Revert 2015-03-04 changes.
18985         [$(CXX) empty] (tests-unsupported): New variable.
18986         * debug/Makefile: Likewise.
18988         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
18989         gnulib file.  Replace __attribute with __attribute__ throughout.
18991 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
18993         * sysdeps/hppa/fpu/libm-test-ulps: Update.
18995 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
18997         [BZ #18104]
18998         * math/auto-libm-test-in: Add another test of pow.
18999         * math/auto-libm-test-out: Regenerated.
19001 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19003         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
19004         $(config-cflags-nofma).
19006 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
19008         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
19009         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
19010         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
19011         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
19012         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
19013         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
19014         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
19015         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
19016         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
19017         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
19018         Add comment on closing #endif.
19020 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19022         * posix/wordexp.c (CHAR_IN_SET): New macro.
19023         (parse_param): Use it.
19025 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19027         * sysdeps/powerpc/fpu/libm-test-ulps: update.
19029 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19031         [BZ #18043]
19032         * posix/wordexp.c (parse_param): Fix buffer overflow.
19033         * posix/wordexp-test.c (test_case): Add test case.
19035 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19037         [BZ #18042]
19038         * posix/wordexp.c (parse_backtick): Fix off-by-one.
19039         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
19041 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19043         [BZ #18043]
19044         * posix/wordexp-test.c (test_case): Add test for BZ #18043
19045         (do_bz18043): Delete.
19046         (at_page_end): New.
19047         (testit): Refactor to have words at the edge of unreadable page.
19049 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
19051         [BZ #16734]
19052         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
19053         Cleanup read-only streams as well.
19054         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
19056 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19058         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
19059         <bits/libc-lockP.h>
19061 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
19063         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
19064         on [__KERNEL__].
19065         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
19066         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
19067         * soft-fp/op-common.h (_FP_DECL): Likewise.
19069 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
19071         * elf/ifuncdep2.c (global): Replace
19072         __attribute__((visibility("protected"))) with
19073         asm (".protected global").
19074         * elf/ifuncmod1.c (global): Likewise.
19075         * elf/ifuncmod5.c (global): Likewise.
19077 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
19079         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
19080         <asm/sfp-machine.h> instead of <sfp-machine.h>.
19082 2015-03-06  Roland McGrath  <roland@hack.frob.com>
19084         * manual/install.texi (Configuring and compiling):
19085         Document test-wrapper-env-only.
19086         * INSTALL: Regenerated.
19088 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
19090         [BZ #18043]
19091         * posix/wordexp.c (parse_param): Fix buffer overflow.
19092         * posix/wordexp-test.c (do_bz18043): Add test case.
19094 2015-03-06  Vincent Bernat  <vincent@bernat.im>
19096         * time/tst-strptime2.c (do_test): Ensure failing tests are
19097         reported correctly.
19098         * time/tst-strptime3.c (do_test): Likewise.
19100 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
19102         Fix aio_error thread-safety.
19103         * sysdeps/pthread/aio_error.c: New file
19104         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
19105         synchronization.
19107 2015-03-06  Florian Weimer  <fweimer@redhat.com>
19109         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
19110         (group_number, vfprintf): Use it.
19111         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
19112         (JUMP, REF): Use it.
19113         (WORK_BUFFER_SIZE): New enum constant.
19114         (process_arg, vfprintf): Use it.
19116 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
19118         * manual/errno.texi (Error Messages): Complete example function
19119         by adding missing #define.
19120         (program_invocation_name): Add statement indicating GNU
19121         extension and reference which header file declares the variable.
19122         (program_invocation_short_name): Likewise.
19124 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
19126         * manual/errno.texi (Error Messages): Delete strerror ISO C89
19127         compatibility note.
19129 2015-03-05  Roland McGrath  <roland@hack.frob.com>
19131         * Makeconfig (test-wrapper-env-only): New variable.
19132         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
19133         then use that with $(test-wrapper-env-only) rather than using
19134         $(test-wrapper-env) $(run-program-env) $($*-ENV).
19136 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
19138         [BZ #18082]
19139         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
19140         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
19141         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
19142         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
19143         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
19144         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
19145         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
19146         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
19147         Likewise.
19148         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
19149         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
19150         Likewise.
19151         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
19152         Likewise.
19153         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
19154         Likewise.
19155         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
19156         Likewise.
19157         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
19158         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
19159         Likewise.
19160         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
19161         Likewise.
19162         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
19163         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
19165 2015-03-04  Roland McGrath  <roland@hack.frob.com>
19167         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
19168         (ETH_ALEN): New macro.
19169         (struct ether_addr): Use it for length of ether_addr_octet.
19171         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
19172         (setdb): Don't call __nss_configure_lookup for "rpc".
19173         (do_test): Don't call test_rpc.
19174         (output_rpcent, test_rpc): Functions moved ...
19175         * sunrpc/test-rpcent.c: ... to this new file.
19176         * sunrpc/Makefile (tests): Add it.
19178         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
19179         __xpg_sigpause.
19180         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
19181         * nptl/tst-signal6.c: Likewise.
19182         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
19183         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
19185         * configure.ac (libc_cv_cxx_link_ok): New check.
19186         Reset CXX to empty if it fails to link.
19187         * configure: Regenerated.
19188         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
19189         bug-atexit3-lib only if $(CXX) is nonempty.
19190         * nptl/Makefile (tests): Likewise for tst-cancel24.
19191         (tests, tests-static): Likewise for tst-cancel24-static.
19192         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
19193         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
19194         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
19195         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
19197 2015-03-04  Andreas Schwab  <schwab@suse.de>
19199         [BZ #17631]
19200         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
19201         for non-GCC compilers.
19202         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
19203         Likewise.
19205 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19207         [BZ #17776]
19208         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
19209         integer before bitwise and assembly operations.
19210         (feclearexcept): Likewise.
19211         * math/test-fenvinline.c: New file.
19212         * math/Makefile: Add test-fenvinline test.
19214 2015-03-03  Alan Modra  <amodra@gmail.com>
19216         [BZ #16512]
19217         * scripts/localplt.awk: Strip off symbol version.
19218         * NEWS: Mention bug fix.
19220 2015-03-02  Roland McGrath  <roland@hack.frob.com>
19222         * sysdeps/pthread/timer_routines.c
19223         (timer_free_list, thread_free_list, thread_active_list): Make static.
19225 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
19227         [BZ #17779]
19228         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19229         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
19230         Undefine.
19231         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19232         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
19233         Likewise.
19234         * sysdeps/unix/sysv/linux/sh/kernel-features.h
19235         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
19236         Likewise.
19238 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
19240         [BZ #18036]
19241         * posix/fnmatch_loop.c (END): Detect invalid pattern.
19242         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
19244 2015-03-02  Andreas Schwab  <schwab@suse.de>
19246         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
19247         variable name.
19249 2015-03-02  Florian Weimer  <fweimer@redhat.com>
19251         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
19252         Return error status.
19254 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
19256         [BZ #15969]
19257         * locale/findlocale.c (_nl_find_locale): Introduce const
19258         version of loc_name and drop unsafe type casts.
19260 2015-02-27  Roland McGrath  <roland@hack.frob.com>
19262         * dlfcn/tststatic2.c (main): Converted to ...
19263         (do_test): ... this.
19264         (TEST_FUNCTION): New macro.
19265         Include test-skeleton.c.
19267 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
19269         [BZ #17711]
19270         * elf/Makefile (tests): Add vismain only if PIE is enabled.
19271         (tests-pie): Add vismain.
19272         (CFLAGS-vismain.c): New.
19273         * elf/vismain.c: Add comments for PIE requirement.
19275 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
19277         [BZ #18046]
19278         [BZ #18047]
19279         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
19280         0x1p-56L as threshold for just returning the argument.
19281         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
19282         0x1p-32L as threshold for just returning the argument.
19283         * math/auto-libm-test-in: Add more tests of atanh.
19284         * math/auto-libm-test-out: Regenerated.
19285         * sysdeps/i386/fpu/libm-test-ulps: Update.
19286         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
19288 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
19290         * string/bcopy.c (bcopy): Call memmove for performance.
19292 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
19294         * string/bzero.c (__bzero): Call memset for performance.
19296 2015-02-27  John David Anglin  <dave.anglin@bell.net>
19298         [BZ #18068]
19299         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
19300         to 00100000.
19302 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
19304         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
19306 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
19308         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
19309         (__kernel_standard): Use CSTR macro when setting exc.name.
19310         * sysdeps/ieee754/Makefile [$(subdir) = math]
19311         (CFLAGS-k_standard.c): Remove variable.
19313         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
19314         setting p and q from "else if" to "else".
19315         (qzero): Likewise.
19316         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
19317         (qone): Likewise.
19318         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
19319         (qzerof): Likewise.
19320         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
19321         (qonef): Likewise.
19322         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
19323         (qzero): Likewise.
19324         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
19325         (qone): Likewise.
19327         [BZ #18038]
19328         [BZ #18039]
19329         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
19330         return pi/2 for arguments below 0x1p-113L.
19331         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
19332         return pi/2 for arguments below 0x1p-106L.
19333         * math/auto-libm-test-in: Add more tests of acos.
19334         * math/auto-libm-test-out: Regenerated.
19336         [BZ #16351]
19337         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
19338         (MO): New macro.
19339         (__ieee754_asin): Force underflow exception for results with small
19340         absolute value.
19341         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
19342         (MO): New macro.
19343         (__ieee754_asinf): Force underflow exception for results with
19344         small absolute value.
19345         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
19346         (__ieee754_asin): Force underflow exception for results with small
19347         absolute value.
19348         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
19349         (__ieee754_asinf): Force underflow exception for results with
19350         small absolute value.
19351         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
19352         (__ieee754_asinl): Force underflow exception for results with
19353         small absolute value.
19354         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
19355         (__ieee754_asinl): Force underflow exception for results with
19356         small absolute value.
19357         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
19358         (__ieee754_asinl): Force underflow exception for results with
19359         small absolute value.
19360         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
19361         Include <math.h>.
19362         * math/auto-libm-test-in: Do not mark underflow exceptions as
19363         possibly missing for bug 16351.
19364         * math/auto-libm-test-out: Regenerated.
19366         [BZ #18030]
19367         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
19368         of power of 2 down when low part has opposite sign.
19369         * math/libm-test.inc (logb_test_data): Add more tests.
19371 2015-02-26  Andreas Schwab  <schwab@suse.de>
19373         [BZ #18032]
19374         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
19375         over collating symbol inside a bracket expression.  Minor cleanup.
19376         * posix/tst-fnmatch3.c (do_test): Add test case.
19378 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
19380         [BZ #18029]
19381         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
19382         Adjust exponent of power of 2 down when low part has opposite
19383         sign.
19384         * math/libm-test.inc (ilogb_test_data): Add more tests.
19386 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
19388         [BZ #15969]
19389         * locale/findlocale.c (_nl_find_locale): Fix constness error in
19390         the previous change.
19392         [BZ #15969]
19393         * locale/findlocale.c (_nl_find_locale): Retry archive search
19394         after alias expansion.
19396 2015-02-25  Roland McGrath  <roland@hack.frob.com>
19398         * iconv/tst-iconv3.c (main): Converted to ...
19399         (do_test): ... this.
19400         (TEST_FUNCTION): New macro.
19401         Include test-skeleton.c.
19403         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
19404         (convert): Make function static.
19405         (test_unalign): Likewise.  Add const to argument pointee types.
19406         (main): Replace with static function do_test.
19407         Print "Succeeded." only if RET is zero.
19408         (TEST_FUNCTION): New macro.
19409         Include test-skeleton.c.
19411         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
19412         returns a null pointer.
19414 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19416         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
19417         to __memcpy_ppc only for static builds.
19419 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
19421         [BZ #18020]
19422         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
19423         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
19424         * math/auto-libm-test-in: Add more tests of asinh.
19425         * math/auto-libm-test-out: Regenerated.
19426         * sysdeps/i386/fpu/libm-test-ulps: Update.
19427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19429 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
19431         [BZ #15850]
19432         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
19433         and ip6_mtuinfo definitions here.
19434         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
19435         in this define too.  Update comment.
19437 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
19439         * elf/sprof.c (load_shobj): Tweak error message to match others.
19441 2015-02-24  Kevin Easton  <kevin@guarana.org>
19443         [BZ #16145] (partial fix)
19444         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
19445         to reduce lock contention.
19447 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
19449         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
19450         (struct timex): Update time comment.
19451         (ADJ_SETOFFSET): Define.
19453 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
19455         [BZ #18019]
19456         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
19457         2**56 not 2**28 as threshold for log (2x) formula.
19458         * math/auto-libm-test-in: Add more tests of acosh.
19459         * math/auto-libm-test-out: Regenerated.
19460         * sysdeps/i386/fpu/libm-test-ulps: Update.
19461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19463 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
19465         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
19466         parenthesis around the buf assignment.
19467         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
19469 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
19471         [BZ #16783]
19472         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
19473         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
19474         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
19475         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
19476         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
19477         * math/libm-test.inc (scalb_test_data): Add more tests.
19479 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
19481         [BZ #17916]
19482         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
19483         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
19485 2015-02-24  Eric Rannaud  <e@nanocritical.com>
19487         [BZ #17523]
19488         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
19489         * io/bits/fcntl2.h (open): Use it.
19490         (openat): Likewise.
19491         * io/open.c (__libc_open): Likewise.
19492         * io/open64.c (__libc_open64): Likewise.
19493         * io/open64_2.c (__open64_2): Likewise.
19494         * io/open_2.c (__open_2): Likewise.
19495         * io/openat.c (__openat): Likewise.
19496         * io/openat64.c (__openat64): Likewise.
19497         * io/openat64_2.c (__openat64_2): Likewise.
19498         * io/openat_2.c (__openat_2): Likewise.
19499         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
19500         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
19501         * sysdeps/posix/open64.c (__libc_open64): Likewise.
19502         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
19503         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
19504         (__open_nocancel): Likewise.
19505         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
19506         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
19507         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
19509 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19511         [BZ #14841]
19512         * resolv/gethnamaddr.c (getanswer): Skip logging if
19513         RES_USE_DNSSEC is set.
19514         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19516 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
19518         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
19520 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
19522         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
19523         201304L, for Unicode 7.
19525 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
19527         [BZ #17836]
19528         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
19529         shared library.  Add gmon-start.os otherwise.
19530         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
19531         $(objpfx)gmon-start.os if builing shared library.
19532         ($(objpfx)g$(static-start-installed-name)): Likewise.
19534 2015-02-23  Andreas Schwab  <schwab@suse.de>
19536         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
19538 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
19540         [BZ #17269]
19541         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
19542         (enlarge_userbuf): Likewise.
19544 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
19546         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
19547         * math/atest-exp.c (TIMEOUT): Adjust to 200.
19548         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
19549         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
19551 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
19553         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
19554         expression inside statement expression.
19556 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
19558         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
19559         <sysdeps/nptl/lowlevellock.h> and remove macros and
19560         functions that are now defined there.
19561         (SYS_futex): Remove.
19562         (lll_compare_and_swap): Remove.
19563         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
19565 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
19567         [BZ #17999]
19568         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
19569         instead of scandirat.
19570         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
19571         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
19572         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
19573         __scandirat.
19574         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
19575         (__scandirat): Declare.  Use libc_hidden_proto.
19576         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
19577         Remove variable.
19578         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
19580 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
19582         [BZ #15319]
19583         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
19584         (MO): New macro.
19585         (__ieee754_atan2): For results with small absolute value, force
19586         underflow exception and remove excess range and precision from
19587         return value.
19588         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
19589         (MO): New macro.
19590         (__ieee754_atan2f): For results with small absolute value, force
19591         underflow exception and remove excess range and precision from
19592         return value.
19593         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
19594         (MO): New macro.
19595         (__atan): For results with small absolute value, force underflow
19596         exception and remove excess range and precision from return value.
19597         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
19598         (MO): New macro.
19599         (__atanf): For results with small absolute value, force underflow
19600         exception and remove excess range and precision from return value.
19601         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
19602         <math.h>.
19603         (__ieee754_atan2): Force underflow exception for results with
19604         small absolute value.
19605         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
19606         <math_private.h>.
19607         (atan): Force underflow exception for results with small absolute
19608         value.
19609         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
19610         (__atanf): Force underflow exception for results with small
19611         absolute value.
19612         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
19613         <math.h>.
19614         (__atanl): Force underflow exception for results with small
19615         absolute value.
19616         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
19617         (__atanl): Force underflow exception for results with small
19618         absolute value.
19619         * sysdeps/x86/fpu/bits/mathinline.h
19620         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
19621         (__ieee754_atan2): Only define inline for long double.
19622         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
19623         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
19624         * math/auto-libm-test-in: Do not mark underflow exceptions as
19625         possibly missing for bug 15319.  Add more tests of atan2.
19626         * math/auto-libm-test-out: Regenerated.
19627         * math/libm-test.inc (casin_test_data): Do not mark underflow
19628         exceptions as possibly missing for bug 15319.
19629         (casinh_test_data): Likewise.
19630         * sysdeps/i386/fpu/libm-test-ulps: Update.
19632 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
19634         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
19635         * sysdeps/mips/bits/endian.h: Fix comments.
19637 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
19639         [BZ #17996]
19640         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
19641         (hdestroy_r): Likewise.
19642         (hsearch_r): Likewise.
19643         (__hcreate_r): Declare and use libc_hidden_proto.
19644         (__hdestroy_r): Likewise.
19645         (__hsearch_r): Likewise.
19646         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
19647         (hcreate): Call __hcreate_r instead of hcreate_r.
19648         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
19649         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
19650         as weak alias of __hcreate_r.
19651         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
19652         __hdestroy_r.
19653         (hsearch_r): Rename to __hsearch_r and define as weak alias of
19654         __hsearch_r.
19655         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
19656         Remove variable.
19657         (test-xfail-XPG4/search.h/linknamespace): Likewise.
19658         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
19659         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
19660         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
19662 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19664         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
19665         arena_lock into a single arena_get.
19667 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
19669         * dl-reloc.c: Inlucde libc-internal.h.
19670         (_dl_try_allocate_static_tls): Call ALIGN_UP.
19671         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
19672         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
19673         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
19674         (grow_heap): Likewise.
19675         * malloc/malloc.c: Include libc-internal.h.
19676         (do_check_malloc): Call powerof2.
19677         (sysmalloc): Use pagesize. Call ALIGN_UP.
19678         (systrim): Use pagesize.
19679         (mremap_chunk): Use pagesize. Call ALIGN_UP.
19680         (__libc_valloc): Use pagesize.
19681         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
19683 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
19685         [BZ #17991]
19686         * include/sys/resource.h (__getrlimit64): Declare.  Use
19687         libc_hidden_proto.
19688         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
19689         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
19690         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
19691         getrlimit64.
19692         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
19693         __getrlimit64.
19694         [!getrlimit64] (getrlimit64): Define as weak alias of
19695         __getrlimit64.  Use libc_hidden_weak.
19696         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
19697         using __getrlimit64 not __new_getrlimit64.
19698         (__GI_getrlimit64): Likewise.
19699         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
19700         Likewise.
19701         (__GI_getrlimit64): Likewise.
19702         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
19703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
19704         (getrlimit): Add __getrlimit64 alias.
19705         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
19706         Likewise.
19707         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
19708         Remove variable.
19709         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
19710         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
19712 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
19714         * libio/fileops.c: Add missing sys/mman.h
19715         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
19717 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
19719         * manual/math.texi (Errors in Math Functions): Clarify goals
19720         regarding inexact and underflow exceptions.
19722 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
19724         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
19725         * sysdeps/mips/memset.S: Ditto.
19727 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
19729         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
19731 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
19733         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
19734         (__v1longjmp): Remove versioned symbol.
19735         (__v1siglongjmp): Remove alias and versioned symbol.
19736         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
19737         (__v2siglongjmp): Likewise.
19739 2015-02-16  Torvald Riegel  <triegel@redhat.com>
19741         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
19743 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
19745         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
19747 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
19749         [BZ #17987]
19750         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
19751         zero result does not depend on the sign resulting from
19752         subtraction.
19753         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
19754         Likewise.
19755         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
19756         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
19757         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19758         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
19759         * math/libm-test.inc (remquo_test_data): Add more tests.
19761 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
19763         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
19764         Problem reported by J William Piggott.
19766 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
19768         [BZ #17978]
19769         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
19770         products 4 * y and 2 * y where those would overflow.
19771         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
19772         Likewise.
19773         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
19774         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
19775         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19776         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
19777         * math/libm-test.inc (remquo_test_data): Add more tests.
19779         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
19781         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
19782         [defined _COMPILING_NEWLIB].
19783         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
19784         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
19786         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
19787         [!defined __mips_isa_rev || __mips_isa_rev < 6].
19789 2015-02-16  Torvald Riegel  <triegel@redhat.com>
19791         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
19792         acquired.
19794 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
19796         [BZ #17792]
19797         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
19798         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
19799         HOST_STACK_END_ADDR): Likewise.
19801 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
19803         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
19804         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
19805         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
19807 2015-02-13  Roland McGrath  <roland@hack.frob.com>
19809         * sysdeps/generic/c++-types.data: New file.
19810         * sysdeps/generic/ld.abilist: New file.
19811         * sysdeps/generic/libBrokenLocale.abilist: New file.
19812         * sysdeps/generic/libanl.abilist: New file.
19813         * sysdeps/generic/libc.abilist: New file.
19814         * sysdeps/generic/libcrypt.abilist: New file.
19815         * sysdeps/generic/libdl.abilist: New file.
19816         * sysdeps/generic/libm.abilist: New file.
19817         * sysdeps/generic/libpthread.abilist: New file.
19818         * sysdeps/generic/libresolv.abilist: New file.
19819         * sysdeps/generic/librt.abilist: New file.
19821 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
19823         [BZ #17569]
19824         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
19825         Compute absolute value of x as modified by fmod, not original
19826         value of x.
19827         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
19828         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
19829         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
19830         RUN_TEST_ffI_f1_mod8.
19831         (remquo_test_data): Add more tests.
19833 2015-02-13  Roland McGrath  <roland@hack.frob.com>
19835         * sysdeps/init_array/pt-crti.S: New file.
19837 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
19839         [BZ #17967]
19840         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
19841         __builtin_fmaf instead of relying on contraction of a * b + c.
19843 2015-02-12  J William Piggott  <elseifthen@gmx.com>
19845         [BZ #17969]
19846         * manual/time.texi: correct the zoneinfo path in the TZ Variable
19847         node.
19849 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
19851         [BZ #17964]
19852         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
19853         __builtin_fma instead of relying on contraction of a * b + c.
19855 2015-02-12  Roland McGrath  <roland@hack.frob.com>
19857         * Makeconfig (ASFLAGS): Add -Werror=undef.
19858         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
19859         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
19860         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
19862         * Makeconfig (after-link): New variable.
19863         (+link-pie, +link-pie-tests): Use it.
19864         (+link-static, +link-static-tests): Likewise.
19865         (+link, +link-tests): Likewise.
19866         * Makerules (build-module, build-module-asneeded): Likewise.
19867         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
19868         Likewise.
19869         * elf/Makefile ($(objpfx)ld.so): Likewise.
19871 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
19873         [BZ #17965]
19874         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
19875         both struct timeval and struct timespec.
19877 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
19879         [BZ #16560]
19880         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19881         and redefine.
19882         (__ieee754_exp2l): Do not multiply small fractional parts by
19883         M_LN2l.
19884         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
19885         small argument.
19886         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
19887         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
19888         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
19889         * math/auto-libm-test-in: Add more tests of exp2.
19890         * math/auto-libm-test-out: Regenerated.
19892 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19894         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
19895         unaligned path.
19897 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19899         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
19900         little endian.
19902 2015-02-12  Andreas Schwab  <schwab@suse.de>
19904         [BZ #15790]
19905         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
19906         Filter out elision flags from value returned in kind.
19907         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
19908         * nptl/tst-pthread-mutexattr.c: New file.
19910 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19912         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
19913         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
19914         into gnu-gnu, and update comment to refer to abi-tags.
19916 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
19918         [BZ #15467]
19919         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
19920         (__sincos): Set errno to EDOM for infinite argument.
19921         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
19922         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
19923         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
19924         (__sincosl): Set errno to EDOM for infinite argument.
19925         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
19926         (__sincosl): Set errno to EDOM for infinite argument.
19927         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
19928         (__sincosl): Set errno to EDOM for infinite argument.
19929         * math/libm-test.inc (sincos_test_data): Test errno setting.
19931 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
19933         * string/strxfrm_l.c: Remove #define STRCMP.
19934         * string/strcoll_l.c: Remove #define STRLEN.
19935         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
19936         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
19938 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
19940         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
19941         * sysdeps/mips/mips32/sfp-machine.h: ... here.
19942         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
19943         * sysdeps/mips/mips64/Makefile: ... here.
19944         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
19945         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
19946         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
19947         * sysdeps/mips/mips64/sfp-machine.h: ... here.
19948         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
19949         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
19950         * sysdeps/mips/mips64/n64/Implies: Likewise.
19952 2015-02-10  Roland McGrath  <roland@hack.frob.com>
19954         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
19955         <sys/time.h>, <string.h>, and <errno.h>.
19956         (dest_offset, dest_address, value, zero): Remove unused variables.
19957         (ldouble): Remove typedef.
19958         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
19959         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
19960         1).  Fix code style.
19961         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
19962         (check): Function removed.
19963         (CHECK): New macro.
19964         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
19965         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
19966         Don't call set_sigaction_FP and remove_sigaction_FP here.
19967         (ldouble_test): Just use 'long double' as macro argument, no need for
19968         the 'ldouble' typedef.
19969         (do_test): Set up SIGFPE handler at start, using plain signal rather
19970         than sigaction.  Fix code style.
19972 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
19974         [BZ #17949]
19975         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
19976         jump label.
19978 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19980         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
19981         * sysdeps/powerpc/powerpc32/configure: Regenerated.
19983         * sysdeps/powerpc/configure.ac: Remove file.
19984         * sysdeps/powerpc/configure: Likewise.
19986         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
19987         [sysdep_routines]: Remove wordcopy-power6 object.
19988         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
19989         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
19990         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
19991         (__memmove_ppc32): Likewise.
19992         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
19993         file.
19994         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
19995         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
19996         Remove preprocessor.
19998         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
19999         [sysdep_routines]: Remove wide chars objects.
20000         [wcsmbs]: New rule for wide char objects.
20002         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20003         Remove wordcopy-power6 obejct.
20004         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
20005         Use local call for wordcopy and memcpy symbols.
20006         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
20007         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
20008         implementation for loader.
20009         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
20011         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20012         Remove wordcopy-power7 object.
20013         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
20014         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
20015         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
20016         (_wordcopy_fwd_dest_aligned): Likewise.
20017         (_wordcopy_bwd_aligned): Likewise.
20018         (_wordcopy_bwd_dest_aligned): Likewise.
20020         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
20021         Rewrite to call __memmove_ppc instead of include default
20022         implementation.
20024         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20025         Remove wide chars objects.
20026         [wcsmbs]: New rule for wide char objects.
20028 2015-02-09  Andreas Schwab  <schwab@suse.de>
20030         [BZ #17912]
20031         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
20032         in terms of __O_DIRECTORY.
20034 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20036         * time/getdate.c: Include <stdbool.h>.
20037         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
20038         call PTR_MANGLE.
20039         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
20040         PTR_DEMANGLE.
20042 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
20044         Add ersatz _Static_assert on older C hosts
20045         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
20046         pre-C11 C platform that is not known to support _Static_assert.
20048 2015-02-07  Richard Braun  <rbraun@sceen.net>
20050         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
20051         sigstate.
20052         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
20054 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20056         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
20057         priority against unexistent AIO_PRIO_DELTA_MAX.
20058         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
20059         instead of int.
20060         * misc/fchflags.c (fchflags): Likewise.
20061         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
20062         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
20063         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
20064         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
20065         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
20066         Declare macros.
20067         [__USE_MISC] (chflags, fchflags): Declare functions.
20068         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
20069         EINVAL when nfds is greater than FD_SETSIZE.
20070         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
20071         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
20072         45.
20073         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
20074         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
20075         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
20076         MACH_RCV_TIMED_OUT.
20077         * hurd/hurd/signal.h (_hurd_self_sigstate,
20078         _hurd_critical_section_lock, _hurd_critical_section_unlock):
20079         Explicit casts from void *.
20080         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
20081         * abi-tags: Rename gnu-gnu os into gnu.
20083         [BZ #4719]
20084         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
20085         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
20086         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
20087         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
20088         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
20089         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
20091         [BZ #17944]
20092         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
20093         duplicates ADDR->sun_path with sockaddr LEN limitation.
20094         * sysdeps/mach/hurd/connect.c: Include <string.h>
20095         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
20096         * sysdeps/mach/hurd/sendmsg.c: Likewise.
20097         * sysdeps/mach/hurd/sendto.c: Likewise.
20098         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
20099         implementing it by hand.
20101 2015-02-06  Roland McGrath  <roland@hack.frob.com>
20103         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
20104         Use sfi_breg on ldr.
20105         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
20106         Likewise.
20108         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
20109         it's defined.
20110         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
20111         Test SIGSETXID only if it's defined.
20113         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
20115         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
20116         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
20118         * nptl/tst-align2.c: Moved ...
20119         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
20120         * nptl/Makefile (tests): Remove tst-align2.
20121         * sysdeps/unix/sysv/linux/Makefile
20122         [$(subdir) = nptl] (tests): Add tst-align-clone.
20123         * nptl/tst-getpid1.c: Moved ...
20124         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
20125         * nptl/tst-getpid2.c: Moved ...
20126         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
20127         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
20128         * sysdeps/unix/sysv/linux/Makefile
20129         [$(subdir) = nptl] (tests): ... here.
20130         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
20131         * sysdeps/unix/sysv/linux/Makefile
20132         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
20134         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
20135         Drop trailing \n from perror argument.  Use return rather than exit.
20137         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
20138         on [SA_SIGINFO].
20139         * nptl/tst-cancel21.c (do_test): Likewise.
20140         * debug/tst-backtrace6.c: Include <signal.h> first thing.
20141         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
20142         [!SA_SIGINFO]: Make it a stub test.
20144         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
20145         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
20147         * posix/tst-getlogin.c: Move to ...
20148         * login/tst-getlogin.c: ... here.
20149         * posix/Makefile (tests): Move tst-getlogin to ...
20150         * login/Makefile (tests): ... here.
20152         * libio/tst-atime.c (do_test): Move local variables SV and E
20153         inside [ST_NOATIME] conditional.
20155         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
20157         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
20159         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
20160         (wait_code): New function replaces macro.
20161         Call nanosleep rather than syscall.
20163         * nptl/pt-system.c: Rewritten.  Put everything under
20164         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
20165         Use IFUNC to redirect when possible.
20167         * nptl/pt-longjmp.c: Rewritten.  Put everything under
20168         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
20169         Use IFUNC to redirect when possible.
20171         * nptl/pt-fork.c: Rewritten.  Put everything under
20172         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
20173         Use IFUNC to redirect when possible.
20174         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
20176         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
20177         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
20178         unconditionally nowadays.  This included the only reference to
20179         __vdso_clock_gettime that appears outside libc proper.
20180         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
20181         Remove version set (containing only __vdso_clock_gettime).
20182         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
20183         Add attribute_hidden.
20184         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
20185         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
20186         libc_hidden_data_def.
20187         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
20188         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20190         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
20191         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
20192         setrpcent, and getrpcport to ...
20193         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
20194         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
20195         getrpcbynumber_r, and getrpcent_r to ...
20196         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
20197         * inet/getrpcbyname.c: Moved ...
20198         * sunrpc/getrpcbyname.c: ... here.
20199         * inet/getrpcbyname_r.c: Moved ...
20200         * sunrpc/getrpcbyname_r.c: ... here.
20201         * inet/getrpcbynumber.c: Moved ...
20202         * sunrpc/getrpcbynumber.c: ... here.
20203         * inet/getrpcbynumber_r.c: Moved ...
20204         * sunrpc/getrpcbynumber_r.c: ... here.
20205         * inet/getrpcent.c: Moved ...
20206         * sunrpc/getrpcent.c: ... here.
20207         * inet/getrpcent_r.c: Moved ...
20208         * sunrpc/getrpcent_r.c: ... here.
20209         * inet/Makefile (routines): Move those to ...
20210         * sunrpc/Makefile (routines): ... here.
20211         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
20212         the $(subdirs) list.
20213         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
20214         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
20215         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
20216         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
20218         * elf/Makefile (routines): Include $(all-dl-routines), not just
20219         $(dl-routines).
20220         (rtld-routines): Likewise.  Use = rather than :=.
20221         * sysdeps/aarch64/Makefile [$(subdir) = elf]
20222         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
20223         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
20224         * sysdeps/arm/Makefile: Likewise.
20225         * sysdeps/i386/Makefile: Likewise.
20226         * sysdeps/x86_64/Makefile: Likewise.
20227         * sysdeps/hppa/Makefile [$(subdir) = elf]
20228         (sysdep_routines, sysdep-rtld-routines): Don't add
20229         $(sysdep-dl-routines) to these.
20230         * sysdeps/ia64/Makefile: Likewise.
20231         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
20232         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
20233         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
20234         Don't add dl-static to these; sysdep-dl-routines alone is enough.
20235         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
20236         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
20237         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
20238         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
20239         * sysdeps/powerpc/Makefile [$(subdir) = elf]
20240         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
20241         these; sysdep-dl-routines alone is enough.
20243 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
20245         [BZ #17932]
20246         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
20247         where multiplication results in zero and third argument is finite
20248         and nonzero.
20249         * math/auto-libm-test-in: Add more tests of fma.
20250         * math/auto-libm-test-out: Regenerated.
20252         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
20253         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
20254         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
20255         (_FP_CMP_EQ): Likewise.
20256         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
20258         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
20259         extra argument CHECK_NAN.  Redefine as wrapper around
20260         _FP_EXTEND_CNAN.
20262 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
20264         * version.h (RELEASE): Set to "stable".
20265         (VERSION): Set to "2.21"
20266         * include/features.h (__GLIBC_MINOR__): Set to 21.
20268         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
20270 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20271             Paul Eggert  <eggert@cs.ucla.edu>
20273         [BZ #16618]
20274         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
20275         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
20276         size in bytes. Store needed elements in wpmax. Use needed size
20277         in bytes for extend_alloca.
20279 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
20281         * manual/install.texi: Latest tested versions are GCC 4.9.2,
20282         binutls 2.25, and texinfo 5.2.
20283         * INSTALL: Regenerate.
20284         * sysdeps/nios2/configure: Regenerate.
20285         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
20286         * manual/contrib.texi: Update.
20287         * po/be.po: Update.
20288         * po/bg.po: Update.
20289         * po/ca.po: Update.
20290         * po/cs.po: Update.
20291         * po/da.po: Update.
20292         * po/de.po: Update.
20293         * po/el.po: Update.
20294         * po/eo.po: Update.
20295         * po/es.po: Update.
20296         * po/fi.po: Update.
20297         * po/fr.po: Update.
20298         * po/gl.po: Update.
20299         * po/hr.po: Update.
20300         * po/hu.po: Update.
20301         * po/ia.po: Update.
20302         * po/id.po: Update.
20303         * po/it.po: Update.
20304         * po/ja.po: Update.
20305         * po/ko.po: Update.
20306         * po/lt.po: Update.
20307         * po/nb.po: Update.
20308         * po/nl.po: Update.
20309         * po/pl.po: Update.
20310         * po/pt_BR.po: Update.
20311         * po/ru.po: Update.
20312         * po/rw.po: Update.
20313         * po/sk.po: Update.
20314         * po/sl.po: Update.
20315         * po/sv.po: Update.
20316         * po/tr.po: Update.
20317         * po/uk.po: Update.
20318         * po/vi.po: Update.
20319         * po/zh_CN.po: Update.
20320         * po/zh_TW.po: Update.
20322         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
20323         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
20324         * sysdeps/hppa/dl-irel.h: Remove #warning.
20325         * sysdeps/hppa/entry.h: Provide prototype for
20326         __canonicalize_funcptr_for_compare and cast argument.
20327         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
20328         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
20329         * sysdeps/hppa/sotruss-lib.c: New file.
20330         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
20331         (atomic_compare_and_exchange_val_acq): Use __typeof__.
20332         (atomic_compare_and_exchange_bool_acq): Likewise.
20333         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
20334         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
20336         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
20337         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
20338         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
20340 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
20342         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
20343         called function in non-PIC case.
20345 2015-01-31  David S. Miller  <davem@davemloft.net>
20347         * sysdeps/sparc/sparc32/bits/atomic.h
20348         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
20349         unlock not after it.
20350         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
20351         volatile register usage warnings from the compiler.
20353         * sysdeps/sparc/nptl/sem_init.c: Delete.
20354         * sysdeps/sparc/nptl/sem_post.c: Delete.
20355         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
20356         * sysdeps/sparc/nptl/sem_wait.c: Delete.
20357         * sysdeps/sparc/sparc32/sem_init.c: New file.
20358         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
20359         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
20360         padding explicitly initialized.
20361         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
20362         padding for in-semaphore spinlock.
20363         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
20364         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
20365         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
20366         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
20367         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
20368         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
20369         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
20370         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
20371         version.
20372         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
20373         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
20375 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
20377         [BZ #17801]
20378         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20379         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
20380         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
20381         New.
20382         (index_AVX_Fast_Unaligned_Load): Likewise.
20383         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
20384         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
20385         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
20386         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
20387         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
20388         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
20389         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
20390         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
20391         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
20393 2015-01-29  Andreas Schwab  <schwab@suse.de>
20395         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
20397 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
20399         [BZ #17892]
20400         * nscd/nscd_stat.c (send_stats): Initialize DATA.
20402 2015-01-28  Martin Sebor  <msebor@redhat.com>
20404         * math/README.libm-test: Clarify. Add "How to read the test output."
20406 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
20408         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
20409         Define to 0.
20411 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
20413         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
20414         (__HAVE_64B_ATOMICS): Define to 0.
20416 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20418         [BZ #17885]
20419         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
20420         value to set as new flag.
20422         [BZ #16576]
20423         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
20424         and use _ARCH_PPCSQ instead.
20425         (__ieee754_sqrt): Likewise.
20426         (__ieee754_sqrtf): Likewise.
20427         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
20428         _ARCH_PPCSQ is defined.
20429         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
20430         fsqrt instruction.
20431         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
20432         _ARCH_PPCSQ is defined.
20433         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
20434         fsqrts instruction.
20435         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
20437 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20439         * iconv/loop.c: Suppress array out of bound warning caused by GCC
20440         bug (GCC BZ #64739).
20442 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
20444         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
20445         Mark _retval as used.
20446         (lll_futex_wake_unlock): Likewise.
20447         (lll_futex_timed_wait_requeue_pi): Likewise.
20449         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
20450         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
20451         register variables.
20453         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
20454         libm_hidden_def.
20456         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
20457         (__bswap_64): Mark as __always_inline.
20459 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
20461         [BZ #15378]
20462         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
20463         when none of the search directories exist.
20465 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20467         [BZ #17869]
20468         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
20469         power8 in .machine directive.
20471         [BZ #17868]
20472         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
20473         set dependency from opd value.
20475 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
20477         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20478         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
20479         architecture.
20481 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
20483         [BZ #17870]
20484         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
20485         with uint64_t.
20486         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
20487         (uint64_t) 1.
20488         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
20489         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
20490         Replace 1UL with (uint64_t) 1.
20491         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
20492         int with uint64_t.
20494 2015-01-23  Roland McGrath  <roland@hack.frob.com>
20496         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
20497         (if_freenameindex): Likewise.
20499         * resource/getrlimit64.c: Add missing libc_hidden_def.
20501 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
20503         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
20504         __label__.
20505         (_FP_FMA): Likewise.
20506         (_FP_TO_INT_ROUND): Likewise.
20507         (_FP_FROM_INT): Likewise.
20509 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20511         [BZ #16418]
20512         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
20513         Make code racy and cancel safe.
20515 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
20517         * sysdeps/arm/unwind-resume.h: Fix copyright year.
20518         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
20519         attribution.
20521         * pwd/tst-getpw.c: Rewrite.
20523         [BZ #17702]
20524         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
20525         (modules-names): Add moddummy1 and moddummy2.
20526         ($(objpfx)tst-rec-dlopen): Define.
20527         * dlfcn/moddummy1.c: New file.
20528         * dlfcn/moddummy2.c: New file.
20529         * dlfcn/tst-rec-dlopen.c: New file.
20530         * elf/dl-cache.c (_dl_load_cache_lookup):
20531         Return char*. Copy result with alloca/strcpy/strdup.
20532         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
20533         returns char*. Free cached. If not saving realname
20534         free cached.
20535         * elf/dl-open.c (dl_open_worker): Do not assert that
20536         _r_debug->r_state is RT_CONSISTENT.
20537         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
20538         returns char*.
20540 2015-01-21  Torvald Riegel  <triegel@redhat.com>
20541             Carlos O'Donell  <carlos@redhat.com>
20543         [BZ #12674]
20544         * nptl/sem_waitcommon.c: New file.
20545         * nptl/sem_wait.c: Include sem_waitcommon.c.
20546         (__sem_wait_cleanup, do_futex_wait): Remove.
20547         (__new_sem_wait): Adapt.
20548         (__new_sem_trywait): New function.
20549         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
20550         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
20551         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
20552         (sem_timedwait): Adapt.
20553         * nptl/sem_post.c (__new_sem_post): Adapt.
20554         (futex_wake): New function.
20555         (__old_sem_post): Add release MO fence.
20556         * nptl/sem_open.c (sem_open): Adapt.
20557         * nptl/sem_init.c (__new_sem_init): Adapt.
20558         (futex_private_if_supported): New function.
20559         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
20560         (__old_sem_getvalue): Add using previous code.
20561         * sysdeps/nptl/internaltypes.h: Adapt.
20562         * nptl/tst-sem13.c (do_test): Adapt.
20563         * nptl/tst-sem11.c (main): Adapt.
20564         * nptl/sem_trywait.c: Remove.
20565         * nptl/DESIGN-sem.txt: Remove.
20566         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
20567         (gen-as-const-headers): Remove structsem.sym.
20568         * nptl/structsem.sym: Remove.
20569         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
20570         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
20571         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
20572         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
20573         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
20574         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
20575         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
20576         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
20577         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
20578         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
20579         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
20580         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
20581         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
20582         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
20583         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
20584         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
20585         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
20586         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
20587         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
20588         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
20589         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
20590         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
20592 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
20594         * INSTALL: Regenerated.
20596         * po/libc.pot: Regenerated.
20598 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
20599             Sandra Loosemore  <sandra@codesourcery.com>
20600             Andrew Jenner  <andrew@codesourcery.com>
20601             Joseph Myers  <joseph@codesourcery.com>
20602             Nathan Sidwell  <nathan@codesourcery.com>
20604         * NEWS: Mention new Nios II port.
20605         * sysdeps/nios2/Implies: New file.
20606         * sysdeps/nios2/Makefile: New file.
20607         * sysdeps/nios2/Subdirs: New file.
20608         * sysdeps/nios2/Versions: New file.
20609         * sysdeps/nios2/__longjmp.S: New file.
20610         * sysdeps/nios2/abort-instr.h: New file.
20611         * sysdeps/nios2/backtrace.c: New file.
20612         * sysdeps/nios2/bits/endian.h: New file.
20613         * sysdeps/nios2/bits/fenv.h: New file.
20614         * sysdeps/nios2/bits/link.h: New file.
20615         * sysdeps/nios2/bits/setjmp.h: New file.
20616         * sysdeps/nios2/bsd-_setjmp.S: New file.
20617         * sysdeps/nios2/bsd-setjmp.S: New file.
20618         * sysdeps/nios2/configure: New generated file.
20619         * sysdeps/nios2/configure.ac: New file.
20620         * sysdeps/nios2/crti.S: New file.
20621         * sysdeps/nios2/crtn.S: New file.
20622         * sysdeps/nios2/dl-init.c: New file.
20623         * sysdeps/nios2/dl-machine.h: New file.
20624         * sysdeps/nios2/dl-sysdep.h: New file.
20625         * sysdeps/nios2/dl-tls.h: New file.
20626         * sysdeps/nios2/dl-trampoline.S: New file.
20627         * sysdeps/nios2/gccframe.h: New file.
20628         * sysdeps/nios2/gmp-mparam.h: New file.
20629         * sysdeps/nios2/jmpbuf-offsets.h: New file.
20630         * sysdeps/nios2/jmpbuf-unwind.h: New file.
20631         * sysdeps/nios2/ldsodefs.h: New file.
20632         * sysdeps/nios2/libc-tls.c: New file.
20633         * sysdeps/nios2/libm-test-ulps: New file.
20634         * sysdeps/nios2/machine-gmon.h: New file.
20635         * sysdeps/nios2/math-tests.h: New file.
20636         * sysdeps/nios2/math_private.h: New file.
20637         * sysdeps/nios2/memusage.h: New file.
20638         * sysdeps/nios2/nptl/Makefile: New file.
20639         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
20640         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
20641         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
20642         * sysdeps/nios2/nptl/pthreaddef.h: New file.
20643         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
20644         * sysdeps/nios2/nptl/tls.h: New file.
20645         * sysdeps/nios2/preconfigure: New file.
20646         * sysdeps/nios2/s_fma.c: New file.
20647         * sysdeps/nios2/s_fmaf.c: New file.
20648         * sysdeps/nios2/setjmp.S: New file.
20649         * sysdeps/nios2/sfp-machine.h: New file.
20650         * sysdeps/nios2/sotruss-lib.c: New file.
20651         * sysdeps/nios2/stackguard-macros.h: New file.
20652         * sysdeps/nios2/stackinfo.h: New file.
20653         * sysdeps/nios2/start.S: New file.
20654         * sysdeps/nios2/sysdep.h: New file.
20655         * sysdeps/nios2/tls-macros.h: New file.
20656         * sysdeps/nios2/tst-audit.h: New file.
20657         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
20658         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
20659         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
20660         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
20661         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
20662         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
20663         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
20664         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
20665         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
20666         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
20667         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
20668         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
20669         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
20670         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
20671         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
20672         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
20673         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
20674         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
20675         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
20676         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
20677         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
20678         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
20679         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
20680         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
20681         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
20682         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
20683         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
20684         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
20685         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
20686         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
20687         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
20688         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
20689         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
20690         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
20691         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
20692         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
20693         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
20694         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
20695         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
20696         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
20697         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
20698         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
20699         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
20700         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
20702 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20704         [BZ #17844]
20705         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
20706         (getutent): Use weak_alias in non SHARED case
20707         and default_symbol_version in SHARED case.
20708         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
20709         (getutent_r, pututline): Likewise.
20710         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
20711         (getutid): Likewise.
20712         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
20713         (getutid_r): Likewise.
20714         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
20715         (getutline): Likewise.
20716         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
20717         (getutline_r): Likewise.
20718         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
20719         (updwtmp): Likewise.
20721 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20723         [BZ #17848]
20724         * sysdeps/s390/s390-32/memcmp.S
20725         (memcmp_g5): Rename to __memcmp_g5.
20726         * sysdeps/s390/s390-32/memcpy.S
20727         (memcpy_g5): Rename to __memcpy_g5.
20728         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20729         (memcpy_mvcle) Rename to __memcpy_mvcle.
20730         * sysdeps/s390/s390-32/memset.S
20731         (memset_g5): Rename to __memset_g5.
20732         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
20733         (IFUNC_RESOLVE): Prefix ifunc-resolve function
20734         and use prefixed functions.
20735         * sysdeps/s390/s390-32/multiarch/memcmp.S
20736         (memcmp_z196): Rename to __memcmp_z196.
20737         (memcmp_z10): Rename to __memcmp_z10.
20738         (memcmp): Set alias to __memcmp_g5.
20739         (bcmp): Set alias to __memcmp_g5.
20740         * sysdeps/s390/s390-32/multiarch/memcpy.S
20741         (memcpy_z196): Rename to __memcpy_z196.
20742         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20743         (memcpy_z10): Rename to __memcpy_z10.
20744         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20745         (memcpy): Set alias to __memcpy_g5.
20746         * sysdeps/s390/s390-32/multiarch/memset.S
20747         (memset_z196): Rename to __memset_z196.
20748         Jump to __memset_mvcle instead of memset_mvcle.
20749         (memset_z10): Rename to __memset_z10.
20750         Jump to __memset_mvcle instead of memset_mvcle.
20751         (memset_mvcle) Rename to __memset_mvcle.
20752         (memset): Set alias to __memset_g5.
20753         * sysdeps/s390/s390-64/memcmp.S
20754         (memcmp_z900): Rename to __memcmp_z900.
20755         * sysdeps/s390/s390-64/memcpy.S
20756         (memcpy_z900): Rename to __memcpy_z900.
20757         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20758         (memcpy_mvcle) Rename to __memcpy_mvcle.
20759         * sysdeps/s390/s390-64/memset.S
20760         (memset_z900): Rename to __memset_z900.
20761         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
20762         (IFUNC_RESOLVE): Prefix ifunc-resolve function
20763         and use prefixed functions.
20764         * sysdeps/s390/s390-64/multiarch/memcmp.S
20765         (memcmp_z196): Rename to __memcmp_z196.
20766         (memcmp_z10): Rename to __memcmp_z10.
20767         (memcmp): Set alias to __memcmp_z900.
20768         (bcmp): Set alias to __memcmp_z900.
20769         * sysdeps/s390/s390-64/multiarch/memcpy.S
20770         (memcpy_z196): Rename to __memcpy_z196.
20771         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20772         (memcpy_z10): Rename to __memcpy_z10.
20773         Jump to __memcpy_mvcle instead of memcpy_mvcle.
20774         (memcpy): Set alias to __memcpy_z900.
20775         * sysdeps/s390/s390-64/multiarch/memset.S
20776         (memset_z196): Rename to __memset_z196.
20777         Jump to __memset_mvcle instead of memset_mvcle.
20778         (memset_z10): Rename to __memset_z10.
20779         Jump to __memset_mvcle instead of memset_mvcle.
20780         (memset_mvcle) Rename to __memset_mvcle.
20781         (memset): Set alias to __memset_z900.
20783 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
20785         [BZ #17748]
20786         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
20787         __fesetenv instead of fesetenv.
20789 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20791         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
20792         macro.
20794 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20796         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
20797         regression on LE.
20799         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
20800         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
20801         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
20802         strncmp-power8 object.
20803         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20804         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
20805         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
20806         * NEWS: Update.
20808 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20809             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20811         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
20812         trailing byte check.
20814 2015-01-13  David S. Miller  <davem@davemloft.net>
20816         * include/signal.h (__sigreturn): Guard with __USE_MISC.
20818 2015-01-13  Roland McGrath  <roland@hack.frob.com>
20820         * login/logout.c (logout): Use memset rather than bzero.
20821         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
20822         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
20823         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
20824         (_gethtbyaddr): Likewise.
20825         * locale/programs/simple-hash.c (bcopy): Macro removed.
20827 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20829         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20830         Add strcmp-power8 object.
20831         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20832         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
20833         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
20834         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
20835         __strcmp_power8 implementation.
20836         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
20837         * NEWS: Update.
20839         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20840         Add strncpy-power8 and stpncpy-power8 objects.
20841         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20842         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
20843         implementations.
20844         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
20845         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
20846         __stpncpy_power8 implementation.
20847         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
20848         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
20849         __strncpy_power8 implementation.
20850         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
20851         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
20852         * NEWS: Update.
20854         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
20855         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
20856         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
20858         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
20859         strncat-power8 object.
20860         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
20861         __strcat_power8 implementation.
20862         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20863         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
20864         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
20865         optimized strcat for power8.
20867         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
20868         strcpy-power8 and stpcpy-power8 objects.
20869         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20870         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
20871         implementations.
20872         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
20873         multiarch stpcpy implementation for POWER8.
20874         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
20875         multiarch strcpy implementation for POWER8.
20876         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
20877         __strcpy_power8 function.
20878         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
20879         stpcpy for POWER8.
20880         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
20881         strcpy for POWER8.
20882         * NEWS: Update.
20884 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
20886         [BZ #16009]
20887         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
20888         weights and rules. Use do_xfrm_cached if data fits in cache,
20889         do_xfrm otherwise.  Moved former main loop to...
20890         * (do_xfrm_cached): New function.
20891         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
20892         find_idx, find_position and stack_push.
20893         * (find_idx): New function.
20894         * (find_position): Likewise.
20895         * localedata/sort-test.sh: Added test run for do_xfrm.
20896         * localedata/xfrm-test.c (main): Added command line option
20897         -nocache to run the test with strings that are too large for
20898         the STRXFRM cache.
20900 2015-01-13  Torvald Riegel  <triegel@redhat.com>
20902         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
20903         variable to lll_futex_wake call, not the value itself.
20905 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
20907         [BZ #17803]
20908         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
20909         twom64.  Adjust value to 0x1p-64L.
20910         (__scalblnl): Only return standard underflowing result for K <=
20911         -64 not K <= -63; adjust exponent for underflowing result by 64
20912         not 63.
20913         * math/libm-test.inc (scalbn_test_data): Add more tests.
20914         (scalbln_test_data): Likewise.
20916         [BZ #17834]
20917         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
20918         0x1p63L.
20919         (__scalblnl): Get new exponent of adjusted subnormal value from ES
20920         not HX.
20921         * math/libm-test.inc (scalbn_test_data): Add more tests.
20922         (scalbln_test_data): Likewise.
20924 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20925             Stefani Seibold  <stefani@seibold.net>
20927         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
20928         (sysdep_routines): Add dl-vdso here, ...
20929         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
20930         (sysdep_routines): ... not here.
20931         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
20932         fallback when vDSO is not presented.
20933         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
20934         Define with libc_hidden_proto/libc_hidden_data_def definitions.
20935         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
20936         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
20937         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
20938         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
20939         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
20940         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
20941         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
20942         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
20943         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
20944         fallback configurable symbol when vDSO is not available.
20945         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
20946         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
20947         be able to redefine fallback symbol when vDSO is not available.
20948         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
20949         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
20951 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20953         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
20954         (TLS_INIT_TP): Add tm_capable initialization.
20955         (TLS_DEFINE_INIT_TP): Likewise.
20956         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
20957         TCB.
20958         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
20959         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
20960         calculation.
20961         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
20962         transactoion is lock elision is built and TCB tm_capable is set.
20963         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
20964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20965         (INTERNAL_SYSCALL_NCS): Likewise.
20966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20967         (INTERNAL_SYSCALL_NCS): Likewise.
20968         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
20970         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
20971         for powerpc.
20972         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20973         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
20974         and remove it for 32 bits case.
20975         [pthread_rwlock_t] (__rwelision): New field for lock elision.
20976         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
20977         initialization.
20978         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
20979         Disable lock elision with rdlocks if elision is not available.
20981         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
20982         (sysdep_routines): Add lock elision objects.
20983         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20984         [pthread_mutex_t] (__spins): Rework to add lock elision field.
20985         [pthread_mutex_t] (__elision): Add field.
20986         [__PTHREAD_SPINS]: Adjust to init lock elision field.
20987         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
20988         elision definitions for powerpc.
20989         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
20990         implementation of lock elision for powerpc.
20991         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
20992         implementation of timed lock elision for powerpc.
20993         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
20994         implementation of trylock with lock elision for powerpc.
20995         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
20996         implementaion of unlock for lock elision for powerpc.
20997         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
20998         automatic enable lock elision for mutexes.
20999         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
21000         transaction execution definitions for powerpc.
21001         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
21002         definitions.
21003         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
21004         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
21005         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
21006         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
21007         * NEWS: Update.
21009 2015-01-09  Roland McGrath  <roland@hack.frob.com>
21011         * sysdeps/posix/shm-directory.c: Use <> rather than ""
21012         for #include of <shm-directory.h>.
21014 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
21016         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
21017         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
21019 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
21021         [BZ #17791]
21022         * NEWS: Mention bug fix.
21023         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
21024         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
21025         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
21027 2015-01-09  Torvald Riegel <triegel@redhat.com>
21029         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
21031 2015-01-09  Torvald Riegel <triegel@redhat.com>
21033         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
21035 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
21037         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
21038         pointer and cast to uintptr_t.
21040 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
21042         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
21043         removed.
21044         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
21046 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
21048         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
21049         of 0.
21051 2015-01-08  Roland McGrath  <roland@hack.frob.com>
21053         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
21054         <nptl/pthreadP.h> instead.
21055         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
21057         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
21058         already defined.
21059         [__SIGRTMIN] (init): Function removed.
21060         [__SIGRTMIN] (initialized): Variable removed.
21061         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
21062         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
21063         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
21064         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
21065         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
21066         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
21067         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
21068         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
21069         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
21070         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
21071         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
21072         * sysdeps/nptl/allocrtsig.c: New file.
21073         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
21074         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
21075         * sysdeps/generic/testrtsig.h: File removed.
21077         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
21078         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
21080         * nptl/nptl-init.c (pthread_functions): Conditionalize
21081         .ptr__nptl_setxid initialization on [SIGSETXID].
21083         * sysdeps/nptl/sys/procfs.h: New file.
21084         * nptl_db/Makefile (headers): Add it.
21085         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
21087         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
21088         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
21089         * nptl/pthread_attr_setaffinity.c: Include it.
21090         * nptl/pthread_setattr_default_np.c: Likewise.
21091         * nptl/check-cpuset.h: New file.
21093 2015-01-08  Richard Henderson  <rth@redhat.com>
21095         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
21096         (CFLAGS-tst-execstack-prog.c): Likewise.
21097         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
21099 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
21100             Sandra Loosemore  <sandra@codesourcery.com>
21101             Andrew Jenner  <andrew@codesourcery.com>
21102             Joseph Myers  <joseph@codesourcery.com>
21103             Nathan Sidwell  <nathan@codesourcery.com>
21105         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
21106         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
21107         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
21108         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
21109         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
21110         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
21111         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
21112         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
21113         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
21114         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
21115         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
21116         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
21117         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
21118         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
21119         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
21120         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
21121         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
21123 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21125         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
21126         timespec struct member in syscall macro.
21127         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
21128         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
21129         first timeval struct member in syscall macro.
21130         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
21132 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
21134         [BZ #17748]
21135         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
21136         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
21137         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
21138         __feupdateenv and define as weak alias of __feupdateenv.  Use
21139         libm_hidden_weak.
21140         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
21141         libm_hidden_def.
21142         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
21143         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
21144         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
21145         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
21146         libm_hidden_def.
21147         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
21148         __feupdateenv and define as weak alias of __feupdateenv.  Use
21149         libm_hidden_weak.
21150         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
21151         libm_hidden_def.
21152         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
21153         __feupdateenv and define as weak alias of __feupdateenv.  Use
21154         libm_hidden_weak.
21155         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
21156         libm_hidden_def.
21157         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21158         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
21159         (__feupdateenv): Likewise.
21160         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
21161         __feupdateenv and define as weak alias of __feupdateenv.  Use
21162         libm_hidden_weak.
21163         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21164         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
21165         libm_hidden_def.
21166         * sysdeps/tile/math_private.h (__feupdateenv): New inline
21167         function.
21168         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
21169         libm_hidden_def.
21170         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
21171         __feupdateenv instead of feupdateenv.
21172         (default_libc_feupdateenv_test): Likewise.
21173         (libc_feresetround_ctx): Likewise.
21175 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21177         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
21178         prototype.
21180 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
21182         * posix/regcomp.c (parse_bracket_exp): Initialize type to
21183         COLL_SYM in a couple of places to avoid uninitialized variable
21184         wanings on tilegx gcc 4.8.2.
21186 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
21188         * sysdeps/aarch64/strcpy.S: New file.
21189         * sysdeps/aarch64/stpcpy.S: New file.
21190         * NEWS: Updated.
21192 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
21194         * sysdeps/aarch64/strrchr.S: New file.
21195         * NEWS: Updated.
21197 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
21199         [BZ #17658]
21200         * stdlib/setenv.c: Fix memory leak when setting large,
21201         duplicate string.
21203 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
21205         [BZ #17273]
21206         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
21207         and tabs from buffer before parsing fstab entry.
21208         * misc/tst-mntent.c (main): Add test for mount entry with
21209         trailing spaces and tabs.
21211 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
21213         [BZ #17748]
21214         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
21215         * math/fesetround.c (fesetround): Rename to __fesetround and
21216         define as weak alias of __fesetround.  Use libm_hidden_weak.
21217         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
21218         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
21219         * sysdeps/arm/fesetround.c (fesetround): Likewise.
21220         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
21221         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
21222         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
21223         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
21224         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
21225         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
21226         __fesetround_inline.
21227         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
21228         __fesetround_inline instead of __fesetround.
21229         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
21230         __fesetround and define as weak alias of __fesetround.  Use
21231         libm_hidden_weak.  Call __fesetround_inline instead of
21232         __fesetround.
21233         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
21234         __fesetround and define as weak alias of __fesetround.  Use
21235         libm_hidden_weak.
21236         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
21237         Likewise.
21238         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
21239         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21240         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
21241         * sysdeps/tile/math_private.h (__fesetround): New inline function.
21242         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
21243         __fesetround and define as weak alias of __fesetround.  Use
21244         libm_hidden_weak.
21245         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
21246         __fesetround instead of fesetround.
21247         (default_libc_feholdexcept_setround): Likewise.
21248         (libc_feholdsetround_ctx): Likewise.
21249         (libc_feholdsetround_noex_ctx): Likewise.
21251         [BZ #17748]
21252         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
21253         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
21254         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
21255         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
21256         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
21257         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
21258         define as weak alias of __fesetenv.  Use libm_hidden_weak.
21259         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
21260         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
21261         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
21262         define as weak alias of __fesetenv.  Use libm_hidden_weak.
21263         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
21264         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
21265         define as weak alias of __fesetenv.  Use libm_hidden_weak.
21266         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
21267         libm_hidden_def.
21268         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
21269         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
21270         Likewise.
21271         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
21272         define as weak alias of __fesetenv.  Use libm_hidden_weak.
21273         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
21274         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
21275         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
21276         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
21277         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
21278         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
21279         __fesetenv instead of fesetenv.
21280         (libc_feresetround_noex_ctx): Likewise.
21281         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
21282         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
21283         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
21284         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
21285         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
21286         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
21287         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21288         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
21289         (__feupdateenv): Likewise.
21290         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21291         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21292         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21293         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
21295 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
21297         [BZ #17806]
21298         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
21299         addresses have been freed.
21301 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
21303         * resolv/res_init.c (__res_vinit): Improve comments about nserv
21304         and nservall.
21306 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
21308         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
21309         Clean up check_pf allocation pattern. addresses
21311 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21313         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
21314         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
21315         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
21316         * nptl/pthread_exit.c (__pthread_exit): Likewise.
21317         * nptl/pthread_join.c (pthread_join): Likewise.
21318         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
21319         * sysdeps/posix/waitid.c (__waitid): Likewise.
21320         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
21321         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
21322         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
21323         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
21324         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
21325         Likewise.
21326         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
21327         (__libc_pread64): Likewise.
21328         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
21329         (__libc_pwrite): Likewise.
21330         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
21331         (__libc_pwrite64): Likewsie.
21332         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
21333         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
21334         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
21335         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
21336         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
21337         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
21338         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
21339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
21340         Likewise.
21341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21342         (__libc_pread64): Likewise.
21343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
21344         Likewise.
21345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
21346         (__libc_pwrite64): Likewise.
21347         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
21348         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
21349         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
21350         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
21351         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
21352         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
21353         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
21354         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
21355         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
21356         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
21357         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
21358         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
21359         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
21360         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
21361         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
21362         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
21363         Likewise.
21365 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
21367         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
21368         (CFLAGS-test-double.c): Likewise.
21369         (CFLAGS-test-ldouble.c): Likewise.
21370         (CPPFLAGS-test-ifloat.c): Likewise.
21371         (CPPFLAGS-test-idouble.c): Likewise.
21372         (CPPFLAGS-test-ildoubl.c): Likewise.
21373         (CFLAGS-test-test-fenv.c): Remove variable.
21374         (CFLAGS-test-misc.c): Likewise.
21376 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
21378         [BZ #17797]
21379         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
21380         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
21381         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
21382         CLOCKS_PER_SEC == 1000000.
21383         * time/clocktest.c (main): Replace %ld with %jd and cast to
21384         intmax_t.
21386 2015-01-05  Roland McGrath  <roland@hack.frob.com>
21388         * sysdeps/generic/unwind-resume.h: New file.
21389         * sysdeps/gnu/unwind-resume.c: Include it.
21390         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
21391         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
21392         argument list.
21393         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
21394         global rather than static.
21395         (_Unwind_Resume): Update user.
21396         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
21397         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
21398         rather than static.  Add __attribute__ ((cold)).
21399         (_Unwind_Resume, __gcc_personality_v0): Update callers.
21400         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
21401         * sysdeps/arm/arm-unwind-resume.S: New file.
21402         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
21403         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
21404         * sysdeps/arm/Makefile [$(subdir) = csu]
21405         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
21406         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
21407         Add rt-arm-unwind-resume.
21408         [$(subdir) = nptl]
21409         (libpthread-sysdep_routines, libpthread-shared-only-routines):
21410         Add pt-arm-unwind-resume.
21411         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
21412         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
21414 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
21416         [BZ #17748]
21417         * include/fenv.h (__feholdexcept): Declare.  Use
21418         libm_hidden_proto.
21419         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
21420         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
21421         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21422         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
21423         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
21424         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
21425         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
21426         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21427         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
21428         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
21429         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
21430         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
21431         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
21432         (feholdexcept): Likewise.
21433         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21434         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21435         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
21436         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21437         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
21438         __feholdexcept instead of feholdexcept.
21439         (default_libc_feholdexcept_setround): Likewise.
21441 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
21443         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
21444         to avoid using stl/str to align destination.
21446 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
21448         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
21450 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
21452         [BZ #17796]
21453         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
21454         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
21455         Define as weak alias not strong alias.
21457 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
21459         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
21460         bltzal with addiupc.
21461         (RTLD_START): Ditto.
21463 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
21465         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
21466         for __vdso_* functions in declarations.
21467         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
21468         definitions.
21469         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
21470         INTERNAL_VSYSCALL): Use struct return types to check for error.
21472         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
21473         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
21474         function with cast from llround().
21475         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
21476         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
21477         Define.
21479 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
21481         [BZ #17793]
21482         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
21483         Define as weak alias not strong alias.
21485         [BZ #17635]
21486         * ctype/ctype-c99.c: New file.  isblank implementation moved from
21487         ...
21488         * ctype/ctype-extn.c: ... here.
21489         (__isblank_l): Move to ...
21490         * ctype/ctype-c99_l.c: ... here.  New file.
21491         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
21492         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
21493         Remove variable.
21494         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
21495         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
21496         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
21497         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
21498         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
21500         [BZ #17777]
21501         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
21502         (posix_fadvise64): Define as weak alias not strong alias.
21503         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21504         (posix_fallocate64): Likewise.
21505         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
21506         Remove variable.
21507         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
21508         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
21509         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
21510         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
21511         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
21513 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
21515         [BZ #16191]
21516         * NEWS: Mention bug fix.
21517         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
21518         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
21519         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
21520         (HOST_STACK_END_ADDR): Likewise.
21522 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
21524         [BZ #17748]
21525         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
21526         * math/fegetround.c (fegetround): Rename to __fegetround and
21527         define as weak alias of __fegetround.  Use libm_hidden_weak.
21528         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
21529         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
21530         * sysdeps/arm/fegetround.c (fegetround): Likewise.
21531         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
21532         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21533         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
21534         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
21535         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
21536         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21537         Undefine after rather than before function definition; use
21538         parentheses around function name in definition.
21539         (__fegetround): Also undefine macro after function definition.
21540         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
21541         __fegetround and define as weak alias of __fegetround.  Use
21542         libm_hidden_weak.  Do not undefine as macro.
21543         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21544         Likewise.
21545         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
21546         __fegetround and define as weak alias of __fegetround.  Use
21547         libm_hidden_weak.
21548         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21549         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21550         * sysdeps/tile/math_private.h (__fegetround): New inline function.
21551         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
21552         __fegetround and define as weak alias of __fegetround.  Use
21553         libm_hidden_weak.
21554         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
21555         __fegetround instead of fegetround.
21557         [BZ #17782]
21558         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
21559         Condition macro definition on [__USE_MISC].
21561         [BZ #17781]
21562         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
21563         (struct sigaction): Change type of sa_flags field to int.
21565         [BZ #17780]
21566         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
21567         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
21568         __glibc_reserved0.
21570         * nptl/version.c (banner): Use single year in copyright notice.
21572         * NEWS: Update copyright dates.
21573         * catgets/gencat.c (print_version): Likewise.
21574         * csu/version.c (banner): Likewise.
21575         * debug/catchsegv.sh: Likewise.
21576         * debug/pcprofiledump.c (print_version): Likewise.
21577         * debug/xtrace.sh (do_version): Likewise.
21578         * elf/ldconfig.c (print_version): Likewise.
21579         * elf/ldd.bash.in: Likewise.
21580         * elf/pldd.c (print_version): Likewise.
21581         * elf/sotruss.sh: Likewise.
21582         * elf/sprof.c (print_version): Likewise.
21583         * iconv/iconv_prog.c (print_version): Likewise.
21584         * iconv/iconvconfig.c (print_version): Likewise.
21585         * locale/programs/locale.c (print_version): Likewise.
21586         * locale/programs/localedef.c (print_version): Likewise.
21587         * login/programs/pt_chown.c (print_version): Likewise.
21588         * malloc/memusage.sh (do_version): Likewise.
21589         * malloc/memusagestat.c (print_version): Likewise.
21590         * malloc/mtrace.pl: Likewise.
21591         * manual/libc.texinfo: Likewise.
21592         * nptl/version.c (banner): Likewise.
21593         * nscd/nscd.c (print_version): Likewise.
21594         * nss/getent.c (print_version): Likewise.
21595         * nss/makedb.c (print_version): Likewise.
21596         * posix/getconf.c (main): Likewise.
21597         * scripts/test-installation.pl: Likewise.
21598         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
21600 2015-01-02  Will Newton  <will.newton@linaro.org>
21602         * sysdeps/arm/armv7/configure: Removed.
21603         * sysdeps/arm/armv7/configure.ac: Likewise.
21605 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
21607         * All files with FSF copyright notices: Update copyright dates
21608         using scripts/update-copyrights.
21609         * intl/plural.c: Regenerated.
21610         * locale/programs/charmap-kw.h: Likewise.
21611         * locale/programs/locfile-kw.h: Likewise.
21613 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21615         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
21617 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
21619         [BZ #17748]
21620         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
21621         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
21622         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
21623         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
21624         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
21625         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
21626         define as weak alias of __fegetenv.  Use libm_hidden_weak.
21627         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
21628         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
21629         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
21630         define as weak alias of __fegetenv.  Use libm_hidden_weak.
21631         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
21632         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
21633         define as weak alias of __fegetenv.  Use libm_hidden_weak.
21634         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
21635         libm_hidden_def.
21636         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
21637         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
21638         Likewise.
21639         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
21640         define as weak alias of __fegetenv.  Use libm_hidden_weak.
21641         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
21642         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
21643         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
21644         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
21645         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
21646         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
21647         __fegetenv instead of fegetenv.
21648         (libc_feholdsetround_noex_ctx): Likewise.
21650 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
21652         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
21653         (Elf_MIPS_ABIFlags_v0): New structure.
21654         (EF_MIPS_FP64): Define.
21655         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
21656         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
21657         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
21658         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
21659         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
21660         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
21661         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
21662         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
21663         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
21664         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
21665         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
21666         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
21667         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
21668         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
21669         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
21670         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
21671         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
21672         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
21673         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
21674         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
21675         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
21676         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
21677         field.
21678         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
21679         EF_MIPS_FP64.
21680         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
21681         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
21682         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
21683         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
21684         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
21685         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
21686         * sysdeps/mips/tst-abi-interlink.c: Likewise.
21687         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
21688         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
21689         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
21690         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
21691         record the current FP ABI extension.
21692         (mips-mode-switch): Define to show if kernel headers support mode
21693         switching.
21694         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
21695         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
21696         supported SYSV ABI version to 3.
21697         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
21698         feature.
21700 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21701             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21703         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
21704         path.
21705         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
21707 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
21709         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
21710         __fegetround and redefine to call __fegetround.  Remove condition
21711         on [!__NO_MATH_INLINES].
21712         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
21713         function.
21714         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
21715         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21716         Remove macro.
21717         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
21718         instead of <fenv_libc.h>.
21719         (__llrintl): Call fegetround instead of __fegetround.
21720         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
21721         instead of <fenv_libc.h>.
21722         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
21723         (__lrintl): Call fegetround instead of __fegetround.
21724         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
21725         instead of <fenv_libc.h>.
21726         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
21727         (__rintl): Call fegetround instead of __fegetround.
21729 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
21731         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
21732         arrays.
21734 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
21736         [BZ #17775]
21737         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
21738         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
21739         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
21741 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
21743         * sysdeps/i386/tls-macros.h: Include <features.h>.
21744         (TLS_LE): Use non-PIC version for GCC >= 5.0.
21745         (TLS_IE): Likewise.
21746         (TLS_LD): Likewise.
21747         (TLS_GD): Likewise.
21748         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
21749         define for GCC >= 5.0.
21751 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
21753         * math/test-fenv.c (test_single_exception, set_single_exc,
21754         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
21755         feexcp_mask_test, feenable_test, fe_single_test): Add
21756         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
21757         case where they are not used.
21758         * math/libm-test.inc: Likewise.
21759         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
21760         unused in the absence of FP rounding/exception support.
21761         * stdio-common/tst-printf-round.c: Likewise.
21762         * stdlib/tst-strtod-round.c: Likewise.
21763         * stdlib/tst-strtod-underflow.c: Likewise.
21765 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
21767         [BZ #17723]
21768         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
21769         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
21770         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
21771         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
21772         libm_hidden_weak.
21773         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
21774         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
21775         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
21776         libm_hidden_def.
21777         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
21778         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
21779         libm_hidden_weak.
21780         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
21781         Likewise.
21782         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
21783         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
21784         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
21785         libm_hidden_weak.
21786         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
21787         libm_hidden_def.
21788         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
21789         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
21790         (__feraiseexcept): Likewise.
21791         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
21792         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
21793         libm_hidden_weak.
21794         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
21795         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
21796         libm_hidden_def.
21797         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
21798         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
21799         Use libm_hidden_def.
21800         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
21801         libm_hidden_def.
21802         (feraiseexcept): Define as weak not strong alias.  Use
21803         libm_hidden_weak.
21804         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
21805         New inline function.  Factored out of ...
21806         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
21807         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
21808         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
21809         feraiseexcept.
21810         * math/w_acos.c (__acos): Likewise.
21811         * math/w_asin.c (__asin): Likewise.
21812         * math/w_ilogb.c (__ilogb): Likewise.
21813         * math/w_j0.c (y0): Likewise.
21814         * math/w_j1.c (y1): Likewise.
21815         * math/w_jn.c (yn): Likewise.
21816         * math/w_log.c (__log): Likewise.
21817         * math/w_log10.c (__log10): Likewise.
21818         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
21819         * sysdeps/aarch64/fpu/math_private.h
21820         (libc_feupdateenv_test_aarch64): Likewise.
21821         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
21822         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
21823         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
21824         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
21825         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
21826         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
21827         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
21828         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21829         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21830         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21832 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
21834         [BZ #17732]
21835         * io/test-utime.c (main): Replace %ld with %jd and cast to
21836         intmax_t.
21837         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
21838         * nptl/tst-mutex5.c: Include <stdint.h>.
21839         (do_test): Replace %ld with %jd and cast to intmax_t.
21840         * posix/tst-regex.c (run_test): Likewise.
21841         (run_test_backwards): Likewise.
21842         * rt/tst-clock.c: Include <stdint.h>.
21843         (clock_test): Replace %ld with %jd and cast to intmax_t.
21844         * rt/tst-cpuclock1.c: Include <stdint.h>.
21845         (do_test): Replace %lu with %ju and cast to uintmax_t.
21846         * rt/tst-cpuclock2.c: Include <stdint.h>.
21847         (do_test): Replace %lu with %ju and cast to uintmax_t.
21848         * rt/tst-mqueue1.c: Include <stdint.h>.
21849         (check_attrs): Replace %ld with %jd and cast to intmax_t.
21850         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
21851         intmax_t.
21852         * rt/tst-mqueue4.c (do_test): Likewise.
21853         * rt/tst-timer4.c: Include <stdint.h>.
21854         (check_ts): Replace %ld with %jd and cast to intmax_t.
21855         (do_test): Likewise.
21856         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
21857         and cast to intmax_t.
21858         * sysdeps/pthread/tst-timer.c (main): Likewise.
21859         * time/clocktest.c (main): Likewise.
21860         * time/tst-posixtz.c (do_test): Likewise.
21861         * timezone/tst-timezone.c (main): Likewise.
21863 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
21864             H.J. Lu  <hongjiu.lu@intel.com>
21866         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
21867         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
21868         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
21869         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
21870         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
21871         version if bit_Fast_Unaligned_Load is set.
21872         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21873         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21874         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21875         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21876         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21877         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21878         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21879         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
21880         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
21881         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
21882         to 4.
21883         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
21884         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
21885         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
21886         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
21888 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
21890         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
21891         instead of #if to avoid a Wundef warning.
21892         * stdlib/tst-limits.c (do_test): Likewise.
21894         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
21895         parallel other exception macros.
21896         (fegetenv): Convert from macro to extern inline so that it applies
21897         retroactively to inline functions already seen by the compiler.
21898         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
21900         * posix/Makefile (before-compile): Use $(objpfx) for
21901         posix-conf-vars-def.h.
21903 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21905         * posix/getconf.c (main): Use size_t for type of I.
21906         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
21907         NSPEC.
21909         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
21910         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
21911         * posix/posix-envs.def: Likewise.
21912         * sysdeps/posix/sysconf.c: Likewise.
21913         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
21914         (specs): Remove array.
21915         * scripts/gen-posix-conf-vars.awk: Support generation of specs
21916         array.
21918         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
21919         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
21920         (__sysconf): Use CONF_IS_* macros.
21922         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
21923         ($(objpfx)posix-conf-vars-def.h): New target.
21924         * posix/posix-conf-vars.list: New file.
21925         * posix/posix-conf-vars.h: New file.
21926         * posix/confstr.c: Include posix-conf-vars.h.
21927         (confstr): Use CONF_IS_* macros.
21928         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
21929         CONF_IS_* macros.
21930         * scripts/gen-posix-conf-vars.awk: New file.
21932 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
21934         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
21935         fegetround): Add no-op macros to avoid linknamespace issues.
21937         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
21938         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
21940         * sysdeps/unix/sysv/linux/tile/sysdep.h
21941         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
21942         assembly-specific section to avoid a redefinition warning.
21944         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
21945         long before casting to pointer to avoid a cast warning.
21947 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
21949         * sysdeps/tile/tilegx/Implies: New file.
21951 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
21953         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
21955 2014-12-23  Florian Weimer  <fweimer@redhat.com>
21957         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
21959 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
21961         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
21962         not define.
21963         * sysdeps/unix/sysv/linux/utimes.c: Do not include
21964         <kernel-features.h>.
21965         (__utimes) [__NR_utimes]: Make code unconditional.
21966         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
21967         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21968         (__ASSUME_UTIMES): Do not undefine.
21969         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21970         (__ASSUME_UTIMES): Likewise.
21971         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21972         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
21973         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
21974         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
21976 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
21978         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
21980 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
21982         [BZ #17747]
21983         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
21984         alias to weak alias for j0l, y0l.
21985         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
21986         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
21988         [BZ #17746]
21989         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
21990         conversion.
21992 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
21994         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
21995         to zero if not already defined.
21997 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
21999         [BZ #17724]
22000         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
22001         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
22002         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
22003         (char *) casts added.
22004         * sysdeps/ieee754/k_standardf.c: New file.
22005         * sysdeps/ieee754/k_standardl.c: Likewise.
22006         * math/Makefile (libm-support): Remove k_standard.
22007         (libm-calls): Add k_standard.
22009 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22011         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
22012         Optimize to avoid an unnecessary FPCR read.
22014 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22016         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
22017         Optimize to reduce FPCR/FPSR accesses.
22019 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22021         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
22022         Call libc_fetestexcept_aarch64.
22024 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
22026         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
22027         Call libc_fesetround_aarch64.
22029 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
22031         [BZ #17733]
22032         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
22033         (__bind): Do not define as weak alias.
22034         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
22035         define.
22036         (__getsockname): Do not define as weak alias.
22038 2014-12-22  Will Newton  <will.newton@linaro.org>
22040         * manual/install.texi: Document that we require bison 2.7
22041         or above.
22042         * INSTALL: Regenerate.
22043         * configure.ac: Use AC_CHECK_PROG_VER instead of
22044         AC_PATH_PROG when checking for bison and check for
22045         version 2.7 or above.
22046         * configure: Regenerate.
22048 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
22050         [BZ #17745]
22051         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
22052         * sysdeps/tile/ffsll.c (ffsll): To here.
22054         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
22056 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
22058         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
22059         if not defined.
22060         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
22061         definition.
22062         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
22063         hidden ___tls_get_addr.
22064         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
22065         hidden __tls_get_addr.
22066         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
22067         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
22068         Likewise.
22070 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
22072         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
22073         _dl_init call.
22075 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
22077         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
22078         from "call _dl_init@PLT".
22079         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
22081 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
22083         * manual/search.texi: (Array Sort Function): Clarify stable sorting
22084         guarantees.
22086 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
22088         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
22090 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
22092         [BZ #17744]
22093         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
22094         strnlen.
22096 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
22098         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
22099         of multu on MIPSr6.
22100         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
22101         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
22102         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
22103         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
22104         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
22106 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
22108         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
22109         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
22110         (PTR_SUBU): Use subu for mips32r6/mips64r6.
22111         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
22112         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
22113         mips32r6/mips64r6.
22114         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
22116 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
22118         * string/strncat.c (STRNCAT): Simplify implementation.
22120 2014-12-19  David S. Miller  <davem@davemloft.net>
22122         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
22123         access the quad as both a long double and as a series of 4 words.
22125         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
22126         link_map->l_info array access.
22128 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
22130         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
22132         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
22133         * math/atest-exp2.c (TIMEOUT): Likewise.
22134         * math/atest-sincos.c (TIMEOUT): Likewise.
22136 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
22138         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
22139         -Wno-error with -fno-builtin-lround.
22141 2014-12-19  Torvald Riegel  <triegel@redhat.com>
22143         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
22144         Contains futex constants and functions moved over from ...
22145         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
22146         <lowlevellock-futex.h>.
22147         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
22148         (lll_timedwait_tid): Add comments and parentheses around macro
22149         arguments.
22151 2014-12-19  Torvald Riegel  <triegel@redhat.com>
22153         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
22154         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
22155         (__lll_private_flag): Remove.
22156         (lll_futex_wait): Likewise.
22157         (lll_futex_timed_wait): Likewise.
22158         (lll_futex_wake): Likewise.
22159         (lll_futex_requeue): Likewise.
22160         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
22161         (__lll_timedwait_tid): Spell out argument names.
22162         (lll_timedwait_tid): Add comments and parentheses around macro
22163         arguments.
22164         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
22165         LLL_SHARED and LLL_PRIVATE usable from assembly code.
22167 2014-12-19  Torvald Riegel  <triegel@redhat.com>
22169         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
22170         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
22171         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22172         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
22173         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
22174         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
22175         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
22176         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
22177         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
22178         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
22179         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
22180         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
22181         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
22182         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
22183         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
22184         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
22185         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
22186         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
22187         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
22189 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
22191         * sysdeps/x86_64/x32/Makefile: New file.
22193 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
22195         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
22196         1L with (mp_limb_t) 1.
22198 2014-12-17  Roland McGrath  <roland@hack.frob.com>
22200         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
22201         * nptl/libc_pthread_init.c: ... here.
22202         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
22203         * nptl/register-atfork.c: ... here.
22205         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
22206         Use pthread_sigmask rather than INTERNAL_SYSCALL.
22207         Use assert_perror to check its return value.
22208         (__gai_create_helper_thread): Likewise.
22210         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
22212         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
22214 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
22216         [BZ #17725]
22217         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
22218         __profil_counter.
22219         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
22220         Likewise.
22221         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
22222         Likewise.
22223         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
22224         Likewise.
22225         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
22226         (profil_counter): Likewise.
22227         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
22228         (profil_counter): Likewise.
22229         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
22230         Likewise.
22231         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
22232         Likewise.
22233         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
22234         (profil_counter): Likewise.
22235         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
22236         Likewise.
22237         [!__profil_counter] (profil_counter): Define as weak alias of
22238         __profil_counter.
22239         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
22240         (profil_counter): Rename to __profil_counter.
22241         [!__profil_counter] (profil_counter): Define as weak alias of
22242         __profil_counter.
22243         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
22244         (profil_counter): Rename to __profil_counter.
22245         [!__profil_counter] (profil_counter): Define as weak alias of
22246         __profil_counter.
22247         * sysdeps/posix/profil.c: Update comment referring to
22248         profil_counter.
22249         (__profil): Use __profil_counter instead of profil_counter.
22250         * sysdeps/posix/sprofil.c (profil_counter): Rename to
22251         __profil_counter.  Use __profil_counter_ushort and
22252         __profil_counter_uint in definitions.
22253         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
22254         instead of profil_counter_uint and profil_counter_ushort.
22256         [BZ #17722]
22257         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
22258         define as weak alias of __inet_makeaddr.
22259         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
22260         as weak alias of __inet_addr.
22261         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
22262         as weak alias of __inet_pton.  Use libc_hidden_weak.
22263         * include/arpa/inet.h (__inet_pton): Declare.  Use
22264         libc_hidden_proto.
22265         (inet_makeaddr): Don't use libc_hidden_proto.
22266         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
22267         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
22268         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
22269         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
22270         Remove variable.
22271         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
22272         (test-xfail-POSIX/time.h/linknamespace): Likewise.
22274 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
22276         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
22278 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
22280         * stdio-common/bug-vfprintf-nargs.c (do_test):
22281         Cast value to intptr_t to avoid format warning
22282         for usage with PRIdPTR printing macro.
22284 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
22286         * libio/tst-widetext.c (do_test):
22287         Use format type %td instead of %Zd for ptrdiff_t
22288         in order to avoid format warning.
22290 2014-12-17  Andreas Schwab  <schwab@suse.de>
22292         * nscd/mem.c (gc): Add size_t cast to match printf format.
22294 2014-12-16  Roland McGrath  <roland@hack.frob.com>
22296         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
22297         (init): Apply PTR_MANGLE to pointers before storing them.
22298         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
22299         before using them.
22301 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
22303         [BZ #17719]
22304         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
22305         define as weak alias of __memrchr.
22306         (__memrchr): Do not define as strong alias of memrchr.
22307         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
22308         Remove variable.
22309         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
22310         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
22311         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
22313         [BZ #17717]
22314         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
22315         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
22316         (if_indextoname): Rename to __if_indextoname and define as weak
22317         alias of __if_indextoname.  Use libc_hidden_weak.
22318         (if_freenameindex): Rename to __if_freenameindex and define as
22319         weak alias of __if_freenameindex.
22320         (if_nameindex): Rename to __if_nameindex and define as weak alias
22321         of __if_nameindex.
22322         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
22323         __if_nametoindex and define as weak alias of __if_nametoindex.
22324         Use libc_hidden_weak.
22325         (if_freenameindex): Rename to __if_freenameindex and define as
22326         weak alias of __if_freenameindex.
22327         (if_nameindex): Rename to __if_nameindex and define as weak alias
22328         of __if_nameindex.
22329         (if_indextoname): Rename to __if_indextoname and define as weak
22330         alias of __if_indextoname.  Use libc_hidden_weak.
22331         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
22332         __if_nametoindex and define as weak alias of __if_nametoindex.
22333         Use libc_hidden_weak.
22334         (if_freenameindex): Rename to __if_freenameindex and define as
22335         weak alias of __if_freenameindex.  Use libc_hidden_weak.
22336         (if_nameindex_netlink): Use __if_freenameindex instead of
22337         if_freenameindex.
22338         (if_nameindex): Rename to __if_nameindex and define as weak alias
22339         of __if_nameindex.  Use libc_hidden_weak.
22340         (if_indextoname): Rename to __if_indextoname and define as weak
22341         alias of __if_indextoname.  Use libc_hidden_weak.
22342         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
22343         libc_hidden_proto.
22344         [!_ISOMAC] (__if_freenameindex): Likewise.
22345         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
22346         if_nametoindex.
22347         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
22348         variable.
22349         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
22350         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
22351         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
22352         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
22353         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
22354         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
22355         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
22357         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
22358         Remove variable.
22359         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
22360         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
22362 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22364         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
22365         subscript above bounds'
22367         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
22368         bounds.
22370 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
22372         * libio/tst-fopenloc.c: Use test-skeleton.c.
22374         * stdlib/tst-bsearch.c: Use test-skeleton.c.
22375         (entry): Rename to ITEM.
22376         (do_test, comp): Adjust.
22378         * stdio-common/tst-fseek.c: Use test-skeleton.c.
22380 2014-12-16  Torvald Riegel  <triegel@redhat.com>
22382         * string/tester.c: Include <libc-internal.h>.
22383         (test_memset): Ignore -Wmemset-transposed-args.
22385 2014-12-16  Torvald Riegel  <triegel@redhat.com>
22387         * misc/tst-mntent2.c (do_test): Fix warning.
22389 2014-12-16  Torvald Riegel  <triegel@redhat.com>
22391         * elf/tst-unique4lib.cc(a): Mark as used.
22393 2014-12-16  Florian Weimer  <fweimer@redhat.com>
22395         [BZ #17630]
22396         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
22397         names.
22399 2014-12-16  Allan McRae  <allan@archlinux.org>
22401         * stdio-common/Makefile (tests): Re-add bug26.
22403 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
22405         [BZ #17657]
22406         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
22407         static array.
22409 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
22411         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
22412         (__lll_lock_wait): Likewise.
22413         (__lll_timedlock_wait): Likewise.
22414         (__lll_timedwait_tid): Likewise.
22415         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
22416         (__lll_robust_timedlock_wait): Likewise.
22417         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
22418         (lll_cond_trylock): Likewise.
22419         (__lll_lock): Likewise.
22420         (__lll_robust_lock): Likewise.
22421         (__lll_cond_lock): Likewise.
22422         (lll_robust_cond_lock): Likewise.
22423         (__lll_timedlock): Likewise.
22424         (__lll_robust_timedlock): Likewise.
22425         (__lll_unlock): Likewise.
22426         (__lll_robust_unlock): Likewise.
22427         (lll_wait_tid): Likewise.
22428         (lll_timedwait_tid): Likewise.
22430 2014-12-15  Torvald Riegel  <triegel@redhat.com>
22432         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
22434 2014-12-15  Torvald Riegel  <triegel@redhat.com>
22436         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
22438 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
22440         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
22441         * stdio-common/tst-sprintf.c: Likewise.
22443 2014-12-15  Torvald Riegel  <triegel@redhat.com>
22445         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
22447 2014-12-15  Jeff Law  <law@redhat.com>
22449         [BZ #16617]
22450         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
22451         on the heap.  (CVE-2012-3406)
22452         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
22453         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
22454         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
22456 2014-12-15  Will Newton  <will.newton@linaro.org>
22458         * manual/install.texi: Bump required version of texinfo
22459         to 4.7 from 4.5.
22460         * INSTALL: Regenerated.
22461         * configure.ac: Check for makeinfo version 4.7 and above.
22462         * configure: Regenerated.
22464 2014-12-12  Roland McGrath  <roland@hack.frob.com>
22466         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
22467         PREFIX, string constant to insert between directory and name.
22468         * sysdeps/posix/shm_open.c: Update caller.
22469         * sysdeps/posix/shm_unlink.c: Likewise.
22470         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
22471         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
22472         (SEM_SHM_PREFIX): New macro.
22473         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
22474         [$(have-thread-library) = no].
22475         * nptl/Makefile (libpthread-routines): Add shm-directory.
22476         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
22477         * sysdeps/nptl/shm-directory.h: New file.
22478         * sysdeps/posix/shm-directory.c
22479         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
22480         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
22481         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
22482         INTERNAL_SYSCALL.
22483         (__where_is_shmfs): Function removed.
22484         (mountpoint, defaultmount, defaultdir, __namedsem_once):
22485         Variables removed.
22486         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
22487         Use SHM_GET_NAME.
22488         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
22490         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
22491         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
22492         unconditional for use inside libpthread.
22493         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
22495 2014-12-12  Roland McGrath  <roland@hack.frob.com>
22497         * nptl/pthread_getaffinity.c: New file.
22498         * nptl/pthread_setaffinity.c: New file.
22499         * nptl/pthread_getname.c: New file.
22500         * nptl/pthread_setname.c: New file.
22502         * nptl/pthread_create.c (START_THREAD_DEFN)
22503         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
22505 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22506             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22508         * resolv/res_send.c (send_vc): Disable warning resplen may
22509         be used uninitialized.
22511 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22513         * nptl/tst-mutex6.c
22514         (ATTR_NULL): New define checks ATTR against NULL.
22515         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
22516         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
22518 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
22520         [BZ #17581]
22521         * malloc/hooks.c
22522         (mem2mem_check): Revert my previous change.
22523         (malloc_check_get_size): Revert my previous change.
22524         (mem2chunk_check): Revert my previous change.
22526 2014-12-11  Roland McGrath  <roland@hack.frob.com>
22528         * sysdeps/posix/shm-directory.c: New file.
22529         * sysdeps/posix/shm-directory.h: New file.
22530         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
22531         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
22532         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
22533         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
22534         Transmute EPERM to EACCES.
22535         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
22536         from ...
22537         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
22538         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
22540 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22542         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
22543         pointer and cast to uintptr_t.
22544         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
22545         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
22546         Add cast to avoid warning.
22547         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
22549 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
22551         * nptl/semaphore.h: Move to ...
22552         * sysdeps/pthread/semaphore.h: ... here.
22553         * Makefile (installed-headers): Change nptl/semaphore.h to
22554         sysdeps/pthread/semaphore.h.
22556 2014-12-11  Roland McGrath  <roland@hack.frob.com>
22558         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
22559         generated error format strings.
22561         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
22562         -Wformat-extra-args warnings for scanf formats.
22563         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
22564         test of zero-length format (duh).
22565         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
22566         corner-case scanf format test.
22567         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
22568         generated fprintf format string.
22569         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
22570         corner-case sprintf format tests.
22571         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
22572         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
22573         -Wformat-extra-args warnings throughout.
22574         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
22575         (CFLAGS-scanf4.c): Likewise.
22576         (CFLAGS-scanf7.c): Likewise.
22577         (CFLAGS-tst-sprintf.c): Likewise.
22578         (CFLAGS-tst-printf.c): Likewise.
22579         (CFLAGS-tst-printfsz.c): Likewise.
22581 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
22583         * include/cpio.h: New file.
22584         * include/fmtmsg.h: Likewise.
22586         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
22587         corresponding format argument to size_t.
22588         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
22589         arguments.
22590         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
22591         corresponding format argument to size_t.
22592         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
22593         arguments.
22594         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
22595         corresponding format argument to size_t.
22596         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
22597         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
22598         (CFLAGS-tst-mbswcs2.c): Likewise.
22599         (CFLAGS-tst-mbswcs3.c): Likewise.
22600         (CFLAGS-tst-mbswcs4.c): Likewise.
22601         (CFLAGS-tst-mbswcs5.c): Likewise.
22602         (CFLAGS-tst-trans.c): Likewise.
22604 2014-12-11  Roland McGrath  <roland@hack.frob.com>
22606         * posix/regexbug1.c (main): Use "%s" format with regerror results,
22607         rather than assuming they won't contain any '%'s.
22609 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
22611         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
22612         inhibit_loop_to_libcall to avoid recursive calls.
22613         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
22614         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
22616 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
22618         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
22619         prototype.
22621 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
22623         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
22624         integer value instead of boolean.
22626 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
22628         * malloc/malloc.c: Fix powerof2 check.
22630 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22632         * locale/programs/locfile.h (maybe_swap_uint32):
22633         Remove inline and add unused attribute.
22635 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22637         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
22638         Truncating assembler expression to a .long expression.
22640 2014-12-11  Andreas Schwab  <schwab@suse.de>
22642         * elf/rtld.c (struct map_args): Constify str member.
22643         (do_preload): Constify fname argument.
22645 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22647         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
22648         constants definition.
22650 2014-12-11  Andreas Schwab  <schwab@suse.de>
22652         [BZ #16657]
22653         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
22654         FORCE_ELISION instead of DO_ELISION.
22655         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
22656         Remove.
22657         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
22658         Likewise.
22660         * iconvdata/gconv-modules: Remove duplicate entry.
22662 2014-12-11  Will Newton  <will.newton@linaro.org>
22664         Merge gettext 0.19.3 into intl/.
22666         This involves a number of cosmetic changes to comments
22667         and ANSI function definitions and prototypes throughout
22668         all the files. The gettext copyright header is used but
22669         with the date ranges taken from the glibc copy.
22671         * NEWS: Add gettext merge to 2.21.
22672         * intl/bindtextdom.c: Switch to gettext copyright.
22673         Use ANSI definitions and prototypes.
22674         Use gl_* locking primitives rather than __libc_* ones.
22675         Use __builtin_expect rather than __glibc_likely/unlikely.
22676         * intl/dcgettext.c: Switch to gettext copyright.
22677         Use ANSI definitions and prototypes.
22678         * intl/dcigettext.c: Switch to gettext copyright.
22679         Use ANSI definitions and prototypes.
22680         (INTDIV0_RAISES_SIGFPE): New define.
22681         Use gl_* locking primitives rather than __libc_* ones.
22682         Include eval-plural.h instead of plural-eval.c.
22683         Use __builtin_expect rather than __glibc_likely/unlikely.
22684         * intl/dcngettext.c: Switch to gettext copyright.
22685         Use ANSI definitions and prototypes.
22686         * intl/dgettext.c: Likewise.
22687         * intl/dngettext.c: Likewise.
22688         * intl/plural-eval.c: Renamed to...
22689         * intl/eval-plural.h: ...this.
22690         * intl/explodename.c: Switch to gettext copyright.
22691         Use ANSI definitions and prototypes.
22692         (_nl_explode_name): Use strchr instead of __rawmemchr.
22693         * intl/finddomain.c: Switch to gettext copyright.
22694         Use ANSI definitions and prototypes.
22695         Use gl_* locking primitives rather than __libc_* ones.
22696         (_nl_find_domain): Use malloc rather than alloca for
22697         allocation of temporary locale name.
22698         * intl/gettext.c: Switch to gettext copyright.
22699         Use ANSI definitions and prototypes.
22700         * intl/gettextP.h: Switch to gettext copyright.
22701         Use ANSI definitions and prototypes.
22702         Use gl_* locking primitives rather than __libc_* ones.
22703         * intl/gmo.h: Switch to gettext copyright.
22704         (struct sysdep_string): Move struct segment_pair outside of
22705         struct definition.
22706         * intl/hash-string.c: Use ANSI definitions and prototypes.
22707         * intl/hash-string.h: Switch to gettext copyright.
22708         Use ANSI definitions and prototypes.
22709         * intl/l10nflist.c: Switch to gettext copyright.
22710         Use ANSI definitions and prototypes.
22711         (_nl_normalize_codeset): Avoid integer overflow.
22712         * intl/loadinfo.h: Switch to gettext copyright.
22713         Use ANSI definitions and prototypes.
22714         (LIBINTL_DLL_EXPORTED): New define.
22715         (PATH_SEPARATOR): New define.
22716         * intl/loadmsgcat.c: Switch to gettext copyright.
22717         * intl/localealias.c: Switch to gettext copyright.
22718         Use ANSI definitions and prototypes.
22719         (_nl_expand_alias): Use PATH_SEPARATOR.
22720         * intl/ngettext.c: Switch to gettext copyright.
22721         Use ANSI definitions and prototypes.
22722         * intl/plural-exp.c: Likewise.
22723         * intl/plural-exp.h: Switch to gettext copyright.
22724         Use ANSI definitions and prototypes.
22725         (struct expression): Move definition of enum operator outside
22726         of struct definition.
22727         * intl/plural.c: Regenerate.
22728         * intl/plural.y: Switch to gettext copyright.
22729         Use ANSI definitions and prototypes.
22730         Port to bison 3.0.
22731         * intl/textdomain.c: Switch to gettext copyright.
22732         Use ANSI definitions and prototypes.
22733         Use gl_* locking primitives rather than __libc_* ones.
22735 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
22737         * debug/warning-nop.c: Add used atrribute.
22739 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
22741         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
22743         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
22744         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
22745         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
22747 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
22748             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22750         [BZ #17634]
22751         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
22752         Undefine after defining function.  Define as weak alias of
22753         __wcschr.  Use libc_hidden_weak.
22754         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
22755         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
22756         (libc_hidden_def): Also define __GI___wcschr alias.
22757         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
22758         __wcschr and define as weak alias of __wcschr.
22759         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
22760         __wcschr.
22761         [!WCSCHR] (DEFAULT_WCSCHR): Define.
22762         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
22763         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
22764         libc_hidden_weak.  Do not use libc_hidden_def.
22765         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
22766         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
22767         __GI___wcschr alias.
22768         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
22769         [IS_IN (libc)] (wcschr): Define as macro expanding to
22770         __redirect_wcschr.
22771         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
22772         [IS_IN (libc)] (__wcschr_power6): Likewise.
22773         [IS_IN (libc)] (__wcschr_power7): Likewise.
22774         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
22775         instead of wcschr.
22776         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
22777         __libc_wcschr.
22778         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
22779         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
22780         __wcschr and define as weak alias of __wcschr.  Use
22781         libc_hidden_builtin_def.
22782         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
22783         as weak alias of __wcschr.  Use libc_hidden_weak.
22784         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
22785         wcschr.
22786         * time/era.c (_nl_init_era_entries): Likewise.
22787         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
22788         variable.
22789         (test-xfail-XPG3/time.h/linknamespace): Likewise.
22790         (test-xfail-XPG4/time.h/linknamespace): Likewise.
22792 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
22794         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
22795         format for long int variable.
22797 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
22799         [BZ #10672]
22800         * manual/search.texi: (Array Sort Function): Remove claim how to make
22801         qsort stable.
22803 2014-12-10  Andreas Schwab  <schwab@suse.de>
22805         [BZ #12847]
22806         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
22807         user-controlled locks.
22809 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
22811         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
22812         register.
22814 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
22816         * configure.ac (--disable-werror): New configure option.
22817         (enable_werror): New AC_SUBST.
22818         * configure: Regenerated.
22819         * config.make.in (enable-werror): New variable.
22820         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
22821         -Wno-error=undef.
22822         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
22823         * manual/install.texi (Configuring and compiling): Document
22824         --disable-werror.
22825         * INSTALL: Regenerated.
22826         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
22827         (CFLAGS-tst-chk2.c): Likewise.
22828         (CFLAGS-tst-chk3.c): Likewise.
22829         (CFLAGS-tst-chk4.cc): Likewise.
22830         (CFLAGS-tst-chk5.cc): Likewise.
22831         (CFLAGS-tst-chk6.cc): Likewise.
22832         (CFLAGS-tst-lfschk1.c): Likewise.
22833         (CFLAGS-tst-lfschk2.c): Likewise.
22834         (CFLAGS-tst-lfschk3.c): Likewise.
22835         (CFLAGS-tst-lfschk4.cc): Likewise.
22836         (CFLAGS-tst-lfschk5.cc): Likewise.
22837         (CFLAGS-tst-lfschk6.cc): Likewise.
22839         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
22840         (main): Disable -Wdeprecated-declarations around calls to
22841         register_printf_function.
22843         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
22844         (do_test): Disable -Wdiv-by-zero around some calls to
22845         fwrite_unlocked and fread_unlocked.
22847         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
22848         (DIAG_POP_NEEDS_COMMENT): Likewise.
22849         (_DIAG_STR1): Likewise.
22850         (_DIAG_STR): Likewise.
22851         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
22852         * stdio-common/bug21.c: Include <libc-internal.h>.
22853         (do_test): Disable -Wformat around call to sscanf.
22854         * stdio-common/scanf14.c: Include <libc-internal.h>.
22855         (main): Disable -Wformat around some calls to scanf functions.
22857 2014-12-09  Torvald Riegel  <triegel@redhat.com>
22859         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
22861 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22863         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
22864         stack variable alignment.
22866 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
22868         [BZ #17682]
22869         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
22870         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
22871         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
22872         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
22873         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
22874         __getrlimit instead of getrlimit.
22875         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
22876         __gettimeofday instead of gettimeofday.
22877         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
22878         Likewise.
22879         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
22880         Likewise.
22881         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22882         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
22883         Remove variable.
22884         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
22885         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
22887 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22889         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
22890         for wide-character tests.
22892 2014-12-04  Roland McGrath  <roland@hack.frob.com>
22894         * io/openat64.c: #include <libc-internal.h>
22895         (__openat64): Prototypify.  Use ignore_value on MODE.
22896         * io/openat.c: Likewise.
22897         * misc/reboot.c: #include <libc-internal.h>
22898         (reboot): Prototypify.  Use ignore_value on HOWTO.
22899         * misc/ptrace.c: #include <libc-internal.h>
22900         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
22902 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
22904         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
22905         XPG4, UNIX98 and XOPEN2K.
22906         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
22907         Remove variable.
22908         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
22910 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22912         * libio/fileops.c: Use ISO C style for function definitions.
22913         * libio/iofopen.c: Likewise.
22914         * libio/wfileops.c: Likewise.
22916         [BZ #17653]
22917         * libio/fileops.c (_IO_new_file_underflow): Unset cached
22918         offset on EOF.
22919         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
22920         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
22921         (fgets_func): Function pointer to fgets and fgetws.
22922         (do_ftell_test): Add test to verify ftell value after read
22923         EOF.
22924         (do_test): Set fgets_func.
22926         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
22927         O_TRUNC flag for w and w+ modes.
22928         (do_rewind_test): Likewise.
22929         (do_ftell_test): Likewise.
22930         (do_write_test): Likewise.
22932         [BZ #17647]
22933         * libio/fileops.c (do_ftell): Seek only when there are
22934         unflushed writes.
22935         * libio/wfileops.c (do_ftell_wide): Likewise.
22936         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
22937         test case.
22938         (do_one_test): Call it.
22940 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
22942         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
22943         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
22944         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
22945         Remove variable.
22946         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
22947         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
22948         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
22950 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
22952         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
22953         Remove variable.
22954         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
22956         [BZ #17668]
22957         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
22958         as weak alias of __getifaddrs.  Use libc_hidden_weak.
22959         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22960         __freeifaddrs.  Use libc_hidden_weak.
22961         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
22962         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
22963         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22964         __freeifaddrs.  Use libc_hidden_weak.
22965         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
22966         __getifaddrs and define as weak alias of __getifaddrs.  Use
22967         libc_hidden_weak.
22968         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22969         __freeifaddrs.  Use libc_hidden_weak.
22970         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
22971         Remove variable.
22972         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
22973         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
22975 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
22977         [BZ #17601]
22978         * sysdeps/mips/start.S (__start): Use indirect jump to call
22979         __libc_start_main.
22981 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
22983         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
22985         * nptl/tst-mutex1.c: Include <stdbool.h>.
22986         [!ATTR] (ATTR_NULL): New macro.
22987         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
22988         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
22989         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
22991         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
22992         to char *.
22994         [BZ #17665]
22995         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
22996         Change conditional to [__USE_MISC].
22998         [BZ #17664]
22999         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
23000         fgets_unlocked.
23001         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
23002         __fgets_unlocked.
23003         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
23004         fgets_unlocked.
23005         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
23006         Remove variable.
23007         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
23008         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
23009         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
23010         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
23011         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
23012         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
23013         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
23014         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
23015         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
23017         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
23019 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23021         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23022         Remove strpbrk objects.
23023         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23024         (__libc_ifunc_impl_list): Remove strpbrk implementation.
23025         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
23026         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
23027         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
23028         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
23030         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23031         Remove strcspn objects.
23032         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23033         (__libc_ifunc_impl_list): Remove strcspn implementation.
23034         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
23035         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
23036         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
23037         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
23039         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23040         Remove strspn objetcs.
23041         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23042         (__libc_ifunc_impl_list): Remove strspn implementation.
23043         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
23044         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
23045         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
23046         * sysdeps/powerpc/powerpc64/strspn.S: New file.
23048 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
23050         [BZ #17581]
23051         * malloc/hooks.c
23052         (mem2mem_check): Add a terminator to the chain of checking blocks.
23053         (malloc_check_get_size): Use it here.
23054         (mem2chunk_check): Ditto.
23056 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23058         * sysdeps/powerpc/powerpc64/strtok.S: New file.
23059         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
23061 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
23063         * bits/ioctl-types.h: Indent preprocessor directives correctly.
23065         * nptl/nptl-init.c: Include libc-internal.h.
23066         (__pthread_initialize_minimal_internal): Use ROUND_UP.
23068         * elf/ldconfig.c (search_dir): Expand comment.
23070 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
23072         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
23073         variable.
23074         (linknamespace-symlist-stdlibs-tests): Likewise.
23075         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
23076         instead of $(objpfx)symlist-stdlibs.
23077         (linknamespace-libs-isoc): New variable.
23078         (linknamespace-libs): Use $(linknamespace-libs-isoc).
23079         (linknamespace-libs-ISO): New variable.
23080         (linknamespace-libs-ISO99): Likewise.
23081         (linknamespace-libs-ISO11): Likewise.
23082         (linknamespace-libs-XPG3): Likewise.
23083         (linknamespace-libs-XPG4): Likewise.
23084         (linknamespace-libs-POSIX): Likewise.
23085         (linknamespace-libs-UNIX98): Likewise.
23086         (linknamespace-libs-XOPEN2K): Likewise.
23087         (linknamespace-libs-POSIX2008): Likewise.
23088         (linknamespace-libs-XOPEN2K8): Likewise.
23089         ($(objpfx)symlist-stdlibs): Replace by
23090         $(linknamespace-symlist-stdlibs-tests).  Use
23091         $(linknamespace-libs-$*) as set of libraries.
23092         ($(linknamespace-header-tests)): Update dependencies.  Use
23093         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
23094         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
23095         * conform/linknamespace.pl: Remove comment about considering
23096         definitions of symbols from irrelevant libraries.
23098 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
23100         [BZ #13862]
23101         * elf/dl-tls.c: Include <atomic.h>.
23102         (oom): Remove #ifdef SHARED/#endif.
23103         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
23104         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
23105         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
23106         big enough.
23107         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
23108         * nptl/Makefile (tests): Add tst-stack4.
23109         (modules-names): Add tst-stack4mod.
23110         ($(objpfx)tst-stack4): New.
23111         (tst-stack4mod.sos): Likewise.
23112         ($(objpfx)tst-stack4.out): Likewise.
23113         ($(tst-stack4mod.sos)): Likewise.
23114         (clean): Likewise.
23115         * nptl/tst-stack4.c: New file.
23116         * nptl/tst-stack4mod.c: Likewise.
23118 2014-11-27  J. Brown  <jb999@gmx.de>
23120         * sysdeps/x86/bits/string.h: Add recent CPUs.
23122 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
23124         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
23125         sigblock.
23127         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
23128         feof.
23130         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
23131         variable.
23133 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
23135         * nscd/connections.c: Include libc-internal.h because of macro
23136         usage ignore_value.
23138 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23140         * string/bits/string3.h (__warn_memset_zero_len): Don't
23141         declare for gcc newer than 5.0.
23142         (memset): Don't test for zero-length __LEN for gcc newer than
23143         5.0.
23145 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
23147         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
23148         size_t for %zu format.
23150         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
23151         difference, not %ju.
23153 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
23155         * include/libc-internal.h (ignore_value): New macro.
23156         * nscd/connections.c (restart): Wrap calls to setuid and setgid
23157         with ignore_value.
23159         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
23160         definition.
23162         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
23163         pthread_cleanup_push to void *.
23165         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
23166         Undefine.
23168         [BZ #16619]
23169         [BZ #16740]
23170         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
23171         instead of 1L << 52.
23173         * libio/bug-rewind.c (do_test): Check fwscanf return values.
23174         * libio/bug-rewind2.c (do_test): Likewise.
23176         * debug/test-stpcpy_chk-ifunc.c: Remove file.
23177         * debug/test-strcpy_chk-ifunc.c: Likewise.
23178         * wcsmbs/test-wcschr-ifunc.c: Likewise.
23179         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
23180         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
23181         * wcsmbs/test-wcslen-ifunc.c: Likewise.
23182         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
23183         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
23184         * Rules [$(multi-arch) = no] (tests): Do not filter out
23185         $(tests-ifunc).
23186         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
23187         * debug/Makefile (tests-ifunc): Remove variable.
23188         (tests): Do not add $(tests-ifunc).
23189         * wcsmbs/Makefile (tests-ifunc): Remove variable.
23190         (tests): Do not add $(tests-ifunc).
23191         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
23192         [TEST_IFUNC]: Remove conditionals.
23193         * string/test-string.h (TEST_IFUNC): Remove macro.
23194         [TEST_IFUNC]: Remove conditionals.
23196         * string/test-strchr.c [!WIDE] (L): New macro.
23197         [WIDE] (L): Likewise.
23198         (check1): Use CHAR instead of char.  Use L on string and character
23199         constants.
23201 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
23203         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
23204         tests.
23205         * sysdeps/powerpc/bits/atomic.h
23206         (__arch_atomic_exchange_and_add_32_acq): Add definition.
23207         (__arch_atomic_exchange_and_add_32_rel): Likewise.
23208         (atomic_exchange_and_add_acq): Likewise.
23209         (atomic_exchange_and_add_rel): Likewise.
23210         * sysdeps/powerpc/powerpc32/bits/atomic.h
23211         (__arch_atomic_exchange_and_add_64_acq): Add definition.
23212         (__arch_atomic_exchange_and_add_64_rel): Likewise.
23213         * sysdeps/powerpc/powerpc64/bits/atomic.h
23214         (__arch_atomic_exchange_and_add_64_acq): Add definition.
23215         (__arch_atomic_exchange_and_add_64_rel): Likewise.
23217 2014-11-26  Torvald Riegel  <triegel@redhat.com>
23219         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
23220         Change synchronization of __sched_fifo_min_prio and
23221         __sched_fifo_max_prio.
23222         * nptl/pthread_mutexattr_getprioceiling.c
23223         (pthread_mutexattr_getprioceiling): Likewise.
23224         * nptl/pthread_mutexattr_setprioceiling.c
23225         (pthread_mutexattr_setprioceiling): Likewise.
23226         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
23227         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
23228         Likewise.
23230 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
23232         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
23233         void.
23235 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
23237         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
23238         third argument const.
23240 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
23242         fnmatch: work around GCC compiler warning bug with uninit var
23243         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
23244         This works around a bug with x86-64 GCC 4.9.2 and earlier
23245         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
23246         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
23247         used uninitialized in this function [-Wmaybe-uninitialized]".
23249 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
23251         * posix/bug-regex31.c (main): Return RES not 0.
23253 2014-11-25  Anton Blanchard <anton@samba.org>
23255         * sysdeps/powerpc/bits/atomic.h
23256         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
23258 2014-11-24  Sterling Augustine  <saugustine@google.com>
23260         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
23262 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
23264         [BZ #17608]
23265         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
23267 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
23269         [BZ #17633]
23270         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
23271         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
23272         variable.
23273         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
23274         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
23276 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
23278         * string/strncpy.c (strncpy): Improve performance by using memset.
23280 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
23282         * string/strcpy.c (strcpy):
23283         Improve performance by using strlen and memcpy.
23285 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
23287         * string/strcoll_l.c (get_next_seq): __always_inline.
23288         * string/strcoll_l.c (do_compare): __always_inline.
23290 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23292         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
23293         defined.
23294         * include/mqueue.h: Likewise.
23295         * include/stdlib.h: Likewise.
23297         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
23298         (get_null_defines): Adjust.
23299         * sunrpc/Makefile: Adjust comment.
23300         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
23301         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
23302         (CFLAGS-interp.c): Likewise.
23303         (CFLAGS-ldconfig.c): Likewise.
23304         (CPPFLAGS-.os): Likewise.
23305         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23306         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
23307         * extra-modules.mk (extra-modules.mk): Likewise.
23308         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
23309         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
23310         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
23311         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
23312         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
23313         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
23314         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
23315         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
23316         * iconvdata/Makefile (CPPFLAGS): Likewise.
23317         (cpp-srcs-left): Add libof for all iconvdata routines.
23318         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
23319         * include/assert.h: Likewise.
23320         * include/ctype.h: Likewise.
23321         * include/errno.h: Likewise.
23322         * include/libc-symbols.h: Likewise.
23323         * include/math.h: Likewise.
23324         * include/netdb.h: Likewise.
23325         * include/resolv.h: Likewise.
23326         * include/stdio.h: Likewise.
23327         * include/stdlib.h: Likewise.
23328         * include/string.h: Likewise.
23329         * include/sys/stat.h: Likewise.
23330         * include/wctype.h: Likewise.
23331         * intl/l10nflist.c: Likewise.
23332         * libidn/idn-stub.c: Likewise.
23333         * libio/libioP.h: Likewise.
23334         * nptl/libc_multiple_threads.c: Likewise.
23335         * nptl/pthreadP.h: Likewise.
23336         * posix/regex_internal.h: Likewise.
23337         * resolv/res_hconf.c: Likewise.
23338         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
23339         * sysdeps/arm/memmove.S: Likewise.
23340         * sysdeps/arm/sysdep.h: Likewise.
23341         * sysdeps/generic/_itoa.h: Likewise.
23342         * sysdeps/generic/symbol-hacks.h: Likewise.
23343         * sysdeps/gnu/errlist.awk: Likewise.
23344         * sysdeps/gnu/errlist.c: Likewise.
23345         * sysdeps/i386/i586/memcpy.S: Likewise.
23346         * sysdeps/i386/i586/memset.S: Likewise.
23347         * sysdeps/i386/i686/memcpy.S: Likewise.
23348         * sysdeps/i386/i686/memmove.S: Likewise.
23349         * sysdeps/i386/i686/mempcpy.S: Likewise.
23350         * sysdeps/i386/i686/memset.S: Likewise.
23351         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
23352         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23353         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
23354         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
23355         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23356         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23357         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
23358         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23359         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
23360         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23361         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23362         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23363         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23364         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23365         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23366         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23367         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
23368         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
23369         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
23370         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23371         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23372         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23373         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23374         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23375         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23376         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23377         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
23378         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23379         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
23380         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23381         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23382         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23383         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23384         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23385         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23386         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23387         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23388         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23389         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23390         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23391         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23392         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23393         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23394         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23395         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23396         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23397         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
23398         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
23399         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23400         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
23401         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23402         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
23403         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
23404         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23405         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
23406         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
23407         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23408         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
23409         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
23410         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23411         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
23412         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23413         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
23414         * sysdeps/nptl/bits/libc-lock.h: Likewise.
23415         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
23416         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
23417         * sysdeps/posix/closedir.c: Likewise.
23418         * sysdeps/posix/opendir.c: Likewise.
23419         * sysdeps/posix/readdir.c: Likewise.
23420         * sysdeps/posix/rewinddir.c: Likewise.
23421         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
23422         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
23423         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23424         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23425         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23426         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
23427         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
23428         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
23429         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
23430         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
23431         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
23432         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
23433         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
23434         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
23435         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
23436         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
23437         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
23438         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
23439         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
23440         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
23441         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
23442         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
23443         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
23444         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
23445         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
23446         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
23447         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
23448         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
23449         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
23450         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
23451         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
23452         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
23453         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
23454         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
23455         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
23456         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
23457         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23458         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23459         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
23460         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
23461         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
23462         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
23463         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
23464         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
23465         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
23466         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
23467         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
23468         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
23469         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
23470         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
23471         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
23472         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
23473         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
23474         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
23475         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
23476         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
23477         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
23478         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
23479         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
23480         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
23481         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
23482         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
23483         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
23484         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
23485         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
23486         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
23487         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
23488         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
23489         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
23490         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
23491         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
23492         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
23493         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
23494         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
23495         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
23496         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
23497         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
23498         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
23499         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
23500         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
23501         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
23502         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
23503         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
23504         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
23505         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23506         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
23507         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
23508         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
23509         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
23510         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23511         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
23512         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
23513         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
23514         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
23515         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23516         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
23517         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
23518         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23519         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
23520         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
23521         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23522         * sysdeps/unix/alpha/sysdep.S: Likewise.
23523         * sysdeps/unix/alpha/sysdep.h: Likewise.
23524         * sysdeps/unix/make-syscalls.sh: Likewise.
23525         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
23526         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
23527         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
23528         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
23529         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
23530         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
23531         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
23532         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
23533         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
23534         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
23535         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
23536         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
23537         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23538         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
23539         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
23540         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23541         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23542         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
23543         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
23544         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
23545         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
23546         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
23547         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
23548         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
23549         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
23550         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
23551         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
23552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
23553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
23554         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
23555         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23556         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
23557         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23558         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23559         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
23560         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
23561         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23562         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23563         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
23564         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
23565         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23566         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
23567         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23568         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
23569         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
23570         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
23571         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23572         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23573         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
23574         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23575         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
23576         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
23577         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
23578         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
23579         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
23580         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
23581         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
23582         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23583         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
23584         * sysdeps/x86_64/memcpy.S: Likewise.
23585         * sysdeps/x86_64/memmove.c: Likewise.
23586         * sysdeps/x86_64/memset.S: Likewise.
23587         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
23588         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23589         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
23590         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
23591         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
23592         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23593         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23594         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23595         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23596         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23597         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23598         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23599         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
23600         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23601         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23602         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
23603         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23604         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23605         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23606         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23607         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
23608         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23609         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23610         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
23611         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23612         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23613         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23614         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
23615         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
23616         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23617         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
23618         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23619         * sysdeps/x86_64/strcmp.S: Likewise.
23621         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
23623         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
23624         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
23625         * elf/rtld-Rules: Likewise.
23626         * elf/setup-vdso.h: Likewise.
23627         * include/assert.h: Likewise.
23628         * include/bits/stdlib-float.h: Likewise.
23629         * include/errno.h: Likewise.
23630         * include/sys/stat.h: Likewise.
23631         * include/unistd.h: Likewise.
23632         * sysdeps/aarch64/setjmp.S: Likewise.
23633         * sysdeps/alpha/setjmp.S: Likewise.
23634         * sysdeps/arm/__longjmp.S: Likewise.
23635         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
23636         * sysdeps/arm/setjmp.S: Likewise.
23637         * sysdeps/arm/sysdep.h: Likewise.
23638         * sysdeps/generic/_itoa.h: Likewise.
23639         * sysdeps/generic/dl-sysdep.h: Likewise.
23640         * sysdeps/generic/ldsodefs.h: Likewise.
23641         * sysdeps/i386/dl-tls.h: Likewise.
23642         * sysdeps/i386/setjmp.S: Likewise.
23643         * sysdeps/m68k/setjmp.c: Likewise.
23644         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
23645         * sysdeps/mach/hurd/opendir.c: Likewise.
23646         * sysdeps/posix/getcwd.c: Likewise.
23647         * sysdeps/posix/opendir.c: Likewise.
23648         * sysdeps/posix/profil.c: Likewise.
23649         * sysdeps/powerpc/dl-procinfo.h: Likewise.
23650         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
23651         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
23652         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
23653         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
23654         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
23655         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
23656         * sysdeps/s390/dl-tls.h: Likewise.
23657         * sysdeps/s390/s390-32/setjmp.S: Likewise.
23658         * sysdeps/s390/s390-64/setjmp.S: Likewise.
23659         * sysdeps/sh/sh3/setjmp.S: Likewise.
23660         * sysdeps/sh/sh4/setjmp.S: Likewise.
23661         * sysdeps/unix/alpha/sysdep.h: Likewise.
23662         * sysdeps/unix/arm/sysdep.S: Likewise.
23663         * sysdeps/unix/i386/sysdep.S: Likewise.
23664         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
23665         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
23666         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
23667         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
23668         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23669         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
23670         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
23671         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23672         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
23673         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
23674         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
23675         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
23676         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
23677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23679         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
23680         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23681         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23682         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23683         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23684         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
23685         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23686         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23687         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
23688         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
23689         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
23690         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23691         * sysdeps/unix/x86_64/sysdep.S: Likewise.
23692         * sysdeps/x86_64/setjmp.S: Likewise.
23694         * include/math.h: Use IS_IN instead of IS_IN_libm.
23695         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
23696         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23697         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23698         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
23699         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23700         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23701         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23702         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23703         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23704         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23705         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
23706         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
23707         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
23708         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
23709         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
23710         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
23711         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
23712         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
23713         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
23714         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
23715         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
23716         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
23717         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
23718         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
23719         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
23720         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
23721         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
23722         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
23723         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
23724         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
23725         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
23726         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23727         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
23728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
23729         Likewise.
23730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
23731         Likewise.
23732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
23733         Likewise.
23734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
23735         Likewise.
23736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
23737         Likewise.
23738         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23739         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
23740         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23741         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23742         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23743         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
23745         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
23746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
23747         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
23748         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
23749         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
23750         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
23751         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
23752         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
23753         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23754         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
23755         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
23756         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23757         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23758         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
23759         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
23760         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
23761         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
23762         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
23763         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23764         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
23766         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
23767         * nptl/pthreadP.h: Likewise.
23768         * nptl_db/structs.def: Likewise.
23769         * sysdeps/arm/sysdep.h: Likewise.
23770         * sysdeps/nptl/bits/libc-lock.h: Likewise.
23771         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
23772         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
23773         * sysdeps/unix/alpha/sysdep.h: Likewise.
23774         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
23775         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
23776         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
23777         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
23778         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
23779         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
23780         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23781         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
23782         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23783         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
23784         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
23785         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
23786         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
23787         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
23788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
23789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
23790         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
23791         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
23792         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
23793         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
23794         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
23795         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
23796         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
23797         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
23798         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
23799         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
23801         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
23802         * nptl/pthreadP.h: Likewise.
23803         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
23804         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
23805         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
23806         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
23807         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
23808         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
23809         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23810         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
23811         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
23812         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
23813         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
23814         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
23815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
23816         Likewise.
23817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
23818         Likewise.
23819         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
23820         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
23821         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
23822         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
23823         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
23824         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
23825         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
23826         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
23828         * dlfcn/dladdr.c: Use IS_IN.
23829         * dlfcn/dladdr1.c: Likewise.
23830         * dlfcn/dlclose.c: Likewise.
23831         * dlfcn/dlerror.c: Likewise.
23832         * dlfcn/dlinfo.c: Likewise.
23833         * dlfcn/dlmopen.c: Likewise.
23834         * dlfcn/dlopen.c: Likewise.
23835         * dlfcn/dlsym.c: Likewise.
23836         * dlfcn/dlvsym.c: Likewise.
23838         * include/ifaddrs.h: Use IS_IN.
23839         * inet/check_pf.c: Likewise.
23840         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23841         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
23843         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
23844         IS_IN_ldconfig.
23845         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
23846         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
23848         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
23849         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
23850         IS_IN (libc).
23852         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
23854         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
23855         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23856         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
23857         * include/libc-symbols.h (IS_IN_LIB): New macro.
23858         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
23859         * include/netdb.h: Likewise.
23860         * include/stap-probe.h: Remove all uses of IN_LIB.
23862         * Makeconfig (module-cppflags-real): Define MODULE_NAME
23863         instead of IN_MODULE.
23864         * include/libc-symbols.h (IN_MODULE): Define using
23865         MODULE_NAME.
23866         (PASTE_NAME, PASTE_NAME1): New macros.
23867         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
23868         of IN_LIB.
23869         (STAP_PROBE_ASM): Likewise.
23871 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23873         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
23874         __mach_init in dlopened libc.
23876 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
23878         * sysdeps/arm/preconfigure.ac: Delete EABI check.
23879         * sysdeps/arm/preconfigure: Regenerate.
23881 2014-11-21  Roland McGrath  <roland@hack.frob.com>
23883         * nptl/pthread_create.c (__pthread_create_2_1): Set
23884         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
23885         when copying values from IATTR into PD.
23887 2014-11-21  Will Newton  <will.newton@linaro.org>
23888             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
23890         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
23891         Refactor inline-asm.  Also add comment.
23893         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
23894         ElfW macro instead of hardcoded Elf64 types.
23895         (la_aarch64_gnu_pltenter): Likewise.
23896         * sysdeps/aarch64/dl-machine.h
23897         (elf_machine_runtime_setup): Use ElfW(Addr).
23899         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
23900         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
23901         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
23902         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
23903         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
23904         (R_AARCH64_TLS_DTPMOD64): Rename to ..
23905         (R_AARCH64_TLS_DTPMOD): This.
23906         (R_AARCH64_TLS_DTPREL64): Rename to ...
23907         (R_AARCH64_TLS_DTPREL): This.
23908         (R_AARCH64_TLS_TPREL64): Rename to ...
23909         (R_AARCH64_TLS_TPREL): This.
23910         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
23911         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
23912         R_AARCH64_TLS_TPREL64.
23913         (elf_machine_rela): Likewise.
23915 2014-11-21  Torvald Riegel  <triegel@redhat.com>
23917         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
23918         by setting it to 0.  64b atomics are not supported currently.
23920 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23922         [BZ #16469]
23923         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
23924         search domain names.
23926 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23928         [BZ #16469]
23929         * NEWS: Update.
23930         * resolv/res_query.c (__libc_res_nquerydomain): Retain
23931         trailing dot.
23932         * posix/tst-getaddrinfo5.c: New.
23933         * posix/Makefile (tests): Add it.
23935 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23937         [BZ #14498]
23938         * NEWS: Fixed.
23939         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
23940         after parsing line but before break_if_match.
23941         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
23942         if there is a protocol mismatch.
23944 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
23946         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
23947         because the potential race is on the user-supplied stream.
23949 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23951         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
23952         string literal if not passed a buffer.
23953         * manual/job.texi (ctermid): Update reasoning, note deviation
23954         from posix, suggest mtasurace when not passed a buffer, for
23955         future non-preliminary safety notes.
23957 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23959         * manual/users.texi (cuserid): Fix MT-Safety note for the case
23960         of not passing it a buffer.
23961         Reported by Peng Haitao.
23963 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23965         * manual/Makefile ($(objpfx)stamp-summary): Require
23966         check-safety.sh to pass.
23967         * manual/check-safety.sh: Wish for verification that every
23968         @deftypefn and @deftypefun is followed by a @safety remark.
23970 2014-11-20  Roland McGrath  <roland@hack.frob.com>
23972         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
23974         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
23975         PTHREAD_CANCEL_ASYNCHRONOUS.
23976         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
23977         send SIGCANCEL.
23979         * nptl/default-sched.h: New file.
23980         * sysdeps/unix/sysv/linux/default-sched.h: New file.
23981         * nptl/pthread_create.c: Include it.
23982         (__pthread_create_2_1): Use collect_default_sched instead of making
23983         Linux syscalls here directly.
23985 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23987         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
23988         __pthread_once): Use C11 atomics.
23990 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23992         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
23994 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23996         * include/atomic.h (__atomic_link_error, __atomic_check_size,
23997         atomic_thread_fence_acquire, atomic_thread_fence_release,
23998         atomic_thread_fence_seq_cst, atomic_load_relaxed,
23999         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
24000         atomic_compare_exchange_weak_relaxed,
24001         atomic_compare_exchange_weak_acquire,
24002         atomic_compare_exchange_weak_release,
24003         atomic_exchange_acquire, atomic_exchange_release,
24004         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
24005         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
24006         atomic_fetch_and_acquire,
24007         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
24009 2014-11-20  Torvald Riegel  <triegel@redhat.com>
24011         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
24012         USE_ATOMIC_COMPILER_BUILTINS): Define.
24013         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
24014         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24015         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
24016         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24017         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
24018         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24019         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
24020         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24021         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
24022         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24023         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
24024         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24025         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
24026         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24027         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
24028         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24029         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
24030         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24031         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
24032         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24033         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
24034         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24035         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
24036         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24037         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
24038         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24039         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
24040         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24041         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
24042         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24043         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
24044         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24045         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
24046         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24047         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
24048         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24049         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
24050         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24051         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
24052         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24054 2014-11-19  Roland McGrath  <roland@hack.frob.com>
24056         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
24057         the sched_priority value here.  It was already checked when the user
24058         called pthread_attr_setschedparam.
24060         * nptl/tst-bad-schedattr.c: New file.
24061         * nptl/Makefile (tests): Add it.
24063 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
24064             Florian Weimer  <fweimer@redhat.com>
24065             Joseph Myers  <joseph@codesourcery.com>
24066             Adam Conrad  <adconrad@0c3.net>
24067             Andreas Schwab  <schwab@suse.de>
24068             Brooks  <bmoses@google.com>
24070         [BZ #17625]
24071         * wordexp-test.c (__dso_handle): Add prototype.
24072         (__register_atfork): Likewise.
24073         (__app_register_atfork): New function.
24074         (registered_forks): New global.
24075         (register_fork): New function.
24076         (test_case): Add 3 new tests for WRDE_CMDSUB.
24077         (main): Call __app_register_atfork.
24078         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
24079         fork count is non-zero fail the test.
24080         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
24081         is set.
24082         (parse_dollars): Remove check for WRDE_NOCMD.
24083         (parse_dquote): Likewise.
24085 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24087         * Makeconfig (built-modules): List non-library modules to be
24088         built.
24089         (module-cppflags): Include libc-modules.h for
24090         everything except shlib-versions.v.i.
24091         (CPPFLAGS): Use it.
24092         (before-compile): Add libc-modules.h.
24093         ($(common-objpfx)libc-modules.h,
24094         $(common-objpfx)libc-modules.stmp): New targets.
24095         (common-generated): Add libc-modules.h and libc-modules.stmp.
24096         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
24097         * include/libc-symbols.h: Don't include libc-modules.h.
24098         * include/libc-modules.h: Remove file.
24099         * scripts/gen-libc-modules.awk: New script to generate
24100         libc-modules.h.
24101         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
24102         Depend on libc-modules.stmp.
24104         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
24106         * Makeconfig (in-module): Get value of libof set for the
24107         translation unit.
24108         (CPPFLAGS): Use $(in-module).
24109         * Makerules: Don't suffix routine names for nonlib.
24110         * include/libc-modules.h: New file.
24111         * include/libc-symbols.h: Include libc-modules.h
24112         (IS_IN): New macro to replace IS_IN_* macros.
24113         * elf/Makefile: Set libof-* for each routine.
24114         * elf/rtld-Rules: Likewise.
24115         * extra-modules.mk: Likewise.
24116         * iconv/Makefile: Likewise.
24117         * iconvdata/Makefile: Likewise.
24118         * locale/Makefile: Likewise.
24119         * malloc/Makefile: Likewise.
24120         * nss/Makefile: Likewise.
24121         * sysdeps/gnu/Makefile: Likewise.
24122         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
24123         * sysdeps/unix/sysv/linux/Makefile: Likewise.
24124         * sysdeps/s390/s390-64/Makefile: Likewise.
24125         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
24126         CPPFLAGS for nscd instead of nonlib.
24128 2014-11-18  Roland McGrath  <roland@hack.frob.com>
24130         * nptl/createthread.c: New file.
24132         * nptl/createthread.c: Moved ...
24133         * sysdeps/unix/sysv/linux/createthread.c: ... here.
24135         * nptl/createthread.c: Add proper top-line comment.
24136         (do_clone): Folded into ...
24137         (create_thread): ... here.  Take new arguments STOPPED_START and
24138         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
24139         increment __nptl_threads, do event-reporting logic, do
24140         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
24141         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
24142         resource cleanup if sched_setaffinity or sched_setscheduler fails,
24143         just send SIGCANCEL.
24144         * nptl/pthread_create.c: Forward-declare create_thread before
24145         including createthread.c.
24146         (start_thread): Use new macro START_THREAD_DEFN to replace defining
24147         declaration, and new macro START_THREAD_SELF to replace argument.
24148         Remove return statement.
24149         (report_thread_creation): New function.
24150         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
24151         synchronization logic, and __nptl_nthreads increment here, around
24152         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
24153         PD->parent_cancelhandling here, before create_thread.  When
24154         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
24155         __deallocate_stack, and ENOMEM translation here.
24157 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
24159         [BZ #17616]
24160         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
24161         (mptwo): Rename to __mptwo.
24162         (__inv): Use __mptwo instead of mptwo.
24163         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
24164         (mptwo): Rename to __mptwo.
24165         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
24166         of mpone and __mptwo instead of mptwo.
24167         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
24168         instead of mpone.
24169         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24170         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
24171         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
24172         of mpone and __mptwo instead of mptwo.
24173         (__mpranred): Use __mpone instead of mpone.
24174         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
24175         variable.
24176         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
24177         (test-xfail-ISO99/math.h/linknamespace): Likewise.
24178         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
24179         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
24180         (test-xfail-ISO11/math.h/linknamespace): Likewise.
24181         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
24182         (test-xfail-XPG3/math.h/linknamespace): Likewise.
24183         (test-xfail-XPG4/math.h/linknamespace): Likewise.
24184         (test-xfail-POSIX/math.h/linknamespace): Likewise.
24185         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
24186         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
24187         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
24188         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
24189         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
24190         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
24191         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
24192         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
24193         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
24194         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
24196 2014-11-18  Tom de Vries  <tom@codesoucery.com>
24198         * manual/signal.texi (Primitives Interrupted by Signals): In section,
24199         replace BSD Handler xref with BSD Signal Handling.
24201 2014-11-17  Richard Henderson  <rth@redhat.com>
24203         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
24204         (_FP_PACK_RAW_2): Remove.
24205         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
24206         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
24207         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
24208         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
24209         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
24210         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
24211         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
24212         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
24213         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
24214         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
24215         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
24216         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
24217         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
24218         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
24219         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
24220         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
24222 2014-11-14  Roland McGrath  <roland@hack.frob.com>
24224         * signal/signal.h [__USE_MISC]
24225         (struct sigvec): Remove type.
24226         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
24227         (sigvec): Remove declaration.
24228         * sysdeps/posix/sigvec.c: Moved ...
24229         * signal/sigvec.c: ... here, replacing old file.
24230         (struct sigvec): New type, copied from old signal.h definition.
24231         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
24232         (__sigvec): Convert definition to prototype.
24233         (sigvec): Replace weak_alias with compat_symbol.
24234         * signal/Versions (libc: GLIBC_2.21): New version set.
24235         * include/signal.h: Remove __sigvec declaration.
24236         * sysdeps/unix/bsd/sigvec.c: Remove file.
24237         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
24238         * manual/signal.texi (BSD Handler): Remove subsection.
24239         Move siginterrupt up to ...
24240         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
24241         (Blocking in BSD): Fold subsection into its parent.
24242         * NEWS: Mention sigvec removal.
24244 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
24246         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
24247         (DLA_FMS): Make definition conditional only on [__FMA4__].
24248         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
24249         definition.
24251         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
24252         Make definition conditional only on [PROF].
24253         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
24254         definition.
24255         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
24256         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
24258         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
24259         !__GNUC__].
24260         * include/signal.h (__sigpause): Move declaration above call to
24261         libc_hidden_proto.
24262         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
24263         variable.
24264         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
24265         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
24267 2014-11-14  David S. Miller  <davem@davemloft.net>
24269         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
24270         Define before including <string/memcpy.c> and <string/mempcpy.c>.
24272 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
24274         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
24275         * configure: Regenerated.
24276         * manual/install.texi (Tools for Compilation): Document a
24277         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
24278         compiler verified to work.
24279         * INSTALL: Regenerated.
24281         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
24282         redeclare with asm name.
24283         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
24284         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
24285         including <string.h>.
24286         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24287         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
24288         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24289         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
24290         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24291         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
24292         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
24294 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
24296         * stdlib/strtol.c (__strtol): Use prototype definition.
24298         [BZ #17594]
24299         * stdlib/strtol.c (SYM__): New macro.
24300         (SYM__1): Likewise.
24301         (__strtol): Likewise.
24302         (strtol): Rename to __strtol and define as weak alias of
24303         __strtol.  Use libc_hidden_weak.
24305 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24307         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
24308         Use numbered labels in inline assembly.
24310 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24312         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
24313         Add setjmp LIBC_PROBE.
24314         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
24315         Likewise.
24316         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
24317         Add longjmp, longjmp_target LIBC_PROBE.
24318         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
24319         Likewise.
24321 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24323         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
24324         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
24325         to get rid of unused variable warning.
24327 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24329         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
24330         Check for unwind_backtrace ==  NULL only in SHARED case.
24331         (__backchain_backtrace): Compile only in SHARED case.
24332         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
24333         Likewise.
24334         (__backchain_backtrace): Declare as static.
24336 2014-11-12  Roland McGrath  <roland@hack.frob.com>
24338         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
24339         (__libc_multiple_threads_ptr): Variable moved ...
24340         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
24342 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
24344         * conform/GlibcConform.pm: New file.
24345         * conform/conformtest.pl: Use GlibcConform module.
24346         * conform/linknamespace.pl: New file.
24347         * conform/list-header-symbols.pl: Likewise.
24348         * conform/Makefile (linknamespace-symlists-base): New variable.
24349         (linknamespace-symlists-tests): Likewise.
24350         (linknamespace-header-base): Likewise.
24351         (linknamespace-header-tests): Likewise.
24352         (tests-special): Add new tests.
24353         ($(linknamespace-symlists-tests)): New rule.
24354         (linknamespace-libs): New variable.
24355         ($(objpfx)symlist-stdlibs): New rule.
24356         ($(linknamespace-header-tests)): Likewise.
24357         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
24358         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
24359         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
24360         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
24361         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
24362         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
24363         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
24364         (test-xfail-ISO/math.h/linknamespace): Likewise.
24365         (test-xfail-ISO/signal.h/linknamespace): Likewise.
24366         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
24367         (test-xfail-ISO/time.h/linknamespace): Likewise.
24368         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
24369         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
24370         (test-xfail-ISO99/math.h/linknamespace): Likewise.
24371         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
24372         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
24373         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
24374         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
24375         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
24376         (test-xfail-ISO11/math.h/linknamespace): Likewise.
24377         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
24378         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
24379         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
24380         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
24381         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
24382         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
24383         (test-xfail-XPG3/math.h/linknamespace): Likewise.
24384         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
24385         (test-xfail-XPG3/search.h/linknamespace): Likewise.
24386         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
24387         (test-xfail-XPG3/time.h/linknamespace): Likewise.
24388         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
24389         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
24390         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
24391         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
24392         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
24393         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
24394         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
24395         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
24396         (test-xfail-XPG4/math.h/linknamespace): Likewise.
24397         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
24398         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
24399         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
24400         (test-xfail-XPG4/search.h/linknamespace): Likewise.
24401         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
24402         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
24403         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
24404         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
24405         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
24406         (test-xfail-XPG4/time.h/linknamespace): Likewise.
24407         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
24408         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
24409         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
24410         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
24411         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
24412         (test-xfail-POSIX/math.h/linknamespace): Likewise.
24413         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
24414         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
24415         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
24416         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
24417         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
24418         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
24419         (test-xfail-POSIX/time.h/linknamespace): Likewise.
24420         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
24421         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
24422         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
24423         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
24424         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
24425         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
24426         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
24427         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
24428         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
24429         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
24430         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
24431         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
24432         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
24433         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
24434         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
24435         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
24436         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
24437         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
24438         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
24439         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
24440         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
24441         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
24442         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
24443         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
24444         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
24445         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
24446         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
24447         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
24448         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
24449         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
24450         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
24451         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
24452         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
24453         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
24454         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
24455         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
24456         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
24457         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
24458         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
24459         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
24460         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
24461         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
24462         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
24463         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
24464         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
24465         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
24466         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
24467         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
24468         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
24469         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
24470         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
24471         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
24472         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
24473         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
24474         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
24475         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
24476         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
24477         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
24478         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
24479         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
24480         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
24481         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
24482         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
24483         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
24484         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
24485         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
24486         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
24487         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
24488         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
24489         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
24490         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
24491         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
24492         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
24493         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
24494         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
24495         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
24496         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
24497         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
24498         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
24499         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
24500         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
24501         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
24502         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
24503         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
24504         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
24505         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
24506         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
24507         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
24508         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
24509         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
24510         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
24511         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
24512         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
24513         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
24514         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
24515         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
24516         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
24517         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
24519         [BZ #17589]
24520         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
24521         of fgets_unlocked.
24523         [BZ #17585]
24524         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
24525         (memmem): Rename to __memmem and define as weak alias of
24526         __memmem.  Use libc_hidden_weak.
24527         (__memmem): Use libc_hidden_def.
24528         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
24529         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
24530         memmem.
24532         [BZ #17582]
24533         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
24534         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
24535         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
24536         and define as weak alias of __fgets_unlocked.  Use
24537         libc_hidden_weak.
24538         (__fgets_unlocked): Use libc_hidden_def.
24539         * include/stdio.h (__fgets_unlocked): Declare.  Use
24540         libc_hidden_proto.
24541         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
24542         __fgets_unlocked instead of fgets_unlocked.
24543         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
24544         (GET_NPROCS_CONF_PARSER): Likewise.
24545         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
24546         (GET_NPROCS_CONF_PARSER): Likewise.
24548         [BZ #17574]
24549         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
24550         weak alias of __wmemset.  Use libc_hidden_weak.
24551         (__wmemset): Use libc_hidden_def.
24552         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
24553         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
24554         of wmemset.
24556         [BZ #17573]
24557         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
24558         with asm name __mempcpy.
24559         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
24561         [BZ #17572]
24562         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
24563         and define as weak alias of __rawmemchr.
24564         (__rawmemchr): Do not define as strong alias of rawmemchr.
24566         [BZ #17571]
24567         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
24568         alias of __qsort_r.
24569         (qsort): Call __qsort_r instead of qsort_r.
24570         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
24571         (__qsort_r): Declare.  Call libc_hidden_proto.
24572         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
24573         instead of qsort_r.
24574         * nscd/gai.c (__qsort_r): Define to qsort_r.
24575         * posix/tst-rfc3484.c (__qsort_r): Likewise.
24576         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
24577         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
24579         [BZ #17570]
24580         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
24581         define as weak alias of __malloc_info.
24583         [BZ #17584]
24584         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
24585         as weak alias of __rewinddir.  Don't use libc_hidden_def.
24586         (__rewinddir): Use libc_hidden_def.
24587         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
24588         as weak alias of __rewinddir.  Don't use libc_hidden_def.
24589         (__rewinddir): Use libc_hidden_def.
24590         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
24591         weak alias of __rewinddir.  Don't use libc_hidden_def.
24592         (__rewinddir): Use libc_hidden_def.
24593         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
24594         (__rewinddir): Use libc_hidden_proto.
24595         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
24596         rewinddir.
24597         (__getcwd): Use __rewinddir instead of rewinddir.
24599         [BZ #17583]
24600         * libio/fileno.c (fileno): Rename to __fileno and define as weak
24601         alias of __fileno.  Use libc_hidden_weak.
24602         (__fileno): Use libc_hidden_def.
24603         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
24604         * libio/ftello.c (ftello): Rename to __ftello and define as weak
24605         alias of __ftello.
24606         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
24607         __ftello.
24608         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
24609         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
24610         libc_hidden_def.
24611         (fread_unlocked): Don't use libc_hidden_ver.
24612         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
24613         and define as weak alias of __fread_unlocked.  Don't use
24614         libc_hidden_def.
24615         (__fread_unlocked): Use libc_hidden_def.
24616         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
24617         (ftello): Don't use libc_hidden_proto.
24618         (__ftello): Declare.  Use libc_hidden_proto.
24619         (fread_unlocked): Don't use libc_hidden_proto.
24620         (__fread_unlocked): Declare.  Use libc_hidden_proto.
24621         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
24622         and __ftello instead of fileno, fread_unlocked and ftello.
24624 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24626         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
24627         GOT12.
24628         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
24629         Likewise.
24630         (_dl_start_user): Likewise.
24631         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
24633 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
24634             Siddhesh Poyarekar  <siddhesh@redhat.com>
24636         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
24637         Move argv and envp down instead of moving argc up.
24638         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
24640 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
24642         [BZ #17506]
24643         * test-skeleton.c (main): Return successful if one of
24644         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
24645         * string/tst-strcoll-overflow.c: Define expected status.
24647 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
24649         [BZ #17475]
24650         * locale/iso-639.def: Define Bhili and Tulu language codes.
24652 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
24654         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
24656 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
24658         [BZ #17555]
24659         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
24661 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
24663         * configure.ac: Updated check of minimal required version to
24664         2.22.
24665         * manual/install.texi (Tools for Compilation): Updated version
24666         number.
24667         * configure: Regenerated.
24668         * INSTALL: Likewise.
24670 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
24672         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
24673         __tls_get_addr.
24675 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
24677         * include/sys/wait.h (__libc_waitpid): Remove declaration.
24678         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
24679         (__waitpid): Don't define as alias.  Use libc_hidden_def not
24680         libc_hidden_weak.
24681         (waitpid): Define as alias of __waitpid.
24682         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
24683         __waitpid.
24684         (__waitpid): Don't define as alias.  Use libc_hidden_def not
24685         libc_hidden_weak.
24686         (waitpid): Define as alias of __waitpid.
24687         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
24688         __libc_waitpid alias.
24689         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
24690         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
24691         Likewise.
24692         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
24693         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
24694         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
24695         alias.
24696         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
24697         __waitpid.
24698         (__waitpid): Don't define as alias.  Use libc_hidden_def not
24699         libc_hidden_weak.
24700         (waitpid): Define as alias of __waitpid.
24702 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
24704         * manual/llio.texi: Add comment that write safety has been
24705         fixed in Linux.
24707         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
24708         (localplt-build-dso): Add elf/ld.so.
24709         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
24710         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
24711         and free for ld.so.
24712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
24713         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
24714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
24715         Likewise.
24716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
24717         Likewise.
24718         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
24719         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
24720         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
24721         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
24722         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
24723         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
24724         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
24725         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
24726         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
24727         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
24728         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
24730 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
24732         [BZ #14132]
24733         * include/libc-symbols.h (INTUSE): Remove macro.
24734         (INTDEF): Likewise.
24735         (INTVARDEF): Likewise.
24736         (_INTVARDEF): Likewise.
24737         (INTDEF2): Likewise.
24738         (INTVARDEF2): Likewise.
24739         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
24740         rtld_hidden_def instead of INTVARDEF.
24741         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
24742         (_dl_starting_up_internal): Remove declaration.
24743         (_dl_starting_up): Use rtld_hidden_proto.
24744         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
24745         declaration.
24746         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
24747         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
24748         _dl_starting_up.
24749         * elf/dl-writev.h (_dl_writev): Likewise.
24750         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
24751         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
24752         _dl_starting_up_internal.
24754 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24756         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
24757         test-skeleton.c.
24759 2014-11-05  Will Newton  <will.newton@linaro.org>
24761         * benchtests/Makefile: (bench-malloc): Add malloc thread
24762         scalability benchmark.
24763         * benchtests/bench-malloc-threads.c: New file.
24765 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
24767         * sysdeps/aarch64/strchrnul.S: New file.
24769 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24771         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
24772         definition.
24773         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
24774         Likwise.
24775         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
24776         Likewise.
24777         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
24778         Likewise.
24779         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
24780         Likewise.
24781         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
24782         Likewise.
24784 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
24786         * catgets/test-gencat.c: Use test-skeleton.c.
24787         * catgets/tst-catgets.c: Likewise.
24788         * csu/tst-empty.c: Likewise.
24789         * elf/tst-audit2.c: Likewise.
24790         * elf/tst-global1.c: Likewise.
24791         * elf/tst-pathopt.c: Likewise.
24792         * elf/tst-piemod1.c: Likewise.
24793         * elf/tst-tls10.c: Likewise.
24794         * elf/tst-tls11.c: Likewise.
24795         * elf/tst-tls12.c: Likewise.
24796         * gnulib/tst-gcc.c: Likewise.
24797         * iconvdata/tst-e2big.c: Likewise.
24798         * iconvdata/tst-loading.c: Likewise.
24799         * iconv/tst-iconv1.c: Likewise.
24800         * iconv/tst-iconv2.c: Likewise.
24801         * inet/test-inet6_opt.c: Likewise.
24802         * inet/tst-gethnm.c: Likewise.
24803         * inet/tst-network.c: Likewise.
24804         * inet/tst-ntoa.c: Likewise.
24805         * intl/tst-codeset.c: Likewise.
24806         * intl/tst-gettext2.c: Likewise.
24807         * intl/tst-gettext3.c: Likewise.
24808         * intl/tst-ngettext.c: Likewise.
24809         * intl/tst-translit.c: Likewise.
24810         * io/test-stat.c: Likewise.
24811         * libio/test-fmemopen.c: Likewise.
24812         * libio/tst-freopen.c: Likewise.
24813         * libio/tst-sscanf.c: Likewise.
24814         * libio/tst-ungetwc1.c: Likewise.
24815         * libio/tst-ungetwc2.c: Likewise.
24816         * libio/tst-widetext.c: Likewise.
24817         * localedata/tst-ctype.c: Likewise.
24818         * localedata/tst-digits.c: Likewise.
24819         * localedata/tst-leaks.c: Likewise.
24820         * localedata/tst-mbswcs1.c: Likewise.
24821         * localedata/tst-mbswcs2.c: Likewise.
24822         * localedata/tst-mbswcs3.c: Likewise.
24823         * localedata/tst-mbswcs4.c: Likewise.
24824         * localedata/tst-mbswcs5.c: Likewise.
24825         * localedata/tst-setlocale.c: Likewise.
24826         * localedata/tst-trans.c: Likewise.
24827         * localedata/tst-wctype.c: Likewise.
24828         * localedata/tst-xlocale1.c: Likewise.
24829         * login/tst-grantpt.c: Likewise.
24830         * malloc/tst-calloc.c: Likewise.
24831         * malloc/tst-malloc.c: Likewise.
24832         * malloc/tst-mallocstate.c: Likewise.
24833         * malloc/tst-mcheck.c: Likewise.
24834         * malloc/tst-mtrace.c: Likewise.
24835         * malloc/tst-obstack.c: Likewise.
24836         * math/atest-exp2.c: Likewise.
24837         * math/atest-exp.c: Likewise.
24838         * math/atest-sincos.c: Likewise.
24839         * math/test-matherr.c: Likewise.
24840         * math/test-misc.c: Likewise.
24841         * math/test-powl.c: Likewise.
24842         * math/tst-definitions.c: Likewise.
24843         * misc/tst-dirname.c: Likewise.
24844         * misc/tst-efgcvt.c: Likewise.
24845         * misc/tst-fdset.c: Likewise.
24846         * misc/tst-hsearch.c: Likewise.
24847         * misc/tst-mntent2.c: Likewise.
24848         * nptl/tst-sem7.c: Likewise.
24849         * nptl/tst-sem8.c: Likewise.
24850         * nptl/tst-sem9.c: Likewise.
24851         * nss/test-netdb.c: Likewise.
24852         * posix/tst-fnmatch.c: Likewise.
24853         * posix/tst-getlogin.c: Likewise.
24854         * posix/tst-gnuglob.c: Likewise.
24855         * posix/tst-mmap.c: Likewise.
24856         * pwd/tst-getpw.c: Likewise.
24857         * resolv/tst-inet_ntop.c: Likewise.
24858         * rt/tst-timer.c: Likewise.
24859         * stdio-common/test-fseek.c: Likewise.
24860         * stdio-common/test-popen.c: Likewise.
24861         * stdio-common/test-vfprintf.c: Likewise.
24862         * stdio-common/tst-cookie.c: Likewise.
24863         * stdio-common/tst-fileno.c: Likewise.
24864         * stdio-common/tst-gets.c: Likewise.
24865         * stdio-common/tst-obprintf.c: Likewise.
24866         * stdio-common/tst-perror.c: Likewise.
24867         * stdio-common/tst-sprintf2.c: Likewise.
24868         * stdio-common/tst-sprintf3.c: Likewise.
24869         * stdio-common/tst-sprintf.c: Likewise.
24870         * stdio-common/tst-swprintf.c: Likewise.
24871         * stdio-common/tst-tmpnam.c: Likewise.
24872         * stdio-common/tst-unbputc.c: Likewise.
24873         * stdio-common/tst-wc-printf.c: Likewise.
24874         * stdlib/tst-environ.c: Likewise.
24875         * stdlib/tst-fmtmsg.c: Likewise.
24876         * stdlib/tst-limits.c: Likewise.
24877         * stdlib/tst-rand48-2.c: Likewise.
24878         * stdlib/tst-rand48.c: Likewise.
24879         * stdlib/tst-random2.c: Likewise.
24880         * stdlib/tst-random.c: Likewise.
24881         * stdlib/tst-strtol.c: Likewise.
24882         * stdlib/tst-strtoll.c: Likewise.
24883         * stdlib/tst-tls-atexit.c: Likewise.
24884         * stdlib/tst-xpg-basename.c: Likewise.
24885         * string/test-ffs.c: Likewise.
24886         * string/tst-bswap.c: Likewise.
24887         * string/tst-inlcall.c: Likewise.
24888         * string/tst-strtok.c: Likewise.
24889         * string/tst-strxfrm.c: Likewise.
24890         * sysdeps/x86_64/tst-audit10.c: Likewise.
24891         * sysdeps/x86_64/tst-audit3.c: Likewise.
24892         * sysdeps/x86_64/tst-audit4.c: Likewise.
24893         * sysdeps/x86_64/tst-audit5.c: Likewise.
24894         * time/tst-ftime_l.c: Likewise.
24895         * time/tst-getdate.c: Likewise.
24896         * time/tst-mktime3.c: Likewise.
24897         * time/tst-mktime.c: Likewise.
24898         * time/tst-posixtz.c: Likewise.
24899         * time/tst-strptime2.c: Likewise.
24900         * time/tst-strptime3.c: Likewise.
24901         * wcsmbs/tst-btowc.c: Likewise.
24902         * wcsmbs/tst-mbrtowc.c: Likewise.
24903         * wcsmbs/tst-mbsrtowcs.c: Likewise.
24904         * wcsmbs/tst-wchar-h.c: Likewise.
24905         * wcsmbs/tst-wcpncpy.c: Likewise.
24906         * wcsmbs/tst-wcrtomb.c: Likewise.
24907         * wcsmbs/tst-wcsnlen.c: Likewise.
24908         * wcsmbs/tst-wcstof.c: Likewise.
24910 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
24912         [BZ #14132]
24913         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
24914         INTDEF.
24915         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
24916         declaration.
24917         (_dl_mcount): Use rtld_hidden_proto.
24918         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
24919         _dl_mcount.
24920         * elf/rtld.c (_rtld_global_ro): Likewise.
24922         [BZ #14132]
24923         * elf/dl-init.c (_dl_init): Don't use INTDEF.
24924         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
24925         of _dl_init_internal.
24926         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
24927         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
24928         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
24929         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
24930         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
24931         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
24932         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
24933         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
24934         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
24935         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
24936         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
24937         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
24938         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24939         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24940         * sysdeps/tile/dl-start.S (_start): Likewise.
24941         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
24942         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
24944         [BZ #14132]
24945         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
24946         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
24947         (rtld_progname): Make macro definition unconditional.
24948         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
24949         INTDEF.
24950         (dlmopen_doit): Do not use INTUSE with _dl_argv.
24951         (dl_main): Likewise.
24952         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
24953         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
24954         instead of _dl_argv_internal.
24955         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24956         __GI__dl_argv instead of INTUSE(_dl_argv).
24957         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
24958         __GI__dl_argv instead of _dl_argv_internal.
24960         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
24961         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
24962         macro.
24963         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
24964         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
24965         New macro.
24966         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
24967         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
24968         macro.
24969         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
24970         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
24972 2014-11-04  Andreas Schwab  <schwab@suse.de>
24974         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
24976 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24978         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
24979         mtvsrd instruction in binary form.
24981 2014-11-03  Andreas Schwab  <schwab@suse.de>
24983         [BZ #17522]
24984         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
24985         for less than MB_LEN_MAX use a local buffer of that size.
24986         * libio/tst-fputws.c: New file.
24987         * libio/Makefile (tests): Add tst-fputws.
24989 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
24991         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
24992         the size of the fpu_fr.fpu_dregs[] array.
24994 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
24996         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
24997         (__nanosleep): Do not define as alias.
24998         (nanosleep): Define as alias of __nanosleep.
24999         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
25000         __libc_nanosleep name.
25002 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
25004         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
25005         install.texi in comment.
25007 2014-10-31  Torvald Riegel  <triegel@redhat.com>
25009         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
25010         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
25011         ... add here and use lwsync or sync ...
25012         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
25013         ... and add here using lwsync.
25015 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
25017         * elf/dl-machine-reject-phdr.h: New file.
25018         * elf/dl-load.c: #include that.
25019         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
25020         if that returned true.
25022 2014-10-31  Roland McGrath  <roland@hack.frob.com>
25024         [BZ #17496]
25025         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
25026         gen-as-const-headers chunk.  Add a big scare comment after the last
25027         safe place to touch before-compile.
25029 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
25031         * manual/install.texi (Tools for Compilation): Update autoconf
25032         version requirements.
25033         * INSTALL: Regenerated.
25035         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
25036         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
25037         (__libc_pselect): Likewise.
25039         [BZ #14138]
25040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
25041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25045 2014-10-31  Torvald Riegel  <triegel@redhat.com>
25047         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
25048         correct barrier instruction.
25049         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
25050         Likewise.
25051         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
25052         Likewise.
25054 2014-10-30  Roland McGrath  <roland@hack.frob.com>
25056         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
25057         after defining inlines.  Instead, just use parens to defeat macro
25058         expansion of __isctype in its declaration.
25060 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
25062         * include/sys/uio.h (__libc_readv): Remove declaration.
25063         (__libc_writev): Likewise.
25064         * misc/readv.c (__libc_readv): Rename to __readv.
25065         (__readv): Do not define as alias.
25066         (readv): Define as alias of __readv.
25067         * misc/writev.c (__libc_writev): Rename to __writev.
25068         (__writev): Do not define as alias.
25069         (writev): Define as alias of __writev.
25070         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
25071         (__readv): Do not define as alias.
25072         (readv): Define unconditionally as alias of __readv.
25073         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
25074         (__writev): Do not define as alias.
25075         (writev): Define unconditionally as alias of __writev.
25076         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
25077         name.
25078         (writev): Do not define __libc_writev name.
25080 2014-10-30  Roland McGrath  <roland@hack.frob.com>
25082         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
25083         (convert_charseq): New function, broken out of ...
25084         (use_from_charmap): ... here.  Call it.
25085         (use_to_charmap): Use convert_charseq and free instead of duplicating
25086         its code with a variable-length stack struct.
25088 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
25090         * include/fcntl.h (__libc_creat): Remove declaration.
25091         * io/creat.c (__libc_creat): Rename to creat.
25092         (creat): Do not define as alias.
25093         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
25094         of creat instead of __libc_creat.
25095         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
25096         to creat.
25097         (creat): Do not define as alias.
25098         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
25099         __libc_creat.
25100         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
25101         __libc_creat name.
25102         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
25103         Likewise.
25105 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
25107         * manual/llio.texi: Add comments discussing why write() may be
25108         considered MT-unsafe on Linux.
25110 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
25112         * dl-load.c (local_strdup): Remove.
25113         (expand_dynamic_string_token): Use __strdup.
25114         (decompose_rpath): Likewise.
25115         (_dl_map_object): Likewise.
25117 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
25119         [BZ #14132]
25120         * sysdeps/generic/unwind-dw2-fde.c
25121         (__register_frame_info_bases_internal): Do not declare.
25122         (__register_frame_info_table_bases_internal): Likewise.
25123         (__deregister_frame_info_bases_internal): Likewise.
25124         (__register_frame_info_bases): Declare and use hidden_proto before
25125         definition.  Use hidden_def instead of INTDEF.
25126         (__register_frame_info_table_bases): Likewise.
25127         (__deregister_frame_info_bases): Likewise.
25128         (__register_frame_info): Do not use INTUSE.
25129         (__register_frame): Likewise.
25130         (__register_frame_info_table): Likewise.
25131         (__register_frame_table): Likewise.
25132         (__deregister_frame_info): Likewise.
25133         (__deregister_frame): Likewise.
25135 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
25137         * sysdeps/unix/sysv/linux/arm/kernel-features.h
25138         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
25139         not undefine.
25140         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
25141         Likewise.
25142         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
25143         Likewise.
25145 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
25147         [BZ #14138]
25148         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
25149         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
25150         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
25151         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
25152         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
25153         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
25154         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
25155         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
25156         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
25157         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
25158         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
25159         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
25160         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
25161         syscall.
25162         (setfsuid): Likewise.
25163         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
25164         (setfsuid): Likewise.
25165         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
25166         (setfsuid): Likewise.
25167         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
25168         Likewise.
25169         (setfsuid): Likewise.
25170         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
25171         (setfsuid): Likewise.
25172         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
25173         Likewise.
25174         (setfsuid): Likewise.
25176 2014-10-27  Andreas Schwab  <schwab@suse.de>
25178         [BZ #17501]
25179         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
25180         check for Slow_SSE4_2 feature bit.
25181         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
25182         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
25183         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
25184         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
25186 2014-10-24  Roland McGrath  <roland@hack.frob.com>
25188         * configure.ac: Validate compiler version with a empirical test of
25189         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
25190         $CC -v output.
25191         * configure: Regenerated.
25193         * inet/htons.c (htons): Prototypify.
25194         * inet/htonl.c (htonl): Likewise.
25196 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25198         * string/strncat.c (strncat): Improve performance by using strlen.
25200 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25202         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
25204 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25206         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
25207         Call libc_fetestexcept_aarch64.
25209 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25211         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
25212         Call libc_feholdexcept_aarch64.
25214 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25216         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
25217         Call get_rounding_mode.
25219 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25221         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
25222         Simplify logic.
25224 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
25226         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
25227         Simplify logic.
25229 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
25231         [BZ #14138]
25232         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
25233         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
25234         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
25235         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
25236         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
25237         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
25238         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
25239         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
25240         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
25241         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
25242         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25243         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
25244         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
25245         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
25246         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
25247         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
25248         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
25249         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
25250         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
25251         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
25252         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
25253         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
25254         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
25255         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
25256         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
25257         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
25258         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
25259         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
25260         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
25261         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
25262         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
25263         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
25264         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
25265         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
25266         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
25267         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
25268         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
25269         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
25270         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
25271         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
25272         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
25273         syscall.
25274         (geteuid): Likewise.
25275         (getgid): Likewise.
25276         (getuid): Likewise.
25277         (getresgid): Likewise.
25278         (getresuid): Likewise.
25279         (getgroups): Likewise.
25280         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
25281         (geteuid): Likewise.
25282         (getgid): Likewise.
25283         (getuid): Likewise.
25284         (getresgid): Likewise.
25285         (getresuid): Likewise.
25286         (getgroups): Likewise.
25287         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
25288         (geteuid): Likewise.
25289         (getgid): Likewise.
25290         (getuid): Likewise.
25291         (getresgid): Likewise.
25292         (getresuid): Likewise.
25293         (getgroups): Likewise.
25294         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
25295         Likewise.
25296         (geteuid): Likewise.
25297         (getgid): Likewise.
25298         (getuid): Likewise.
25299         (getresgid): Likewise.
25300         (getresuid): Likewise.
25301         (getgroups): Likewise.
25302         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
25303         (geteuid): Likewise.
25304         (getgid): Likewise.
25305         (getuid): Likewise.
25306         (getresgid): Likewise.
25307         (getresuid): Likewise.
25308         (getgroups): Likewise.
25309         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
25310         Likewise.
25311         (geteuid): Likewise.
25312         (getgid): Likewise.
25313         (getuid): Likewise.
25314         (getgroups): Likewise.
25316         [BZ #14138]
25317         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
25318         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
25319         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
25320         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25321         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
25322         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
25323         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
25324         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
25325         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
25326         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
25327         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
25328         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
25329         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
25330         __chown.
25331         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
25332         (lchown): Likewise.
25333         (fchown): Likewise.
25334         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
25335         Likewise.
25336         (lchown): Likewise.
25337         (fchown): Likewise.
25338         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
25339         (lchown): Likewise.
25340         (fchown): Likewise.
25341         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
25342         Likewise.
25343         (lchown): Likewise.
25344         (fchown): Likewise.
25346 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
25348         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
25349         Simplify logic.
25351 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
25353         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
25354         Cleanup logic.
25356 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
25358         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
25359         Remove unused include.
25361 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
25363         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
25364         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
25365         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
25366         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
25368 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
25369             Helge Deller <deller@gmx.de>
25371         [BZ #17508]
25372         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
25373         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
25374         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
25376 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
25378         [BZ #14132]
25379         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
25380         Remove macro definition.
25381         (__ashrdi3_v_glibc20): Likewise.
25382         (__lshrdi3_v_glibc20): Likewise.
25383         (__cmpdi2_v_glibc20): Likewise.
25384         (__ucmpdi2_v_glibc20): Likewise.
25385         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
25386         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
25387         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
25388         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
25389         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
25390         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
25392 2014-10-22  Roland McGrath  <roland@hack.frob.com>
25394         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
25395         old GNU extension [0] syntax.
25396         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
25397         alloca rather than an array member with variable length.
25398         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
25399         * nscd/nscd.c (invalidate_db): New function, broken out of ...
25400         (parse_opt): ... here.  Likewise use alloca there.
25401         Validate the -i argument before checking for rootness.
25402         (send_shutdown): New function, broken out of ...
25403         (parse_opt): ... here.
25405 2014-10-22  Roland McGrath  <roland@hack.frob.com>
25407         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
25408         macro to get at the _rt_local_ro field.
25409         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
25410         ([PIC] case) or _dl_hwcap ([!PIC] case).
25411         * sysdeps/arm/setjmp.S: Likewise.
25413         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
25414         * sysdeps/arm/configure.ac: New check to define it.
25415         * sysdeps/arm/configure: Regenerated.
25416         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
25417         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
25418         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
25419         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
25420         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
25421         Use move/movt pair instead of a load.
25422         (LDST_GLOBAL): Macro removed.
25423         (LDR_GLOBAL): New macro replaces it.
25424         (LDR_HIDDEN): New macro.
25425         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
25426         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
25428         * setjmp/tst-setjmp-static.c: New file.
25429         * setjmp/Makefile (tests): Add it.
25430         (tests-static): New variable.
25432 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
25434         [BZ #17485]
25435         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
25437 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
25439         [BZ #14132]
25440         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
25442 2014-10-21  Roland McGrath  <roland@hack.frob.com>
25444         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
25446 2014-10-20  Roland McGrath  <roland@hack.frob.com>
25448         * io/fts.c (dirent_not_directory): New function.
25449         (fts_build): Call it.
25451 2014-10-20  Roland McGrath  <roland@hack.frob.com>
25453         * nptl/version.c (__nptl_main): Use normal __write rather than
25454         INTERNAL_SYSCALL.
25455         (banner): Update copyright years.
25457         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
25458         gettimeofday.
25459         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
25460         * nptl/pthread_cond_timedwait.c: Likewise.
25461         * nptl/pthread_mutex_timedlock.c: Likewise.
25462         * nptl/sem_timedwait.c: Likewise.
25464         * sysdeps/nptl/bits/libc-lock.h
25465         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
25466         (__libc_lock_init_recursive): Return void, not 0.
25467         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
25468         (__libc_rwlock_init): Likewise.
25469         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
25471 2014-10-20  Torvald Riegel  <triegel@redhat.com>
25473         [BZ #15215]
25474         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
25475         (__pthread_once_slow): ... here.
25476         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
25477         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
25479 2014-10-20  Torvald Riegel  <triegel@redhat.com>
25481         [BZ #15215]
25482         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
25483         __PTHREAD_ONCE_FORK_GEN_INCR): New.
25484         * sysdeps/nptl/fork.c (__libc_fork): Use them.
25485         * nptl/pthread_once.c (__pthread_once): Likewise.
25486         Update comments.
25488 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
25490         [BZ #14138]
25491         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
25492         name.
25493         (writev): Use __libc_writev as strong name.
25494         * sysdeps/unix/sysv/linux/readv.c: Remove file.
25495         * sysdeps/unix/sysv/linux/writev.c: Likewise.
25497 2014-10-17  Roland McGrath  <roland@hack.frob.com>
25499         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
25501         * sysdeps/i386/nptl/tls.h
25502         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
25503         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
25504         New macros.
25505         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
25506         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
25507         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
25508         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
25509         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
25510         Call CHECK_THREAD_SYSINFO instead of doing an assert.
25512         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
25513         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
25514         on [__NR_futex].
25515         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
25516         broken out of ...
25517         (__pthread_mutex_init): ... here.  Call it.
25518         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
25519         Conditionalize PI cases on [__NR_futex].
25520         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
25521         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
25522         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
25524         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
25525         conditional on [SIGSETXID].
25526         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
25527         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
25528         is defined.  Likewise for SIGSETXID.
25529         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
25530         Conditionalize definitions on [SIGSETXID].
25531         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
25532         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
25533         unblocking on [SIGCANCEL].
25535         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
25536         [__NR_set_robust_list].
25538 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25540         * string/strcoll_l.c (get_next_seq): Fix up formatting.
25541         (do_compare): Likewise.
25543 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
25545         [BZ #15884]
25546         * string/strcoll_l.c: Don't include stdio.h.
25547         (coll_seq): Remove members idxarr and rulearr.
25548         (get_next_seq_cached): Remove function.
25549         (get_next_seq): Likewise.
25550         (get_next_seq_nocache): Rename to get_next_seq.
25551         (do_compare): Remove function.
25552         (do_compare_nocache): Rename to do_compare.
25553         (STRCOLL): Remove weight and rules cache.
25555 2014-10-16  Roland McGrath  <roland@hack.frob.com>
25557         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
25558         * sysdeps/arm/sfp-machine.h: ... to here.
25559         * sysdeps/arm/Implies: Remove arm/soft-fp.
25561 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
25563         * conform/data/sys/utsname.h-data (*_t): Allow.
25564         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
25565         [POSIX] (WEXITED): Do not expect constant.
25566         [POSIX] (WSTOPPED): Likewise.
25567         [POSIX] (WNOHANG): Likewise.
25568         [POSIX] (WNOWAIT): Likewise.
25569         [POSIX] (siginfo_t): Do not expect type or elements.
25570         [POSIX] (pid_t): Do not expect type.
25571         [POSIX] (signal.h): Do not allow header.
25572         [POSIX] (sys/resource.h): Likewise.
25573         [POSIX] (si_*): Do not allow pattern.
25574         [POSIX] (W*): Likewise.
25575         [POSIX] (P_*): Likewise.
25576         [POSIX] (BUS_*): Likewise.
25577         [POSIX] (CLD_*): Likewise.
25578         [POSIX] (FPE_*): Likewise.
25579         [POSIX] (ILL_*): Likewise.
25580         [POSIX] (POLL_*): Likewise.
25581         [POSIX] (SEGV_*): Likewise.
25582         [POSIX] (SI_*): Likewise.
25583         [POSIX] (TRAP_*): Likewise.
25584         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
25585         variable.
25587 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
25589         [BZ #12926]
25590         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
25591         infinite loop when __recvmsg returns 0.
25593 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
25595         * CANCEL-FCT-WAIVE: Remove file.
25596         * CANCEL-FILE-WAIVE: Likewise.
25598         [BZ #14132]
25599         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
25600         instead of INTVARDEF.
25601         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
25602         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
25603         rtld_hidden_data_def instead of INTVARDEF.
25604         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
25605         * elf/dl-deps.c (expand_dst): Likewise.
25606         * elf/dl-load.c (_dl_dst_count): Likewise.
25607         (_dl_dst_substitute): Likewise.
25608         (decompose_rpath): Likewise.
25609         (_dl_init_paths): Likewise.
25610         (open_path): Likewise.
25611         (_dl_map_object): Likewise.
25612         * elf/rtld.c (dl_main): Likewise.
25613         (process_dl_audit): Likewise.
25614         (process_envvars): Likewise.
25615         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
25616         Remove declaration.
25617         (__libc_enable_secure): Use rtld_hidden_proto.
25619 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25621         * elf/dl-load.c
25622         (add_path): New function broken out of _dl_rtld_di_serinfo.
25623         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
25625 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
25627         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
25628         parentheses around macro arguments.
25629         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
25630         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
25631         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
25632         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
25633         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
25634         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
25635         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
25636         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
25637         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
25638         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
25639         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
25640         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
25641         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
25642         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
25643         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
25644         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
25645         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
25646         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
25647         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
25648         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
25649         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
25650         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
25651         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
25652         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
25653         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
25654         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
25655         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
25656         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
25657         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
25658         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
25659         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
25660         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
25661         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
25662         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
25663         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
25664         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
25665         Likewise.
25666         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
25667         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
25668         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
25669         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
25670         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
25671         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
25672         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
25673         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
25674         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
25675         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
25676         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
25677         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
25678         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
25679         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
25680         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
25681         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
25682         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
25683         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
25684         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
25685         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
25686         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
25687         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
25688         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
25689         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
25690         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
25691         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
25692         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
25693         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
25694         (_FP_FRAC_SRS_1): Likewise.
25695         (_FP_FRAC_CLZ_1): Likewise.
25696         (_FP_MUL_MEAT_1_imm): Likewise.
25697         (_FP_MUL_MEAT_1_wide): Likewise.
25698         (_FP_MUL_MEAT_1_hard): Likewise.
25699         (_FP_SQRT_MEAT_1): Likewise.
25700         (_FP_FRAC_ASSEMBLE_1): Likewise.
25701         (_FP_FRAC_DISASSEMBLE_1): Likewise.
25702         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
25703         (__FP_CLZ_2): Likewise.
25704         (_FP_MUL_MEAT_2_wide): Likewise.
25705         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
25706         (_FP_MUL_MEAT_2_gmp): Likewise.
25707         (_FP_MUL_MEAT_2_120_240_double): Likewise.
25708         (_FP_SQRT_MEAT_2): Likewise.
25709         (_FP_FRAC_ASSEMBLE_2): Likewise.
25710         (_FP_FRAC_DISASSEMBLE_2): Likewise.
25711         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
25712         (_FP_FRAC_CLZ_4): Likewise.
25713         (_FP_MUL_MEAT_4_wide): Likewise.
25714         (_FP_MUL_MEAT_4_gmp): Likewise.
25715         (_FP_SQRT_MEAT_4): Likewise.
25716         (_FP_FRAC_ASSEMBLE_4): Likewise.
25717         (_FP_FRAC_DISASSEMBLE_4): Likewise.
25718         * soft-fp/op-common.h (_FP_CMP): Likewise.
25719         (_FP_CMP_EQ): Likewise.
25720         (_FP_CMP_UNORD): Likewise.
25721         (_FP_TO_INT): Likewise.
25722         (_FP_FROM_INT): Likewise.
25723         [!__FP_CLZ] (__FP_CLZ): Likewise.
25724         (_FP_DIV_HELP_imm): Likewise.
25725         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
25726         Likewise.
25727         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
25728         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
25729         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
25730         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
25731         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
25732         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
25733         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
25734         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
25735         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
25736         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
25737         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
25738         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
25739         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
25740         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
25741         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
25742         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
25743         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
25744         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
25745         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
25746         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
25747         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
25748         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
25749         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
25750         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
25751         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
25752         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
25753         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
25754         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
25755         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
25756         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
25757         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
25758         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
25759         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
25760         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
25761         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
25762         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
25763         (FP_UNPACK_RAW_SP): Likewise.
25764         (FP_PACK_RAW_S): Likewise.
25765         (FP_PACK_RAW_SP): Likewise.
25766         (FP_UNPACK_S): Likewise.
25767         (FP_UNPACK_SP): Likewise.
25768         (FP_UNPACK_SEMIRAW_S): Likewise.
25769         (FP_UNPACK_SEMIRAW_SP): Likewise.
25770         (FP_PACK_S): Likewise.
25771         (FP_PACK_SP): Likewise.
25772         (FP_PACK_SEMIRAW_S): Likewise.
25773         (FP_PACK_SEMIRAW_SP): Likewise.
25774         (_FP_SQRT_MEAT_S): Likewise.
25775         (FP_CMP_S): Likewise.
25776         (FP_CMP_EQ_S): Likewise.
25777         (FP_CMP_UNORD_S): Likewise.
25778         (FP_TO_INT_S): Likewise.
25779         (FP_FROM_INT_S): Likewise.
25781         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
25783         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
25784         (FP_EX_INVALID_IMZ): Likewise.
25785         (FP_EX_INVALID_IMZ_FMA): Likewise.
25786         (FP_EX_INVALID_ISI): Likewise.
25787         (FP_EX_INVALID_ZDZ): Likewise.
25788         (FP_EX_INVALID_IDI): Likewise.
25789         (FP_EX_INVALID_SQRT): Likewise.
25790         (FP_EX_INVALID_CVI): Likewise.
25791         (FP_EX_INVALID_VC): Likewise.
25792         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
25793         "invalid" exceptions.
25794         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
25795         (_FP_ADD_INTERNAL): Likewise.
25796         (_FP_MUL): Likewise.
25797         (_FP_FMA): Likewise.
25798         (_FP_DIV): Likewise.
25799         (_FP_CMP_CHECK_NAN): Likewise.
25800         (_FP_SQRT): Likewise.
25801         (_FP_TO_INT): Likewise.
25802         (FP_EXTEND): Likewise.
25804 2014-10-09  Allan McRae  <allan@archlinux.org>
25806         * po/fr.po: Update French translation from translation project.
25808 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
25810         [BZ #14132]
25811         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
25812         of INTDEF.
25813         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
25814         (__cxa_atexit): Use libc_hidden_proto.
25815         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
25817         [BZ #14132]
25818         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
25819         declaration.
25820         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
25821         [!_ISOMAC] (__iswspace_l_internal): Likewise.
25822         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
25823         [!_ISOMAC] (__iswctype_internal): Likewise.
25824         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
25825         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
25826         alias.
25827         (fcntl): Remove __fcntl_internal alias.
25828         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
25829         __connect_internal alias.
25830         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
25831         Likewise.
25833         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
25834         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
25835         FP_DENORM_ZERO.
25836         (_FP_CHECK_FLUSH_ZERO): New macro.
25837         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
25838         (_FP_CMP): Likewise.
25839         (_FP_CMP_EQ): Likewise.
25840         (_FP_TO_INT): Do not set inexact for subnormal arguments if
25841         FP_DENORM_ZERO.
25842         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
25843         (FP_TRUNC): Likewise.
25845         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
25846         treated as invalid conversion, not as normal exponent.
25848         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
25849         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
25850         (_FP_CMP_EQ): Likewise.
25851         (_FP_CMP_UNORD): Likewise.
25852         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
25853         (FP_CMP_EQ_D): Likewise.
25854         (FP_CMP_UNORD_D): Likewise.
25855         * soft-fp/extended.h (FP_CMP_E): Likewise.
25856         (FP_CMP_EQ_E): Likewise.
25857         (FP_CMP_UNORD_E): Likewise.
25858         * soft-fp/quad.h (FP_CMP_Q): Likewise.
25859         (FP_CMP_EQ_Q): Likewise.
25860         (FP_CMP_UNORD_Q): Likewise.
25861         * soft-fp/single.h (FP_CMP_S): Likewise.
25862         (FP_CMP_EQ_S): Likewise.
25863         (FP_CMP_UNORD_S): Likewise.
25864         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
25865         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
25866         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
25867         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
25868         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
25869         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
25870         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
25871         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
25872         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
25873         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
25874         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
25875         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
25876         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
25877         to FP_CMP_Q.
25878         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
25879         FP_CMP_Q.
25880         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
25881         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
25882         FP_CMP_EQ_Q.
25883         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
25884         FP_CMP_Q.
25885         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
25886         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
25887         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
25888         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
25889         FP_CMP_EQ_Q.
25890         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
25891         FP_CMP_Q.
25892         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
25893         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
25894         FP_CMP_EQ_Q.
25895         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
25896         FP_CMP_Q.
25897         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
25898         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
25899         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
25900         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
25901         FP_CMP_EQ_Q.
25903         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
25904         a subnormal result, set the underflow exception if trapping on
25905         underflow is enabled.
25906         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
25907         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
25908         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
25909         redefine to 0.
25910         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
25911         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
25912         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
25913         * soft-fp/extendxftf2.c (__extendxftf2): Use
25914         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
25916         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
25917         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
25918         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25919         FP_HANDLE_EXCEPTIONS.
25920         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
25921         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25922         FP_HANDLE_EXCEPTIONS.
25923         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
25924         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25925         FP_HANDLE_EXCEPTIONS.
25926         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
25927         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25928         FP_HANDLE_EXCEPTIONS.
25930 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
25932         [BZ #14132]
25933         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
25934         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
25935         use INTUSE.
25936         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
25937         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
25938         Remove alias.
25939         (__adjtimex): Define using libc_hidden_ver.
25940         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
25941         Remove declaration.
25942         (ntp_gettime): Call __adjtimex directly.
25943         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
25944         Remove declaration.
25945         (ntp_gettimex): Call __adjtimex directly.
25946         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
25947         __adjtimex_internal alias.
25949 2014-10-08  Roland McGrath  <roland@hack.frob.com>
25951         [BZ #17460]
25952         * nscd/nscd.c (more_help): Rewrite list of tables collection
25953         using xstrdup and asprintf.
25955         * nscd/nscd_conf.c: Remove local xstrdup declaration.
25957 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25958             Roland McGrath  <roland@hack.frob.com>
25960         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
25961         (do_lookup_unique): ... local function 'enter' here; update callers.
25963 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
25965         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
25966         compat_symbol calls on [SHARED].
25967         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
25968         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
25969         Remove.
25970         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25971         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
25972         (oldsetrlimit): Remove.
25973         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
25975         (lchown): New syscall entry.
25976         (oldsetrlimit): Remove.
25977         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25978         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
25979         (oldsetrlimit): Remove.
25980         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25982         [BZ #14138]
25983         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
25984         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
25985         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
25986         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
25987         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
25988         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
25989         (fchown): Likewise.
25990         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
25991         (fchown): Likewise.
25992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
25993         Likewise.
25995 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25997         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
25998         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
25999         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
26000         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
26001         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
26002         Likewise.
26003         (__old_sem_post): Likewise.
26005 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
26007         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
26008         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
26009         HAVE_CLOCK_GETTIME_VSYSCALL macros.
26010         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
26011         Use INLINE_VSYSCALL macro.
26012         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
26013         __vdso_clock_gettime.
26014         * sysdeps/unix/sysv/linux/tile/init-first.c
26015         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
26016         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
26017         __vdso_clock_gettime.
26019         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
26020         to set up frame more cleanly.
26022         * sysdeps/tile/memcmp.c: New file.
26024         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
26026         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
26027         * sysdeps/tile/tilegx/strcasestr.c: New file.
26028         * sysdeps/tile/tilegx/strnlen.c: New file.
26029         * sysdeps/tile/tilegx/strstr.c: New file.
26031         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
26033 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
26035         * nptl/tst-setuid3.c: Write errors to stdout.
26037 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26039         * elf/dl-deps.c
26040         (preload): New functions broken out of _dl_map_object_deps.
26041         (_dl_map_object_deps):  Remove a nested function. Update call sites.
26043 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
26045         [BZ #14138]
26046         * sysdeps/unix/sysv/linux/execve.c: Remove file.
26047         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
26049 2014-10-01  Steve Ellcey  <sellcey@mips.com>
26051         * sysdeps/mips/strcmp.S: New.
26053 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
26055         [BZ #14138]
26056         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
26057         (linkat): Likewise.
26058         (mkdirat): Likewise.
26059         (readlinkat): Likewise.
26060         (renameat): Likewise.
26061         (symlinkat): Likewise.
26062         (unlinkat): Likewise.
26063         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
26064         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
26065         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
26066         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
26067         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
26068         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
26069         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
26071 2014-09-30  Will Newton  <will.newton@linaro.org>
26073         * math/math.h: Define long double math functions if
26074         _LIBC_TEST is defined.
26075         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
26077         * localedata/Makefile: Move assignment to tests-special
26078         into an ifdef testing run-built-tests.
26079         * timezone/Makefile: Likewise.
26081 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
26083         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
26084         with $(BASH) not $(SHELL).
26086 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
26087             Matthew LeGendre  <legendre1@llnl.gov>
26089         [BZ #17411]
26090         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
26091         l_reloc_result.
26093 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26095         * stdio-common/printf_fp.c
26096         (hack_digit): New function, broken out of ...
26097         (__printf_fp): ... local function here.  Update call sites.
26098         hack_digit now takes an additional parameter that is a pointer
26099         to a struct of the referenced locals.  Those locals moved inside
26100         the struct and references updated.
26102 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
26104         * aclocal.m4: Require autoconf 2.69.
26105         * configure: Regenerated.
26106         * sysdeps/aarch64/configure: Likewise.
26107         * sysdeps/alpha/configure: Likewise.
26108         * sysdeps/arm/armv7/configure: Likewise.
26109         * sysdeps/arm/configure: Likewise.
26110         * sysdeps/ia64/configure: Likewise.
26111         * sysdeps/mach/configure: Likewise.
26112         * sysdeps/mips/configure: Likewise.
26113         * sysdeps/s390/configure: Likewise.
26114         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
26115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
26117         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
26118         file.
26119         * sysdeps/ia64/configure.ac: Likewise.
26121 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
26123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
26124         specify symbol version for ld.so.  Do not include entry for
26125         libpthread.
26126         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
26127         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
26128         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
26130         [BZ #14171]
26131         * Makeconfig [$(build-shared) = yes]
26132         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
26133         makefiles.
26134         [$(build-shared) = yes && $(soversions.mk-done) = t]
26135         ($(common-objpfx)gnu/lib-names.h): Remove rule.
26136         [$(build-shared) = yes && $(soversions.mk-done) = t]
26137         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
26138         to Makerules.
26139         [$(build-shared) = yes && $(soversions.mk-done) = t]
26140         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
26141         here.
26142         [$(build-shared) = yes && $(soversions.mk-done) = t]
26143         (common-generated): Don't append gnu/lib-names.h and
26144         gnu/lib-names.stmp here.
26145         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
26146         (lib-names-h-abi): New variable.
26147         [$(build-shared) = yes && $(soversions.mk-done) = t]
26148         (lib-names-stmp-abi): Likewise.
26149         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26150         abi-variants] (before-compile): Append
26151         $(common-objpfx)$(lib-names-h-abi).
26152         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26153         abi-variants] (common-generated): Append gnu/lib-names.h.
26154         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26155         abi-variants] (install-others-nosubdir): Depend on
26156         $(inst_includedir)/$(lib-names-h-abi).
26157         [$(build-shared) = yes && $(soversions.mk-done) = t &&
26158         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
26159         [$(build-shared) = yes && $(soversions.mk-done) = t]
26160         ($(common-objpfx)$(lib-names-h-abi)): New rule.
26161         [$(build-shared) = yes && $(soversions.mk-done) = t]
26162         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
26163         [$(build-shared) = yes && $(soversions.mk-done) = t]
26164         (common-generated): Append $(lib-names-h-abi) and
26165         $(lib-names-stmp-abi).
26166         * scripts/lib-names.awk: Do not handle multi being set.
26167         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
26168         Remove variable.
26169         (abi-lp64_be-ld-soname): Likewise.
26170         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
26171         Likewise.
26172         (abi-hard-ld-soname): Likewise.
26173         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
26174         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
26175         Remove variable.
26176         (abi-o32_hard-ld-soname): Likewise.
26177         (abi-o32_soft_2008-ld-soname): Likewise.
26178         (abi-o32_hard_2008-ld-soname): Likewise.
26179         (abi-n32_soft-ld-soname): Likewise.
26180         (abi-n32_hard-ld-soname): Likewise.
26181         (abi-n32_soft_2008-ld-soname): Likewise.
26182         (abi-n32_hard_2008-ld-soname): Likewise.
26183         (abi-n64_soft-ld-soname): Likewise.
26184         (abi-n64_hard-ld-soname): Likewise.
26185         (abi-n64_soft_2008-ld-soname): Likewise.
26186         (abi-n64_hard_2008-ld-soname): Likewise.
26187         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
26188         Likewise.
26189         (abi-64-v2-ld-soname): Likewise.
26190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
26191         ld.so entries.
26192         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
26193         variable.
26194         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
26195         entry.
26196         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
26197         variable.
26198         (abi-64-ld-soname): Likewise.
26199         (abi-x32-ld-soname): Likewise.
26200         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
26201         entry.
26202         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
26204 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
26206         [BZ #14138]
26207         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
26208         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
26209         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
26210         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
26211         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
26212         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
26213         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
26214         syscall entry for GLIBC_2.2 symbol version.
26215         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
26216         Likewise.
26217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
26218         (setrlimit): Likewise.
26219         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
26220         Likewise.
26222 2014-09-23  Will Newton  <will.newton@linaro.org>
26224         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
26225         _LINUX_ARM_SYSDEP_H include guard too.
26226         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
26227         define.
26229 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
26231         * sysdeps/unix/sysv/linux/eventfd.c:
26232         Make first argument unsigned.
26233         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
26234         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
26236 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
26238         [BZ #16852]
26239         * socket/recvmmsg.c (recvmmsg): Drop const argument.
26240         * socket/sys/socket.h: Likewise.
26241         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
26243 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26245         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
26247 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
26249         * time/tst-ftime.c: New test.
26250         * time/Makefile (tests): Add tst-ftime.
26252 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
26254         * soft-fp/extended.h: Fix comment formatting.
26255         * soft-fp/op-1.h: Likewise.
26256         * soft-fp/op-2.h: Likewise.
26257         * soft-fp/op-4.h: Likewise.
26258         * soft-fp/op-8.h: Likewise.
26259         * soft-fp/op-common.h: Likewise.
26260         * soft-fp/soft-fp.h: Likewise.
26262         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
26264 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
26266         [BZ #6652]
26267         * Makeconfig (soversions-default-setname): Remove variable.
26268         ($(common-objpfx)soversions.i): Don't pass default_setname to
26269         soversions.awk.
26270         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
26271         oldest_abi to abi-versions.awk.
26272         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
26273         * config.make.in (oldest-abi): Remove variable.
26274         * configure.ac (--enable-oldest-abi): Remove configure option.
26275         * configure: Regenerated.
26276         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
26277         text.
26278         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
26279         * scripts/soversions.awk: Do not handle default_setname variable.
26280         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
26281         variable.
26282         * sysdeps/mach/hurd/configure: Regenerated.
26283         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
26284         variable.
26285         * sysdeps/unix/sysv/linux/configure: Regenerated.
26287 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26289         * elf/Makefile (CFLAGS-interp.c): Remove.
26290         ($(elf-objpfx)runtime-linker.h): Generate header with linker
26291         path string.
26292         * elf/interp.c: Include generated runtime-linker.h
26294         * Makerules (lib%.so): Don't include $(+interp) in
26295         prerequisites.
26296         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
26297         * dlfcn/eval.c: Remove file.
26299         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
26300         macros.
26302         [BZ #17266]
26303         * misc/sys/cdefs.h: Define __extern_always_inline for clang
26304         4.2 and newer.
26306         [BZ #17370]
26307         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
26309 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26310             Jakub Jelinek  <jakub@redhat.com>
26312         [BZ #17266]
26313         * libio/stdio.h: Check definition of __fortify_function
26314         instead of __extern_always_inline to include bits/stdio2.h.
26315         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
26316         check if __extern_always_inline is defined.
26317         [__USE_MISC || __USE_XOPEN]: Likewise.
26318         [__USE_ISOC99] Likewise.
26319         * misc/sys/cdefs.h (__fortify_function): Define only if
26320         __extern_always_inline is defined.
26321         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
26322         __extern_always_inline and __extern_inline only for g++-4.3
26323         and newer or a compatible gcc.
26325 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
26327         [BZ #17371]
26328         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
26329         last change to handle zero prefix length.
26331 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26333         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
26334         _SC_REGEX_VERSION.
26336         * posix/getconf.c (vars): Add _POSIX_IPV6 and
26337         _POSIX_RAW_SOCKETS.
26339 2014-09-13  Allan McRae  <allan@archlinux.org>
26341         * po/ru.po: Update Russian translation from translation project.
26343 2014-09-12  Roland McGrath  <roland@hack.frob.com>
26345         * locale/programs/locale.c (show_locale_vars): Inline local function
26346         into its sole call site.  Clean up some style nits.
26347         (print_item): New function, broken out of ...
26348         (show_info): ... local function here.  Clean up style nits.
26350         * locale/programs/ld-ctype.c (set_one_default): New function, broken
26351         out of ...
26352         (set_class_defaults): ... local function set_default here.
26353         Define set_default as a macro locally to pass constant parameters.
26354         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
26355         rather than a shared local.
26357         * stdlib/rpmatch.c (try): New function, broken out of ...
26358         (rpmatch): ... local function here.  Also, prototypify definition.
26360 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
26362         * scripts/soversions.awk: Do not handle configuration names.
26363         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
26364         vendor and os variables to soversions.awk.
26365         * configure.ac: Do not modify gnu-* host_os.
26366         * configure: Regenerated
26367         * shlib-versions: Remove first column with configuration names.
26368         * nptl/shlib-versions: Likewise.
26369         * nptl_db/shlib-versions: Likewise.
26370         * sysdeps/hppa/shlib-versions: Likewise.
26371         * sysdeps/m68k/shlib-versions: Likewise.
26372         * sysdeps/mach/hurd/shlib-versions: Likewise.
26373         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
26374         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
26375         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
26376         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
26377         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
26378         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
26379         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
26380         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
26381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
26382         Likewise.
26383         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
26384         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
26385         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
26386         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
26387         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
26388         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
26389         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
26390         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
26392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
26393         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
26394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
26395         Regenerated.
26396         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
26397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
26398         Condition symbol version definitions on [HAVE_ELFV2_ABI].
26400         * shlib-versions: Remove OS-specific entries.  Moved to files in
26401         sysdeps.
26402         * sysdeps/mach/hurd/shlib-versions: New file.
26403         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
26405         * nptl/shlib-versions: Remove architecture-specific entries.
26406         Moved to files in sysdeps.
26407         * shlib-versions: Likewise.
26408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
26409         file.
26410         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
26411         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
26412         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
26413         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
26415         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
26416         (UDP_NO_CHECK6_RX): Likewise.
26418 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26420         * sysdeps/posix/sysconf.c (__sysconf): Spell
26421         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
26423 2014-08-12  Florian Weimer  <fweimer@redhat.com>
26425         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
26426         loading.
26427         * iconv/Versions (__gconv_transliterate): Export for use from
26428         gconv modules.
26429         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
26430         (struct __gconv_trans_data, __gconv_trans_fct,
26431         __gconv_trans_context_fct, __gconv_trans_query_fct,
26432         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
26433         definitions.
26434         (struct __gconv_step_data): Remove __trans member.
26435         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
26436         longer hidden.  Remove unused trans_data argument.
26437         * iconv/gconv_int.h (struct trans_struct): Remove definition.
26438         (__gconv_translit_find): Remove declaration.
26439         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
26440         prototype.
26441         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
26442         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
26443         trans_data argument.  Add hidden definition.
26444         (__gconv_translit_find): Remove.
26445         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
26446         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
26447         * iconv/skeleton.c: Remove transliteration initialization.
26448         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
26449         __gconv_step_data initialization.
26450         * libio/iofwide.c (__libio_translit_): Remove.
26451         (_IO_fwide): Adjust struct __gconv_step_data initialization.
26452         * wcsmbs/btowc.c (__btowc): Likewise.
26453         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
26454         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
26455         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
26456         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
26457         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
26458         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
26459         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
26460         * wcsmbs/wctob.c (wctob): Likewise.
26462 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26464         [BZ #16194]
26465         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
26466         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
26467         register usage.
26468         * sysdeps/x86/Makefile: Adjust.
26470 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26471             Roland McGrath  <roland@hack.frob.com>
26473         * locale/weight.h: Add include guard.
26474         (findidx): Make static rather than auto; take new parameters
26475         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
26476         * locale/weightwc.h: Likewise.
26477         * posix/fnmatch_loop.c
26478         (FCT): Change type of EXTRA from int32_t to wint_t.
26479         Don't include either header inside the function.
26480         Call FINDIDX rather than findidx, and pass new arguments.
26481         #undef FINDIDX at the end of the file.
26482         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
26483         FINDIDX before including fnmatch_loop.c for the non-wide version.
26484         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
26485         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
26486         for the wide version.
26487         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
26488         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
26489         Pass new arguments to findidx.
26490         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
26491         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
26492         Don't #include it inside the function.  Pass new arguments to findidx.
26493         * posix/regex_internal.h
26494         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
26495         (re_string_elem_size_at): Don't #include it inside the function.
26496         Pass new arguments to findidx.
26497         * string/strcoll_l.c: #include WEIGHT_H at top level.
26498         (get_next_seq): Don't #include it inside the function.
26499         Pass new arguments to findidx.
26500         (get_next_seq_nocache): Likewise.
26501         * string/strxfrm_l.c: #include WEIGHT_H at top level.
26502         (STRXFRM): Don't #include it inside the function.
26503         Pass new arguments to findidx.
26505 2014-09-11  Florian Weimer  <fweimer@redhat.com>
26507         [BZ #17344]
26508         * malloc/malloc.c (unlink): Turn asserts into a call to
26509         malloc_printerr.
26511 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
26513         [BZ #17370]
26514         * libio/wfileops (do_ftell_wide): Free OUT.
26516 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
26518         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
26520 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26522         [BZ #17363]
26523         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
26524         group if the current group is empty.
26526 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26528         * benchtests/bench-memset.c (test_main): Add more test from size
26529         from 32 to 512 bytes.
26530         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26531         Add POWER8 memset object.
26532         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26533         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
26534         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
26535         implementation.
26536         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
26537         Likewise.
26538         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
26539         multiarch POWER8 memset optimization.
26540         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
26541         POWER8 memset optimization.
26543         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26544         Remove bzero multiarch objects.
26545         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
26546         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
26547         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
26548         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
26549         Remove define.
26550         [__bzero]: Redefine to specific name.
26551         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
26552         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
26553         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
26554         define.
26555         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
26556         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
26558 2014-09-10  Florian Weimer  <fweimer@redhat.com>
26560         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
26561         warnings into errors.
26563         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
26564         __cxa_thread_atexit_impl prototype.
26566 2014-09-09  Steve Ellcey  <sellcey@mips.com>
26568         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
26569         Fix capitalization of error message.
26571 2014-09-09  Steve Ellcey  <sellcey@mips.com>
26573         * sysdeps/mips/preconfigure: Modify ABI tests.
26575 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
26577         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
26579 2014-09-07  Roland McGrath  <roland@hack.frob.com>
26580             Carlos O'Donell  <carlos@systemhalted.org>
26582         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
26583         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
26584         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
26585         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
26586         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
26587         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
26588         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
26589         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
26590         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
26591         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
26592         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
26593         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
26594         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
26595         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
26596         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
26597         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
26598         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
26599         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
26600         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
26601         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
26602         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
26603         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
26604         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
26605         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
26606         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
26607         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
26608         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
26609         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
26610         Deconditionalize the code that was previously under [RESET_PID].
26611         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
26612         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
26613         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
26614         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
26615         include sysdep.h.
26617 2014-09-08  Allan McRae  <allan@archlinux.org>
26619         * version.h (RELEASE): Set to "development".
26620         (VERSION): Set to "2.20.90"
26622 2014-09-07  Allan McRae  <allan@archlinux.org
26624         * version.h (RELEASE): Set to "stable".
26625         (VERSION): Set to "2.20"
26626         * include/features.h (__GLIBC_MINOR__): Set to 20.
26628         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
26629         Liebler.
26631         * po/ko.po: Update Korean translation from translation project.
26633 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
26635         [BZ #17354]
26636         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
26637         macro for handling signed relocations.
26639 2014-09-03  Florian Weimer  <fweimer@redhat.com>
26641         [BZ #17325]
26642         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
26643         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
26644         assert.
26645         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
26646         * iconvdata/ibm935.c (BODY): Likewise.
26647         * iconvdata/ibm937.c (BODY): Likewise.
26648         * iconvdata/ibm939.c (BODY): Likewise.
26649         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
26650         assert.
26651         * iconvdata/Makefile (iconv-test.out): Pass module list to test
26652         script.
26653         * iconvdata/run-iconv-test.sh: New test loop for checking for
26654         decoder crashers.
26656 2014-09-02  Khem Raj  <raj.khem@gmail.com>
26658         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
26659         libm_hidden_ver.
26661 2014-09-01  Allan McRae  <allan@archlinux.org>
26663         * po/eo.po: Update Esperanto translation from translation project.
26665         * po/ca.po: Update Catalan translation from translation project.
26667 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26669         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
26670         __proc_dostop call.
26672 2014-08-27  Mark Wielaard  <mjw@redhat.com>
26674         [BZ #17319]
26675         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
26676         to call set_thread_area instead of hand written asm.
26677         (__NR_set_thread_area): Removed define.
26678         (TLS_FLAG_WRITABLE): Likewise.
26679         (__ASSUME_SET_THREAD_AREA): Remove check.
26680         (TLS_EBX_ARG): Remove define.
26681         (TLS_LOAD_EBX): Likewise.
26683 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26685         Simplify atomicity of socket creation in bind.
26687         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
26688         looking up the name after linking the file.
26690 2014-08-27  Allan McRae  <allan@archlinux.org>
26692         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26694 2014-08-26  Florian Weimer  <fweimer@redhat.com>
26696         [BZ #17187]
26697         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
26698         trans_compare, open_translit, __gconv_translit_find):
26699         Remove module loading code.
26701 2014-08-26  Allan McRae  <allan@archlinux.org>
26703         * po/vi.po: Update Vietnamese translation from translation project.
26705         * po/uk.po: Update Ukrainian translation from translation project.
26707         * po/fr.po: Update French translation from translation project.
26709         * po/ru.po: Update Russian translation from translation project.
26711         * po/pl.po: Update Polish translation from translation project.
26713         * po/cs.po: Update Czech translation from translation project.
26715         * po/de.po: Update German translation from translation project.
26717         * po/bg.po: Update Bulgarian translation from translation project.
26719         * po/sv.po: Update Sweedish translation from translation project.
26721         * po/nl.po: Update Dutch translation from translation project.
26723         * po/es.po: Update Spanish translation from translation project.
26725 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26727         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
26729         * catgets/Makefile (CPPFLAGS-gencat): Remove.
26730         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
26731         (CPPFLAGS-iconvconfig): Likewise.
26732         * timezone/Makefile (CPPFLAGS-zic): Likewise.
26734         * include/libc-symbols.h: Remove unnecessary check for
26735         NOT_IN_libc.
26736         * nptl/pthreadP.h: Likewise.
26737         * sysdeps/aarch64/setjmp.S: Likewise.
26738         * sysdeps/alpha/setjmp.S: Likewise.
26739         * sysdeps/arm/sysdep.h: Likewise.
26740         * sysdeps/i386/setjmp.S: Likewise.
26741         * sysdeps/m68k/setjmp.c: Likewise.
26742         * sysdeps/posix/getcwd.c: Likewise.
26743         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26744         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
26745         * sysdeps/s390/s390-32/setjmp.S: Likewise.
26746         * sysdeps/s390/s390-64/setjmp.S: Likewise.
26747         * sysdeps/sh/sh3/setjmp.S: Likewise.
26748         * sysdeps/sh/sh4/setjmp.S: Likewise.
26749         * sysdeps/unix/alpha/sysdep.h: Likewise.
26750         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26751         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26752         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
26753         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26756         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26757         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26758         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26759         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26760         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26761         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26762         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26763         * sysdeps/x86_64/setjmp.S: Likewise.
26765 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
26767         [BZ #17263]
26768         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
26769         <stdint.h>.
26770         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
26771         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
26773 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
26775         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
26777         [BZ #17262]
26778         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
26779         and __x86_64__ when disabling x87 inline functions.
26781 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
26783         [BZ #17259]
26784         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
26785         asm statement with __cpuid_count.
26787 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
26789         * configure.ac: Change __ehdr_start code to dereference the struct.
26790         Run readelf on the output to look for relocations.
26791         * configure: Regenerated.
26793 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
26795         [BZ #17261]
26796         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
26797         value to 0.
26798         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
26800 2014-08-12  Roland McGrath  <roland@hack.frob.com>
26802         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
26804 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
26806         [BZ #16892]
26807         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
26808         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
26810 2014-08-12  Sean Anderson  <seanga2@gmail.com>
26812         * malloc/malloc.c: Fix typo in comment.
26814 2014-08-09  Allan McRae  <allan@archlinux.org>
26816         * Regenerate libc.po.
26818 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
26820         * intl/tst-gettext2.sh: Check every lang file for creation.
26822 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
26824         * sysdeps/aarch64/fpu/math_private.h
26825         (libc_feholdsetround_noex_aarch64_ctx): New function.
26827 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
26829         * sysdeps/arm/armv6/strcpy.S (strcpy):
26830         Fix performance issue in misaligned cases.
26832 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26834         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
26835         Move definition from termios.h.
26836         (struct termio): Likewise.
26837         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
26838         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
26839         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
26840         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
26841         Likewise.
26842         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
26843         Move definition to ioctl-types.h
26844         (struct termio): Likewise.
26845         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
26846         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
26847         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
26848         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
26849         Likewise.
26851 2014-08-05  Richard Henderson  <rth@redhat.com>
26853         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
26854         exceptions.
26855         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
26856         Add fraiseexcpt.
26857         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
26858         Use __feraiseexcept.
26859         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
26860         Protect libm symbols with IS_IN_libm.
26862         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
26864 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
26866         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
26868 2014-08-04  Will Newton  <will.newton@linaro.org>
26870         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
26871         file.
26873 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
26875         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
26876         variants for each function.
26878 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26880         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
26881         appended ...
26882         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
26883         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
26884         appended ...
26885         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
26886         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
26887         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
26888         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
26889         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
26890         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
26891         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
26892         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
26893         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
26894         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
26895         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
26896         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
26897         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
26898         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
26899         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
26900         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
26901         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
26902         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
26903         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
26904         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
26905         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
26906         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
26907         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
26908         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
26909         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
26910         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
26911         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
26912         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
26913         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
26914         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
26915         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
26916         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
26917         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
26918         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
26919         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
26920         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
26921         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
26922         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
26923         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
26924         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
26925         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
26926         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
26927         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
26928         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
26929         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
26930         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
26931         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
26932         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
26933         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
26934         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
26935         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
26936         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
26937         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
26938         Update #include.
26939         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
26940         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
26942 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26944         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
26945         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
26946         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
26947         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
26948         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
26949         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
26951 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26953         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
26954         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
26955         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26956         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
26958 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26960         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
26961         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
26962         (__libc_vfork): Define function under this name.
26963         (__vfork): Define as an alias.
26964         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
26965         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
26967 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26969         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
26970         that was previously under [RESET_PID].
26971         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
26973 2014-08-04  Andreas Schwab  <schwab@suse.de>
26975         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
26977 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
26979         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
26980         (main): Likewise.
26982 2014-08-01  Roland McGrath  <roland@hack.frob.com>
26984         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
26986 2014-08-01  Richard Henderon  <rth@redhat.com>
26988         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
26989         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
26990         typo in exact zero test.
26991         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26992         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26993         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26995 2014-08-01  Roland McGrath  <roland@hack.frob.com>
26997         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
26998         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
26999         * sysdeps/arm/sysdep.h: ... here.
27000         [!__ASSEMBLER__]: Include <stdint.h>.
27002 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
27004         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
27005         (HAVE_WCTYPE_H): Likewise.
27006         (HAVE_ISWCTYPE): Likewise.
27007         (ENABLE_NLS): Likewise.
27008         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
27009         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
27011         * posix/regex_internal.c: Check if DEBUG is defined and is
27012         set.
27014         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
27015         (HAVE_MBSRTOWCS): Likewise.
27016         * posix/fnmatch.c: Include string.h unconditionally.
27018 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
27020         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
27021         reversal.
27023 2014-07-31  Roland McGrath  <roland@hack.frob.com>
27025         * sysdeps/generic/safe-fatal.h: New file.
27026         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
27027         * nptl/forward.c: Include it.
27028         (__pthread_unwind): Use __safe_fatal as default action, rather
27029         than a bogus use of INTERNAL_SYSCALL that could never work.
27031         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
27032         * configure.ac (libc_cv_builtin_trap): New test.
27033         * configure: Regenerated.
27034         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
27035         (ABORT_INSTRUCTION): Define using __builtin_trap.
27037         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
27038         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
27039         * sysdeps/nptl/nptl-signals.h: New file.
27040         * nptl/pthreadP.h: Include <nptl-signals.h>.
27042 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
27044         * sysdeps/s390/s390-64/utf16-utf32-z9.c
27045         (ONE_DIRECTION): Define.
27046         * sysdeps/s390/s390-64/utf8-utf16-z9.c
27047         (ONE_DIRECTION): Define.
27048         * sysdeps/s390/s390-64/utf8-utf32-z9.c
27049         (ONE_DIRECTION): Define.
27051 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
27053         * sysdeps/s390/Makefile: Delete file.
27054         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
27055         * sysdeps/s390/__longjmp.c: Delete file.
27056         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
27057         Remove fields __flags and __reserved.
27058         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
27059         and add versioning.
27060         * sysdeps/s390/rtld-__longjmp.c: Delete file.
27061         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
27062         * sysdeps/s390/rtld-setjmp.S: Likewise.
27063         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
27064         * sysdeps/s390/s390-32/__longjmp.c: ... here.
27065         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
27066         * sysdeps/s390/s390-32/setjmp.S: ... here.
27067         Add versioning.
27068         (__sigsetjmp): Remove setting __flags field.
27069         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
27070         * sysdeps/s390/s390-64/__longjmp.c: ... here.
27071         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
27072         * sysdeps/s390/s390-64/setjmp.S: ... here.
27073         Add versioning.
27074         (__sigsetjmp): Remove setting __flags field.
27075         * sysdeps/s390/setjmp.S: Delete file.
27076         * sysdeps/s390/sigjmp.c: Likewise.
27077         * sysdeps/s390/v1-longjmp.c: Likewise.
27078         * sysdeps/s390/v1-setjmp.h: Likewise.
27079         * sysdeps/s390/v1-sigjmp.c: Likewise.
27080         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
27081         Remove v1-longjmp_chk.
27082         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
27083         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
27084         Include debug/longjmp_chk.c and add versioning.
27085         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
27086         Include nptl/pt-longjmp.c and add versioning.
27087         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
27088         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
27089         Include __longjmp.c.
27090         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
27091         Move to ...
27092         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
27093         (__getcontext): Remove setting __flags field.
27094         Add versioning.
27095         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
27096         Don't restore upper high grps.
27097         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
27098         Likewise.
27099         (__swapcontext): Remove setting uc_flags field.
27100         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
27101         Delete file.
27102         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
27103         Include __longjmp.c.
27104         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
27105         Move to ...
27106         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
27107         (__getcontext): Remove setting __flags field.
27108         Add versioning.
27109         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
27110         (__swapcontext): Remove setting uc_flags field.
27111         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
27112         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
27113         Remove fields uc_high_gprs and __reserved.
27114         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
27115         New file with reverted content.
27116         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
27117         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
27118         Regenerated.
27119         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
27120         Regenerated.
27122 2014-07-31  Andreas Schwab  <schwab@suse.de>
27124         * config.h.in (HAVE_IFUNC): Define to 0.
27125         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
27126         definedness.
27128 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
27130         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27131         memmove-avx-unaligned, memcpy-avx-unaligned and
27132         mempcpy-avx-unaligned.
27133         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27134         Add tests for AVX memcpy functions.
27135         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
27136         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
27137         memcpy_chk.
27138         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
27139         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
27140         memmove_chk.
27141         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
27142         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
27143         mempcpy_chk.
27144         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
27145         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
27146         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
27148 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27150         [BZ #17213]
27151         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
27152         powerpc64le.
27154 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
27156         [BZ #16839]
27157         * manual/llio.texi: Add section about open file description locks.
27158         * manual/examples/ofdlocks.c: Example of open file description
27159         lock usage.
27160         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
27161         F_OFD_SETLK, and F_OFD_SETLKW.
27163 2014-07-23  Allan McRae  <allan@archlinux.org>
27165         * po/es.po: Update Spanish translation from translation project.
27167 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
27169         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
27171 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
27173         [BZ #17078]
27174         * sysdeps/arm/dl-machine.h (elf_machine_rela)
27175         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
27176         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
27178 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
27180         [BZ #17088]
27181         * math/fesetenv.c (__fesetenv)
27182         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
27183         * math/feupdateenv.c (__feupdateenv)
27184         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
27186         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
27187         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
27188         (__ASSUME_SOCKETCALL): Do not define.
27190         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
27191         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
27192         (__ASSUME_SOCKETCALL): Do not define.
27193         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
27194         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
27195         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27196         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
27197         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27198         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
27199         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27200         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27202         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
27203         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
27204         (__ASSUME_SOCKETCALL): Do not define.
27205         (__ASSUME_IPC64): Define unconditionally.
27206         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
27207         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27208         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
27209         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27210         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
27211         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27212         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
27213         Likewise.
27215         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
27216         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
27217         (__ASSUME_SOCKETCALL): Do not define.
27218         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
27219         (__ASSUME_FUTEX_LOCK_PI): Likewise.
27220         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27221         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
27222         (__ASSUME_REQUEUE_PI): Define unconditionally.
27223         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
27224         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
27225         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27226         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
27227         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27228         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27230         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
27231         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
27232         (__ASSUME_SOCKETCALL): Do not define.
27233         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
27234         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27235         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27236         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
27237         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27238         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27240         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
27241         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
27242         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
27243         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
27244         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27245         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
27246         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
27247         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
27248         (__ASSUME_GETCPU_SYSCALL): Likewise.
27250         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
27251         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
27252         cases for individual architectures.
27253         * sysdeps/gnu/configure: Regenerated.
27254         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
27255         LIBC_SLIBDIR_RTLDDIR.
27256         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
27257         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
27258         LIBC_SLIBDIR_RTLDDIR.
27259         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
27260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
27261         LIBC_SLIBDIR_RTLDDIR.
27262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
27263         Regenerated.
27264         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
27265         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
27266         file.
27267         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
27268         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
27269         file.
27270         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
27271         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
27272         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
27273         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
27275         * sysdeps/aarch64/shlib-versions: Move to ...
27276         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
27277         * sysdeps/alpha/shlib-versions: Move to ...
27278         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
27279         * sysdeps/arm/shlib-versions: Move to ...
27280         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
27281         * sysdeps/hppa/shlib-versions: Move all contents except for
27282         libgcc_s entry to ...
27283         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
27284         entry from ...
27285         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
27286         * sysdeps/ia64/shlib-versions: Move to ...
27287         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
27288         entry from ...
27289         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
27290         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
27291         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
27292         * sysdeps/microblaze/shlib-versions: Move to ...
27293         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
27294         * sysdeps/mips/shlib-versions: Move to ...
27295         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
27296         entry from ...
27297         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
27298         * sysdeps/tile/shlib-versions: Move to ...
27299         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
27300         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
27301         from ...
27302         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
27303         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
27304         entry from ...
27305         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
27307 2014-07-17  Will Newton  <will.newton@linaro.org>
27309         * sysdeps/arm/bits/atomic.h
27310         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
27311         (__arch_compare_and_exchange_bool_16_int): Likewise.
27312         (__arch_compare_and_exchange_bool_64_int): Likewise.
27314         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
27315         into an #else block.
27317 2014-07-16  Roland McGrath  <roland@hack.frob.com>
27319         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
27320         just Linux configurations.  Test empirically that the compiler sets
27321         __ARM_EABI__, rather than using the tuple to decide.
27322         * sysdeps/arm/preconfigure: Regenerated.
27323         * sysdeps/unix/sysv/linux/arm/configure: File removed.
27324         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
27325         contents appended ...
27326         * sysdeps/arm/configure.ac: ... here.
27327         * sysdeps/arm/configure: Regenerated.
27329 2014-07-15  Roland McGrath  <roland@hack.frob.com>
27331         * nptl/pthread_kill.c: New file.
27332         * nptl/pthread_sigmask.c: New file.
27333         * nptl/pthread_sigqueue.c: New file.
27335         * sysdeps/nptl/lowlevellock.h: New file.
27336         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
27337         * sysdeps/nptl/lowlevellock-futex.h: New file.
27339         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
27340         Remove dead declarations.
27342 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
27344         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
27345         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
27346         config-cflags-avx2.
27347         * sysdeps/x86_64/configure.ac: Likewise.
27348         * sysdeps/i386/configure: Regenerated.
27349         * sysdeps/x86_64/configure: Likewise.
27350         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27351         memset-avx2 only if config-cflags-avx2 is yes.
27352         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27353         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
27354         defined.
27355         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
27356         only if HAVE_AVX2_SUPPORT is defined.
27357         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27359 2014-07-14  Alan Modra  <amodra@gmail.com>
27361         [BZ #17153]
27362         * elf/elf.h (DT_PPC64_NUM): Correct value.
27363         * NEWS: Add to fixed bug list.
27365 2014-07-13  Jim Meyering  <meyering@fb.com>
27367         [BZ 17150]
27368         regex: don't deref NULL upon heap allocation failure
27369         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
27370         failure in one more place.
27371         To trigger the segfault, configure grep -with-included-regex,
27372         build it, and run these commands:
27373         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
27375 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
27377         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
27379 2014-07-11  Richard Henderson  <rth@redhat.com>
27381         * sysdeps/aarch64/libm-test-ulps: Update.
27383 2014-07-10  Florian Weimer  <fweimer@redhat.com>
27385         [BZ #17135]
27386         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
27387         * nptl/allocatestack.c (__nptl_setxid_error): New function.
27388         (__nptl_setxid): Initialize error member.  Call
27389         __nptl_setxid_error.
27390         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
27391         * nptl/descr.h (struct xid_command): Add error member.
27392         * nptl/tst-setuid3.c: New file.
27393         * nptl/Makefile (tests): Add it.
27395 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27397         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
27398         New define.
27399         (__lll_trylock): Use __lll_base_trylock.
27400         (__lll_cond_trylock): Likewise.
27402 2014-07-10  Roland McGrath  <roland@hack.frob.com>
27404         * nptl/pthread_create.c (start_thread): Use atomic_or and
27405         lll_futex_wake directly rather than lll_robust_dead.
27406         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
27407         (lll_robust_dead): Macro removed.
27408         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
27409         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
27410         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
27411         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27412         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27413         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
27414         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
27415         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27416         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
27417         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27418         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27419         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27420         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27421         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27422         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27424         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
27425         Use atomic_compare_and_exchange_val_acq directly rather than
27426         lll_robust_trylock.
27427         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
27428         (__lll_robust_trylock, lll_robust_trylock): Removed.
27429         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
27430         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
27431         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27432         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27433         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
27434         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
27435         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27436         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
27437         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27438         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27439         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27440         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27441         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27442         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27444 2014-07-02  Florian Weimer  <fweimer@redhat.com>
27446         * manual/locale.texi (Locale Names): New section documenting
27447         locale name syntax.  Adjust menu and node chaining accordingly.
27448         (Choosing Locale): Reference Locale Names, Locale Categories.
27449         Mention setting LC_ALL=C.  Reflect that name syntax is now
27450         documented.
27451         (Locale Categories): New section title.  Reference Locale Names.
27452         LC_ALL is an environment variable, but not a category.
27453         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
27454         description, now in Locale Name.  Reference that section.  Locale
27455         name syntax is now documented.
27457 2014-07-02  Florian Weimer  <fweimer@redhat.com>
27459         [BZ #17137]
27460         * locale/findlocale.c (name_present, valid_locale_name): New
27461         functions.
27462         (_nl_find_locale): Use the loc_name variable to store name
27463         candidates.  Call name_present and valid_locale_name to check and
27464         validate locale names.  Return an error if the locale is invalid.
27466 2014-07-02  Florian Weimer  <fweimer@redhat.com>
27468         * locale/setlocale.c (setlocale): Use strdup for allocating
27469         composite name copy.
27471 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27473         Sync up with gnulib.
27474         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
27475         [!_LIBC && ENABLE_NLS]: Include gettext.h.
27476         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
27477         and _GL_ARG_NONNULL.
27478         [USE_UNLOCKED_IO]: Include unlocked-io.h.
27479         [!_LIBC]: Include code for Windows and Cygwin.
27480         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
27481         Include prototype for int strerror_r.
27482         [!_LIBC] (is_open): New function.
27483         (flush_stdout): New function.
27484         (print_errno_message): Use it.
27485         (error): Likewise.
27486         (error_at_line): Likewise.
27487         (error_tail) Add function attribute macros.  Use
27488         __builtin_expect.
27490         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
27492         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
27494         * io/ftw.c: Include sys/param.h unconditionally.
27496         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
27498         [BZ #17125]
27499         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
27500         libc_freeres_ptr.
27501         (freecache): New function to free CACHE on exit.
27503         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
27504         initialization.
27506 2014-07-09  David S. Miller  <davem@davemloft.net>
27508         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27510         * sysdeps/sparc/nptl/internaltypes.h: Delete.
27511         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
27512         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
27513         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
27514         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
27515         * sysdeps/sparc/nptl/sem_init.c: Likewise.
27516         * sysdeps/sparc/nptl/sem_post.c: Likewise.
27517         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
27518         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
27519         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
27520         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
27521         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
27522         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
27524 2014-07-09  Andreas Schwab  <schwab@suse.de>
27526         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
27527         output.
27528         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
27529         (do_test): Likewise.
27531         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27533 2014-07-09  Will Newton  <will.newton@linaro.org>
27535         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
27536         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
27537         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
27538         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
27539         * sysdeps/hppa/start.S (_start): Likewise.
27541 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
27543         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
27545         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
27546         defined.
27548 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27550         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
27551         after checking that it is non-NULL.
27553         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
27555 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27557         * sysdeps/powerpc/memmove.c: Remove file.
27558         * sysdeps/powerpc/powerpc32/power4/memcopy.h
27559         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
27560         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
27561         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
27562         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
27563         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
27564         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
27565         string memmove instead of removed powerpc one.
27567         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
27568         [weak_alias]: Fix compiler warning due trailing data.
27569         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
27570         [weak_alias]: Likewise.
27571         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
27572         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
27574         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27575         (__libc_ifunc_impl_list): Add memmove functions.
27577 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27579         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
27580         Remove code.
27581         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
27582         Likewise.
27583         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
27584         Likewise.
27585         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
27586         Likewise.
27587         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
27588         Likewise.
27589         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
27590         Likewise.
27591         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
27592         Likewise.
27593         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
27594         Likewise.
27595         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
27596         Likewise.
27597         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
27598         Likewise.
27599         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
27600         Likewise.
27601         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
27602         Likewise.
27603         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
27604         Likewise.
27605         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
27606         Likewise.
27607         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
27608         Likewise.
27609         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
27610         Likewise.
27611         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
27612         Likewise.
27614 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27616         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
27617         to avoid alignment traps in non-cacheable memory.
27618         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
27620         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
27621         multiarch objects.
27622         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
27623         file: multiarch power7 memmove.
27624         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
27625         multiarch default memmove.
27626         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
27627         multiarch memove for powerpc32/power4.
27629         * string/bcopy.c: Use full path to include memmove.c.
27630         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
27631         multiarch objects.
27632         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
27633         bcopy for powerpc64.
27634         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
27635         bcopy for powerpc64.
27636         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
27637         and memmove implementations.
27638         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
27639         optimized multiarch memmove for POWER7/powerpc64.
27640         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
27641         default multiarch memmove for powerpc64.
27642         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
27643         multiarch for powerpc64.
27644         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
27645         for POWER7/powerpc64.
27646         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
27647         memmove for POWER7/powerpc64.
27649         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
27650         glibc default one.
27652         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
27653         __ELF_NATIVE_CLASS equal to 64.
27655 2014-07-07  Roland McGrath  <roland@hack.frob.com>
27657         * sysdeps/nptl/lowlevellock.h: File removed.
27659         * NEWS: NPTL is no longer an add-on!
27660         * nptl/internaltypes.h: Moved ...
27661         * sysdeps/nptl/internaltypes.h: ... here.
27662         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
27663         * sysdeps/nptl/fork.c: Likewise.
27664         * sysdeps/nptl/gai_misc.h: Likewise.
27665         * sysdeps/nptl/librt-cancellation.c: Likewise.
27666         * sysdeps/nptl/jmp-unwind.c: Likewise.
27667         * sysdeps/nptl/setxid.h: Likewise.
27668         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
27669         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
27670         * sysdeps/unix/sysv/linux/arm/Implies: New file.
27671         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
27672         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
27673         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
27674         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
27675         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
27676         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
27677         * sysdeps/unix/sysv/linux/mips/Implies: New file.
27678         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
27679         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
27680         * sysdeps/unix/sysv/linux/sh/Implies: New file.
27681         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
27682         * sysdeps/unix/sysv/linux/tile/Implies: New file.
27683         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
27684         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
27685         * nptl/Makeconfig: Moved ...
27686         * sysdeps/nptl/Makeconfig: ... here.
27687         * nptl/configure: File removed.
27688         * nptl/ANNOUNCE: File removed.
27689         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
27690         * sysdeps/unix/sysv/linux/configure: Regenerated.
27692         * nptl/Makefile (routines): Add libc_pthread_init,
27693         libc_multiple_threads, register-atfork and unregister-atfork.
27694         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
27695         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
27696         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
27697         pthread-pi-defines.sym, structsem.sym.
27698         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
27699         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
27700         [$(subdir) = nptl] (tests): Add tst-setgetname.
27701         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
27702         * sysdeps/unix/sysv/linux/sigaction.c: Just include
27703         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
27704         [!LIBC_SIGACTION]: Remove aliases.
27705         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
27706         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
27707         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
27708         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
27709         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
27710         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
27711         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27712         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27713         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
27714         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
27715         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
27716         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
27717         __libc_allocate_rtsig_private.
27718         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
27719         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
27720         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
27721         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
27722         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
27723         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
27724         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
27725         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
27726         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
27727         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
27728         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
27729         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
27730         * nptl/internaltypes.h: ... here.
27731         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
27732         * sysdeps/nptl/jmp-unwind.c: ... here.
27733         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
27734         * nptl/libc-lowlevellock.c: ... here.
27735         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
27736         * nptl/libc_multiple_threads.c: ... here.
27737         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
27738         * nptl/libc_pthread_init.c: ... here.
27739         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
27740         * nptl/lowlevelbarrier.sym: ... here.
27741         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
27742         * nptl/lowlevelcond.sym: ... here.
27743         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
27744         * nptl/lowlevellock.c: ... here.
27745         * nptl/lowlevellock.h: Moved ...
27746         * sysdeps/nptl/lowlevellock.h: ... here.
27747         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
27748         * nptl/lowlevelrobustlock.c: ... here.
27749         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
27750         * nptl/lowlevelrobustlock.sym: ... here.
27751         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
27752         * nptl/lowlevelrwlock.sym: ... here.
27753         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
27754         * nptl/pt-fork.c: ... here.
27755         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
27756         * nptl/pthread-pi-defines.sym: ... here.
27757         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
27758         * nptl/pthread_attr_getaffinity.c: ... here.
27759         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
27760         * nptl/pthread_attr_setaffinity.c: ... here.
27761         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
27762         * nptl/pthread_mutex_cond_lock.c: ... here.
27763         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
27764         Update #include.
27765         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
27766         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
27767         * nptl/pthread_once.c: ... here, replacing old file.
27768         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
27769         * nptl/pthread_yield.c: ... here.
27770         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
27771         * nptl/register-atfork.c: ... here.
27772         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
27773         * nptl/sem_post.c: ... here.
27774         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
27775         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
27776         * nptl/sem_timedwait.c: ... here.
27777         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
27778         * nptl/sem_trywait.c: ... here.
27779         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
27780         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
27781         * nptl/sem_wait.c: ... here.
27782         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
27783         * nptl/structsem.sym: ... here.
27784         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
27785         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
27786         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
27787         * nptl/unregister-atfork.c: ... here.
27788         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
27789         * nptl/unwindbuf.sym: ... here.
27790         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
27791         * sysdeps/nptl/fork.c: ... here.
27792         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
27793         * sysdeps/nptl/fork.h: ... here.
27794         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
27795         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
27796         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
27797         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
27798         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
27799         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
27800         * sysdeps/unix/sysv/linux/getpid.c: ... here.
27801         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
27802         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
27803         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
27804         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
27805         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
27806         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
27807         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
27808         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
27809         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
27810         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
27811         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
27812         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
27813         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
27814         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
27815         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
27816         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
27817         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
27818         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
27819         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
27820         * sysdeps/unix/sysv/linux/raise.c: ... here.
27821         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
27822         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
27823         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
27824         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
27825         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
27826         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
27827         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
27828         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
27829         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
27830         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
27831         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
27832         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
27833         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
27834         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
27835         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
27837 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27839         * sysdeps/generic/memcopy.h: Add comment for
27840         MEMCPY_OK_FOR_FWD_MEMMOVE.
27842 2014-07-04  Will Newton  <will.newton@linaro.org>
27844         * string/memchr.c: Merge from gnulib.
27845         [_LIBC]: Remove conditionals.
27846         (__ptr_t): Remove define.
27847         (LONG_MAX_32_BITS): Likewise.
27848         (LONG_MAX): Likewise.
27849         (MEMCHR): Use ANSI prototype and optimize algorithm.
27851         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
27853 2014-07-03  Roland McGrath  <roland@hack.frob.com>
27855         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
27856         (lll_futex_timed_wait_bitset): Fix syscall argument count.
27858         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
27859         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
27860         in a bare environment with no <stdlib.h> installed.
27861         * sysdeps/nptl/configure: Regenerated.
27863         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
27865         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
27866         AC_EGREP_CPP for kernel header checks, so they only succeed if
27867         including <linux/version.h> actually works right.
27868         * sysdeps/unix/sysv/linux/configure: Regenerated.
27870         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
27871         value so it's not diagnosed as unused.
27873         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
27874         thing) with "ifeq ($(subdir),rt)".
27876 2014-07-03  Richard Henderson  <rth@redhat.com>
27878         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
27879         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
27880         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
27882         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
27883         (math_force_eval): New.
27885         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
27886         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
27888         * sysdeps/alpha/fpu/s_round.c: Remove file.
27889         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
27891         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
27892         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
27893         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
27894         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
27895         (_dl_start, print_statistics): Likewise.
27896         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
27897         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
27899         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27900         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27901         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27902         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27903         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
27904         (HP_SMALL_TIMING_AVAIL): Define.
27905         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27906         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
27907         (HP_SMALL_TIMING_AVAIL): Define.
27908         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27909         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27911         * sysdeps/aarch64/hp-timing.h: New file.
27913         * sysdeps/generic/hp-timing.h: Remove dead comment.
27914         * sysdeps/generic/hp-timing-common.h: New file.
27915         * sysdeps/alpha/hp-timing.h: Include it.
27916         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
27917         * sysdeps/i386/i686/hp-timing.h: Likewise.
27918         * sysdeps/ia64/hp-timing.h: Likewise.
27919         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27920         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27921         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27922         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27923         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
27924         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
27925         (hp_timing_t): New.
27927         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
27928         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
27929         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
27930         * elf/rtld.c (_dl_start_final): Likewise.
27931         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
27932         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27933         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27934         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27935         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27936         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
27937         (HP_TIMING_DIFF_INIT): Remove.
27938         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27939         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
27940         (HP_TIMING_DIFF_INIT): Remove.
27941         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27942         * sysdeps/i386/i686/hp-timing.c: Remove file.
27943         * sysdeps/x86_64/hp-timing.c: Remove file.
27944         * sysdeps/ia64/hp-timing.c: Remove file.
27945         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
27946         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
27947         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
27948         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
27950         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
27951         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
27952         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
27953         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27954         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
27955         (HP_TIMING_ACCUM): Remove.
27956         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27957         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
27958         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27960         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
27961         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
27962         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
27963         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
27964         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
27965         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
27966         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
27967         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
27969         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
27971 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
27973         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
27975 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27977         Sync up with gettext.
27978         * intl/loadmsgcat.c: Define O_BINARY if not defined.
27979         [_MSC_VER]: Include malloc.h
27980         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
27981         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
27982         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
27983         TEMP_FAILURE_RETRY.  Cast return of alloca.
27984         [!_LIBC] Call gl_rwlock_init.
27985         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
27987 2014-07-02  Roland McGrath  <roland@hack.frob.com>
27989         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
27990         before checking its value.
27992 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27994         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
27996         * debug/memcpy_chk.c: Don't include pagecopy.h.
27997         * debug/mempcpy_chk.c: Likewise.
27998         * string/memcpy.c: Likewise.
27999         * string/memmove.c: Likewise.
28000         * sysdeps/powerpc/memmove.c: Likewise.
28001         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
28002         definition of PAGE_COPY_FWD_MAYBE here...
28003         * sysdeps/generic/pagecopy.h: ... from here.
28004         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
28006 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28007             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28009         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
28010         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
28011         optimizations.
28012         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28013         (__libc_ifunc_impl_list): Likewise.
28014         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
28015         multiarch strcat for PPC64.
28016         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
28017         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
28019 2014-07-02  Roland McGrath  <roland@hack.frob.com>
28021         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
28023 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28025         * intl/loadmsgcat.c: Remove declaration of
28026         get_sysdep_segment_value.
28027         (get_sysdep_segment_value): Use ISO C style.
28028         (_nl_load_domain): Use ISO C style.  Get rid of redundant
28029         semicolon.  Fix typo and formatting in comment.
28030         (_nl_unload_domain): Use ISO C style.
28032         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
28034 2014-07-02  Will Newton  <will.newton@linaro.org>
28036         * malloc/obstack.c: Merge from gnulib master.
28037         [HAVE_CONFIG_H]: Remove conditional code.
28038         [!_LIBC]: Include config.h.
28039         [!ELIDE_CODE]: Don't include inttypes.h, include
28040         stdint.h unconditionally.
28041         (print_and_abort): Mark as _Noreturn.
28042         (_obstack_allocated_p): Mark as __attribute_pure__.
28043         (obstack_free): Rename to __obstack_free.
28044         [!__attribute__]: Remove conditional code.
28045         * malloc/obstack.h: Merge from gnulib master.
28046         [__cplusplus]: Move conditional down.
28047         [!__attribute_pure__]: Define __attribute_pure__ here
28048         if it is not already defined.
28049         (_obstack_memory_used): Mark as __attribute_pure__.
28050         [!__obstack_free]: Define as obstack_free.
28051         [__GNUC__]: Remove check for ancient NeXT gcc.
28053 2014-07-02  Will Newton  <will.newton@linaro.org>
28054             Paul Eggert  <eggert@cs.ucla.edu>
28056         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
28058 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28060         * resolv/gethnamaddr.c: Add comment warning that the file is
28061         not maintained.
28063 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
28065         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
28066         entries.
28068         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
28069         entry for aio_cancel and aio_cancel64.
28070         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
28071         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
28072         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
28073         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
28074         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
28075         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
28076         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
28077         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
28078         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
28079         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
28080         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
28081         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
28082         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
28084 2014-07-01  Roland McGrath  <roland@hack.frob.com>
28086         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
28087         * nptl/pthread_mutex_lock.c: Likewise.
28088         * nptl/pthread_mutex_timedlock.c: Likewise.
28089         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
28091 2014-07-01  Richard henderson  <rth@redhat.com>
28093         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
28094         (__isnan, __isnanl): Remove.
28095         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
28097         * sysdeps/alpha/fpu/libm-test-ulps: Update.
28099 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
28101         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28103 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28105         * resolv/nss_dns/dns-host.c (getanswer_r)
28106         [MULTI_PTRS_ARE_ALIASES]: Remove code.
28108 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
28110         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28111         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
28112         undefine.
28113         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
28114         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
28116 2014-07-01  Roland McGrath <roland@hack.frob.com>
28118         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
28119         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
28121         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
28122         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
28124         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
28125         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
28126         ... here.
28127         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
28128         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
28130         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
28131         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
28132         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
28133         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
28135         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
28136         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
28137         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
28138         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
28139         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
28140         Moved ...
28141         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
28142         ... here.
28143         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
28144         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
28145         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
28146         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
28147         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
28148         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
28149         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
28150         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
28151         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
28152         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
28153         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
28154         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
28155         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
28156         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
28157         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
28158         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
28159         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
28160         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
28161         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
28162         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
28163         ... here.
28164         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
28165         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
28166         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
28167         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
28168         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
28169         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
28170         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
28171         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
28173 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
28175         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
28176         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
28177         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
28178         Add sysdep.
28180 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28182         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28184 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
28186         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
28187         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28189         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28191         * sysdeps/arm/libm-test-ulps: Regenerated.
28193 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
28194             Roland McGrath <roland@hack.frob.com>
28196         * test-skeleton.c (signal_handler): Kill the whole process group
28197         before killing the child individually.
28198         (main): Report any failure on `setpgid'.
28200 2014-06-30  Roland McGrath  <roland@hack.frob.com>
28202         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
28203         from _TLS_H to _ARM_NPTL_TLS_H.
28204         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
28205         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
28207 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
28209         [BZ #16539]
28210         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
28211         (__expm1l): Return argument unchanged when small but not
28212         subnormal.
28214         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
28215         include macro name.
28216         (_FP_UNPACK_RAW_1_P): Likewise.
28217         (_FP_PACK_RAW_1): Likewise.
28218         (_FP_PACK_RAW_1_P): Likewise.
28219         (_FP_MUL_MEAT_1_wide): Likewise.
28220         (_FP_MUL_MEAT_DW_1_hard): Likewise.
28221         (_FP_MUL_MEAT_1_hard): Likewise.
28222         (_FP_DIV_MEAT_1_imm): Likewise.
28223         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
28224         (_FP_DIV_MEAT_1_udiv): Likewise.
28225         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
28226         (_FP_UNPACK_RAW_2): Likewise.
28227         (_FP_UNPACK_RAW_2_P): Likewise.
28228         (_FP_PACK_RAW_2): Likewise.
28229         (_FP_PACK_RAW_2_P): Likewise.
28230         (_FP_MUL_MEAT_DW_2_wide): Likewise.
28231         (_FP_MUL_MEAT_2_wide): Likewise.
28232         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
28233         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
28234         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
28235         (_FP_MUL_MEAT_2_gmp): Likewise.
28236         (_FP_DIV_MEAT_2_udiv): Likewise.
28237         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
28238         (_FP_FRAC_SRL_4): Likewise.
28239         (_FP_FRAC_SRST_4): Likewise.
28240         (_FP_FRAC_SRS_4): Likewise.
28241         (_FP_UNPACK_RAW_4): Likewise.
28242         (_FP_UNPACK_RAW_4_P): Likewise.
28243         (_FP_PACK_RAW_4): Likewise.
28244         (_FP_PACK_RAW_4_P): Likewise.
28245         (_FP_MUL_MEAT_DW_4_wide): Likewise.
28246         (_FP_MUL_MEAT_4_wide): Likewise.
28247         (_FP_MUL_MEAT_4_gmp): Likewise.
28248         (umul_ppppmnnn): Likewise.
28249         (_FP_DIV_MEAT_4_udiv): Likewise.
28250         (__FP_FRAC_ADD_4): Likewise.
28251         (__FP_FRAC_SUB_3): Likewise.
28252         (__FP_FRAC_SUB_4): Likewise.
28253         (__FP_FRAC_DEC_3): Likewise.
28254         (__FP_FRAC_DEC_4): Likewise.
28255         (__FP_FRAC_ADDI_4): Likewise.
28256         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
28257         (_FP_FRAC_SRL_8): Likewise.
28258         (_FP_FRAC_SRS_8): Likewise.
28260         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
28261         include macro name.
28262         (FP_UNPACK_RAW_EP): Likewise.
28263         (FP_PACK_RAW_E): Likewise.
28264         (FP_PACK_RAW_EP): Likewise.
28265         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
28266         (_FP_ISSIGNAN): Likewise.
28267         (_FP_ADD_INTERNAL): Likewise.
28268         (_FP_FMA): Likewise.
28269         (_FP_CMP): Likewise.
28270         (_FP_SQRT): Likewise.
28271         (_FP_TO_INT): Likewise.
28272         (_FP_FROM_INT): Likewise.
28273         (FP_EXTEND): Likewise.
28274         (_FP_DIV_MEAT_N_loop): Likewise.
28276 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
28278         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
28279         throughout.
28281 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
28283         [BZ #17097]
28284         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
28285         result with correct sign in case of exponents that produce
28286         overflow except for X very close to 1.
28288 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
28290         mktime: merge #if/#ifdef usage from glibc
28291         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
28292         as that works with both Glibc's and Gnulib's style.
28293         See thread starting at Siddhesh Poyarekar's bug report at:
28294         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
28296 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28298         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
28299         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
28300         * sysdeps/tile/tilegx/memmove.c: Remove file.
28302 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
28304         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
28305         abi-name definition.
28306         * scripts/soversions.awk: Do not handle or generate ABI lines.
28307         * shlib-versions: Remove ABI entries.
28308         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
28309         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
28311 2014-06-27  Roland McGrath  <roland@hack.frob.com>
28313         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
28314         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
28315         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
28316         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
28317         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
28318         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
28319         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
28320         Moved ...
28321         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
28322         ... here.
28323         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
28324         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
28325         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
28326         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
28327         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
28328         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
28329         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
28330         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
28331         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
28332         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
28333         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
28334         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
28335         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
28336         Moved ...
28337         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
28338         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
28339         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
28340         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
28341         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
28342         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
28343         Moved ...
28344         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
28345         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
28346         Moved ...
28347         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
28348         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
28349         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
28350         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
28351         Moved ...
28352         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
28353         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
28354         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
28355         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
28356         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
28357         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
28358         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
28359         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
28360         Moved ...
28361         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
28362         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
28363         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
28364         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
28365         Moved ...
28366         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
28367         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
28368         Moved ...
28369         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
28370         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
28371         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
28372         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
28373         Moved ...
28374         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
28375         ... here.
28376         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
28377         Identical file removed.
28378         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
28379         Moved ...
28380         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
28381         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
28382         Identical file removed.
28383         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
28384         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
28385         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
28386         Moved ...
28387         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
28388         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
28389         Identical file removed.
28390         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
28391         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
28392         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
28393         Identical file removed.
28394         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
28395         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
28396         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
28397         Identical file removed.
28398         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
28399         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
28400         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
28401         Identical file removed.
28402         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
28403         Moved ...
28404         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
28405         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
28406         Identical file removed.
28407         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
28408         Moved ...
28409         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
28410         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
28411         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
28412         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
28413         Identical file removed.
28414         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
28415         Moved ...
28416         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
28417         ... here.
28418         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
28419         Identical file removed.
28420         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
28421         Moved ...
28422         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
28423         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
28424         Identical file removed.
28425         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
28426         Moved ...
28427         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
28428         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
28429         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
28430         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
28431         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
28432         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
28433         Moved ...
28434         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
28435         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
28436         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
28438         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
28439         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
28440         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
28441         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
28442         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
28444 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
28446         [BZ #17092]
28447         * nscd/nscd.c (monitor_child): Return exit status of child
28448         instead of return value from wait syscall.
28450 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
28452         * configure.ac (libc_commonpagesize): Remove variable.
28453         (libc_relro_required): Likewise.
28454         (libc_cv_z_relro): Remove configure test.
28455         * configure: Regenerated.
28456         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
28457         variable.
28458         (libc_relro_required): Likewise.
28459         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
28460         (libc_relro_required): Likewise.
28461         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
28462         (libc_relro_required): Likewise.
28463         * sysdeps/arm/preconfigure: Regenerated.
28464         * sysdeps/ia64/preconfigure: Remove file.
28465         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
28466         variable.
28467         (libc_relro_required): Likewise.
28469         [BZ #16561]
28470         [BZ #16562]
28471         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
28472         (__ieee754_yn): Set FE_TONEAREST mode internally and then
28473         recompute overflowing results in original rounding mode.
28474         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
28475         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
28476         recompute overflowing results in original rounding mode.
28477         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
28478         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
28479         recompute overflowing results in original rounding mode.
28480         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
28481         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
28482         recompute overflowing results in original rounding mode.
28483         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
28484         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
28485         recompute overflowing results in original rounding mode.
28486         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
28487         (libc_feholdsetround_ctx): New macro.
28488         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
28489         * sysdeps/i386/fpu/libm-test-ulps: Update.
28490         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
28492 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
28494         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
28495         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
28496         corresponding .cpsetup call.
28498 2014-06-26  Roland McGrath  <roland@hack.frob.com>
28500         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
28501         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
28502         * sysdeps/arm/Makefile [$(subdir) = csu]
28503         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
28504         (static-only-routines): Add aeabi_read_tp here.
28505         (shared-only-routines): Add libc-aeabi_read_tp here.
28506         (CFLAGS-libc-start.c): Add -fexceptions here.
28507         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
28508         (sysdep_routines, static-only-routines, shared-only-routines):
28509         Don't add to these here.
28510         (CFLAGS-libc-start.c): Likewise.
28512         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
28513         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
28514         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
28515         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
28516         * sysdeps/arm/Makefile [$(subdir) = rt]
28517         (librt-sysdep_routines, librt-shared-only-routines):
28518         Append rt-aeabi_unwind_cpp_pr1 here.
28519         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
28520         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
28521         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
28522         (libpthread-sysdep_routines, libpthread-shared-only-routines):
28523         Append nptl-aeabi_unwind_cpp_pr1 here.
28524         (tests): Filter out tst-cleanupx4 here.
28525         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
28526         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
28527         Don't do those here.
28529 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
28531         * scripts/list-sources.sh: Do not handle ports specially.
28533 2014-06-26  Roland McGrath  <roland@hack.frob.com>
28535         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
28536         * sysdeps/arm/feupdateenv.c: Likewise.
28538         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
28540 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
28542         * manual/texinfo.tex: Update to version 2014-05-05.10 with
28543         trailing whitespace removed.
28544         * scripts/config.guess: Update to version 2014-03-23.
28545         * scripts/config.sub: Update to version 2014-05-01
28546         * scripts/install-sh: Update to version 2013-12-25.23.
28547         * scripts/move-if-change: Update from gnulib.
28549 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28551         * debug/memmove_chk.c: Remove pagecopy.h include.
28553 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
28555         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
28556         identical to gnulib mktime.
28558 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
28560         * configure.ac: Do not test for machine being rs6000.  Do not test
28561         for powerpc*-*soft.
28562         * configure: Regenerated.
28564         [BZ #11505]
28565         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
28566         test.
28567         * configure: Regenerated.
28568         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
28569         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
28570         Remove configure test.
28571         * sysdeps/arm/configure: Regenerated.
28572         * sysdeps/nptl/configure.ac: Do not check
28573         libc_cv_asm_cfi_directives.
28574         * sysdeps/nptl/configure: Regenerated.
28575         * sysdeps/x86_64/nptl/configure.ac: Remove file.
28576         * sysdeps/x86_64/nptl/configure: Remove generated file.
28577         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
28578         unconditional.
28579         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
28581 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28583         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
28584         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
28585         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
28586         it is defined.
28588         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
28589         instead of whether it is defined.
28590         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
28591         * sysdeps/hppa/dl-machine.h: Likewise.
28592         * sysdeps/ia64/dl-machine.h: Likewise.
28593         * sysdeps/m68k/dl-machine.h: Likewise.
28594         * sysdeps/microblaze/dl-machine.h: Likewise.
28595         * sysdeps/mips/dl-machine.: Likewise.
28596         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28597         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28598         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28599         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28600         * sysdeps/sh/dl-machine.h: Likewise.
28601         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28602         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28603         * sysdeps/tile/dl-machine.h: Likewise.
28604         * sysdeps/x86_64/dl-machine.h: Likewise.
28606         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
28607         code.
28608         (verify_persistent_db): Likewise.
28610 2014-06-26  Roland McGrath  <roland@hack.frob.com>
28612         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
28613         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
28614         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
28615         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
28616         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
28617         Moved ...
28618         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
28619         ... here.
28620         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
28621         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
28622         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
28623         Identical file removed.
28624         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
28625         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
28626         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
28627         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
28628         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
28629         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
28630         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
28631         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
28632         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
28633         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
28634         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28635         Moved ...
28636         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
28637         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
28638         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
28639         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
28640         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
28641         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
28642         Moved ...
28643         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
28644         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
28645         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
28646         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
28647         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
28648         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
28649         Identical file removed.
28650         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
28651         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
28652         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
28653         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
28654         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
28655         Moved ...
28656         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
28657         ... here.
28658         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
28659         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
28660         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
28661         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
28662         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
28663         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
28664         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
28665         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
28666         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
28667         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
28668         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28669         Moved ...
28670         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
28671         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
28672         Moved ...
28673         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
28674         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
28675         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
28676         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
28677         Moved ...
28678         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
28679         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
28680         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
28682         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
28683         folded into ...
28684         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
28685         * sysdeps/unix/sysv/linux/s390/Versions
28686         (libpthread: GLIBC_2.19): New version set.
28687         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
28688         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
28689         (librt: GLIBC_2.3.3): New version set.
28690         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
28691         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
28692         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
28693         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
28694         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
28695         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
28696         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
28697         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
28698         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
28699         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
28700         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
28701         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
28702         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
28703         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
28704         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
28705         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
28706         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
28707         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
28708         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
28709         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
28710         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
28711         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
28712         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
28713         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
28714         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
28715         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
28716         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
28717         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
28718         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
28719         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
28720         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
28721         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
28722         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
28723         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
28724         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
28725         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
28726         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
28727         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
28728         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
28729         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
28730         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
28731         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
28732         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
28733         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
28734         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
28736         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
28737         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
28738         (__libc_vfork): Define the function under this name.
28739         [!NOT_IN_libc] (__vfork): Make this an alias.
28740         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
28741         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
28742         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
28743         (__libc_vfork): Define the function under this name.
28744         [!NOT_IN_libc] (__vfork): Make this an alias.
28745         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
28746         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
28747         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
28748         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
28749         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
28750         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
28752         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
28753         code that was previously under [RESET_PID].
28754         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
28755         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
28756         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
28758         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
28759         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
28760         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
28761         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
28762         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
28763         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
28764         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
28765         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
28766         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
28767         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
28768         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
28769         Moved ...
28770         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
28771         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
28772         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
28773         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
28774         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
28775         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
28776         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
28777         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
28778         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
28779         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
28780         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
28781         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
28782         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
28783         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
28784         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
28785         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
28786         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
28787         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
28788         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
28789         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
28790         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
28791         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
28792         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
28793         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
28794         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
28795         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
28796         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
28797         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
28798         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
28800 2014-06-25  Roland McGrath  <roland@hack.frob.com>
28802         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
28803         that was previously under [RESET_PID].
28804         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
28806 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
28808         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
28809         not undefine and redefine.
28810         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
28811         [O_CLOEXEC]: Make code unconditional.
28812         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
28813         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
28814         <kernel-features.h>.
28815         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
28816         conditional variable definition.
28817         (shm_open) [O_CLOEXEC]: Make code unconditional.
28818         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
28819         code.
28821         * configure.ac (USE_REGPARMS): Don't define here.
28822         * configure: Regenerated.
28823         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
28824         * sysdeps/i386/configure: Regenerated.
28826         * nptl/createthread.c: Don't include kernel-features.h.
28827         * nptl/pthread_cancel.c: Likewise.
28828         * nptl/pthread_condattr_setclock.c: Likewise.
28829         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
28830         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
28831         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
28832         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
28833         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
28834         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
28835         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
28836         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
28837         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
28838         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
28839         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
28840         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
28841         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
28842         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
28843         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
28844         * nscd/gai.c: Likewise.
28845         * nss/nss_db/db-open.c: Likewise.
28846         * sysdeps/generic/ldsodefs.h: Likewise.
28847         * sysdeps/sh/nptl/tls.h: Likewise.
28848         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
28849         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
28850         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
28851         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
28852         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
28853         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
28854         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
28855         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28856         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28857         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
28858         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
28859         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28860         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
28861         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
28862         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
28863         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
28864         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
28865         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
28866         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
28867         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
28868         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
28869         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
28870         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
28871         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
28872         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
28873         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
28874         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
28875         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
28876         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
28877         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
28878         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
28879         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
28880         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
28881         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
28882         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28883         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
28884         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
28885         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
28886         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
28887         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
28888         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
28889         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
28890         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
28891         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28892         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
28893         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
28894         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
28895         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
28896         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
28897         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
28898         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
28899         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
28900         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
28901         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
28902         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
28903         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28904         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
28905         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
28906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
28907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
28908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
28909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
28910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
28911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
28912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
28913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
28914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
28915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
28916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
28917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
28918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
28919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
28920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
28921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
28926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
28927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
28928         * sysdeps/unix/sysv/linux/pread.c: Likewise.
28929         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
28930         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
28931         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
28932         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
28933         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
28934         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
28935         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
28936         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
28937         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
28938         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
28939         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
28940         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
28941         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
28942         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
28943         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
28944         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
28945         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
28946         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
28947         * sysdeps/unix/sysv/linux/system.c: Likewise.
28948         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
28949         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
28950         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28951         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28952         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28953         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
28954         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
28956         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
28957         * configure: Regenerated.
28958         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
28960         * configure.ac (base_machine): Do not set specially for particular
28961         machines here.
28962         * configure: Regenerated.
28963         * sysdeps/powerpc/preconfigure: Move machine and base_machine
28964         settings from configure.ac.
28965         * sysdeps/i386/preconfigure: New file.
28966         * sysdeps/s390/preconfigure: Likewise.
28967         * sysdeps/sh/preconfigure: Likewise.
28968         * sysdeps/sparc/preconfigure: Likewise.
28970 2014-06-25  Roland McGrath  <roland@hack.frob.com>
28972         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
28973         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
28974         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
28975         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
28976         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
28977         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
28978         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
28979         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
28980         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
28981         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
28982         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
28983         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
28984         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
28985         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
28986         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
28987         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
28988         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
28989         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
28990         * sysdeps/sparc/sparc64/Makefile: ... appended here.
28992         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
28993         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
28994         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
28995         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
28996         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
28997         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
28998         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
28999         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
29000         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
29001         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
29002         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
29003         * sysdeps/sparc/sparc32/sem_post.c: ... here.
29004         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
29005         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
29006         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
29007         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
29008         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
29009         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
29010         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
29011         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
29012         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
29013         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
29014         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
29015         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
29016         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
29017         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
29018         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
29019         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
29020         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
29021         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
29022         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
29023         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
29024         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
29025         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
29026         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
29027         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
29028         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
29029         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
29031         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
29032         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
29033         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
29034         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
29035         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
29036         Moved ...
29037         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
29038         ... here.
29039         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
29040         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
29041         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
29042         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
29043         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
29044         Moved ...
29045         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
29046         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
29047         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
29048         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
29049         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
29050         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
29051         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
29052         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
29053         Moved ...
29054         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
29055         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
29056         Moved ...
29057         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
29058         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
29059         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
29060         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
29061         Moved ...
29062         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
29063         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
29064         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
29065         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
29066         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
29067         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
29068         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
29069         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
29070         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
29071         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
29072         Moved ...
29073         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
29074         ... here.
29075         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
29076         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
29077         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
29078         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
29079         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
29080         Moved ...
29081         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
29082         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
29083         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
29084         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
29085         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
29086         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
29087         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
29088         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
29089         Moved ...
29090         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
29091         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
29092         Moved ...
29093         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
29094         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
29095         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
29096         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
29097         Moved ...
29098         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
29099         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
29100         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
29101         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
29102         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
29104 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
29106         * timezone/checktab.awk: Update from tzcode 2014e.
29107         * timezone/private.h: Likewise.
29108         * timezone/tzfile.h: Likewise.
29109         * timezone/zdump.c: Likewise.
29110         * timezone/zic.c: Likewise.
29112         * sysdeps/unix/sysv/linux/kernel-features.h
29113         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
29114         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
29115         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
29116         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29117         Remove conditional code.
29119 2014-06-25  Will Newton  <will.newton@linaro.org>
29121         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
29122         (_dl_arm_cap_flags): Add HWCAP2 values.
29123         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
29124         (_DL_HWCAP_COUNT): Increase to 37.
29125         (_DL_HWCAP_LAST): New define.
29126         (_DL_HWCAP2_LAST): New define.
29127         (_dl_procinfo): Add support for printing
29128         AT_HWCAP2 entries.
29129         (_dl_string_hwcap): Use _dl_hwcap_string.
29131 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29133         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29135 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
29137         * README: Do not mention ports directory.
29139         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
29140         Remove macro.
29141         * sysdeps/unix/sysv/linux/futimes.c: Do not include
29142         <kernel-features.h>.
29143         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
29144         conditional variable definition.
29145         (__futimes): Update comment.
29146         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
29147         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
29149         [BZ #16560]
29150         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
29151         arguments close to 0.
29152         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
29153         Likewise.
29154         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
29155         Likewise.
29156         * math/auto-libm-test-in: Add more tests of exp10.
29157         * math/auto-libm-test-out: Regenerated.
29158         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29160         * sysdeps/unix/sysv/linux/kernel-features.h
29161         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
29162         * sysdeps/unix/sysv/linux/readv.c: Do not include
29163         <kernel-features.h>.
29164         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
29165         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
29166         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
29167         unconditional.
29168         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
29169         conditional code.
29170         * sysdeps/unix/sysv/linux/writev.c: Do not include
29171         <kernel-features.h>.
29172         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
29173         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
29174         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
29175         unconditional.
29176         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
29177         conditional code.
29179 2014-06-25  Will Newton  <will.newton@linaro.org>
29181         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
29182         comment changes throughout the file.  Remove checks
29183         for HAVE_*_H definitions that are not required.
29184         (__gen_tempname): Call abort if an unknown kind value is
29185         passed.
29187 2014-06-25  Andreas Schwab  <schwab@suse.de>
29189         [BZ #17086]
29190         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
29191         scalbln, scalblnf, scalblnl in libc.
29193 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29195         [BZ #17086]
29196         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
29197         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
29198         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
29200 2014-06-24  Roland McGrath  <roland@hack.frob.com>
29202         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
29203         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
29204         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
29205         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
29206         Update #include.
29207         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
29208         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
29209         Update #include.
29210         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
29211         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
29212         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
29213         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
29214         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
29215         * sysdeps/x86/bits/pthreadtypes.h: ... here.
29216         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
29217         * sysdeps/x86/bits/semaphore.h: ... here.
29218         * sysdeps/x86/nptl/elide.h: Moved ...
29219         * sysdeps/x86/elide.h: ... here.
29220         * sysdeps/x86_64/nptl/Implies: File removed.
29221         * sysdeps/i386/nptl/Implies: File removed.
29223 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
29225         [BZ #16539]
29226         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
29227         return the argument for normal arguments with exponent below -64.
29228         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
29229         Likewise.
29230         * math/auto-libm-test-in: Add another test of expm1.
29231         * math/auto-libm-test-out: Regenerated.
29233         [BZ #16287]
29234         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
29235         calling __erfcl for arguments at least 16.
29236         * math/auto-libm-test-in: Add more tests of erf.
29237         * math/auto-libm-test-out: Regenerated.
29239         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
29240         individual architectures.
29241         * sysdeps/unix/sysv/linux/configure: Regenerated.
29242         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
29243         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
29244         * sysdeps/unix/sysv/linux/powerpc/configure.ac
29245         (ldd_rewrite_script): Define variable.
29246         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
29248         file.
29249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
29250         generated file.
29251         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
29252         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
29253         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
29254         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
29255         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
29256         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
29257         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
29258         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
29260 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29262         [BZ #17084]
29263         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
29264         Rename member __data.d to __data.__elision_data.
29266 2014-06-24  Wilco  <wdijkstr@arm.com>
29268         * NEWS: Add 16918 to fixed bug list.
29270 2014-06-24  Wilco  <wdijkstr@arm.com>
29272         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
29274 2014-06-24  Wilco  <wdijkstr@arm.com>
29276         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
29277         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
29278         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
29279         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
29280         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
29281         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
29282         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
29283         Use _FPU_MASK_RM.
29285 2014-06-24  Wilco  <wdijkstr@arm.com>
29287         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
29289 2014-06-24  Wilco  <wdijkstr@arm.com>
29291         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
29292         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
29293         * sysdeps/arm/fesetround.c (fesetround): Remove space.
29294         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
29296 2014-06-24  Wilco  <wdijkstr@arm.com>
29298         [BZ #16918]
29299         * sysdeps/arm/feupdateenv.c (feupdateenv):
29300         Rewrite to reduce FPSCR accesses and fix return value.
29302 2014-06-24  Wilco  <wdijkstr@arm.com>
29304         * sysdeps/arm/fclrexcpt.c (feclearexcept):
29305         Optimize to avoid unnecessary FPSCR writes.
29306         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
29307         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
29308         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
29309         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
29311 2014-06-24  Wilco  <wdijkstr@arm.com>
29313         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
29314         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
29315         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
29316         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
29317         Call libc_fetestexcept_vfp.
29318         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
29319         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
29320         __SOFTFP__ ifdef so that they can be built for softfp.
29322 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29324         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
29325         argument type signed char.
29327         * Makerules (check-abi): Dump diff of symlist if the test
29328         fails.
29330 2014-06-23  Roland McGrath  <roland@hack.frob.com>
29332         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
29333         using abort.
29335         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
29336         Remove unused variable ST.
29338 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
29340         [BZ #16354]
29341         [BZ #17061]
29342         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
29343         small arguments before calling __expm1.
29344         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
29345         small arguments before calling __expm1f.
29346         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
29347         small arguments before calling __expm1l.
29348         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
29349         Likewise.
29350         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
29351         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
29352         spurious underflow for some cosh tests.
29353         * math/auto-libm-test-out: Regenerated.
29354         * sysdeps/i386/fpu/libm-test-ulps: Update.
29356         [BZ #17050]
29357         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
29358         (__ieee754_y1): Set errno if return value overflows.
29359         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
29360         (__ieee754_y1f): Set errno if return value overflows.
29361         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
29362         (__ieee754_y1l): Set errno if return value overflows.
29363         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
29364         (__ieee754_y1l): Set errno if return value overflows.
29365         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
29366         * math/auto-libm-test-out: Regenerated.
29368         * math/gen-auto-libm-tests.c: Document use of
29369         ignore-zero-inf-sign.
29370         (input_flag_type): Add value flag_ignore_zero_inf_sign.
29371         (input_flags): Add ignore-zero-inf-sign.
29372         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
29373         * math/gen-libm-test.pl (generate_testfile): Handle
29374         ignore-zero-inf-sign.
29375         * math/auto-libm-test-in: Mark some cpow tests with
29376         ignore-zero-inf-sign and some with xfail-rounding.
29377         * math/auto-libm-test-out: Regenerated.
29378         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
29379         * sysdeps/i386/fpu/libm-test-ulps: Update.
29380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29382         [BZ #16315]
29383         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
29384         overflowing or underflowing operations take place with sign of
29385         result.
29386         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29387         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
29388         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
29389         (__ieee754_pow): Recompute overflowing and underflowing results in
29390         original rounding mode.
29391         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
29392         (__powl_helper): Allow negative argument X and scale negated value
29393         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
29394         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
29395         overflowing or underflowing operations take place with sign of
29396         result.
29397         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
29398         Include <math.h>.
29399         * math/auto-libm-test-in: Add more tests of pow.
29400         * math/auto-libm-test-out: Regenerated.
29401         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
29402         (pow_tonearest_test_data): Remove.
29403         (pow_test_tonearest): Likewise.
29404         (pow_towardzero_test_data): Likewise.
29405         (pow_test_towardzero): Likewise.
29406         (pow_downward_test_data): Likewise.
29407         (pow_test_downward): Likewise.
29408         (pow_upward_test_data): Likewise.
29409         (pow_test_upward): Likewise.
29410         (main): Don't call removed functions.
29411         * sysdeps/i386/fpu/libm-test-ulps: Update.
29412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29414 2014-06-23  Roland McGrath  <roland@hack.frob.com>
29416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
29417         Moved ...
29418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
29419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29420         Moved ...
29421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
29422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
29423         Moved ...
29424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
29425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29426         Moved ...
29427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
29428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29429         File removed.
29430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
29431         File removed.
29432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
29433         File removed.
29434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
29435         File removed.
29436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
29437         File removed.
29438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
29439         File removed.
29440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
29441         File removed.
29442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
29443         File removed.
29444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
29445         File removed.
29446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
29447         File removed.
29448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
29449         File removed.
29450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
29451         File removed.
29452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
29453         Moved ...
29454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
29455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
29456         Moved ...
29457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
29458         ... here.
29459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
29460         Moved ...
29461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
29462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
29463         Moved ...
29464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
29465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
29466         Moved ...
29467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
29468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
29469         Moved ...
29470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
29471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
29472         Moved ...
29473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
29474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
29475         Moved ...
29476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
29477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
29478         Moved ...
29479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
29480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
29481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
29482         ... here.
29483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
29484         Moved ...
29485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
29486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
29487         Moved ...
29488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
29489         ... here.
29490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
29491         Moved ...
29492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29493         ... here.
29494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
29495         Moved ...
29496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
29497         ... here.
29498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29499         Moved ...
29500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
29501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
29502         Moved ...
29503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
29504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
29505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
29506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
29507         Moved ...
29508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
29509         ... here.
29510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
29511         Moved ...
29512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
29513         ... here.
29514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
29515         Moved ...
29516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
29517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
29518         Moved ...
29519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
29520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
29521         Moved ...
29522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
29523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29524         Moved ...
29525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
29526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
29527         Moved ...
29528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
29529         ... here.
29530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
29531         Moved ...
29532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
29533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
29534         Moved ...
29535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
29536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
29537         Moved ...
29538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
29539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
29540         Moved ...
29541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
29542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
29543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
29544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
29545         Moved ...
29546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
29547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
29548         Moved ...
29549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
29550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
29551         Moved ...
29552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
29553         ... here.
29554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29555         Moved ...
29556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
29557         ... here.
29558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
29559         Moved ...
29560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
29561         ... here.
29562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
29563         Moved ...
29564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
29565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
29566         Moved ...
29567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
29568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
29569         Moved ...
29570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
29571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
29572         Moved ...
29573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
29574         ... here.
29575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
29576         Moved ...
29577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
29578         ... here.
29579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
29580         Moved ...
29581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
29582         ... here.
29583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
29584         Moved ...
29585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
29586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29587         Moved ...
29588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
29590 2014-06-23  Will Newton  <will.newton@linaro.org>
29591             Wilco  <wdijkstr@arm.com>
29593         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
29594         implementation.  Include get-rounding-mode.h.
29595         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
29596         [!libc_feholdsetround_noex_ctx]: Define
29597         libc_feholdsetround_noex_ctx.
29598         [!libc_feholdsetround_noexf_ctx]: Define
29599         libc_feholdsetround_noexf_ctx.
29600         [!libc_feholdsetround_noexl_ctx]: Define
29601         libc_feholdsetround_noexl_ctx.
29602         (libc_feholdsetround_ctx): New function.
29603         (libc_feresetround_ctx): New function.
29604         (libc_feholdsetround_noex_ctx): New function.
29605         (libc_feresetround_noex_ctx): New function.
29607 2014-06-23  Roland McGrath  <roland@hack.frob.com>
29609         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
29610         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
29611         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
29612         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
29613         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
29614         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
29616         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
29617         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
29618         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
29619         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
29620         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
29621         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
29622         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
29623         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
29624         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
29625         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
29626         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
29627         Moved ...
29628         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
29629         ... here.
29630         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
29631         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
29632         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
29633         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
29634         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
29635         Moved ...
29636         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
29637         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
29638         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
29639         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
29640         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
29641         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
29642         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
29643         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
29644         Moved ...
29645         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
29646         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
29647         Moved ...
29648         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
29649         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
29650         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
29651         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
29652         Moved ...
29653         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
29654         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
29655         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
29656         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
29657         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
29658         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
29659         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
29660         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
29661         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
29662         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
29663         Moved ...
29664         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
29665         ... here.
29666         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
29667         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
29668         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
29669         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
29670         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
29671         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
29672         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
29673         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
29674         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
29675         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
29676         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
29677         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
29678         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
29679         Moved ...
29680         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
29681         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
29682         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
29683         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
29684         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
29685         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
29686         Moved ...
29687         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
29688         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
29689         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
29690         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
29691         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
29693         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
29694         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
29695         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
29696         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
29697         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
29698         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
29699         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
29700         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
29701         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
29702         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
29703         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
29704         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
29705         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
29706         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
29707         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
29708         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
29709         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
29710         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
29711         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
29712         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
29713         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
29714         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
29715         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
29716         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
29717         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
29718         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
29719         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
29720         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
29722 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
29724         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
29725         (FALLOC_FL_COLLAPSE_RANGE): New macro.
29726         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
29727         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
29728         (IPV6_PMTUDISC_INTERFACE): Likewise.
29729         (IPV6_PMTUDISC_OMIT): Likewise.
29731 2014-06-23  Andreas Schwab  <schwab@suse.de>
29733         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
29734         Remove unused errout label.
29736 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29738         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
29739         macro: hardware supports Vector Crypto instructions.
29741 2014-06-23  Will Newton  <will.newton@linaro.org>
29743         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
29744         rather than __builtin_expect.
29746         * elf/dl-lookup.c (undefined_msg): Remove variable.
29747         (_dl_lookup_symbol_x): Replace undefined_msg with string
29748         literal.
29750         * elf/dl-lookup.c (do_lookup_unique): New function.
29751         (do_lookup_x): Move STB_GNU_UNIQUE handling code
29752         to a separate function.
29754 2014-06-23  Andreas Schwab  <schwab@suse.de>
29756         [BZ #17079]
29757         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
29758         before reading the next line.
29760 2014-06-23  Will Newton  <will.newton@linaro.org>
29762         * test-skeleton.c (signal_handler): Use printf and %m
29763         rather than perror.  Use printf rather than fprintf to
29764         stderr.  Use puts rather than fputs to stderr.
29765         (main): Likewise.
29767 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
29769         * nscd/nscd.c (thread_info_t): Remove typedef.
29770         (thread_info): Remove variable.
29772 2014-06-21  Allan McRae  <allan@archlinux.org>
29774         * NEWS: Mention CVE-2014-4043.
29776 2014-06-20  Roland McGrath  <roland@hack.frob.com>
29778         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
29779         * nptl/smp.h: ... here.
29781         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
29783         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
29784         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
29785         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
29786         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
29788         * nptl/allocatestack.c: Include <stack-aliasing.h>.
29789         * nptl/stack-aliasing.h: New file.
29790         * sysdeps/i386/i686/stack-aliasing.h: New file.
29791         * sysdeps/i386/i686/nptl/Makefile: File removed.
29792         * sysdeps/x86_64/stack-aliasing.h: New file.
29793         * sysdeps/x86_64/nptl/Makefile
29794         (CFLAGS-pthread_create.c): Variable removed.
29796         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
29797         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
29798         old file.
29799         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
29800         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
29801         old file.
29803 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
29805         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29806         (__ASSUME_SIGFRAME_V2): Remove macro.
29807         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
29808         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
29809         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
29810         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
29811         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
29812         Declare as function.  Remove conditional macro definitions.
29813         (__default_rt_sa_restorer): Likewise.
29814         (__default_sa_restorer_v1): Remove declaration.
29815         (__default_sa_restorer_v2): Likewise.
29816         (__default_rt_sa_restorer_v1): Likewise.
29817         (__default_rt_sa_restorer_v2): Likewise.
29818         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
29819         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
29820         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
29822 2014-06-20  Roland McGrath  <roland@hack.frob.com>
29824         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
29825         (libpthread-routines): Add sysdep.
29826         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
29827         * sysdeps/unix/sysv/linux/sparc/Versions
29828         (libpthread: GLIBC_2.3.3): New version set.
29829         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
29830         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
29831         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
29832         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
29833         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
29834         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
29835         Moved ...
29836         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
29837         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
29838         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
29839         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
29840         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
29841         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
29842         * sysdeps/sparc/nptl/sem_init.c: ... here.
29843         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
29844         * sysdeps/sparc/nptl/sem_post.c: ... here.
29845         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
29846         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
29847         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
29848         * sysdeps/sparc/nptl/sem_wait.c: ... here.
29849         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
29850         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
29851         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
29852         (libpthread-routines): Add cpu_relax.
29853         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
29854         File removed.
29855         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
29856         (librt: GLIBC_2.3.3): New version set.
29857         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
29858         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
29859         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
29860         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
29861         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
29862         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
29863         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
29864         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
29865         Moved ...
29866         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
29867         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
29868         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
29869         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
29870         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
29871         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
29872         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
29873         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
29874         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
29875         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
29876         Moved ...
29877         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
29878         Update #include.
29879         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
29880         Moved ...
29881         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
29882         Update #include.
29883         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
29884         Moved ...
29885         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
29886         Update #include.
29887         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
29888         Moved ...
29889         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
29890         Update #include.
29891         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
29892         Moved ...
29893         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
29894         Update #include.
29895         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
29896         Moved ...
29897         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
29898         Update #include.
29899         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
29900         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
29901         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
29902         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
29903         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
29904         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
29905         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
29906         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
29907         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
29908         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
29909         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
29910         Moved ...
29911         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
29912         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
29913         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
29914         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
29915         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
29917 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
29919         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
29920         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
29921         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
29922         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
29923         * nscd/nscd.c: Likewise.
29924         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
29925         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
29926         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
29927         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
29929         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
29930         <kernel-features.h>.
29931         (init_mq_netlink): Remove conditional have_sock_cloexec
29932         definitions.  Remove code conditional on have_sock_cloexec < 0.
29933         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
29934         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
29935         * sysdeps/unix/sysv/linux/opensock.c: Do not include
29936         <kernel-features.h>.
29937         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
29938         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
29940 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
29942         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29943         Add tests for memset_chk and memset.
29945         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
29946         with AVX2_Usable.
29948 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
29950         [BZ #16046]
29951         * elf/tst-dl-iter-static.c: New file.
29952         * elf/Makefile (tests-static): Add tst-dl-iter-static.
29954         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
29955         error.
29957 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
29959         * sysdeps/unix/sysv/linux/kernel-features.h
29960         (__ASSUME_F_GETOWN_EX): Remove macro.
29961         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
29962         <kernel-features.h>.
29963         (miss_F_GETOWN_EX): Remove variable or macro.
29964         (do_fcntl): Do not check miss_F_GETOWN_EX.
29965         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
29967         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
29968         Remove macro.
29969         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
29970         [!__ASSUME_AT_RANDOM]: Remove conditional code.
29971         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
29973         * sysdeps/unix/sysv/linux/kernel-features.h
29974         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
29975         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
29976         [ADJ_OFFSET_SS_READ]: Make code unconditional.
29977         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
29979 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
29981         [BZ #17075]
29982         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
29983         Fix calculation of the symbol's value.
29984         * sysdeps/arm/tst-armtlsdescloc.c: New file.
29985         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
29986         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
29987         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
29988         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
29989         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
29990         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
29991         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
29992         (modules-names): Add `tst-armtlsdescmod',
29993         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
29994         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
29995         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
29996         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
29997         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
29998         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
29999         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
30000         ($(objpfx)tst-armtlsdescloc): New dependency.
30001         ($(objpfx)tst-armtlsdescextnow): Likewise.
30002         ($(objpfx)tst-armtlsdescextlazy): Likewise.
30003         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
30004         TLS scheme support.
30005         * sysdeps/arm/configure: Regenerate.
30007 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
30009         * include/fcntl.h (__atfct_seterrno): Remove prototype.
30010         (__atfct_seterrno_2): Likewise.
30011         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
30012         <kernel-features.h>.
30013         (__ASSUME_ATFCTS): Do not undefine and redefine.
30014         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
30015         (__have_atfcts): Remove conditional definition.
30016         (__fxstatat([__NR_fstatat64]: Make code unconditional.
30017         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
30018         unreachable if [__ASSUME_ATFCTS].
30019         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
30020         not undefine and redefine.
30021         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
30022         <kernel-features.h>.
30023         (faccessat) [__NR_faccessat]: Make code unconditional.
30024         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
30025         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
30026         <kernel-features.h>.
30027         (fchmodat) [__NR_fchmodat]: Make code unconditional.
30028         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
30029         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
30030         <kernel-features.h>.
30031         (fchownat) [__NR_fchownat]: Make code unconditional.
30032         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
30033         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
30034         <kernel-features.h>.
30035         (futimesat) [__NR_futimesat]: Make code unconditional.
30036         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
30037         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
30038         <kernel-features.h>.
30039         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
30040         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
30041         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
30042         <kernel-features.h>.
30043         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
30044         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
30045         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
30046         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
30047         <kernel-features.h>.
30048         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
30049         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
30050         * sysdeps/unix/sysv/linux/linkat.c: Do not include
30051         <kernel-features.h>.
30052         (linkat) [__NR_linkat]: Make code unconditional.
30053         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30054         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
30055         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
30056         <kernel-features.h>.
30057         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
30058         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
30059         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
30060         <kernel-features.h>.
30061         (mkdirat) [__NR_mkdirat]: Make code unconditional.
30062         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
30063         * sysdeps/unix/sysv/linux/openat.c: Do not include
30064         <kernel-features.h>.
30065         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
30066         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
30067         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
30068         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
30069         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
30070         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
30071         <kernel-features.h>.
30072         (readlinkat) [__NR_readlinkat]: Make code unconditional.
30073         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
30074         result of INLINE_SYSCALL directly, not via int variable.
30075         * sysdeps/unix/sysv/linux/renameat.c: Do not include
30076         <kernel-features.h>.
30077         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
30078         (renameat) [__NR_renameat]: Make code unconditional.
30079         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
30080         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
30081         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
30082         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
30083         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
30084         (__ASSUME_ATFCTS): Do not undefine and redefine.
30085         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
30086         <kernel-features.h>.
30087         (symlinkat) [__NR_symlinkat]: Make code unconditional.
30088         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30089         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
30090         <kernel-features.h>.
30091         (unlinkat) [__NR_unlinkat]: Make code unconditional.
30092         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
30093         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
30094         (__ASSUME_ATFCTS): Do not undefine and redefine.
30095         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30096         <kernel-features.h>.
30097         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
30098         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
30099         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30100         <kernel-features.h>.
30101         (__xmknodat) [__NR_mknodat]: Make code unconditional.
30102         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
30104 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
30106         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
30108 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
30110         [BZ #17069]
30111         * posix/regcomp.c (parse_reg_exp): Deallocate partially
30112         constructed tree before returning error.
30113         * posix/bug-regexp36.c: Expand test case.
30115 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
30117         [BZ #6803]
30118         * math/libm-test.inc (scalbln_test_date):
30119         Add errno expectations.
30120         * math/w_scalblnf.c: New File.
30121         Add wrapper which checks for setting errno to ERANGE.
30122         Add weak_alias for corresponding scalbln function.
30123         * math/w_scalbln.c: Likewise.
30124         * math/w_scalblnl.c: Likewise.
30125         * math/Makefile (libm-calls): Add w_scalbln.
30126         * sysdeps/ieee754/flt-32/s_scalblnf.c:
30127         Remove weak_alias for corresponding scalbln function.
30128         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30129         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
30130         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30131         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30132         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
30133         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
30134         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
30135         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
30136         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
30137         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
30138         Remove long_double_symbol for scalblnl function in libm, libc.
30139         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
30140         Add wrapper which checks for setting errno to ERANGE.
30141         Add long_double_symbol for scalblnl function in libm, libc.
30142         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
30143         Remove long_double_symbol for scalblnl in libm.
30144         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
30145         Add wrapper which checks for setting errno to ERANGE.
30146         Add long_double_symbol for scalblnl function in libm.
30147         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
30148         Do not use wrapper because of own implementation.
30150 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
30152         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
30153         3 bytes for __pad1 for x32.
30154         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
30156 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
30157             H.J. Lu  <hongjiu.lu@intel.com>
30159         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
30160         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
30161         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30162         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30163         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
30165 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
30167         [BZ #17069]
30168         * posix/regcomp.c (parse_expression): Deallocate partially
30169         constructed tree before returning error.
30170         * posix/Makefile.c (tests): Add bug-regex36.
30171         (generated): Add bug-regex36.mtrace.
30172         (tests-special): Add $(objpfx)bug-regex36-mem.out
30173         (bug-regex36-ENV): New variable.
30174         ($(objpfx)bug-regex36-mem.out): New rule.
30175         * posix/bug-regex36.c: New file.
30177 2014-06-19  Will Newton  <will.newton@linaro.org>
30179         * malloc/malloc.c (systrim): If extra is zero then return
30180         early.
30182 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30184         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
30186 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
30188         * sysdeps/aarch64/strchr.S: New file.
30190 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
30192         [BZ #17022]
30193         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
30194         from arguments -2 or below.
30195         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
30196         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
30198 2014-06-18  Andreas Schwab  <schwab@suse.de>
30200         [BZ #17062]
30201         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
30202         of a bracket expr not to run off the end of the string.
30203         * posix/Makefile (tests): Add tst-fnmatch3.
30204         * posix/tst-fnmatch3.c: New file.
30206 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
30208         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
30209         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
30210         [$(cross-compiling) = no]: Likewise.
30211         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
30212         [$(cross-compiling) = no]: Likewise.
30214 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30216         [BZ #17031]
30217         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
30218         double, adjusted for any remainder from the high double.
30219         * math/libm-test.inc (nearbyint): Add tests.
30220         (rint): Likewise.
30222 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30224         * nptl/sysdeps/powerpc/Makefile: Moved ...
30225         * sysdeps/powerpc/nptl/Makefile: ... here.
30226         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
30227         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
30228         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
30229         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
30230         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
30231         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
30232         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
30233         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
30234         * nptl/sysdeps/powerpc/tls.h: Moved ...
30235         * sysdeps/powerpc/nptl/tls.h: ... here.
30237 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
30239         [BZ #16681]
30240         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
30241         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
30242         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
30243         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
30244         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
30245         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
30246         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
30247         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
30248         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
30250 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
30252         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
30254 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
30256         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
30257         defined operator.
30259         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
30260         $TIMEOUTFACTOR.
30262 2014-06-16  Florian Weimer  <fweimer@redhat.com>
30264         [BZ #17058]
30265         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
30266         non-executed part of the test.
30268 2014-06-16  Andreas Schwab  <schwab@suse.de>
30270         * string/bits/string2.h (strdup, strndup): Update feature guard.
30272 2014-06-14  David S. Miller  <davem@davemloft.net>
30274         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30276 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
30278         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
30279         that was previously under [RESET_PID].
30280         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
30282         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
30283         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
30284         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
30285         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30286         (__libc_vfork): New strong alias.
30287         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
30289 2014-06-14 Andi Kleen  <ak@linux.intel.com>
30291         * sysdeps/generic/elide.h: New file.
30293 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30295         * Makefile (installed-headers): Adjust path of pthread.h header.
30297 2014-06-13  Roland McGrath  <roland@hack.frob.com>
30299         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
30300         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
30301         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
30302         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
30304         * nptl/sysdeps/s390/Makefile: Moved ...
30305         * sysdeps/s390/nptl/Makefile: ... here.
30306         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
30307         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
30308         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
30309         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
30310         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
30311         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
30312         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
30313         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
30314         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
30315         * sysdeps/s390/nptl/pthreaddef.h: ... here.
30316         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
30317         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
30318         * nptl/sysdeps/s390/tls.h: Moved ...
30319         * sysdeps/s390/nptl/tls.h: ... here.
30321         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
30322         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
30324 2014-06-13  David S. Miller  <davem@davemloft.net>
30326         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
30327         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
30328         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
30329         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
30330         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
30331         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
30332         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
30333         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
30334         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
30335         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
30336         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
30337         Remove RESET_PID cpp guards.
30338         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
30339         Remove RESET_PID cpp guards.
30340         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
30342 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
30344         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
30345         __sp to uintptr_t.
30347 2014-06-13  Andi Kleen  <ak@linux.intel.com>
30349         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
30350         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
30351         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
30352         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
30353         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
30354         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
30355         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
30356         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
30357         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
30358         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
30359         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
30360         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
30361         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
30362         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
30363         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
30364         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
30365         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
30366         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
30367         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
30368         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
30370         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
30371         (pthread_rwlock_rdlock): Add elision.
30372         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
30373         (pthread_rwlock_wrlock): Add elision.
30374         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
30375         (pthread_rwlock_trywrlock): Add elision.
30376         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
30377         (pthread_rwlock_tryrdlock): Add elision.
30378         * nptl/pthread_rwlock_unlock.c: Include elide.h.
30379         (pthread_rwlock_tryrdlock): Add elision unlock.
30380         * nptl/sysdeps/pthread/pthread.h:
30381         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
30382         (PTHREAD_RWLOCK_INITIALIZER,
30383         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
30384         Handle new elision field.
30385         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
30386         * sysdeps/arm/nptl/bits/pthreadtypes.h
30387         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30388         * sysdeps/sh/nptl/bits/pthreadtypes.h
30389         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30390         * sysdeps/tile/nptl/bits/pthreadtypes.h
30391         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30392         * sysdeps/a/nptl/bits/pthreadtypes.h
30393         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30394         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
30395         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30396         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
30397         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30398         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
30399         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30400         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
30401         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30402         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
30403         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30404         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
30405         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30406         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
30407         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30408         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
30409         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30410         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
30411         (elision_init): Set try_xbegin to zero when no RTM.
30412         * sysdeps/x86/nptl/bits/pthreadtypes.h
30413         (pthread_rwlock_t): Change __pad1 to __rwelision.
30414         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
30416 2014-06-13  Andi Kleen  <ak@linux.intel.com>
30418         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
30419         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
30420         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
30421         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
30423 2014-06-13  Meador Inge  <meadori@codesourcery.com>
30425         [BZ #16996]
30426         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
30427         that the cached result has been set before returning it.
30429 2014-06-12  Roland McGrath  <roland@hack.frob.com>
30431         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
30432         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
30433         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
30434         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
30435         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
30436         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
30438         * nptl/sysdeps/sparc/Makefile: Moved ...
30439         * sysdeps/sparc/nptl/Makefile: ... here.
30440         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
30441         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
30442         * nptl/sysdeps/sparc/tls.h: Moved ...
30443         * sysdeps/sparc/nptl/tls.h: ... here.
30444         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
30445         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
30446         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
30447         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
30448         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
30449         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
30450         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
30451         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
30452         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
30453         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
30454         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
30455         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
30456         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
30457         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
30458         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
30459         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
30460         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
30461         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
30462         Update #include.
30463         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
30464         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
30465         Update #include.
30466         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
30467         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
30468         Update #include.
30469         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
30470         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
30471         Update #include.
30473         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
30475         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
30476         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
30478         * sysdeps/pthread/posix-timer.h: Include <list.h>.
30479         (struct list_links): Type removed.
30480         (struct thread_node, struct timer_node): Replace struct list_links
30481         with struct list_head.
30482         (list_unlink_ip): Likewise.
30483         * sysdeps/pthread/timer_routines.c
30484         (timer_free_list, thread_free_list, thread_active_list): Likewise.
30485         (list_append, list_insbefore): Likewise.
30486         (list_init): Function removed.
30487         (thread_init, init_module): Use INIT_LIST_HEAD instead.
30488         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
30489         * sysdeps/pthread/Makefile: ... here, new file.
30491         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
30492         * sysdeps/nptl/Implies: ... here.
30493         * sysdeps/unix/sysv/linux/Implies: Add nptl.
30494         * nptl/sysdeps/pthread/list.h: Moved ...
30495         * include/list.h: ... here.
30496         * nptl/sysdeps/pthread/createthread.c: Moved ...
30497         * nptl/createthread.c: ... here.
30498         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
30499         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
30500         * nptl/pt-longjmp.c: ... here.
30501         * nptl/sysdeps/pthread/Makefile: Moved ...
30502         * sysdeps/nptl/Makefile: ... here.
30503         * nptl/sysdeps/pthread/Subdirs: Moved ...
30504         * sysdeps/nptl/Subdirs: ... here.
30505         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
30506         * sysdeps/nptl/aio_misc.h: ... here.
30507         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
30508         * sysdeps/nptl/bits/libc-lock.h: ... here.
30509         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
30510         * sysdeps/nptl/bits/libc-lockP.h: ... here.
30511         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
30512         * sysdeps/nptl/bits/stdio-lock.h: ... here.
30513         * nptl/sysdeps/pthread/configure: Moved ...
30514         * sysdeps/nptl/configure: ... here.
30515         * nptl/sysdeps/pthread/configure.ac: Moved ...
30516         * sysdeps/nptl/configure.ac: ... here.
30517         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
30518         * sysdeps/nptl/gai_misc.h: ... here.
30519         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
30520         * sysdeps/nptl/librt-cancellation.c: ... here.
30521         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
30522         * sysdeps/nptl/malloc-machine.h: ... here.
30523         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
30524         * sysdeps/nptl/pthread-functions.h: ... here.
30525         * nptl/sysdeps/pthread/pthread.h: Moved ...
30526         * sysdeps/nptl/pthread.h: ... here.
30527         * nptl/sysdeps/pthread/setxid.h: Moved ...
30528         * sysdeps/nptl/setxid.h: ... here.
30529         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
30530         * sysdeps/nptl/sigfillset.c: ... here.
30531         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
30532         * sysdeps/nptl/tcb-offsets.h: ... here.
30533         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
30534         * sysdeps/nptl/tst-mqueue8x.c: ... here.
30535         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
30536         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
30537         * nptl/sysdeps/pthread/allocalim.h: Moved ...
30538         * sysdeps/pthread/allocalim.h: ... here.
30539         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
30540         * sysdeps/pthread/bits/sigthread.h: ... here.
30541         * nptl/sysdeps/pthread/flockfile.c: Moved ...
30542         * sysdeps/pthread/flockfile.c: ... here.
30543         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
30544         * sysdeps/pthread/ftrylockfile.c: ... here.
30545         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
30546         * sysdeps/pthread/funlockfile.c: ... here.
30547         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
30548         * sysdeps/pthread/posix-timer.h: ... here.
30549         * nptl/sysdeps/pthread/timer_create.c: Moved ...
30550         * sysdeps/pthread/timer_create.c: ... here.
30551         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
30552         * sysdeps/pthread/timer_delete.c: ... here.
30553         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
30554         * sysdeps/pthread/timer_getoverr.c: ... here.
30555         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
30556         * sysdeps/pthread/timer_gettime.c: ... here.
30557         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
30558         * sysdeps/pthread/timer_routines.c: ... here.
30559         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
30560         * sysdeps/pthread/timer_settime.c: ... here.
30561         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
30562         * sysdeps/pthread/tst-timer.c: ... here.
30563         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
30564         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
30566         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
30567         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
30569         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
30570         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
30571         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
30572         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
30573         Update #include target.
30574         * nptl/sysdeps/i386/i686/Makefile: Moved ...
30575         * sysdeps/i386/i686/nptl/Makefile: ... here.
30576         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
30577         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
30578         Update #include target.
30579         * nptl/sysdeps/i386/i686/tls.h: Moved ...
30580         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
30581         * nptl/sysdeps/i386/Makefile: Moved ...
30582         * sysdeps/i386/nptl/Makefile: ... here.
30583         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
30584         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
30585         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
30586         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
30587         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
30588         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
30589         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
30590         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
30591         * sysdeps/i386/nptl/pthreaddef.h: ... here.
30592         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
30593         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
30594         * nptl/sysdeps/i386/tls.h: Moved ...
30595         * sysdeps/i386/nptl/tls.h: ... here.
30597         * sysdeps/sh/Makefile [$(subdir) = csu]
30598         (gen-as-const-headers): Add tcb-offsets.sym.
30599         * nptl/sysdeps/sh/Makefile: File removed.
30600         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
30601         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
30602         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
30603         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
30604         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
30605         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
30606         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
30607         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
30608         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
30609         * sysdeps/sh/nptl/pthreaddef.h: ... here.
30610         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
30611         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
30612         * nptl/sysdeps/sh/tls.h: Moved ...
30613         * sysdeps/sh/nptl/tls.h: ... here.
30614         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
30615         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
30616         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
30617         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
30618         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
30619         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
30620         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
30621         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
30622         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
30623         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
30624         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
30625         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
30626         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
30627         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
30628         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
30629         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
30630         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
30631         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
30632         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
30633         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
30634         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
30635         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
30636         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
30637         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
30638         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
30639         Moved ...
30640         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
30641         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
30642         Moved ...
30643         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
30644         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
30645         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
30646         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
30647         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
30648         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
30649         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
30650         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
30651         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
30652         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
30653         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
30654         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
30655         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
30656         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
30657         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
30658         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
30659         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
30660         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
30661         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
30663 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
30665         * posix/spawn_faction_addopen.c: Include string.h.
30667 2014-06-11  Roland McGrath  <roland@hack.frob.com>
30669         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
30670         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
30671         * nptl/sysdeps/x86_64/Makefile: Moved ...
30672         * sysdeps/x86_64/nptl/Makefile: ... here.
30673         * nptl/sysdeps/x86_64/configure: Moved ...
30674         * sysdeps/x86_64/nptl/configure: ... here.
30675         * nptl/sysdeps/x86_64/configure.ac: Moved ...
30676         * sysdeps/x86_64/nptl/configure.ac: ... here.
30677         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
30678         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
30679         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
30680         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
30681         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
30682         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
30683         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
30684         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
30685         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
30686         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
30687         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
30688         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
30689         * nptl/sysdeps/x86_64/tls.h: Moved ...
30690         * sysdeps/x86_64/nptl/tls.h: ... here.
30691         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
30692         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
30693         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
30694         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
30696         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
30698 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30700         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30702 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
30704         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
30705         type.
30706         [POSIX] (off_t): Likewise.
30707         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
30708         [POSIX] (S_ISBLK): Require macro.
30709         [POSIX] (S_ISCHR): Likewise.
30710         [POSIX] (S_ISDIR): Likewise.
30711         [POSIX] (S_ISFIFO): Likewise.
30712         [POSIX] (S_ISREG): Likewise.
30713         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
30714         optional-macro.
30715         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
30716         type.
30717         [POSIX] (time_t): Likewise.
30718         [POSIX] (timer_t): Likewise.
30720 2014-06-11  Florian Weimer  <fweimer@redhat.com>
30722         [BZ #17048]
30723         * posix/spawn_int.h (struct __spawn_action): Make the path string
30724         non-const to support deallocation.
30725         * posix/spawn_faction_addopen.c
30726         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
30727         * posix/spawn_faction_destroy.c
30728         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
30729         path in all spawn_do_open actions.
30730         * posix/tst-spawn.c (do_test): Exercise the copy operation in
30731         posix_spawn_file_actions_addopen.
30733 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
30735         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
30736         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
30737         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
30738         conditional code always true.
30739         (__libc_vfork): New alias.
30741 2014-06-11  Roland McGrath  <roland@hack.frob.com>
30743         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30744         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
30746         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
30748         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30749         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
30751         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
30752         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
30754         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30755         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
30757 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30759         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
30760         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
30761         multiarch strcmp for PPC64.
30762         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
30763         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
30764         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
30765         multiarch optimizations.
30766         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30767         (__libc_ifunc_impl_list): Likewise.
30769 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30771         * benchtests/scripts/validate_benchout.py: New script.
30772         * benchtests/Makefile (bench-func): Call it.
30773         * benchtests/scripts/benchout.schema.json: New file.
30775 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
30777         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
30778         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
30779         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
30780         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
30781         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
30782         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
30783         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
30784         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
30785         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
30786         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
30787         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
30788         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
30789         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
30790         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
30791         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
30792         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
30793         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
30794         Moved ...
30795         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
30796         ... here.
30797         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
30798         Moved ...
30799         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
30800         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
30801         Moved ...
30802         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
30803         ... here.
30804         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
30805         Moved ...
30806         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
30807         ... here.
30808         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
30809         Moved ...
30810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
30811         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
30812         Moved ...
30813         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
30814         ... here.
30815         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
30816         Moved ...
30817         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
30818         ... here.
30819         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
30820         Moved ...
30821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
30822         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
30823         Moved ...
30824         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
30825         ... here.
30826         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
30827         Moved ...
30828         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
30829         ... here.
30830         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
30831         Moved ...
30832         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
30833         ... here.
30834         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
30835         Moved ...
30836         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
30837         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
30838         Moved ...
30839         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
30840         ... here.
30841         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
30842         Moved ...
30843         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
30844         ... here.
30845         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
30846         Moved ...
30847         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
30848         ... here.
30849         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
30850         Moved ...
30851         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
30852         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
30853         Moved ...
30854         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
30855         ... here.
30856         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
30857         Moved ...
30858         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
30859         ... here.
30860         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
30861         Moved ...
30862         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
30863         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
30864         Moved ...
30865         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
30866         ... here.
30867         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
30868         Moved ...
30869         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
30870         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
30871         Moved ...
30872         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
30873         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
30874         Moved ...
30875         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
30876         ... here.
30877         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
30878         Moved ...
30879         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
30880         ... here.
30881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
30882         Moved ...
30883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
30884         ... here.
30885         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
30886         Moved ...
30887         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
30888         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
30889         Moved ...
30890         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
30891         ... here.
30892         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
30893         Moved ...
30894         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
30895         ... here.
30896         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
30897         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
30898         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
30899         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
30900         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
30901         Moved ...
30902         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
30903         ... here.
30904         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
30905         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
30906         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
30907         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
30908         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
30909         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
30910         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
30911         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
30912         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
30913         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
30914         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
30915         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
30916         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
30917         Moved ...
30918         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
30919         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
30920         Moved ...
30921         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
30922         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
30923         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
30924         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
30925         Moved ...
30926         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
30927         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
30928         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
30929         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
30930         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
30931         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
30932         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
30934 2014-06-10  Wilco  <wdijkstr@arm.com>
30936         * math/test-fenv-return.c: New file.
30937         * math/Makefile: Add new test test-fenv-return.
30939 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
30941         [BZ #17042]
30942         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
30943         when x - 1 is zero.
30944         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
30945         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
30946         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
30947         0.0L for an argument of 1.0L.
30948         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
30949         Likewise.
30950         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
30951         value when x - 1 is zero.
30952         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
30953         * sysdeps/i386/fpu/libm-test-ulps: Update.
30954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30956 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
30958         [BZ #15119]
30959         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
30961 2014-06-09  Roland McGrath  <roland@hack.frob.com>
30963         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
30964         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
30966 2014-06-09  Roland McGrath  <roland@hack.frob.com>
30968         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30969         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
30971         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30972         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
30974         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30975         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
30977         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30978         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
30980         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
30981         if not already defined.
30982         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
30983         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
30984         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
30985         (TLS_INIT_TP): Use it.
30986         (TLS_DEFINE_INIT_TP): New macro.
30987         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
30989 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
30991         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
30992         constant.
30993         [POSIX] (IXANY): Likewise.
30994         [POSIX] (OLCUC): Likewise.
30995         [POSIX || POSIX2008] (CBAUD): Do not allow.
30996         [POSIX || POSIX2008] (DEFECHO): Likewise.
30997         [POSIX || POSIX2008] (ECHOCTL): Likewise.
30998         [POSIX || POSIX2008] (ECHOKE): Likewise.
30999         [POSIX || POSIX2008] (ECHOPRT): Likewise.
31000         [POSIX || POSIX2008] (EXTA): Likewise.
31001         [POSIX || POSIX2008] (EXTB): Likewise.
31002         [POSIX || POSIX2008] (FLUSHO): Likewise.
31003         [POSIX || POSIX2008] (LOBLK): Likewise.
31004         [POSIX || POSIX2008] (PENDIN): Likewise.
31005         [POSIX || POSIX2008] (SWTCH): Likewise.
31006         [POSIX || POSIX2008] (VDISCARD): Likewise.
31007         [POSIX || POSIX2008] (VDSUSP): Likewise.
31008         [POSIX || POSIX2008] (VLNEXT): Likewise.
31009         [POSIX || POSIX2008] (VREPRINT): Likewise.
31010         [POSIX || POSIX2008] (VSTATUS): Likewise.
31011         [POSIX || POSIX2008] (VWERASE): Likewise.
31012         (B*): Change to B[0123456789]*.
31013         * conform/data/time.h-data [POSIX || UNIX98]
31014         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
31015         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
31016         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
31017         [POSIX] (tm_*): Do not allow.
31019 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
31021         * Makefile (install): Don't set LANGUAGE.
31022         * Makefile.in (install): Likewise.
31023         * assert/Makefile (test-assert-ENV): Remove variable.
31024         (test-assert-perr-ENV): Likewise.
31025         * elf/Makefile (neededtest4-ENV): Likewise.
31026         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
31027         [$(cross-compiling) = no]: Don't set LANGUAGE.
31028         * io/ftwtest-sh (LANG): Remove variable.
31029         * libio/Makefile (tst-widetext-ENV): Likewise.
31030         * manual/install.texi (Running make install): Don't refer to
31031         environment settings for make install.
31032         * INSTALL: Regenerated.
31033         * nptl/tst-tls6.sh: Don't set LANG.
31034         * posix/globtest.sh (LANG): Remove variable.
31035         * string/Makefile (tester-ENV): Likewise.
31036         (inl-tester-ENV): Likewise.
31037         (noinl-tester-ENV): Likewise.
31038         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
31039         [$(cross-compiling) = no]: Don't set LANGUAGE.
31040         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
31041         without explicit environment settings.
31043 2014-06-06  Roland McGrath  <roland@hack.frob.com>
31045         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
31046         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
31047         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
31048         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
31050 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
31052         * crypt/crypt-private.h [DOS]: Add some includes taken from the
31053         other files in the crypt directory.
31054         * crypt/crypt.c: Remove duplicate includes.
31055         * crypt/crypt-entry.c: Likewise.
31056         * crypt/crypt_util.c: Likewise.
31058 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
31060         * Makeconfig (run-program-env): New variable.
31061         (run-program-prefix-before-env): Likewise.
31062         (run-program-prefix-after-env): Likewise.
31063         (run-program-prefix): Define in terms of new variables.
31064         (built-program-cmd-before-env): New variable.
31065         (built-program-cmd-after-env): Likewise.
31066         (built-program-cmd): Define in terms of new variables.
31067         (test-program-prefix-before-env): New variable.
31068         (test-program-prefix-after-env): Likewise.
31069         (test-program-prefix): Define in terms of new variables.
31070         (test-program-cmd-before-env): New variable.
31071         (test-program-cmd-after-env): Likewise.
31072         (test-program-cmd): Define in terms of new variables.
31073         * Rules (make-test-out): Use $(run-program-env).
31074         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
31075         (help): Do not mention environment variables.  Mention
31076         --timeoutfactor option.
31077         (timeoutfactor): New variable.
31078         (blacklist_exports): Remove function.
31079         (exports): Remove variable.
31080         (command): Do not include ${exports}.
31081         * manual/install.texi (Configuring and compiling): Do not mention
31082         test wrappers preserving environment variables.  Mention that last
31083         assignment to a variable must take precedence.
31084         * INSTALL: Regenerated.
31085         * benchtests/Makefile (run-bench): Use $(run-program-env).
31086         * catgets/Makefile ($(objpfx)test1.cat): Use
31087         $(built-program-cmd-before-env), $(run-program-env) and
31088         $(built-program-cmd-after-env).
31089         ($(objpfx)test2.cat): Do not specify environment variables
31090         explicitly.
31091         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
31092         $(run-program-env) and $(built-program-cmd-after-env).
31093         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
31094         $(run-program-env) and $(test-program-cmd-after-env).
31095         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
31096         explicitly.
31097         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
31098         run_program_env and test_program_cmd_after_env arguments.
31099         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
31100         * elf/tst-pathopt.sh: Use run_program_env argument.
31101         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
31102         $(test-wrapper-env) and $(run-program-env).
31103         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
31104         run_program_env arguments.
31105         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
31106         * intl/Makefile ($(objpfx)tst-gettext.out): Use
31107         $(test-program-prefix-before-env), $(run-program-env) and
31108         $(test-program-prefix-after-env).
31109         ($(objpfx)tst-gettext2.out): Likewise.
31110         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
31111         run_program_env and test_program_prefix_after_env arguments.
31112         * intl/tst-gettext2.sh: Likewise.
31113         * intl/tst-gettext4.sh: Do not set environment variables
31114         explicitly.
31115         * intl/tst-gettext6.sh: Likewise.
31116         * intl/tst-translit.sh: Likewise.
31117         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
31118         $(test-program-prefix-before-env), $(run-program-env) and
31119         $(test-program-prefix-after-env).
31120         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
31121         run_program_env and test_program_prefix_after_env arguments.
31122         * math/Makefile (run-regen-ulps): Use $(run-program-env).
31123         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
31124         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
31125         explicitly with each use of ${test_wrapper_env}.
31126         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
31127         $(test-program-prefix-before-env), $(run-program-env) and
31128         $(test-program-prefix-after-env).
31129         * posix/tst-getconf.sh: Do not set environment variables
31130         explicitly.
31131         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
31132         run_program_env and test_program_prefix_after_env arguments.
31133         * stdio-common/tst-printf.sh: Do not set environment variables
31134         explicitly.
31135         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
31136         $(test-program-prefix-before-env), $(run-program-env) and
31137         $(test-program-prefix-after-env).
31138         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
31139         run_program_env and test_program_prefix_after_env arguments.
31140         Split $test calls into $test_pre and $test.
31141         * timezone/Makefile (build-testdata): Use
31142         $(built-program-cmd-before-env), $(run-program-env) and
31143         $(built-program-cmd-after-env).
31145 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31147         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
31148         strlen for non SHARED builds.
31150 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31152         * nptl/allocatestack.c (check_list): Inlined function...
31153         (__reclaim_stacks): ... here.
31155 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
31157         [BZ #15698]
31158         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
31159         memory overrun.
31161 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
31163         * Rules (make-test-out): Include
31164         LOCPATH=$(common-objpfx)localedata in default environment.
31165         * debug/Makefile (tst-chk1-ENV): Remove variable.
31166         (tst-chk2-ENV): Likewise.
31167         (tst-chk3-ENV): Likewise.
31168         (tst-chk4-ENV): Likewise.
31169         (tst-chk5-ENV): Likewise.
31170         (tst-chk6-ENV): Likewise.
31171         (tst-lfschk1-ENV): Likewise.
31172         (tst-lfschk2-ENV): Likewise.
31173         (tst-lfschk3-ENV): Likewise.
31174         (tst-lfschk4-ENV): Likewise.
31175         (tst-lfschk5-ENV): Likewise.
31176         (tst-lfschk6-ENV): Likewise.
31177         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
31178         (tst-iconv7-ENV): Likewise.
31179         * intl/Makefile (LOCPATH-ENV): Likewise.
31180         (tst-codeset-ENV): Likewise.
31181         (tst-gettext3-ENV): Likewise.
31182         (tst-gettext5-ENV): Likewise.
31183         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
31184         (tst-fopenloc-ENV): Likewise.
31185         (tst-fgetws-ENV): Remove variable.
31186         (tst-ungetwc1-ENV): Likewise.
31187         (tst-ungetwc2-ENV): Likewise.
31188         (bug-ungetwc2-ENV): Likewise.
31189         (tst-swscanf-ENV): Likewise.
31190         (bug-ftell-ENV): Likewise.
31191         (tst-fgetwc-ENV): Likewise.
31192         (tst-fseek-ENV): Likewise.
31193         (tst-ftell-partial-wide-ENV): Likewise.
31194         (tst-ftell-active-handler-ENV): Likewise.
31195         (tst-ftell-append-ENV): Likewise.
31196         * posix/Makefile (tst-fnmatch-ENV): Likewise.
31197         (tst-regexloc-ENV): Likewise.
31198         (bug-regex1-ENV): Likewise.
31199         (tst-regex-ENV): Likewise.
31200         (tst-regex2-ENV): Likewise.
31201         (bug-regex5-ENV): Likewise.
31202         (bug-regex6-ENV): Likewise.
31203         (bug-regex17-ENV): Likewise.
31204         (bug-regex18-ENV): Likewise.
31205         (bug-regex19-ENV): Likewise.
31206         (bug-regex20-ENV): Likewise.
31207         (bug-regex22-ENV): Likewise.
31208         (bug-regex23-ENV): Likewise.
31209         (bug-regex25-ENV): Likewise.
31210         (bug-regex26-ENV): Likewise.
31211         (bug-regex30-ENV): Likewise.
31212         (bug-regex32-ENV): Likewise.
31213         (bug-regex33-ENV): Likewise.
31214         (bug-regex34-ENV): Likewise.
31215         (bug-regex35-ENV): Likewise.
31216         (tst-rxspencer-ENV): Likewise.
31217         (tst-rxspencer-no-utf8-ENV): Likewise.
31218         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
31219         (tst-sscanf-ENV): Likewise.
31220         (tst-swprintf-ENV): Likewise.
31221         (tst-swscanf-ENV): Likewise.
31222         (test-vfprintf-ENV): Likewise.
31223         (scanf13-ENV): Likewise.
31224         (bug14-ENV): Likewise.
31225         (tst-grouping-ENV): Likewise.
31226         * stdlib/Makefile (tst-strtod-ENV): Likewise.
31227         (tst-strtod3-ENV): Likewise.
31228         (tst-strtod4-ENV): Likewise.
31229         (tst-strtod5-ENV): Likewise.
31230         (testmb2-ENV): Likewise./
31231         * string/Makefile (tst-strxfrm-ENV): Likewise.
31232         (tst-strxfrm2-ENV): Likewise.
31233         (bug-strcoll1-ENV): Likewise.
31234         (test-strcasecmp-ENV): Likewise.
31235         (test-strncasecmp-ENV): Likewise.
31236         * time/Makefile (tst-strptime-ENV): Likewise.
31237         (tst-ftime_l-ENV): Likewise.
31238         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
31239         (tst-mbrtowc-ENV): Likewise.
31240         (tst-wcrtomb-ENV): Likewise.
31241         (tst-mbrtowc2-ENV): Likewise.
31242         (tst-c16c32-1-ENV): Likewise.
31243         (tst-mbsnrtowcs-ENV): Likewise.
31245 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
31247         * manual/resource.texi (How to get information about the memory
31248         subsystem?): Fix typo.
31249         Reported by Peon de la Parra Ivan <peon@keba.com>
31251 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
31253         [BZ #16882]
31254         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
31255         (pthread_spin_lock): Branch out of spin loop to proper location.
31256         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
31257         (pthread_spin_lock): Likewise.
31259         * nptl/tst-spin4.c: New test.
31260         * nptl/Makefile (tests): Add tst-spin4.
31262 2014-06-03  Andreas Schwab  <schwab@suse.de>
31264         [BZ #15946]
31265         * resolv/res_send.c (send_dg): Reload file descriptor after
31266         calling reopen.
31268 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
31270         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31272 2014-06-03  Richard Henderson  <rth@redhat.com>
31274         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
31275         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
31276         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
31277         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
31278         in the SAVE_PID block.
31279         (__libc_vfork): New alias.
31280         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
31282         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
31283         child in registers, not on the stack.  Remove RESET_PID conditionals.
31284         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
31286 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
31288         * sysdeps/aarch64/libm-test-ulps: Regenerate.
31290 2014-06-03  Wilco  <wdijkstr@arm.com>
31292         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
31293         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
31294         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
31295         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
31296         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
31297         Likewise.
31299 2014-06-03  Wilco  <wdijkstr@arm.com>
31301         * sysdeps/aarch64/fpu/math_private.h
31302         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
31303         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
31304         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
31305         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
31306         Fix declarations.
31308 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31310         * crypt/crypt-private.h: Include ufc-crypt.h.
31311         (__b64_from_24bit): Declare extern.
31312         * crypt/crypt_util.c(__b64_from_24bit): New function.
31313         (b64t): New static const variable.
31314         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
31315         (b64t): Remove variable.
31316         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
31317         * crypt/sha256-crypt.c: Include crypt-private.h.
31318         (b64t): Remove variable.
31319         (__sha256_crypt_r): Remove b64_from_24bit and replace
31320         with __b64_from_24bit.
31321         * crypt/sha512-crypt.c: Likewise.
31323 2014-06-02  Roland McGrath  <roland@hack.frob.com>
31325         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
31326         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
31327         Label the code __libc_vfork rather than __vfork.
31328         [!NOT_IN_libc] (vfork): Define as weak alias.
31329         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
31330         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
31331         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
31333 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31335         * malloc/malloc.c (malloc_info): Fix format specifier for
31336         n_mmaps.
31338 2014-06-02  Wilco  <wdijkstr@arm.com>
31340         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
31341         FPCR write.
31343 2014-06-02  Wilco  <wdijkstr@arm.com>
31345         [BZ #17009]
31346         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
31347         Rewrite to reduce FPCR/FPSR accesses.
31349 2014-06-01  David S. Miller  <davem@davemloft.net>
31351         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31353 2014-05-31  David S. Miller  <davem@davemloft.net>
31355         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
31356         to occur in round to nearest mode when |x| >= 2.0
31358 2014-05-30  Richard Henderson  <rth@twiddle.net>
31360         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
31361         (PSEUDO_RET_NOERRNO): Remove.
31362         (ret): Don't redefine.
31363         (ret_NOERRNO): Define in terms of ret.
31364         (ret_ERRVAL): Likewise.
31366         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
31367         use of PSEUDO_RET; perform the error check directly.
31369 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
31371         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
31372         with __int128_t.
31374 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31376         * malloc/malloc (malloc_info): Fix formatting.
31378 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31379             Roland McGrath  <roland@hack.frob.com>
31381         * malloc/malloc (malloc_info): Also print mmapped statistics.
31383 2014-05-30  Roland McGrath  <roland@hack.frob.com>
31385         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
31386         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
31388 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
31390         * malloc/malloc.c (malloc_info): Inline mi_arena.
31392 2014-05-29  Richard Henderson  <rth@twiddle.net>
31394         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
31395         Remove comma before expanding ASM_ARGS_##nr.
31396         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
31397         Make _x0 a strict output; make _x8 a strict input; adjust expansion
31398         of ASM_ARGS_##nr.
31399         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
31400         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
31401         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
31402         (ASM_ARGS_1): Add leading comma.
31404         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
31405         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
31406         to __errno_location.
31407         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
31408         Remove the expected plt for __errno_location.
31410         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31411         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
31412         call to __read_tp.
31414         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31415         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
31416         it and break it down.
31417         (DOCARGS_0, DOCARGS_1): Do nothing.
31418         (DOCARGS_2): Update to store into the new stack frame.
31419         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
31420         (UNDOCARGS_1): Update to restore from the new stack frame.
31421         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
31422         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
31424         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31425         (SINGLE_THREAD_P): New parameter for result regno.
31426         (PSEUDO): Update to match; use cbz instead of beq.
31428         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31429         Use ENTRY to define the _nocancel entry point.  Share the syscall
31430         and syscall error check paths with the cancel path.
31431         (PSEUDO_END): New.
31433         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
31434         whitespace; tabs before and after asm mnemonics.
31436 2014-05-29  Eric Wong  <normalperson@yhbt.net>
31438         [BZ #15132]
31439         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31440         Call fstat64 or stat64 internally, depending on arguments passed.
31441         Replace stat buffer argument with file descriptor argument.
31442         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
31443         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
31444         Pass fd to __internal_statvfs instead of calling fstat64.
31445         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
31446         Pass fd to __internal_statvfs64 instead of calling fstat64.
31447         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
31448         Pass -1 to __internal_statvfs instead of calling stat64.
31449         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
31450         Pass -1 to __internal_statvfs64 instead of calling stat64.
31452 2014-05-28  Roland McGrath  <roland@hack.frob.com>
31454         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
31455         that was previously under [RESET_PID].
31456         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
31458         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
31459         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
31461 2014-05-27  Roland McGrath  <roland@hack.frob.com>
31463         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
31465         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
31466         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
31468 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
31470         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
31472 2014-05-27  Andreas Schwab  <schwab@suse.de>
31474         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
31475         TLS_INIT_TP macro.
31476         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
31477         * elf/rtld.c (init_tls, dl_main): Likewise.
31478         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
31479         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
31480         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
31481         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
31482         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
31483         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
31484         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
31485         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
31486         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
31487         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
31488         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
31489         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
31490         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
31491         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
31492         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
31493         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
31494         * sysdeps/generic/tls.h: Update description.
31496 2014-05-27  Will Newton  <will.newton@linaro.org>
31498         [BZ #16990]
31499         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
31500         and restore r2 rather than just restoring.
31502 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31504         [BZ #16724]
31505         * libio/tst-ftell-append.c: New test case.
31506         * libio/Makefile (tests): Add test case.
31507         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
31508         append mode.
31509         * libio/wfileops.c (do_ftell_wide): Likewise.
31511 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31513         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31515         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
31516         ...
31517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
31518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
31519         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
31520         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
31521         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
31522         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
31523         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
31524         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
31525         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
31526         Moved ...
31527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
31528         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
31529         Moved ...
31530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
31531         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
31532         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
31533         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
31534         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
31535         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
31536         ...
31537         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
31538         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
31539         Moved ...
31540         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
31541         here.
31542         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
31543         ...
31544         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
31545         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
31546         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
31548         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
31549         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
31550         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
31551         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
31553         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
31554         merge into ...
31555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
31556         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
31557         ...
31558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
31559         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
31560         ...
31561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
31562         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
31563         Moved ...
31564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
31565         here.
31566         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
31567         Moved ...
31568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
31569         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
31570         Moved ...
31571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
31573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
31574         conditional [RESET_PID].
31575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
31576         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
31577         removed.
31578         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
31579         removed.
31581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
31582         <tcb-offsets.h>.
31583         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31584         (__libc_vfork): New strong alias.
31585         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
31586         removed.
31587         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
31588         Removed.
31590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
31591         <tcb-offsets.h>.
31592         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
31593         (__libc_vfork): New strong alias.
31594         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
31595         removed.
31596         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
31597         removed.
31599 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
31601         * malloc/malloc.c (mi_arena): New function.
31602         (malloc_info): Remove nested function mi_arena. Call non-nosted
31603         function mi_arena.
31605 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31607         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
31608         by insrwi.
31609         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
31610         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
31611         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
31612         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
31613         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
31614         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
31615         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
31617 2014-05-26  Andreas Schwab  <schwab@suse.de>
31619         [BZ #16984]
31620         * locale/programs/repertoire.c (repertoire_read): Add slash
31621         between I18NPATH element and file name.
31622         * locale/programs/locfile.c (locfile_read): Likewise.
31624 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
31626         * nptl/pthread_mutexattr_settype.c
31627         (__pthread_mutexattr_settype):
31628         Disable lock elision for PTHREAD_MUTEX_NORMAL.
31630 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
31632         * nptl/tst-mutex5 (do_test):
31633         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
31635 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31637         * benchtests/README: Document 'init' directive.
31638         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
31639         BENCH_INIT.
31640         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
31641         (parse_file): Recognize 'init' directive.
31643 2014-05-26  Kyle McMartin  <kyle@redhat.com>
31645         [BZ #16796]
31646         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
31647         alignment of struct pthread.
31649 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31651         [BZ #16878]
31652         * nscd/netgroupcache.c (addgetnetgrentX): Look for
31653         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
31654         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
31655         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
31657 2014-05-25  Richard Henderson  <rth@twiddle.net>
31659         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31660         (SINGLE_THREAD_P_PIC): Remove.
31661         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
31662         (SINGLE_THREAD_P_PIC): Remove.
31664         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
31665         branch to syscall error ...
31666         (PSEUDO): ... here.
31667         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
31668         from __local_syscall_error to .Lsyscall_error.
31669         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
31670         (SYSCALL_ERROR): Update label name.
31672         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31673         Do not use DOARGS/UNDOARGS.
31674         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
31675         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
31676         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
31677         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
31678         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
31680         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
31681         block comment.
31683         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
31684         define if !NOT_IN_libc.
31685         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
31686         define with non-default symbol versions.
31688 2014-05-23  Richard Henderson  <rth@twiddle.net>
31690         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
31691         (vfork, __vfork): Define via compat_symbol.
31693         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
31694         [!HAVE_IFUNC] (vfork_compat): Remove.
31695         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
31697 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
31699         [BZ #16978]
31700         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
31701         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
31702         variable.
31704 2014-05-23  Richard Henderson  <rth@twiddle.net>
31706         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
31707         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
31708         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
31709         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
31711         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
31712         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
31713         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
31714         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
31715         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
31716         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
31717         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
31718         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
31719         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
31720         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
31721         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
31722         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
31723         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
31724         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
31725         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
31726         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
31727         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
31728         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
31729         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
31730         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
31731         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
31732         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
31733         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
31734         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
31735         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
31736         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
31737         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
31738         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
31739         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
31740         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
31741         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
31742         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
31743         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
31744         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
31745         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
31746         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
31747         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
31748         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
31749         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
31750         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
31751         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
31752         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
31753         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
31754         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
31755         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
31756         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
31757         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
31758         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
31759         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
31760         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
31761         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
31762         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
31763         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
31764         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
31765         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
31766         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
31768         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
31769         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
31770         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
31771         before exiting on error.
31772         (__libc_vfork): New strong alias.
31773         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
31774         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
31776         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
31777         that was previously under [RESET_PID].
31778         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
31780         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
31782 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
31784         [BZ #16977]
31785         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
31786         value when x - 1 is zero.
31787         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
31788         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
31789         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
31790         0.0L for an argument of 1.0L.
31791         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
31792         Likewise.
31793         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
31794         value when x - 1 is zero.
31795         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
31796         * sysdeps/i386/fpu/libm-test-ulps: Update.
31797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31799 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
31801         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
31802         alphasort and versionsort.
31804 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31806         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
31807         macro.
31808         [copysignf]: Likewise.
31810 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
31812         * crypt/md5-crypt.c: Fix formatting.
31814 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31816         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
31817         (b64_from_24bit): New function.
31819 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31821         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
31822         libc_hidden_builtin_def to ifunc.
31823         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
31824         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
31826 2014-05-21  Roland McGrath  <roland@hack.frob.com>
31828         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
31829         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
31831 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
31833         * nscd/Depend (linuxthreads): Remove.
31834         (nptl): Add.
31835         * resolv/Depend (linuxthreads): Remove.
31836         * rt/Depend (linuxthreads): Remove.
31838         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
31839         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
31840         $(common-objpfx)elf/.
31841         (link-libc-before-gnulib): Likewise.
31842         (elfobjdir): Remove variable.
31843         * Makefile (install): Use $(elf-objpfx) instead of
31844         $(common-objpfx)elf/.
31845         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
31846         $(elfobjdir)/.
31847         (link-libc-deps): Likewise.
31848         ($(common-objpfx)libc.so): Likewise.
31849         ($(common-objpfx)linkobj/libc.so): Likewise.
31850         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
31851         instead of $(common-objpfx)elf/.
31852         (symbolic-link-list): Likewise.
31853         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
31854         [$(cross-compiling) = no]: Likewise.
31855         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
31856         $(elfobjdir)/.
31857         (static-gnulib-arch): Likewise.
31858         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
31859         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
31860         $(common-objpfx)elf/.
31862 2014-05-21  Richard Henderson  <rth@redhat.com>
31864         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31865         (SINGLE_THREAD_P): Use the correct width load.  Fold
31866         into the ldr offset.
31868         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
31869         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
31871 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
31873         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
31874         (libgcc_s_resume): Use __attribute_used__.
31875         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
31876         Likewise.
31878 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31880         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
31881         optimization when used with float constants.
31883         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31885 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
31887         [BZ #16915]
31888         * locale/nl_langinfo_l.c: Make direct reference to every
31889         _nl_current_CATEGORY symbol.
31890         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
31891         (tests-static): Add tst-langinfo-static.
31892         (tests-special): Add tst-langinfo-static.out.
31893         ($(objpfx)tst-langinfo.out): Redirect output.
31894         ($(objpfx)tst-langinfo-static.out): New.
31895         * localedata/tst-langinfo.sh: Send output to stdout.
31896         * localedata/tst-langinfo-static.c: New file.
31898         [BZ #16965]
31899         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
31900         when the shift amount is modulo the limb size.
31902 2014-05-20  Richard Henderson  <rth@redhat.com>
31904         [BZ #16967]
31905         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
31906         Change type of sa_flags from unsigned int to int.
31908         [BZ #16966]
31909         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
31911         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
31913 2014-05-20  Will Newton  <will.newton@linaro.org>
31915         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31916         Test the return value of the system call in the nocancel case.
31918 2014-05-20  Will Newton  <will.newton@linaro.org>
31919             Yvan Roux  <yvan.roux@linaro.org>
31921         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
31922         #include of asm/ptrace.h.
31923         (PTRACE_GET_THREAD_AREA): Remove #undef.
31924         (PTRACE_GETHBPREGS): Likewise.
31925         (PTRACE_SETHBPREGS): Likewise.
31926         (struct user_regs_struct): New structure.
31927         (struct user_fpsimd_struct): New structure.
31928         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
31929         #include of asm/ptrace.h and second #include of sys/user.h.
31930         (PTRACE_GET_THREAD_AREA): Remove #undef.
31931         (PTRACE_GETHBPREGS): Likewise.
31932         (PTRACE_SETHBPREGS): Likewise.
31933         (ELF_NGREG): Use new struct user_regs_struct.
31934         (elf_fpregset_t): Use new struct user_fpsimd_struct.
31936 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31938         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
31939         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
31941 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
31943         [BZ #16958]
31944         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
31945         membar to avoid block loads/stores to overlap previous stores.
31947 2014-05-17  Richard Henderson  <rth@redhat.com>
31949         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
31950         Create the __##syscall_name##_nocancel entry point.
31951         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
31952         Remove; let the sysdep-cancel.h code create it.
31954 2014-05-17  David S. Miller  <davem@davemloft.net>
31956         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
31957         Protect with __USE_GNU.
31958         (TIOCSET_TEMPT): Likewise.
31959         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
31960         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
31961         these are already provided in bits/ioctl-types.h
31963 2014-05-16  Roland McGrath  <roland@hack.frob.com>
31965         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
31966         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
31968         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
31969         Use wait4 regardless of [__NR_waitpid].
31971 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
31973         PR libgcc/60166
31974         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
31975         (_FP_NANSIGN_Q): Set the quiet bit.
31977 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
31979         * benchtests/Makefile
31980         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
31981         not $(common-objpfx)math/libm.so.
31982         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
31983         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
31984         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
31985         $(common-objpfx)dlfcn/libdl.so.
31986         ($(objpfx)tst-audit8): Depend on $(libm), not
31987         $(common-objpfx)math/libm.so.
31988         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
31989         not $(common-objpfx)dlfcn/libdl.so.
31990         * math/Makefile
31991         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
31992         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
31993         [$(build-shared) = yes].
31994         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
31995         $(common-objpfx)nptl/libpthread.so.
31996         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
31997         $(common-objpfx)math/libm.so$(libm.so-version) or
31998         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
31999         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
32000         $(common-objpfx)dlfcn/libdl.so.
32001         * setjmp/Makefile (link-libm): Remove variable.
32002         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
32003         * stdio-common/Makefile (link-libm): Remove variable.
32004         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
32005         * stdlib/Makefile (link-libm): Remove variable.
32006         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
32007         ($(objpfx)tst-strtod-round): Likewise.
32008         ($(objpfx)tst-tininess): Likewise.
32009         ($(objpfx)tst-strtod-underflow): Likewise.
32010         ($(objpfx)tst-strtod6): Likewise.
32011         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
32012         $(libdl), not $(common-objpfx)nptl/libpthread.so and
32013         $(common-objpfx)dlfcn/libdl.so.
32015 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32017         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
32018         BSD terminal modes definitions.
32020 2014-05-16  Roland McGrath  <roland@hack.frob.com>
32022         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
32023         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
32025         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
32026         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
32027         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
32028         Don't do #include_next.
32029         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
32030         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
32031         Don't do #include_next.
32032         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
32033         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
32034         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
32035         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
32037 2014-05-16  Allan McRae  <allan@archlinux.org>
32039         * po/sv.po: Update Swedish translation from translation project.
32041         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
32042         in sed expression.
32044 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
32046         [BZ #16917]
32047         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
32048         errno if the TIOCGPTN ioctl fails with an error different than
32049         EINVAL.
32050         * login/tst-ptsname.c: New file.
32051         * login/Makefile (tests): Add tst-ptsname.
32053         [BZ #16943]
32054         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
32055         and prlimit64.
32057 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32059         [BZ #16849]
32060         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
32061         herrno to return EAI_AGAIN.
32063 2014-05-14  Roland McGrath  <roland@hack.frob.com>
32065         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
32066         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
32067         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
32068         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
32069         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
32070         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
32071         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
32072         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
32073         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
32074         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
32075         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
32076         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
32077         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
32078         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
32079         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
32080         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
32081         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
32082         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
32083         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
32084         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
32085         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
32086         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
32087         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
32088         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
32089         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
32090         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
32091         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
32092         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
32093         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
32094         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
32095         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
32096         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
32097         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
32098         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
32099         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
32100         Moved ...
32101         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
32102         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
32103         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
32104         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
32105         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
32106         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
32107         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
32108         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
32109         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
32110         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
32111         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
32112         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
32113         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
32114         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
32115         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
32116         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
32117         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
32118         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
32119         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
32120         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
32121         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
32122         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
32123         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
32124         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
32125         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
32126         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
32127         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
32128         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32129         Moved ...
32130         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
32131         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
32132         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
32133         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
32134         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
32135         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
32136         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
32137         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
32138         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
32139         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
32140         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
32141         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
32142         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
32143         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
32144         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
32145         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
32146         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
32147         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
32148         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
32149         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32150         Moved ...
32151         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
32152         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
32153         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
32155         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
32156         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
32157         (libpthread-sysdep_routines): Add elision-related stuff here instead.
32158         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
32159         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
32160         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
32161         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
32162         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
32163         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
32164         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
32165         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
32166         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
32167         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
32168         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
32169         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
32170         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
32171         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
32172         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
32173         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
32174         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
32175         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
32176         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
32177         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
32178         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
32179         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
32180         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
32181         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
32182         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
32183         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
32184         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
32185         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
32187         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
32188         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
32190         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
32191         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
32192         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
32193         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
32194         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
32195         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
32196         Moved ...
32197         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
32198         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
32199         Moved ...
32200         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
32201         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
32202         Moved ...
32203         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
32204         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
32205         Moved ...
32206         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
32207         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
32208         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
32209         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
32210         Moved ...
32211         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
32212         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
32213         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
32214         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
32215         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
32216         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
32217         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
32218         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
32219         Moved ...
32220         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
32221         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
32222         Moved ...
32223         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
32224         ... here.
32225         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
32226         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
32227         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
32228         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
32229         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
32230         Moved ...
32231         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
32232         ... here.
32233         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
32234         Moved ...
32235         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
32236         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
32237         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
32238         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
32239         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
32240         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
32241         Moved ...
32242         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
32243         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
32244         Moved ...
32245         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
32246         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
32247         Moved ...
32248         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
32249         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
32250         Moved ...
32251         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
32252         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
32253         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
32254         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
32255         Moved ...
32256         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
32257         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
32258         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
32259         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
32260         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
32261         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
32262         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
32263         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
32264         Moved ...
32265         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
32266         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
32267         Moved ...
32268         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
32269         ... here.
32270         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
32271         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
32272         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
32273         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
32274         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
32275         Moved ...
32276         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
32277         ... here.
32278         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
32279         Moved ...
32280         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
32281         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
32282         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
32283         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
32284         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
32285         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
32286         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
32287         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
32288         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
32289         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
32290         Moved ...
32291         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
32292         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
32293         Moved ...
32294         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
32295         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
32296         Moved ...
32297         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
32298         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
32299         Moved ...
32300         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
32301         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
32302         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
32303         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
32304         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
32305         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
32306         Moved ...
32307         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
32308         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
32309         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
32310         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
32311         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
32312         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
32313         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
32314         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
32315         Moved ...
32316         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
32317         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
32318         Moved ...
32319         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
32320         ... here.
32321         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
32322         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
32323         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
32324         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
32325         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
32326         Moved ...
32327         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
32328         ... here.
32329         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
32330         Moved ...
32331         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
32332         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
32333         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
32334         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
32335         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
32336         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
32337         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
32338         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
32339         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
32340         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
32341         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
32343         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
32344         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
32346         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
32347         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
32349         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
32350         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
32351         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
32352         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
32353         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
32354         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
32355         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
32356         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
32357         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
32358         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
32359         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
32360         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
32361         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
32362         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
32363         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
32364         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
32365         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
32366         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
32367         Moved ...
32368         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
32369         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
32370         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
32371         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
32372         Moved ...
32373         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
32374         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
32375         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
32376         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
32377         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
32378         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
32379         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
32380         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
32381         Moved ...
32382         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
32383         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
32384         Moved ...
32385         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
32386         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
32387         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
32388         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
32389         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
32390         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
32391         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
32392         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
32393         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
32394         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
32395         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
32396         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
32397         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
32398         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
32399         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
32400         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
32401         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
32403         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
32404         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
32405         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
32406         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
32407         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
32409         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
32410         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
32411         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
32412         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
32413         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
32414         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
32415         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
32416         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
32417         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
32418         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
32420         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
32421         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
32423         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
32424         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
32425         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
32426         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
32427         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
32428         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
32429         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
32430         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
32431         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
32432         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
32433         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
32434         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
32435         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
32436         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
32437         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
32438         Update #include.
32439         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
32440         Likewise.
32441         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
32442         Likewise.
32443         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
32444         Likewise.
32445         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
32446         Likewise.
32447         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
32448         Likewise.
32449         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
32450         Likewise.
32451         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
32452         Likewise.
32453         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
32454         Likewise.
32455         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
32456         Likewise.
32457         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
32458         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
32459         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
32460         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
32461         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
32462         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
32463         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
32464         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
32465         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
32466         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
32467         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
32468         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
32469         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
32470         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
32471         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
32473         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
32474         that was previously under [RESET_PID].
32475         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32476         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
32477         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
32479         * sysdeps/i386/nptl/Implies: New file.
32480         * sysdeps/x86_64/nptl/Implies: New file.
32481         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
32482         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
32483         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
32484         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
32486         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
32487         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32488         (__libc_vfork): New strong alias.
32489         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
32490         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
32492         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
32493         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32494         (__libc_vfork): New strong alias.
32495         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
32496         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
32498         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
32499         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32500         (__libc_vfork): New strong alias.
32501         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
32502         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
32503         * nptl/pt-vfork.c: New file.
32504         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
32505         (libpthread: GLIBC_2.20): New version set (empty).
32507 2014-05-14  Will Newton  <will.newton@linaro.org>
32509         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
32510         rather than #if.
32512 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
32514         [BZ #16564]
32515         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
32516         arguments with exponent 65 or above.
32517         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
32518         arguments 0x1p113L or above.
32519         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
32520         to arguments 0x1p107L or above.
32521         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
32522         positive arguments with exponent 65 or above.
32523         * math/auto-libm-test-in: Add more tests of log1p.
32524         * math/auto-libm-test-out: Regenerated.
32526         [BZ #16928]
32527         * math/s_cacos.c (__cacos): Ensure zero real part of result from
32528         non-finite arguments is +0.
32529         * math/s_cacosf.c (__cacosf): Likewise.
32530         * math/s_cacosl.c (__cacosl): Likewise.
32531         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
32532         * sysdeps/i386/fpu/libm-test-ulps: Update.
32533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32535         [BZ #16927]
32536         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
32537         value.
32538         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
32539         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
32540         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
32541         for explicit high bit of mantissa when testing for argument equal
32542         to 1.
32543         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
32544         * sysdeps/i386/fpu/libm-test-ulps: Update.
32545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32547         [BZ #16516]
32548         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
32549         (__erf): Scale by 16 instead of 8 in potentially underflowing
32550         case.  Ensure exception if result actually underflows.
32551         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
32552         (__erff): Scale by 16 instead of 8 in potentially underflowing
32553         case.  Ensure exception if result actually underflows.
32554         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
32555         (efx8): Remove variable.
32556         (__erfl): Scale by 16 instead of 8 in potentially underflowing
32557         case.  Ensure exception if result actually underflows.
32558         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
32559         (efx8): Remove variable.
32560         (__erfl): Scale by 16 instead of 8 in potentially underflowing
32561         case.  Ensure exception if result actually underflows.
32562         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
32563         (efx8): Remove variable.
32564         (__erfl): Scale by 16 instead of 8 in potentially underflowing
32565         case.  Ensure exception if result actually underflows.
32566         * math/auto-libm-test-in: Add more tests of erf.
32567         * math/auto-libm-test-out: Regenerated.
32569 2014-05-14  Andreas Schwab  <schwab@suse.de>
32571         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
32572         Remove code conditionalized on USE___THREAD.
32574         * config.h.in (HAVE_PT_CHOWN): Define as 0.
32575         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
32576         not definedness.
32578 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
32580         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
32581         Define unconditionally.
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/aarch64/kernel-features.h
32590         (__ASSUME_DUP3): Do not define.
32591         (__ASSUME_EVENTFD2): Likewise.
32592         (__ASSUME_IN_NONBLOCK): Likewise.
32593         (__ASSUME_O_CLOEXEC): Likewise.
32594         (__ASSUME_PIPE2): Likewise.
32595         (__ASSUME_SIGNALFD4): Likewise.
32596         (__ASSUME_SOCK_CLOEXEC): Likewise.
32597         (__ASSUME_UTIMES): Undefine.
32598         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32599         (__ASSUME_UTIMES): Do not define.
32600         (__ASSUME_O_CLOEXEC): Likewise.
32601         (__ASSUME_SOCK_CLOEXEC): Likewise.
32602         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
32603         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
32604         0x020621].
32605         (__ASSUME_PIPE2): Likewise.
32606         (__ASSUME_EVENTFD2): Likewise.
32607         (__ASSUME_SIGNALFD4): Likewise.
32608         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
32609         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
32610         Do not define.
32611         (__ASSUME_EVENTFD2): Likewise.
32612         (__ASSUME_SIGNALFD4): Likewise.
32613         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32614         (__ASSUME_32BITUIDS): Likewise.
32615         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32616         (__ASSUME_IPC64): Likewise.
32617         (__ASSUME_ST_INO_64_BIT): Likewise.
32618         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
32619         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
32620         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32621         (__ASSUME_UTIMES): Do not define.
32622         (__ASSUME_PSELECT): Likewise.
32623         (__ASSUME_PPOLL): Likewise.
32624         (__ASSUME_O_CLOEXEC): Likewise.
32625         (__ASSUME_SOCK_CLOEXEC): Likewise.
32626         (__ASSUME_IN_NONBLOCK): Likewise.
32627         (__ASSUME_PIPE2): Likewise.
32628         (__ASSUME_EVENTFD2): Likewise.
32629         (__ASSUME_SIGNALFD4): Likewise.
32630         (__ASSUME_DUP3): Likewise.
32631         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
32632         (__ASSUME_UTIMES): Likewise.
32633         (__ASSUME_O_CLOEXEC): Likewise.
32634         (__ASSUME_SOCK_CLOEXEC): Likewise.
32635         (__ASSUME_IN_NONBLOCK): Likewise.
32636         (__ASSUME_PIPE2): Likewise.
32637         (__ASSUME_EVENTFD2): Likewise.
32638         (__ASSUME_SIGNALFD4): Likewise.
32639         (__ASSUME_DUP3): Likewise.
32640         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32641         (__ASSUME_UTIMES): Likewise.
32642         (__ASSUME_O_CLOEXEC): Likewise.
32643         (__ASSUME_SOCK_CLOEXEC): Likewise.
32644         (__ASSUME_IN_NONBLOCK): Likewise.
32645         (__ASSUME_PIPE2): Likewise.
32646         (__ASSUME_EVENTFD2): Likewise.
32647         (__ASSUME_SIGNALFD4): Likewise.
32648         (__ASSUME_DUP3): Likewise.
32649         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
32650         Likewise.
32651         (__ASSUME_UTIMES): Likewise.
32652         (__ASSUME_EVENTFD2): Likewise.
32653         (__ASSUME_SIGNALFD4): Likewise.
32654         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32655         (__ASSUME_O_CLOEXEC): Likewise.
32656         (__ASSUME_SOCK_CLOEXEC): Likewise.
32657         (__ASSUME_IN_NONBLOCK): Likewise.
32658         (__ASSUME_PIPE2): Likewise.
32659         (__ASSUME_EVENTFD2): Likewise.
32660         (__ASSUME_SIGNALFD4): Likewise.
32661         (__ASSUME_DUP3): Likewise.
32662         (__ASSUME_UTIMES): Undefine.
32664         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
32665         feclearexcept.  Remove symbol versioning code.
32666         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
32667         symbol versioning code.
32668         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
32669         symbol versioning code.
32670         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
32671         feupdateenv.  Remove symbol versioning code.
32672         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
32673         fegetexceptflag.  Remove symbol versioning code.
32674         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
32675         fesetexceptflag.  Remove symbol versioning code.
32676         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
32677         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
32678         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
32679         (__posix_fadvise64_l32): Remove prototype.
32680         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
32681         code.
32683 2014-05-13  Roland McGrath  <roland@hack.frob.com>
32685         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
32686         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
32687         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
32688         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
32690 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
32692         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
32693         current working directory
32695 2014-05-13  Roland McGrath  <roland@hack.frob.com>
32697         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
32698         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
32699         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
32700         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
32701         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
32702         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
32703         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
32704         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
32705         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
32706         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
32707         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
32708         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
32709         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
32710         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
32711         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
32712         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
32713         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
32714         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
32715         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
32716         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
32717         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
32718         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
32719         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
32720         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
32721         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
32722         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
32723         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
32724         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
32725         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
32726         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
32727         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
32728         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
32729         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
32730         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
32731         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
32732         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
32733         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
32734         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
32735         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
32736         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
32737         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
32738         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
32740         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
32741         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
32743         * sysdeps/unix/sysv/linux/arm/Makefile
32744         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
32745         Add rt-aeabi_unwind_cpp_pr1.
32746         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
32747         Add nptl-aeabi_unwind_cpp_pr1.
32748         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
32749         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
32750         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
32751         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
32752         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
32753         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
32755         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
32756         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
32757         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
32758         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
32760         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
32761         Deconditionalize the code that was previously under [RESET_PID].
32762         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
32764         * sysdeps/generic/exit-thread.h: New file.
32765         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
32766         * include/unistd.h (__exit_thread): Remove declaration.
32767         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
32768         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
32769         * csu/libc-start.c: Include <exit-thread.h>.
32770         (LIBC_START_MAIN): Pass no argument to __exit_thread.
32771         * nptl/pthread_create.c: Include <exit-thread.h>.
32772         (start_thread): Call __exit_thread in place of __exit_thread_inline.
32773         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
32774         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
32775         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
32776         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
32777         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
32778         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
32779         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
32780         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
32781         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
32782         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
32783         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
32784         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
32785         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
32786         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
32787         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
32788         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
32790 2014-05-13  Andreas Schwab  <schwab@suse.de>
32792         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
32794 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
32796         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
32797         (__ASSUME_UTIMES): Do not condition on kernel version.
32798         (__ASSUME_PSELECT): Define unconditionally.
32799         (__ASSUME_PPOLL): Likewise.
32800         (__ASSUME_ATFCTS): Likewise.
32801         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
32802         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
32803         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
32804         (__ASSUME_UTIMENSAT): Define unconditionally.
32805         (__ASSUME_PRIVATE_FUTEX): Likewise.
32806         (__ASSUME_FALLOCATE): Likewise.
32807         (__ASSUME_O_CLOEXEC): Likewise.
32808         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
32809         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
32810         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
32811         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
32812         (__ASSUME_IN_NONBLOCK): Likewise.
32813         (__ASSUME_PIPE2): Likewise.
32814         (__ASSUME_EVENTFD2): Likewise.
32815         (__ASSUME_SIGNALFD4): Likewise.
32816         (__ASSUME_DUP3): Likewise.
32817         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
32818         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
32819         (__ASSUME_AT_RANDOM): Likewise.
32820         (__ASSUME_PREADV): Likewise.
32821         (__ASSUME_PWRITEV): Likewise.
32822         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
32823         (__ASSUME_F_GETOWN_EX): Define unconditionally.
32824         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
32825         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32826         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
32827         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32828         (__ASSUME_O_CLOEXEC): Define unconditionally.
32829         (__ASSUME_PSELECT): Do not undefine conditionally.
32830         (__ASSUME_PPOLL): Likewise.
32831         (__ASSUME_ATFCTS): Likewise.
32832         (__ASSUME_SET_ROBUST_LIST): Likewise.
32833         (__ASSUME_UTIMENSAT): Likewise.
32834         (__ASSUME_FDATASYNC): Define unconditionally.
32835         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32836         (__ASSUME_SIGFRAME_V2): Likewise.
32837         )__ASSUME_EVENTFD2): Likewise.
32838         (__ASSUME_SIGNALFD4): Likewise.
32839         (__ASSUME_PSELECT): Do not undefine conditionally.
32840         (__ASSUME_PPOLL): Likewise.
32841         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32842         (__ASSUME_PSELECT): Define unconditionally.
32843         (__ASSUME_PPOLL): Likewise.
32844         (__ASSUME_O_CLOEXEC): Likewise.
32845         (__ASSUME_SOCK_CLOEXEC): Likewise.
32846         (__ASSUME_IN_NONBLOCK): Likewise.
32847         (__ASSUME_PIPE2): Likewise.
32848         (__ASSUME_EVENTFD2): Likewise.
32849         (__ASSUME_SIGNALFD4): Likewise.
32850         (__ASSUME_DUP3): Likewise.
32851         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
32852         (__ASSUME_O_CLOEXEC): Likewise.
32853         (__ASSUME_SOCK_CLOEXEC): Likewise.
32854         (__ASSUME_IN_NONBLOCK): Likewise.
32855         (__ASSUME_PIPE2): Likewise.
32856         (__ASSUME_EVENTFD2): Likewise.
32857         (__ASSUME_SIGNALFD4): Likewise.
32858         (__ASSUME_DUP3): Likewise.
32859         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32860         (__ASSUME_EVENTFD2): Likewise.
32861         (__ASSUME_SIGNALFD4): Likewise.
32862         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
32864 2014-05-12  Andreas Schwab  <schwab@suse.de>
32866         [BZ #16932]
32867         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
32868         (_nss_nis_gethostbyname4_r): Return error if item length is larger
32869         than maximum RPC packet size.
32870         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
32871         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
32872         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
32873         (_nss_nis_getservbyport_r): Likewise.
32875 2014-05-12  Will Newton  <will.newton@linaro.org>
32877         * malloc/Makefile (tests): Add tst-mallopt.
32878         * malloc/tst-mallopt.c: New file.
32880 2014-05-09  Roland McGrath  <roland@hack.frob.com>
32882         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
32883         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
32885 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32887         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
32888         (tst-tlsmod6.so): Likewise.
32890 2014-05-09  Roland McGrath  <roland@hack.frob.com>
32892         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
32894 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
32896         [BZ #16064]
32897         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
32898         and <dl-procinfo.h>.
32899         (__fegetenv): Save SSE state in envp->__eip if supported.
32900         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
32901         envp->__eip if supported.
32902         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
32903         and <dl-procinfo.h>.
32904         (__fesetenv): Always set __eip, __cs_selector, __opcode,
32905         __data_offset and __data_selector in environment to 0.  Set SSE
32906         state if supported.
32907         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
32908         test-fenv-sse.
32909         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
32910         -mfpmath=sse.
32911         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
32913 2014-05-09  Will Newton  <will.newton@linaro.org>
32915         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
32916         and libc_relro_required for ARM.
32917         * sysdeps/arm/preconfigure: Regenerate.
32919 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
32920             Stefan Liebler  <stli@linux.vnet.ibm.com>
32922         * config.make.in (enable-lock-elision): New Makefile variable.
32923         * configure.ac: Likewise.
32924         * configure: Regenerate.
32925         * sysdeps/s390/configure.ac:
32926         Add check for gcc transactions support.
32927         * sysdeps/s390/configure: Regenerate.
32928         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
32929         Build elision files if enabled.
32930         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
32931         Add lock elision support for s390.
32932         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
32933         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
32934         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
32935         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
32936         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
32937         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
32938         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
32939         Likewise.
32940         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
32941         Likewise.
32942         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
32943         Likewise.
32944         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
32945         Likewise.
32946         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
32947         (__lll_timedlock_elision, __lll_lock_elision)
32948         (__lll_unlock_elision, __lll_trylock_elision)
32949         (lll_timedlock_elision, lll_lock_elision)
32950         (lll_unlock_elision, lll_trylock_elision): Add.
32951         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
32952         (pthread_mutex_t): Add lock elision support for s390.
32954 2014-05-14  Wilco  <wdijkstr@arm.com>
32956         * sysdeps/arm/fclrexcpt.c: Cleanup.
32957         * sysdeps/arm/fedisblxcpt.c: Cleanup.
32958         * sysdeps/arm/feenablxcpt.c: Cleanup.
32959         * sysdeps/arm/fegetenv.c: Cleanup.
32960         * sysdeps/arm/fegetexcept.c: Cleanup.
32961         * sysdeps/arm/fegetround.c: Cleanup.
32962         * sysdeps/arm/feholdexcpt.c: Cleanup.
32963         * sysdeps/arm/fesetenv.c: Cleanup.
32964         * sysdeps/arm/fesetround.c: Cleanup.
32965         * sysdeps/arm/feupdateenv.c: Cleanup.
32966         * sysdeps/arm/fgetexcptflg.c: Cleanup.
32967         * sysdeps/arm/fraiseexcpt.c: Cleanup.
32968         * sysdeps/arm/fsetexcptflg.c: Cleanup.
32969         * sysdeps/arm/ftestexcept.c: Cleanup.
32970         * sysdeps/arm/get-rounding-mode.h: Cleanup.
32971         * sysdeps/arm/setfpucw.c: Cleanup.
32973 2014-05-09  Will Newton  <will.newton@linaro.org>
32975         * sysdeps/arm/armv7/strcmp.S: New file.
32976         * NEWS: Mention addition of ARMv7 optimized strcmp.
32978 2014-05-08  Roland McGrath  <roland@hack.frob.com>
32980         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
32981         look for %.ac rather than %.in.
32983         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
32984         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
32985         * sysdeps/mach/hurd/configure: Regenerated.
32986         * sysdeps/unix/sysv/linux/configure: Regenerated.
32988         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
32990 2014-05-07  Steve Ellcey  <sellcey@mips.com>
32992         [BZ# 16922]
32993         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
32994         (LONG_SUB): Ditto.
32995         (PTR_SUB): Ditto.
32997 2014-05-07  Andreas Schwab  <schwab@suse.de>
32999         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
33000         when skipping over non-matching result from nscd.
33002 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
33004         [BZ #16876]
33005         * nptl/sockperf.c (client): Check socket return value.
33007         [BZ #16877]
33008         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
33009         nscd security class.
33011 2014-05-06  Roland McGrath  <roland@hack.frob.com>
33013         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
33014         * sysdeps/arm/unwind.h: ... here.
33016 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
33018         [BZ# 16916]
33019         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
33020         Define.
33022 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33024         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
33025         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
33026         multiarch strncpy for PPC64.
33027         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
33028         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
33029         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
33030         multiarch optimizations.
33031         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33032         (__libc_ifunc_impl_list): Likewise.
33033         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
33034         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
33035         multiarch stpncpy for PPC64.
33036         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
33037         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
33039 2014-05-06  Andreas Schwab  <schwab@suse.de>
33041         [BZ #16912]
33042         * gmon/mcount.c (_MCOUNT_DECL): Use
33043         atomic_compare_and_exchange_bool_acq instead of
33044         catomic_compare_and_exchange_bool_acq.
33046 2014-05-05  Roland McGrath  <roland@hack.frob.com>
33048         * elf/Makefile (others, install-bin): Remove pldd.
33049         (pldd-modules): Variable removed.
33050         ($(objpfx)pldd): Target removed.
33051         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
33052         (others, install-bin): Append pldd here.
33053         ($(objpfx)pldd): New target.
33055         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
33056         to 0, so the first #if test emitted later doesn't see it undefined.
33057         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
33058         * sysdeps/gnu/errlist.c: Regenerated.
33060 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33062         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
33063         [libc_hidden_builtin_def]: Define to empty value.
33064         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
33065         [libc_hidden_builtin_def]: Likewise.
33066         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
33067         [libc_hidden_builtin_def]: Likewise.
33068         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
33069         [libc_hidden_builtin_def]: Likewise.
33070         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
33071         __redirect_memcpy and define ifunc as default hidden symbol.
33072         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
33073         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
33075 2014-05-04  Adam Conrad  <adconrad@0c3.net>
33077         * locale/iso-4217.def: Reintroduce XDR currency.
33079 2014-05-04  Allan McRae  <allan@archlinux.org>
33081         * po/eo.po: Update Esperanto translation from translation project.
33083 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
33085         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
33086         and FEATURE_INDEX_MAX to 1.
33087         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
33089 2014-05-01  Steve Ellcey  <sellcey@mips.com>
33091         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
33092         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
33093         * iconvdata/big5.c (ONE_DIRECTION): Define.
33094         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
33095         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
33096         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
33097         * iconvdata/cp932.c (ONE_DIRECTION): Define.
33098         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
33099         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
33100         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
33101         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
33102         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
33103         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
33104         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
33105         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
33106         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
33107         * iconvdata/gbk.c (ONE_DIRECTION): Define.
33108         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
33109         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
33110         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
33111         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
33112         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
33113         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
33114         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
33115         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
33116         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
33117         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
33118         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
33119         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
33120         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
33121         * iconvdata/iso646.c (ONE_DIRECTION): Define.
33122         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
33123         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
33124         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
33125         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
33126         * iconvdata/johab.c (ONE_DIRECTION): Define.
33127         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
33128         * iconvdata/sjis.c (ONE_DIRECTION): Define.
33129         * iconvdata/t.61.c (ONE_DIRECTION): Define.
33130         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
33131         * iconvdata/tscii.c (ONE_DIRECTION): Define.
33132         * iconvdata/uhc.c (ONE_DIRECTION): Define.
33133         * iconvdata/unicode.c (ONE_DIRECTION): Define.
33134         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
33135         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
33136         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
33138 2014-05-01  Roland McGrath  <roland@hack.frob.com>
33140         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
33141         (_IO_JUMPS_OFFSET): Define to 0.
33143         * nptl/sysdeps/pthread/bits/libc-lock.h
33144         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
33145         (__libc_lock_define_initialized_recursive): Always define using
33146         initializer.  Modern compilers treat uninitialized (implicit zero) and
33147         explicit zero initializers the same (i.e. put the datum in bss).
33149 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33151         * nscd/nscd-client.h: Include <string.h>.
33153 2014-05-01  David S. Miller  <davem@davemloft.net>
33155         [BZ #16885]
33156         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
33157         multiple zero bytes exist at the end of a string.
33158         Reported by Aurelien Jarno <aurelien@aurel32.net>
33160         * string/test-strcmp.c (check): Add explicit test for situations where
33161         there are multiple zero bytes after the first.
33163 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33165         [BZ #16890]
33166         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
33167         when compiling wprintf.
33168         * stdio-common/tstdiomisc.c (t3): New function.
33169         (main): Call it.
33171 2014-05-01  Steve Ellcey  <sellcey@mips.com>
33173         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
33174         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
33175         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
33176         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
33178 2014-05-01  Steve Ellcey  <sellcey@mips.com>
33180         * stdlib/longlong.h: Updated from GCC.
33182 2014-05-01  Will Newton  <will.newton@linaro.org>
33183             Bernard Ogden  <bernie.ogden@linaro.org>
33185         * NEWS: Update fixed bug list.
33187         [BZ #15119]
33188         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
33190 2014-04-30  David S. Miller  <davem@davemloft.net>
33192         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
33193         (libc_feholdexcept_setround_sparc_ctx): New function.
33194         (libc_fesetenv_sparc_ctx): Likewise.
33195         (libc_feupdateenv_sparc_ctx): Likewise.
33196         (libc_feholdsetround_sparc_ctx): Likewise.
33197         (libc_feholdexcept_setround_ctx): Define.
33198         (libc_feholdexcept_setroundf_ctx): Likewise.
33199         (libc_feholdexcept_setroundl_ctx): Likewise.
33200         (libc_fesetenv_ctx): Likewise.
33201         (libc_fesetenvf_ctx): Likewise.
33202         (libc_fesetenvl_ctx): Likewise.
33203         (libc_feupdateenv_ctx): Likewise.
33204         (libc_feupdateenvf_ctx): Likewise.
33205         (libc_feupdateenvl_ctx): Likewise.
33206         (libc_feresetround_ctx): Likewise.
33207         (libc_feresetroundf_ctx): Likewise.
33208         (libc_feresetroundl_ctx): Likewise.
33209         (libc_feholdsetround_ctx): Likewise.
33210         (libc_feholdsetroundf_ctx): Likewise.
33211         (libc_feholdsetroundl_ctx): Likewise.
33213         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
33214         with __USE_GNU instead of XOPEN cpp guards.
33216         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
33217         0.
33219         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
33220         with XOPEN cpp guards.
33222 2014-04-30  Julian Brown  <julian@codesourcery.com>
33224         [BZ #16888]
33225         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
33226         handling.
33228 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
33230         [BZ #9894]
33231         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
33232         Change to 2.6.32.
33233         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
33234         * sysdeps/unix/sysv/linux/configure: Regenerated.
33235         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
33236         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
33237         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
33238         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
33239         * README: Update reference to required Linux kernel version.
33240         * manual/install.texi (Linux): Update reference to required Linux
33241         kernel headers version.
33242         * INSTALL: Regenerated.
33244         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
33245         header inclusion.
33246         [POSIX] (limits.h): Likewise.
33247         [POSIX] (math.h): Likewise.
33248         [POSIX] (sys/wait.h): Likewise.
33249         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
33250         function.
33251         [POSIX] (stddef.h): Do not allow header inclusion.
33253 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33255         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
33257 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
33259         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
33260         Return immediately after lll_futex_wake.
33262 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33264         [BZ #16791]
33265         * nscd/nscd-client.h (datahead_init_common): Initialize entire
33266         structure.
33267         (datahead_init_pos): Call datahead_init_common early.
33268         (datahead_init_neg): Likewise.
33270         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
33271         datahead_init_neg): New functions.
33272         * nscd/aicache.c (addhstaiX): Use them.
33273         * nscd/grpcache.c (cache_addgr): Likewise.
33274         * nscd/hstcache.c (cache_addhst): Likewise.
33275         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33276         * nscd/netgroupcache.c (do_notfound): Likewise.
33277         (addgetnetgrentX): Likewise.
33278         (addinnetgrX): Likewise.
33279         * nscd/pwdcache.c (cache_addpw): Likewise.
33280         * nscd/servicescache.c (cache_addserv): Likewise.
33282 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33283             Atsushi Onoe  <atsushi@onoe.org>
33285         [BZ #14308]
33286         [BZ #12994]
33287         [BZ #13651]
33288         * resolv/res_query.c (__libc_res_nsearch): Return if at least
33289         one response is valid.
33290         * resolv/res_send.c (send_dg): Check for validity of other
33291         response if the current response is a referral.
33293 2014-04-29  Steve Ellcey  <sellcey@mips.com>
33295         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
33297 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
33299         [BZ #16823]
33300         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
33301         Always divide by positive zero when computing -Inf result.
33302         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
33303         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
33305 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33307         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
33308         FPSCR if value do not change.
33309         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33310         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
33311         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
33312         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
33313         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
33314         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
33315         function.
33317 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
33319         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
33320         * sysdeps/unix/sysv/linux/hppa: Move directory from
33321         ports/systeps/unix/sysv/linux/hppa.
33322         * README: Update listing for hppa-*-linux-gnu.
33324 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
33326         [BZ #16754]
33327         * manual/stdio.texi (Hook functions): Fix types of stream hook
33328         functions.
33329         [BZ #16854]
33330         * socket/sys/socket.h: Fix typo in comment.
33332 2014-04-28  Wilco  <wdijkstr@arm.com>
33334         * sysdeps/arm/fenv_private.h: New file.
33335         * sysdeps/arm/math_private.h: New file.
33336         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
33338 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
33340         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
33341         with __int128_t.
33342         (La_x86_64_retval): Likewise.
33344 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
33346         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
33347         fpsr if value didn't change.
33348         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
33349         to fpcr if value didn't change.
33350         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
33351         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
33352         fpsr or fpcr if value didn't change.
33353         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
33354         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
33355         fpcr if value didn't change.
33356         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
33357         to fpsr if value didn't change.
33359 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
33361         * nptl/tst-sem3.c: Use test-skeleton.c
33362         (main): Rename to do_test.  Use return instead of
33363         exit.
33364         * nptl/tst-sem4.c: Use test-skeleton.c
33365         (main): Rename to do_test.
33367 2014-04-22  David S. Miller  <davem@davemloft.net>
33369         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
33370         (struct sigaction): New struct member __glibc_reserved0, change
33371         type of sa_flags to int.
33373 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
33375         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
33376         (COUNT_LEADING_ZEROS_0): Define for AArch64.
33378 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33380         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
33381         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
33383 2014-04-22  Will Newton  <will.newton@linaro.org>
33384             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
33386         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
33387         (__longjmp): Add longjmp and longjmp_target SystemTap
33388         probes.
33389         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
33390         (__sigsetjmp): Add setjmp SystemTap probe.
33392 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
33394         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
33395         match manual order.
33397 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33399         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
33401         * sysdeps/powerpc/fpu/fenv_private.h
33402         (libc_feholdexcept_setroundl_ctx): Define to
33403         libc_feholdexcept_setround_ppc_ctx.
33404         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
33405         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
33406         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
33407         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
33409 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
33411         * sysdeps/aarch64/math-tests.h: New file.
33413 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
33415         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
33416         New.
33417         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33418         Check and set bit_AVX2_Usable.
33419         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
33420         macro.
33421         (bit_AVX2): Likewise.
33422         (index_AVX2_Usable): Likewise.
33423         (CPUID_AVX2): Likewise.
33424         (HAS_AVX2): Likewise.
33426 2014-04-17  Will Newton  <will.newton@linaro.org>
33428         * manual/setjmp.texi (System V contexts): Add note that
33429         calling setcontext on a context created by a call to a
33430         signal handler is undefined.  Update text to note that
33431         setcontext from a signal handler is possible but not
33432         recommended.
33434         [BZ #16629]
33435         * stdlib/tst-setcontext.c: Include signal.h.
33436         (main): Check that the signal stack before and
33437         after swapcontext is the same.
33439         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
33440         Re-implement to restore registers in user code and avoid
33441         rt_sigreturn system call.
33443 2014-04-17  Wilco  <wdijkstr@arm.com>
33445         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
33446         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
33447         * math/test-fenv.c: Skip exception trap tests on targets which only
33448         support non-stop mode.
33450 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
33451             Wilco Dijkstra  <wilco.dijkstra@arm.com>
33453         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
33454         (libc_feholdsetround_aarch64_ctx)
33455         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
33456         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
33457         (libc_feresetround_ctx, libc_feresetroundf_ctx)
33458         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
33459         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
33460         (libc_feresetround_noexl_ctx): Define.
33462 2014-04-16  Richard Henderson  <rth@redhat.com>
33464         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
33466         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
33467         unwind tables.
33469         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
33470         const from the non-libc, non-ldso copy.
33472         * sysdeps/alpha/libm-test-ulps: Regenerate.
33474 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
33475             Wilco Dijkstra  <wilco.dijkstra@arm.com>
33477         * sysdeps/aarch64/fpu/math_private.h: New file.
33479 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
33481         * sysdeps/aarch64/libm-test-ulps: Regenerate.
33483 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
33485         [BZ #16275]
33486         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
33487         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
33488         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
33489         Intel MPX bound registers before _dl_profile_fixup.
33490         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
33491         registers after _dl_profile_fixup.  Save and restore bound
33492         registers bnd0/bnd1 when calling _dl_call_pltexit.
33493         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
33494         (LR_BND_OFFSET): Likewise.
33495         (LRV_BND0_OFFSET): Likewise.
33496         (LRV_BND1_OFFSET): Likewise.
33498 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33500         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
33501         to...
33502         * sysdeps/mach/hurd/i386/tls.h: ... here.
33503         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
33504         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
33505         fields.
33507 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33509         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
33511 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
33513         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33515 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
33517         [BZ #14770]
33518         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
33519         * sysdeps/s390/configure: Regenerate.
33521         [BZ #16824]
33522         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
33523         Set round-to-nearest internally to reduce error accumulation.
33525 2014-04-16  Alan Modra  <amodra@gmail.com>
33527         [BZ #16740]
33528         [BZ #16619]
33529         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
33530         * math/libm-test.inc (frexp_test_data): Add tests.
33531         * NEWS: Update fixed bug list.
33533 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33535         * benchtests/Makefile: Depend on libraries in build directory.
33536         (bench-math): Separate out math tests.
33537         (bench-pthread): Separate out pthread tests.
33538         (bench): Include math and pthread tests.
33540 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
33542         [BZ #16831]
33543         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
33544         _dl_debug_initialize.
33546         * configure.ac: Remove SELinux header check.
33547         * configure: Regenerate.
33548         * nscd/selinux.c (perms): Array of const char* to permission names.
33549         (nscd_request_avc_has_perm): Call security_deny_unknown to find
33550         default policy. Call string_to_security_class and string_to_av_perm to
33551         translate strings. Enforce default policy and call avs_has_perm with
33552         results of translated strings.
33554 2014-04-13  David S. Miller  <davem@davemloft.net>
33556         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33558 2014-04-12  Allan McRae  <allan@archlinux.org>
33560         [BZ #16838]
33561         * manual/string.texi (Collation Functions): Fix qsort argument
33562         order in example.
33563         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
33565 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
33567         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
33568         Make the test a no-op if there are no exceptions defined.
33570 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
33572         * elf/Makefile (tests): make tst-dlopen-aout conditional on
33573         enable-hardcoded-path-in-tests
33575 2014-04-11  Will Newton  <will.newton@linaro.org>
33577         * benchtests/Makefile (extra-objs): Add json-lib.o.
33578         (bench-func): Tidy up JSON output.
33579         * benchtests/bench-skeleton.c: Include json-lib.h.
33580         (main): Use JSON library functions to do output of
33581         benchmark results.
33582         * benchtests/bench-timing-type.c (main): Output the
33583         timing type simply, leaving formatting to the user.
33584         * benchtests/json-lib.c: New file.
33585         * benchtests/json-lib.h: Likewise.
33587 2014-04-11  Torvald Riegel  <triegel@redhat.com>
33589         [BZ #15215]
33590         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
33591         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
33592         memory barriers.  Add comments.
33593         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
33594         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
33595         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
33596         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
33597         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
33598         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
33600 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
33602         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
33603         * sysdeps/s390/s390-64/configure.ac: ... this ...
33604         * sysdeps/s390/configure.ac: ... to here.
33605         * sysdeps/s390/s390-32/configure: Delete file.
33606         * sysdeps/s390/s390-64/configure: Delete file.
33607         * sysdeps/s390/configure: Regenerate.
33609 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
33611         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
33613 2014-04-11  Will Newton  <will.newton@linaro.org>
33615         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
33616         to zero if it is not defined elsewhere.  (mtrim): Test
33617         the value of MALLOC_DEBUG with #if rather than #ifdef.
33619 2014-04-10 Torvald Riegel  <triegel@redhat.com>
33621         * benchtests/pthread_once-inputs: New file.
33622         * benchtests/pthread_once-source.c: New file.
33623         * benchtests/README: Update documentation.
33625 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
33626             H.J. Lu  <hongjiu.lu@intel.com>
33628         [BZ #16275]
33629         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
33630         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
33631         * sysdeps/x86_64/configure: Regenerated.
33632         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
33633         macro.
33634         (REGISTER_SAVE_RAX): Likewise.
33635         (REGISTER_SAVE_RCX): Likewise.
33636         (REGISTER_SAVE_RDX): Likewise.
33637         (REGISTER_SAVE_RSI): Likewise.
33638         (REGISTER_SAVE_RDI): Likewise.
33639         (REGISTER_SAVE_R8): Likewise.
33640         (REGISTER_SAVE_R9): Likewise.
33641         (REGISTER_SAVE_BND0): Likewise.
33642         (REGISTER_SAVE_BND1): Likewise.
33643         (REGISTER_SAVE_BND2): Likewise.
33644         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
33645         bound registers when calling _dl_fixup.
33647 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33649         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
33650         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
33651         of its definition.
33652         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
33653         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
33654         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
33655         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
33656         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
33657         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
33658         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
33660 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
33662         [BZ #15514]
33663         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
33664         pathconf(_PC_NAME_MAX).
33666 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33668         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
33669         Remove macro usage.
33670         (__PTHREAD_SPINS): Move definition to ...
33671         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
33672         (__PTHREAD_SPINS): ... here.
33673         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
33674         (__PTHREAD_SPIN): Likewise.
33675         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
33676         (__PTHREAD_SPIN): Likewise.
33677         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
33678         (__PTHREAD_SPIN): Likewise.
33679         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
33680         (__PTHREAD_SPIN): Likewise.
33681         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
33682         (__PTHREAD_SPIN): Likewise.
33683         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
33684         (__PTHREAD_SPIN): Likewise.
33685         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
33686         (__PTHREAD_SPIN): Likewise.
33687         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
33688         (__PTHREAD_SPIN): Likewise.
33689         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
33690         (__PTHREAD_SPIN): Likewise.
33691         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
33692         (__PTHREAD_SPIN): Likewise.
33693         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
33694         (__PTHREAD_SPIN): Likewise.
33695         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
33696         (__PTHREAD_SPIN): Likewise.
33698         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
33699         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
33700         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
33701         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
33702         imply folder.
33703         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
33704         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
33705         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
33706         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
33707         correct imply path.
33708         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
33709         strlen symbol for non multi-arch builds.
33710         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
33711         missing hidden_def and weak_alias.
33713 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
33715         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
33717 2014-04-07  Will Newton  <will.newton@linaro.org>
33719         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
33720         and contents.  [!_LIBC] Remove #ifndef and contents.
33721         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
33722         * string/memccpy.c (__memccpy): Use ANSI prototype.
33723         * string/memfrob.c (memfrob): Likewise.
33724         * string/strcoll.c (STRCOLL): Likewise.
33725         * string/strlen.c (strlen): Likewise.
33726         * string/strtok.c (STRTOK): Likewise.
33727         * string/strcat.c: Remove unused #include of memcopy.h.
33728         (strcat): Use ANSI prototype.
33729         * string/strchr.c: Remove unused #include of memcopy.h.
33730         (strchr): Use ANSI prototype.
33731         * string/strcmp.c: Remove unused #include of memcopy.h.
33732         (strcmp): Use ANSI prototype.
33733         * string/strcpy.c: Remove unused #include of memcopy.h.
33734         (strcpy): Use ANSI prototype.
33736 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33738         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
33739         * config.make.in (config-extra-cppflags): Set it from
33740         libc_extra_cppflags.
33741         * configure.ac (libc_extra_cflags): Make it accumulate over
33742         configure fragments.
33743         (libc_extra_cppflags): New flag.
33744         * configure. Regenerate.
33745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
33746         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
33747         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
33748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
33750         [BZ #16815]
33751         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
33752         result for FE_DOWNWARD rounding mode.
33753         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
33754         Likewise.
33755         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33757 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
33759         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
33760         in function argument name.
33762 2014-04-03  David Svoboda  <svoboda@cert.org>
33764         [BZ #5666]
33765         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
33766         explicitly.
33768 2014-04-03  Roland McGrath  <roland@hack.frob.com>
33770         * elf/dl-unmap-segments.h: New file.
33771         * sysdeps/generic/ldsodefs.h
33772         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
33773         * elf/dl-close.c: Include <dl-unmap-segments.h>.
33774         * elf/dl-fptr.c: Likewise.
33775         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
33776         * sysdeps/aarch64/tlsdesc.c: Likewise.
33777         * sysdeps/arm/tlsdesc.c: Likewise.
33778         * sysdeps/i386/tlsdesc.c: Likewise.
33779         * sysdeps/tile/dl-runtime.c: Likewise.
33780         * sysdeps/x86_64/tlsdesc.c: Likewise.
33781         * elf/dl-load.h: New file.
33782         * elf/dl-load.c: Include it.
33783         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
33784         Macros moved to dl-load.h.
33785         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
33786         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
33787         Use _dl_unmap_segments in place of __munmap.
33788         Break out segment-mapping loop into ...
33789         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
33791 2014-04-03  Will Newton  <will.newton@linaro.org>
33793         * elf/dl-lookup.c (do_lookup_x): Remove comment
33794         referring to nested function and move variable
33795         declarations down to before first use.
33797 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
33799         [BZ #16799]
33800         [BZ #16800]
33801         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
33802         with 0 numerator.
33803         * math/s_catanf.c (__catanf): Likewise.
33804         * math/s_catanh.c (__catanh): Likewise.
33805         * math/s_catanhf.c (__catanhf): Likewise.
33806         * math/s_catanhl.c (__catanhl): Likewise.
33807         * math/s_catanl.c (__catanl): Likewise.
33808         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
33809         by positive zero when computing -Inf result.
33810         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
33811         (catanh_test): Likewise.
33812         * sysdeps/i386/fpu/libm-test-ulps: Update.
33813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33815         [BZ #16789]
33816         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
33817         instead of using underflowing value in computing result.
33818         * math/s_clog10.c (__clog10): Likewise.
33819         * math/s_clog10f.c (__clog10f): Likewise.
33820         * math/s_clog10l.c (__clog10l): Likewise.
33821         * math/s_clogf.c (__clogf): Likewise.
33822         * math/s_clogl.c (__clogl): Likewise.
33823         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
33824         (clog10_test): Likewise.
33825         * sysdeps/i386/fpu/libm-test-ulps: Update.
33826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33828 2014-04-02  Alan Modra  <amodra@gmail.com>
33830         [BZ #16739]
33831         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
33832         output when value is near a power of two.  Use int64_t for lx and
33833         remove casts.  Use decimal rather than hex exponent constants.
33834         Don't use long double multiplication when double will suffice.
33835         * math/libm-test.inc (nextafter_test_data): Add tests.
33836         * NEWS: Add 16739 and 16786 to bug list.
33838         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
33840         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
33842 2014-04-01  Will Newton  <will.newton@linaro.org>
33844         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
33845         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
33847 2014-04-01  Florian Weimer  <fweimer@redhat.com>
33849         [BZ #13347]
33850         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
33851         * nptl/tst-setuid2.c: New file.
33852         * nptl/Makefile (xtests): Add tst-setuid2.
33854 2014-04-01  Alan Modra  <amodra@gmail.com>
33856         [BZ #16786]
33857         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
33859 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
33861         [BZ #6803]
33862         [BZ #6804]
33863         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
33864         set errno as appropriate.
33865         * math/w_scalbf.c (__scalbf): Likewise.
33866         * math/w_scalbl.c (__scalbl): Likewise.
33867         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
33868         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
33869         * math/libm-test.inc (scalb_test_data): Add errno expectations.
33870         Add more NaN tests.
33872         [BZ #16349]
33873         * math/w_atan2.c: Include <errno.h>.
33874         (__atan2): Set errno for result underflowing to zero.
33875         * math/w_atan2f.c: Include <errno.h>.
33876         (__atan2f): Set errno for result underflowing to zero.
33877         * math/w_atan2l.c: Include <errno.h>.
33878         (__atan2l): Set errno for result underflowing to zero.
33879         * math/auto-libm-test-in: Don't allow missing errno for some atan2
33880         tests.
33881         * math/auto-libm-test-out: Regenerated.
33883 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33885         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
33886         Encode instruction correctly in little endian.
33887         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
33888         Likewise.
33889         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
33890         Likewise.
33891         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
33892         Likewise.
33893         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
33894         Likewise.
33896 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
33898         [BZ #9894]
33899         * sysdeps/unix/sysv/linux/kernel-features.h
33900         [__sparc__ && !__arch64__ && !__sparc_v9__]
33901         (__ASSUME_SET_ROBUST_LIST): Do not define.
33902         [__sparc__ && !__arch64__ && !__sparc_v9__]
33903         (__ASSUME_FUTEX_LOCK_PI): Likewise.
33904         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
33905         Likewise.
33906         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33907         (__ASSUME_FUTEX_LOCK_PI): Undefine.
33908         (__ASSUME_REQUEUE_PI): Likewise.
33909         (__ASSUME_SET_ROBUST_LIST): Likewise.
33910         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33911         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
33912         Undefine.
33913         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33914         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
33915         Likewise.
33916         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
33917         Likewise.
33918         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
33919         Likewise.
33920         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33921         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
33922         Undefine.
33923         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
33924         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
33925         Likewise.
33927         [BZ #16648]
33928         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33929         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
33930         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
33932 2014-03-31  Will Newton  <will.newton@linaro.org>
33934         * benchtests/Makefile (bench): Add ffs and ffsll to list
33935         of tests.
33936         * benchtests/ffs-inputs: New file.
33937         * benchtests/ffsll-inputs: Likewise.
33939 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
33941         [BZ #16770]
33942         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
33943         too large before casting to int.
33944         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
33945         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
33946         * math/libm-test.inc (scalb_test_data): Add more tests.
33948 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33950         * benchtests/Makefile (DETAILED_OPT): New make option.
33951         (bench-func): Run benchmark program with -d if DETAILED_OPT is
33952         set.
33953         * benchtests/bench-skeleton.c: Include stdbool.h.
33954         (main): Store and print timings per input.
33955         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
33956         member to each argument value.
33957         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
33958         (_print_arg_data): Initialize per-input timing to 0.
33960         * benchtests/Makefile (timing-type): New binary.
33961         (bench-clean): Also remove bench-timing-type.
33962         (bench): New target for timing-type.
33963         (bench-func): Print output in JSON format.
33964         * benchtests/bench-skeleton.c (main): Print output in JSON
33965         format.
33966         * benchtests/bench-timing-type.c: New file.
33967         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
33968         (TIMING_PRINT_STATS): Remove.
33969         * benchtests/scripts/bench.py (_print_arg_data): Store variant
33970         name separately.
33972         * benchtests/bench-modf.c: Remove.
33973         * benchtests/modf-inputs: New inputs file.
33975 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
33977         [BZ #16362]
33978         * math/s_clog10.c (M_PI_LOG10E): New macro.
33979         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
33980         imaginary parts are 0.
33981         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
33982         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
33983         imaginary parts are 0.
33984         * math/s_clog10l.c (M_PI_LOG10El): New macro.
33985         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
33986         imaginary parts are 0.
33987         * math/libm-test.inc (clog10_test_data): Update expected results
33988         for when real and imaginary parts are 0.
33990 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
33992         * elf/dl-load.c: Finish conversion of __builtin_expect into
33993         __glibc_{un}likely.
33995 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
33997         [BZ #16348]
33998         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
33999         1+x for argument with exponent below -67.
34000         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
34001         Likewise.
34002         * math/auto-libm-test-in: Add more tests of exp.
34003         * math/auto-libm-test-out: Regenerated.
34005 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34007         [BZ #16759]
34008         * inet/getnetgrent_r.c (get_nonempty_val): New function.
34009         (nscd_getnetgrent): Use it.
34011         [BZ #16760]
34012         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
34013         of stpcpy.
34015 2014-03-27  Andi Kleen  <ak@linux.intel.com>
34017         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
34018         (lll_robust_lock, lll_cond_lock, lll_timedlock)
34019         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
34020         (lll_robust_unlock): Remove out of line section. Use cfi
34021         intrinsics.
34022         (LLL_STUB_UNWIND_INFO*): Remove.
34023         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
34024         (lll_robust_lock, lll_cond_lock, lll_timedlock)
34025         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
34026         (lll_robust_unlock): Remove out of line section. Use cfi
34027         intrinsics.
34028         (LLL_STUB_UNWIND_INFO*): Remove.
34030 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34032         [BZ #16758]
34033         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
34034         blank values.
34036 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
34038         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
34040 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
34042         [BZ #16198]
34043         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
34044         fnstenv.
34045         * math/test-fenv-preserve.c: New file.
34046         * math/Makefile (tests): Add test-fenv-preserve.
34048 2014-03-26  Will Newton <will.newton@linaro.org>
34050         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
34052 2014-03-25  Roland McGrath  <roland@hack.frob.com>
34054         * scripts/versionlist.awk: Partition the version sets and emit all
34055         GLIBC_* (sorted) before all others (sorted).
34057 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
34059         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
34060         GLIBC_2.2.5 version.
34062 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34064         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
34065         calls.
34067         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
34068         previous change.
34070         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34072 2014-03-25  Andreas Schwab  <schwab@suse.de>
34074         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
34075         label to be used after in6ailist is initialized.
34077 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34079         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34080         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
34082 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
34084         [BZ #16357]
34085         [BZ #16599]
34086         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
34087         min_plus_half.
34088         (fp_formats): Update initializers.
34089         (init_fp_formats): Initialize new field.
34090         (output_for_one_input_case): Allow underflow for results up to
34091         min_plus_half.
34092         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
34093         * math/auto-libm-test-in: Don't mark some underflows from asin and
34094         atanh as spurious.
34095         * math/auto-libm-test-out: Regenerated.
34096         * sysdeps/i386/fpu/libm-test-ulps: Update.
34097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34099 2014-03-25  Andreas Schwab  <schwab@suse.de>
34101         * libio/Makefile (tst-ftell-partial-wide-ENV)
34102         (tst-ftell-active-handler-ENV): Define.
34104 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
34106         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
34108 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
34110         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
34112 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
34114         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
34115         * sysdeps/x86_64/fpu/multiarch/e_exp.c
34116         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
34118 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
34120         [BZ #16634]
34121         * elf/dl-load.c (open_verify): Add mode parameter.
34122         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
34123         (open_path): Change from boolean 'secure' to complete flag 'mode'
34124         (_dl_map_object): Adjust.
34125         * elf/Makefile (tests): Add tst-dlopen-aout.
34126         * elf/tst-dlopen-aout.c: New test.
34128 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
34130         [BZ #16714]
34131         * sysdeps/unix/sysv/linux/s390/bits/stat.h
34132         (struct stat): Rename member pad0 to __glibc_reserved0.
34134         [BZ #16712]
34135         * sysdeps/s390/s390-32/bits/wordsize.h
34136         (__WORDSIZE32_SIZE_ULONG): New define.
34137         * sysdeps/s390/s390-64/bits/wordsize.h
34138         (__WORDSIZE32_SIZE_ULONG): Likewise.
34139         * sysdeps/generic/stdint.h (SIZE_MAX):
34140         Define as UL if __WORDSIZE32_SIZE_ULONG.
34142         [BZ #16713]
34143         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
34144         (__glibc_reserved0): New variable.
34145         (sa_flags): Change type to int.
34147         * posix/Makefile (before-compile): Use += before-compile instead
34148         of a :=.
34150         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34151         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
34153 2014-03-20  Andreas Schwab  <schwab@suse.de>
34155         [BZ #16743]
34156         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
34157         non-matching result from nscd.
34159 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34161         * scripts/bench.py: Moved to ...
34162         * benchtests/scripts/bench.py: ... here.
34163         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
34165 2014-03-24  Andreas Schwab  <schwab@suse.de>
34167         [BZ #16002]
34168         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
34169         alloca_account and account alloca use for struct in6ailist.
34171 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
34173         [BZ #16284]
34174         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
34175         rounding mode to recompute results that overflow to infinity or
34176         underflow to zero.
34177         * math/auto-libm-test-in: Don't mark tests as expected to fail for
34178         bug 16284.
34179         * math/auto-libm-test-out: Regenerated.
34180         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
34181         (ccosh_test): Likewise.
34182         (csin_test_data): Use plus_oflow.
34183         (csin_test): Use ALL_RM_TEST.
34184         (csinh_test_data): Use plus_oflow.
34185         (csinh_test): Use ALL_RM_TEST.
34186         * sysdeps/i386/fpu/libm-test-ulps: Update.
34187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34189 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
34191         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
34192         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
34193         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
34195         [BZ #16731]
34196         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
34197         when x - 1 is zero.
34198         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
34199         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
34200         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
34201         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
34202         argument is 1.
34203         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
34204         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
34205         zero.
34206         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
34207         * sysdeps/i386/fpu/libm-test-ulps: Update.
34208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34210 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34212         * scripts/bench.pl: Remove file.
34213         * scripts/bench.py: New benchmark script.
34214         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
34215         * benchtests/README: Mention python dependency.
34216         * scripts/pylintrc: New file.
34217         * scripts/pylint: New file.
34219         * bits/mathdef.h: Use #ifdef instead of #if.
34220         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
34221         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
34222         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
34223         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
34224         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
34225         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
34227 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34228             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34230         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
34231         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
34232         and strpbrk-ppc64 objects.
34233         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34234         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
34235         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
34236         multiarch strpbrk for POWER7.
34237         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
34238         multiarch strpbrk for PPC64.
34239         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
34240         ifunc selector.
34241         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
34242         strpbrk for POWER7.
34244 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
34246         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
34247         (atan_test): Likewise.
34248         (atanh_test_data): Use NO_TEST_INLINE for two tests.
34249         (atanh_test): Use ALL_RM_TEST.
34250         (atan2_test_data): Likewise.
34251         (cabs_test): Likewise.
34252         (cacosh_test): Likewise.
34253         (carg_test): Likewise.
34254         (casin_test): Likewise.
34255         (casinh_test): Likewise.
34256         (cbrt_test): Likewise.
34257         (csqrt_test): Likewise.
34258         (erf_test): Likewise.
34259         (erfc_test): Likewise.
34260         (pow10_test): Likewise.
34261         (exp2_test): Likewise.
34262         (hypot_test): Likewise.
34263         (j0_test): Likewise.
34264         (j1_test): Likewise.
34265         (lgamma_test): Likewise.
34266         (gamma_test): Likewise.
34267         (sincos_test): Likewise.
34268         (tanh_test): Likewise.
34269         (y0_test): Likewise.
34270         (y1_test): Likewise.
34271         * sysdeps/i386/fpu/libm-test-ulps: Update.
34272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34274 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34276         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
34277         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
34278         and strcspn-ppc64 objects.
34279         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34280         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
34281         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
34282         multiarch strcspn for POWER7.
34283         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
34284         multiarch strcspn for PPC64.
34285         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
34286         ifunc selector.
34287         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
34288         strcspn for POWER7.
34290 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
34292         * math/gen-libm-test.pl (generate_testfile): Expect only function
34293         name as argument to AUTO_TESTS_* and pass results for all rounding
34294         modes to parse_args.
34295         (parse_auto_input): Separate inputs of automatic tests from
34296         outputs before storing in %auto_tests.
34297         * math/libm-test.inc (acos_test_data): Update call to
34298         AUTO_TESTS_f_f.
34299         (acos_test): Use ALL_RM_TEST.
34300         (acos_tonearest_test_data): Remove.
34301         (acos_test_tonearest): Likewise.
34302         (acos_towardzero_test_data): Likewise.
34303         (acos_test_towardzero): Likewise.
34304         (acos_downward_test_data): Likewise.
34305         (acos_test_downward): Likewise.
34306         (acos_upward_test_data): Likewise.
34307         (acos_test_upward): Likewise.
34308         (acosh_test_data): Update call to AUTO_TESTS_f_f.
34309         (asin_test_data): Likewise.
34310         (asin_test): Use ALL_RM_TEST.
34311         (asin_tonearest_test_data): Remove.
34312         (asin_test_tonearest): Likewise.
34313         (asin_towardzero_test_data): Likewise.
34314         (asin_test_towardzero): Likewise.
34315         (asin_downward_test_data): Likewise.
34316         (asin_test_downward): Likewise.
34317         (asin_upward_test_data): Likewise.
34318         (asin_test_upward): Likewise.
34319         (asinh_test_data): Update call to AUTO_TESTS_f_f.
34320         (atan_test_data): Likewise.
34321         (atanh_test_data): Likewise.
34322         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
34323         (cabs_test_data): Update call to AUTO_TESTS_c_f.
34324         (carg_test_data): Likewise.
34325         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
34326         (ccos_test_data): Update call to AUTO_TESTS_c_c.
34327         (ccosh_test_data): Likewise.
34328         (cexp_test_data): Likewise.
34329         (clog_test_data): Likewise.
34330         (clog10_test_data): Likewise.
34331         (cos_test_data): Update call to AUTO_TESTS_f_f.
34332         (cos_test): Use ALL_RM_TEST.
34333         (cos_tonearest_test_data): Remove.
34334         (cos_test_tonearest): Likewise.
34335         (cos_towardzero_test_data): Likewise.
34336         (cos_test_towardzero): Likewise.
34337         (cos_downward_test_data): Likewise.
34338         (cos_test_downward): Likewise.
34339         (cos_upward_test_data): Likewise.
34340         (cos_test_upward): Likewise.
34341         (cosh_test_data): Update call to AUTO_TESTS_f_f.
34342         (cosh_test): Use ALL_RM_TEST.
34343         (cosh_tonearest_test_data): Remove.
34344         (cosh_test_tonearest): Likewise.
34345         (cosh_towardzero_test_data): Likewise.
34346         (cosh_test_towardzero): Likewise.
34347         (cosh_downward_test_data): Likewise.
34348         (cosh_test_downward): Likewise.
34349         (cosh_upward_test_data): Likewise.
34350         (cosh_test_upward): Likewise.
34351         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
34352         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
34353         (ctan_test_data): Likewise.
34354         (ctan_test): Use ALL_RM_TEST.
34355         (ctan_tonearest_test_data): Remove.
34356         (ctan_test_tonearest): Likewise.
34357         (ctan_towardzero_test_data): Likewise.
34358         (ctan_test_towardzero): Likewise.
34359         (ctan_downward_test_data): Likewise.
34360         (ctan_test_downward): Likewise.
34361         (ctan_upward_test_data): Likewise.
34362         (ctan_test_upward): Likewise.
34363         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
34364         (ctanh_test): Use ALL_RM_TEST.
34365         (ctanh_tonearest_test_data): Remove.
34366         (ctanh_test_tonearest): Likewise.
34367         (ctanh_towardzero_test_data): Likewise.
34368         (ctanh_test_towardzero): Likewise.
34369         (ctanh_downward_test_data): Likewise.
34370         (ctanh_test_downward): Likewise.
34371         (ctanh_upward_test_data): Likewise.
34372         (ctanh_test_upward): Likewise.
34373         (erf_test_data): Update call to AUTO_TESTS_f_f.
34374         (erfc_test_data): Likewise.
34375         (exp_test_data): Likewise.
34376         (exp_test): Use ALL_RM_TEST.
34377         (exp_tonearest_test_data): Remove.
34378         (exp_test_tonearest): Likewise.
34379         (exp_towardzero_test_data): Likewise.
34380         (exp_test_towardzero): Likewise.
34381         (exp_downward_test_data): Likewise.
34382         (exp_test_downward): Likewise.
34383         (exp_upward_test_data): Likewise.
34384         (exp_test_upward): Likewise.
34385         (exp10_test_data): Update call to AUTO_TESTS_f_f.
34386         (exp10_test): Use ALL_RM_TEST.
34387         (exp10_tonearest_test_data): Remove.
34388         (exp10_test_tonearest): Likewise.
34389         (exp10_towardzero_test_data): Likewise.
34390         (exp10_test_towardzero): Likewise.
34391         (exp10_downward_test_data): Likewise.
34392         (exp10_test_downward): Likewise.
34393         (exp10_upward_test_data): Likewise.
34394         (exp10_test_upward): Likewise.
34395         (exp2_test_data): Update call to AUTO_TESTS_f_f.
34396         (expm1_test_data): Likewise.
34397         (expm1_test): Use ALL_RM_TEST.
34398         (expm1_tonearest_test_data): Remove.
34399         (expm1_test_tonearest): Likewise.
34400         (expm1_towardzero_test_data): Likewise.
34401         (expm1_test_towardzero): Likewise.
34402         (expm1_downward_test_data): Likewise.
34403         (expm1_test_downward): Likewise.
34404         (expm1_upward_test_data): Likewise.
34405         (expm1_test_upward): Likewise.
34406         (fma_test_data): Update call to AUTO_TESTS_fff_f.
34407         (fma_test): Use ALL_RM_TEST.
34408         (fma_towardzero_test_data): Remove.
34409         (fma_test_towardzero): Likewise.
34410         (fma_downward_test_data): Likewise.
34411         (fma_test_downward): Likewise.
34412         (fma_upward_test_data): Likewise.
34413         (fma_test_upward): Likewise.
34414         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
34415         (j0_test_data): Update call to AUTO_TESTS_f_f.
34416         (j1_test_data): Likewise.
34417         (jn_test_data): Update call to AUTO_TESTS_if_f.
34418         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
34419         (log_test_data): Update call to AUTO_TESTS_f_f.
34420         (log10_test_data): Likewise.
34421         (log1p_test_data): Likewise.
34422         (log2_test_data): Likewise.
34423         (pow_test_data): Update call to AUTO_TESTS_ff_f.
34424         (pow_tonearest_test_data): Likewise.
34425         (sin_test_data): Update call to AUTO_TESTS_f_f.
34426         (sin_test): Use ALL_RM_TEST.
34427         (sin_tonearest_test_data): Remove.
34428         (sin_test_tonearest): Likewise.
34429         (sin_towardzero_test_data): Likewise.
34430         (sin_test_towardzero): Likewise.
34431         (sin_downward_test_data): Likewise.
34432         (sin_test_downward): Likewise.
34433         (sin_upward_test_data): Likewise.
34434         (sin_test_upward): Likewise.
34435         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
34436         (sinh_test_data): Update call to AUTO_TESTS_f_f.
34437         (sinh_test): Use ALL_RM_TEST.
34438         (sinh_tonearest_test_data): Remove.
34439         (sinh_test_tonearest): Likewise.
34440         (sinh_towardzero_test_data): Likewise.
34441         (sinh_test_towardzero): Likewise.
34442         (sinh_downward_test_data): Likewise.
34443         (sinh_test_downward): Likewise.
34444         (sinh_upward_test_data): Likewise.
34445         (sinh_test_upward): Likewise.
34446         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
34447         (sqrt_test): Use ALL_RM_TEST.
34448         (sqrt_tonearest_test_data): Remove.
34449         (sqrt_test_tonearest): Likewise.
34450         (sqrt_towardzero_test_data): Likewise.
34451         (sqrt_test_towardzero): Likewise.
34452         (sqrt_downward_test_data): Likewise.
34453         (sqrt_test_downward): Likewise.
34454         (sqrt_upward_test_data): Likewise.
34455         (sqrt_test_upward): Likewise.
34456         (tan_test_data): Update call to AUTO_TESTS_f_f.
34457         (tan_test): Use ALL_RM_TEST.
34458         (tan_tonearest_test_data): Remove.
34459         (tan_test_tonearest): Likewise.
34460         (tan_towardzero_test_data): Likewise.
34461         (tan_test_towardzero): Likewise.
34462         (tan_downward_test_data): Likewise.
34463         (tan_test_downward): Likewise.
34464         (tan_upward_test_data): Likewise.
34465         (tan_test_upward): Likewise.
34466         (tanh_test_data): Update call to AUTO_TESTS_f_f.
34467         (tgamma_test_data): Likewise.
34468         (y0_test_data): Likewise.
34469         (y1_test_data): Likewise.
34470         (yn_test_data): Update call to AUTO_TESTS_if_f.
34471         (main): Do not call removed functions.
34473 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
34475         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
34476         (ldexp_test_data): Remove.
34477         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
34478         scalbn_test_data.
34479         (scalb_test): Use ALL_RM_TEST.
34481 2014-03-19  Andreas Schwab  <schwab@suse.de>
34483         * nscd/nscd.service: Also invalidate netgroup cache on reload.
34485 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
34487         [BZ #16649]
34488         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34489         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
34490         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
34491         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34492         (__ASSUME_PREADV): Undefine.
34493         (__ASSUME_PWRITEV): Likewise.
34495 2014-03-18  Roland McGrath  <roland@hack.frob.com>
34497         * bits/mman-linux.h: Add comment about non-Linux use.
34498         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
34499         bits/mman-linux.h resting place.
34501         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
34502         * bits/mman-linux.h: ... here.
34504 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34506         * conform/conformtest.pl: Add standard definition when calling C
34507         preprocessor on data files.
34508         (checknamespace): Remove unused variable.
34510 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
34512         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
34513         minus_oflow, plus_uflow and minus_uflow in expected results.
34514         * math/libm-test.inc (scalbn_test_data): Add more tests of
34515         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
34516         minus_uflow.
34517         (scalbn_test): Use ALL_RM_TEST.
34518         (scalbln_test_data): Add more tests of negative arguments.  Use
34519         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
34520         (scalbln_test): Use ALL_RM_TEST.
34522 2014-03-18  Roland McGrath  <roland@hack.frob.com>
34524         * scripts/abilist.awk: Ignore symbols marked with .hidden.
34526 2014-03-18  Will Newton  <will.newton@linaro.org>
34528         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
34529         inaccurate comment.
34531 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
34533         * Makerules [!subdir] (check-abi): Exit with error status if a
34534         test failed.
34536 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
34538         * math/libm-test.inc (nearbyint_test_data): Include all tests used
34539         for rint.  Include results for all rounding modes.
34540         (nearbyint_test): Use ALL_RM_TEST.
34541         (rint_test_data): Include all tests used for nearbyint.
34543 2014-03-17  Will Newton  <will.newton@linaro.org>
34545         * nptl/sysdeps/pthread/pthread.h: Revert previous
34546         change.
34548         * sysdeps/generic/ldsodefs.h: Revert previous
34549         change.
34551         * libio/genops.c: Revert previous change.
34552         * libio/libioP.h: Likewise.
34553         * stdio-common/vfprintf.c: Likewise.
34555         * sysdeps/generic/math_private.h: Revert previous
34556         change.
34558         * sysdeps/generic/math_private.h: Check whether
34559         HAVE_RM_CTX is defined with #ifdef rather
34560         than #if.
34562         * argp/argp-fmtstream.h: Check whether
34563         __STRICT_ANSI__ is defined with #ifdef rather
34564         than #if.
34565         * argp/argp.h: Likewise.
34567         * libio/genops.c: Check whether
34568         _IO_JUMPS_OFFSET is defined with #ifdef rather
34569         than #if.
34570         * libio/libioP.h: Likewise.
34571         * stdio-common/vfprintf.c: Likewise.
34573         * sysdeps/generic/ldsodefs.h: Check whether
34574         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
34575         than #if.
34577         * nptl/sysdeps/pthread/pthread.h: Check
34578         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
34579         its value.
34581 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34583         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
34584         setting O_APPEND.
34585         * libio/tst-ftell-active-handler.c (do_append_test): Add a
34586         test case.
34588         [BZ #16680]
34589         * libio/fileops.c (_IO_file_open): Seek to end of file but
34590         don't cache the offset.
34591         (get_file_offset): Remove function.
34592         (do_ftell): Use cached offset when available.
34593         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
34594         don't cache the offset.
34595         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
34596         case.
34597         (do_one_test): Call it.
34598         (do_ftell_test): Fix up expected old offset for a+ mode.
34599         * libio/wfileops.c (do_ftell_wide): Used cached offset when
34600         available.
34602         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
34603         up test status with function return status.
34604         (do_write_test): Likewise.
34605         (do_append_test): Likewise.
34607         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
34608         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
34609         Remove.
34611 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
34613         * math/gen-libm-test.pl (parse_args): Handle results specified for
34614         each rounding mode separately.
34615         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
34616         tests and results from lrint_tonearest_test_data,
34617         lrint_towardzero_test_data, lrint_downward_test_data and
34618         lrint_upward_test_data.
34619         (lrint_test): Use ALL_RM_TEST.
34620         (lrint_tonearest_test_data): Remove.
34621         (lrint_test_tonearest): Likewise.
34622         (lrint_towardzero_test_data): Likewise.
34623         (lrint_test_towardzero): Likewise.
34624         (lrint_downward_test_data): Likewise.
34625         (lrint_test_downward): Likewise.
34626         (lrint_upward_test_data): Likewise.
34627         (lrint_test_upward): Likewise.
34628         (llrint_test_data): Merge in per-rounding-mode tests and results
34629         from llrint_tonearest_test_data, llrint_towardzero_test_data,
34630         llrint_downward_test_data and llrint_upward_test_data.
34631         (llrint_test): Use ALL_RM_TEST.
34632         (llrint_tonearest_test_data): Remove.
34633         (llrint_test_tonearest): Likewise.
34634         (llrint_towardzero_test_data): Likewise.
34635         (llrint_test_towardzero): Likewise.
34636         (llrint_downward_test_data): Likewise.
34637         (llrint_test_downward): Likewise.
34638         (llrint_upward_test_data): Likewise.
34639         (llrint_test_upward): Likewise.
34640         (rint_test_data): Merge in per-rounding-mode tests and results
34641         from rint_tonearest_test_data, rint_towardzero_test_data,
34642         rint_downward_test_data and rint_upward_test_data.  Add
34643         per-rounding-mode results for tests not in those arrays.
34644         (rint_test): Use ALL_RM_TEST.
34645         (rint_tonearest_test_data): Remove.
34646         (rint_test_tonearest): Likewise.
34647         (rint_towardzero_test_data): Likewise.
34648         (rint_test_towardzero): Likewise.
34649         (rint_downward_test_data): Likewise.
34650         (rint_test_downward): Likewise.
34651         (rint_upward_test_data): Likewise.
34652         (rint_test_upward): Likewise.
34653         (main): Don't call removed functions.
34655 2014-03-14  Roland McGrath  <roland@hack.frob.com>
34657         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
34658         "Compiled on ..." crapola.  It is anti-useful.
34660 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
34662         * scripts/evaluate-test.sh: Handle fourth argument to determine
34663         whether test run should stop on failure.
34664         * Makeconfig (stop-on-test-failure): New variable.
34665         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
34666         $(stop-on-test-failure).
34667         * Makefile (tests): Give a summary of results from testing and
34668         exit with failure status if they include an ERROR or FAIL.
34669         (xtests): Likewise.
34670         * manual/install.texi (Configuring and compiling): Mention
34671         stop-on-test-failure=y.
34672         * INSTALL: Regenerated.
34674 2014-03-14  Roland McGrath  <roland@hack.frob.com>
34676         * scripts/versionlist.awk: New file.
34677         * Makerules [$(build-shared) = yes]
34678         (postclean-generated): Add Versions.def, not Versions.def.v and
34679         Versions.def.v.i.
34680         ($(common-objpfx)Versions.def.v.i): Target removed.
34681         ($(common-objpfx)Versions.def): New target.
34682         ($(common-objpfx)Versions.all): Depend on that rather that
34683         $(common-objpfx)Versions.def.v.
34684         * Versions.def: File removed.
34686         * Makeconfig (+gccwarn): Add -Wundef.
34687         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
34688         a dl-sysdep.h breaking its contract.
34689         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
34690         * include/stackinfo.h: New file.
34691         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
34692         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
34693         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
34694         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
34695         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
34696         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
34697         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34698         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34699         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34700         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34701         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34702         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
34703         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34704         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34705         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34707 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34709         [BZ #16707]
34710         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
34711         implementation.
34712         * math/libm-test.inc (round_test_data): Add more tests.
34714         [BZ #16706]
34715         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
34716         implementation.
34717         * math/libm-test.inc (nearbyint_test_data): Add more tests.
34719         [BZ #16701]
34720         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
34721         implementation.
34722         * math/libm-test.inc (ceil_test_data): Add more tests.
34724         * math/libm-test.inc (trunc_test_data): Add more tests related to
34725         BZ#16414.
34727 2014-03-14  Roland McGrath  <roland@hack.frob.com>
34729         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
34730         with #if rather than #ifdef.
34731         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
34733 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
34735         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
34736         first.  Disable AVX-512 GCC support if assembler doesn't support
34737         it.
34738         * sysdeps/x86_64/configure: Regenerated.
34740 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
34742         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
34743         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
34744         (__old_pthread_attr_setstack): Likewise.
34745         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
34746         [!_STACK_GROWS_DOWN]: Likewise.
34748 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
34750         * config.make.in (have-bash2): Delete.
34751         * configure.ac (libc_cv_have_bash2): Delete.
34752         * configure: Regenerate.
34753         * elf/Makefile (common-ldd-rewrite): Rename to ...
34754         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
34755         (sh-ldd-rewrite): Delete.
34756         (bash-ldd-rewrite): Delete.
34757         (have-bash2): Delete checks.
34758         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
34759         ldd-rewrite.
34761         * config.make.in (have-ksh): Delete.
34762         (KSH): Delete.
34763         * configure.ac (libc_cv_have_ksh): Delete.
34764         * configure: Regenerate.
34766         * elf/Makefile: Delete $(have-ksh) check.
34767         ($(objpfx)sotruss): Change KSH to BASH.
34768         * elf/sotruss.ksh: Rename to ...
34769         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
34770         function style to match POSIX.  Drop ksh vim mode setting.
34772         * manual/time.texi (Specifying the Time Zone with TZ): Change
34773         Tuesday to Thursday.
34775         * debug/tst-longjmp_chk2.c: Update header comment.
34776         (stackoverflow_handler): Add comment.  Call assert on pass value.
34778 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
34780         [BZ #16194]
34781         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
34782         (HAVE_AVX512_ASM_SUPPORT): Likewise.
34783         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
34784         (La_x86_64_vector): Add zmm.
34785         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
34786         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
34787         ($(objpfx)tst-audit10): New target.
34788         ($(objpfx)tst-audit10.out): Likewise.
34789         (tst-audit10-ENV): New.
34790         (AVX512-CFLAGS): Likewise.
34791         (CFLAGS-tst-audit10.c): Likewise.
34792         (CFLAGS-tst-auditmod10a.c): Likewise.
34793         (CFLAGS-tst-auditmod10b.c): Likewise.
34794         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
34795         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
34796         * sysdeps/x86_64/configure: Regenerated.
34797         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
34798         AVX-512 zmm register support.
34799         (_dl_x86_64_save_sse): Likewise.
34800         (_dl_x86_64_restore_sse): Likewise.
34801         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
34802         size vector registers.
34803         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
34804         (ZMM_SIZE): Likewise.
34805         * sysdeps/x86_64/tst-audit10.c: New file.
34806         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
34807         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
34809 2014-03-13  Roland McGrath  <roland@hack.frob.com>
34811         * configure.ac (HAVE_EHDR_START): New check.
34812         * configure: Regenerated.
34813         * config.h.in (HAVE_EHDR_START): New #undef.
34814         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
34815         assuming the lowest-addressed segment maps the start of the file.
34817 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
34819         * INSTALL: Regenerated.
34821 2014-03-13  Will Newton  <will.newton@linaro.org>
34823         * manual/setjmp.texi (System V contexts): Improve
34824         clarity and grammar of documentation.
34826 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
34828         [BZ #16381]
34829         * elf/Makefile (tests): Add tst-pie2.
34830         (tests-pie): Add tst-pie2.
34831         * elf/tst-pie2.c: New file.
34832         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
34833         for ET_EXEC.
34834         * elf/rtld.c (map_doit): Load executable as lt_executable.
34835         (dl_main): Likewise.
34837 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
34839         [BZ #16642]
34840         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34841         (__ASSUME_PSELECT): Undefine.
34843 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34845         [BZ #16689]
34846         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
34847         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
34848         static build.
34849         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
34850         selector for static builds.
34852 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34854         [BZ #16695]
34855         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
34856         key in the buffer.
34858 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34860         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
34861         IFUNC selector for static builds.
34863 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
34865         * sysdeps/mips/math_private.h [__mips_hard_float]
34866         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
34867         libc_feresetround_mips_ctx.
34868         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
34869         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
34870         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
34872         [BZ #16677]
34873         * math/s_nextafter.c (__nextafter): Do not return value from
34874         overflowing computation.
34875         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
34876         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
34877         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
34878         Likewise.
34879         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
34880         Likewise.
34881         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
34882         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
34884 2014-03-11  Roland McGrath  <roland@hack.frob.com>
34886         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
34887         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
34888         Move sfi_sp use from the load-multiple (that no longer sets sp) to
34889         the new mov targetting sp.
34891 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34893         [BZ #16683]
34894         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
34895         Define it for static builds as well.
34896         (NO_BZERO_IMPL): Likewise.
34898 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34900         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
34901         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
34902         multiarch strspn for PPC64.
34903         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
34904         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
34905         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34906         (__libc_ifunc_impl_list): Likewise.
34907         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
34908         multiarch optimizations
34909         * string/strspn.c (strspn): Using macro to redefine symbol name.
34911 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34912             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34914         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
34915         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
34916         multiarch strncat for PPC64.
34917         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
34918         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
34919         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34920         (__libc_ifunc_impl_list): Likewise.
34921         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
34922         multiarch optimizations
34924 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34926         [BZ #16639]
34927         * nscd/nscd.service: Make service type forking.
34929 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34931         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
34932         sign in non default rounding modes.
34933         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
34935 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
34937         * math/libm-test.inc (ALL_RM_TEST): New macro.
34938         (ceil_test): Use ALL_RM_TEST.
34939         (cimag_test): Likewise.
34940         (conj_test): Likewise.
34941         (copysign_test): Likewise.
34942         (cproj_test): Likewise.
34943         (creal_test): Likewise.
34944         (fabs_test): Likewise.
34945         (floor_test): Likewise.
34946         (fmax_test): Likewise.
34947         (fmin_test): Likewise.
34948         (fmod_test): Likewise.
34949         (fpclassify_test): Likewise.
34950         (frexp_test): Likewise.
34951         (ilogb_test): Likewise.
34952         (isfinite_test): Likewise.
34953         (finite_test): Likewise.
34954         (isgreater_test): Likewise.
34955         (isgreaterequal_test): Likewise.
34956         (isinf_test): Likewise.
34957         (isless_test): Likewise.
34958         (islessequal_test): Likewise.
34959         (islessgreater_test): Likewise.
34960         (isnan_test): Likewise.
34961         (isnormal_test): Likewise.
34962         (issignaling_test): Likewise.
34963         (isunordered_test): Likewise.
34964         (logb_test): Likewise.
34965         (logb_downward_test_data): Remove.
34966         (logb_test_downward): Likewise.
34967         (lround_test): Use ALL_RM_TEST.
34968         (llround_test): Likewise.
34969         (modf_test): Likewise.
34970         (nexttoward_test): Likewise.
34971         (remainder_test): Likewise.
34972         (drem_test): Likewise.
34973         (remainder_tonearest_test_data): Likewise.
34974         (remainder_test_tonearest): Likewise.
34975         (drem_test_tonearest): Likewise.
34976         (remainder_towardzero_test_data): Likewise.
34977         (remainder_test_towardzero): Likewise.
34978         (drem_test_towardzero): Likewise.
34979         (remainder_downward_test_data): Likewise.
34980         (remainder_test_downward): Likewise.
34981         (drem_test_downward): Likewise.
34982         (remainder_upward_test_data): Likewise.
34983         (remainder_test_upward): Likewise.
34984         (drem_test_upward): Likewise.
34985         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
34986         (round_test): Use ALL_RM_TEST.
34987         (signbit_test): Likewise.
34988         (trunc_test): Likewise.
34989         (significand_test): Likewise.
34990         (main): Don't call removed functions.
34992 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
34994         [BZ #16674]
34995         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
34996         || __USE_XOPEN2K8].
34997         (ILL_ILLOPN): Likewise.
34998         (ILL_ILLADR): Likewise.
34999         (ILL_ILLTRP): Likewise.
35000         (ILL_PRVOPC): Likewise.
35001         (ILL_PRVREG): Likewise.
35002         (ILL_COPROC): Likewise.
35003         (ILL_BADSTK): Likewise.
35004         (FPE_INTDIV): Likewise.
35005         (FPE_INTOVF): Likewise.
35006         (FPE_FLTDIV): Likewise.
35007         (FPE_FLTOVF): Likewise.
35008         (FPE_FLTUND): Likewise.
35009         (FPE_FLTRES): Likewise.
35010         (FPE_FLTINV): Likewise.
35011         (FPE_FLTSUB): Likewise.
35012         (SEGV_MAPERR): Likewise.
35013         (SEGV_ACCERR): Likewise.
35014         (BUS_ADRALN): Likewise.
35015         (BUS_ADRERR): Likewise.
35016         (BUS_OBJERR): Likewise.
35017         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35018         (TRAP_TRACE): Likewise.
35019         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35020         __USE_XOPEN2K8].
35021         (CLD_KILLED): Likewise.
35022         (CLD_DUMPED): Likewise.
35023         (CLD_TRAPPED): Likewise.
35024         (CLD_STOPPED): Likewise.
35025         (CLD_CONTINUED): Likewise.
35026         (POLL_IN): Likewise.
35027         (POLL_OUT): Likewise.
35028         (POLL_MSG): Likewise.
35029         (POLL_ERR): Likewise.
35030         (POLL_PRI): Likewise.
35031         (POLL_HUP): Likewise.
35032         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
35033         Likewise.
35034         (ILL_ILLOPN): Likewise.
35035         (ILL_ILLADR): Likewise.
35036         (ILL_ILLTRP): Likewise.
35037         (ILL_PRVOPC): Likewise.
35038         (ILL_PRVREG): Likewise.
35039         (ILL_COPROC): Likewise.
35040         (ILL_BADSTK): Likewise.
35041         (FPE_INTDIV): Likewise.
35042         (FPE_INTOVF): Likewise.
35043         (FPE_FLTDIV): Likewise.
35044         (FPE_FLTOVF): Likewise.
35045         (FPE_FLTUND): Likewise.
35046         (FPE_FLTRES): Likewise.
35047         (FPE_FLTINV): Likewise.
35048         (FPE_FLTSUB): Likewise.
35049         (SEGV_MAPERR): Likewise.
35050         (SEGV_ACCERR): Likewise.
35051         (BUS_ADRALN): Likewise.
35052         (BUS_ADRERR): Likewise.
35053         (BUS_OBJERR): Likewise.
35054         (BUS_MCEERR_AR): Likewise.
35055         (BUS_MCEERR_AO): Likewise.
35056         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35057         (TRAP_TRACE): Likewise.
35058         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35059         __USE_XOPEN2K8].
35060         (CLD_KILLED): Likewise.
35061         (CLD_DUMPED): Likewise.
35062         (CLD_TRAPPED): Likewise.
35063         (CLD_STOPPED): Likewise.
35064         (CLD_CONTINUED): Likewise.
35065         (POLL_IN): Likewise.
35066         (POLL_OUT): Likewise.
35067         (POLL_MSG): Likewise.
35068         (POLL_ERR): Likewise.
35069         (POLL_PRI): Likewise.
35070         (POLL_HUP): Likewise.
35071         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
35072         (ILL_ILLOPN): Likewise.
35073         (ILL_ILLADR): Likewise.
35074         (ILL_ILLTRP): Likewise.
35075         (ILL_PRVOPC): Likewise.
35076         (ILL_PRVREG): Likewise.
35077         (ILL_COPROC): Likewise.
35078         (ILL_BADSTK): Likewise.
35079         (FPE_INTDIV): Likewise.
35080         (FPE_INTOVF): Likewise.
35081         (FPE_FLTDIV): Likewise.
35082         (FPE_FLTOVF): Likewise.
35083         (FPE_FLTUND): Likewise.
35084         (FPE_FLTRES): Likewise.
35085         (FPE_FLTINV): Likewise.
35086         (FPE_FLTSUB): Likewise.
35087         (SEGV_MAPERR): Likewise.
35088         (SEGV_ACCERR): Likewise.
35089         (BUS_ADRALN): Likewise.
35090         (BUS_ADRERR): Likewise.
35091         (BUS_OBJERR): Likewise.
35092         (BUS_MCEERR_AR): Likewise.
35093         (BUS_MCEERR_AO): Likewise.
35094         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35095         (TRAP_TRACE): Likewise.
35096         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35097         __USE_XOPEN2K8].
35098         (CLD_KILLED): Likewise.
35099         (CLD_DUMPED): Likewise.
35100         (CLD_TRAPPED): Likewise.
35101         (CLD_STOPPED): Likewise.
35102         (CLD_CONTINUED): Likewise.
35103         (POLL_IN): Likewise.
35104         (POLL_OUT): Likewise.
35105         (POLL_MSG): Likewise.
35106         (POLL_ERR): Likewise.
35107         (POLL_PRI): Likewise.
35108         (POLL_HUP): Likewise.
35109         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
35110         Likewise.
35111         (ILL_ILLOPN): Likewise.
35112         (ILL_ILLADR): Likewise.
35113         (ILL_ILLTRP): Likewise.
35114         (ILL_PRVOPC): Likewise.
35115         (ILL_PRVREG): Likewise.
35116         (ILL_COPROC): Likewise.
35117         (ILL_BADSTK): Likewise.
35118         (ILL_BADIADDR): Likewise.
35119         (ILL_BREAK): Likewise.
35120         (FPE_INTDIV): Likewise.
35121         (FPE_INTOVF): Likewise.
35122         (FPE_FLTDIV): Likewise.
35123         (FPE_FLTOVF): Likewise.
35124         (FPE_FLTUND): Likewise.
35125         (FPE_FLTRES): Likewise.
35126         (FPE_FLTINV): Likewise.
35127         (FPE_FLTSUB): Likewise.
35128         (FPE_DECOVF): Likewise.
35129         (FPE_DECDIV): Likewise.
35130         (FPE_DECERR): Likewise.
35131         (FPE_INVASC): Likewise.
35132         (FPE_INVDEC): Likewise.
35133         (SEGV_MAPERR): Likewise.
35134         (SEGV_ACCERR): Likewise.
35135         (SEGV_PSTKOVF): Likewise.
35136         (BUS_ADRALN): Likewise.
35137         (BUS_ADRERR): Likewise.
35138         (BUS_OBJERR): Likewise.
35139         (BUS_MCEERR_AR): Likewise.
35140         (BUS_MCEERR_AO): Likewise.
35141         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35142         (TRAP_TRACE): Likewise.
35143         (TRAP_BRANCH): Likewise.
35144         (TRAP_HWBKPT): Likewise.
35145         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35146         __USE_XOPEN2K8].
35147         (CLD_KILLED): Likewise.
35148         (CLD_DUMPED): Likewise.
35149         (CLD_TRAPPED): Likewise.
35150         (CLD_STOPPED): Likewise.
35151         (CLD_CONTINUED): Likewise.
35152         (POLL_IN): Likewise.
35153         (POLL_OUT): Likewise.
35154         (POLL_MSG): Likewise.
35155         (POLL_ERR): Likewise.
35156         (POLL_PRI): Likewise.
35157         (POLL_HUP): Likewise.
35158         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
35159         (ILL_ILLOPN): Likewise.
35160         (ILL_ILLADR): Likewise.
35161         (ILL_ILLTRP): Likewise.
35162         (ILL_PRVOPC): Likewise.
35163         (ILL_PRVREG): Likewise.
35164         (ILL_COPROC): Likewise.
35165         (ILL_BADSTK): Likewise.
35166         (FPE_INTDIV): Likewise.
35167         (FPE_INTOVF): Likewise.
35168         (FPE_FLTDIV): Likewise.
35169         (FPE_FLTOVF): Likewise.
35170         (FPE_FLTUND): Likewise.
35171         (FPE_FLTRES): Likewise.
35172         (FPE_FLTINV): Likewise.
35173         (FPE_FLTSUB): Likewise.
35174         (SEGV_MAPERR): Likewise.
35175         (SEGV_ACCERR): Likewise.
35176         (BUS_ADRALN): Likewise.
35177         (BUS_ADRERR): Likewise.
35178         (BUS_OBJERR): Likewise.
35179         (BUS_MCEERR_AR): Likewise.
35180         (BUS_MCEERR_AO): Likewise.
35181         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35182         (TRAP_TRACE): Likewise.
35183         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35184         __USE_XOPEN2K8].
35185         (CLD_KILLED): Likewise.
35186         (CLD_DUMPED): Likewise.
35187         (CLD_TRAPPED): Likewise.
35188         (CLD_STOPPED): Likewise.
35189         (CLD_CONTINUED): Likewise.
35190         (POLL_IN): Likewise.
35191         (POLL_OUT): Likewise.
35192         (POLL_MSG): Likewise.
35193         (POLL_ERR): Likewise.
35194         (POLL_PRI): Likewise.
35195         (POLL_HUP): Likewise.
35196         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
35197         (ILL_ILLOPN): Likewise.
35198         (ILL_ILLADR): Likewise.
35199         (ILL_ILLTRP): Likewise.
35200         (ILL_PRVOPC): Likewise.
35201         (ILL_PRVREG): Likewise.
35202         (ILL_COPROC): Likewise.
35203         (ILL_BADSTK): Likewise.
35204         (FPE_INTDIV): Likewise.
35205         (FPE_INTOVF): Likewise.
35206         (FPE_FLTDIV): Likewise.
35207         (FPE_FLTOVF): Likewise.
35208         (FPE_FLTUND): Likewise.
35209         (FPE_FLTRES): Likewise.
35210         (FPE_FLTINV): Likewise.
35211         (FPE_FLTSUB): Likewise.
35212         (SEGV_MAPERR): Likewise.
35213         (SEGV_ACCERR): Likewise.
35214         (BUS_ADRALN): Likewise.
35215         (BUS_ADRERR): Likewise.
35216         (BUS_OBJERR): Likewise.
35217         (BUS_MCEERR_AR): Likewise.
35218         (BUS_MCEERR_AO): Likewise.
35219         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35220         (TRAP_TRACE): Likewise.
35221         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35222         __USE_XOPEN2K8].
35223         (CLD_KILLED): Likewise.
35224         (CLD_DUMPED): Likewise.
35225         (CLD_TRAPPED): Likewise.
35226         (CLD_STOPPED): Likewise.
35227         (CLD_CONTINUED): Likewise.
35228         (POLL_IN): Likewise.
35229         (POLL_OUT): Likewise.
35230         (POLL_MSG): Likewise.
35231         (POLL_ERR): Likewise.
35232         (POLL_PRI): Likewise.
35233         (POLL_HUP): Likewise.
35234         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
35235         (ILL_ILLOPN): Likewise.
35236         (ILL_ILLADR): Likewise.
35237         (ILL_ILLTRP): Likewise.
35238         (ILL_PRVOPC): Likewise.
35239         (ILL_PRVREG): Likewise.
35240         (ILL_COPROC): Likewise.
35241         (ILL_BADSTK): Likewise.
35242         (FPE_INTDIV): Likewise.
35243         (FPE_INTOVF): Likewise.
35244         (FPE_FLTDIV): Likewise.
35245         (FPE_FLTOVF): Likewise.
35246         (FPE_FLTUND): Likewise.
35247         (FPE_FLTRES): Likewise.
35248         (FPE_FLTINV): Likewise.
35249         (FPE_FLTSUB): Likewise.
35250         (SEGV_MAPERR): Likewise.
35251         (SEGV_ACCERR): Likewise.
35252         (BUS_ADRALN): Likewise.
35253         (BUS_ADRERR): Likewise.
35254         (BUS_OBJERR): Likewise.
35255         (BUS_MCEERR_AR): Likewise.
35256         (BUS_MCEERR_AO): Likewise.
35257         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35258         (TRAP_TRACE): Likewise.
35259         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35260         __USE_XOPEN2K8].
35261         (CLD_KILLED): Likewise.
35262         (CLD_DUMPED): Likewise.
35263         (CLD_TRAPPED): Likewise.
35264         (CLD_STOPPED): Likewise.
35265         (CLD_CONTINUED): Likewise.
35266         (POLL_IN): Likewise.
35267         (POLL_OUT): Likewise.
35268         (POLL_MSG): Likewise.
35269         (POLL_ERR): Likewise.
35270         (POLL_PRI): Likewise.
35271         (POLL_HUP): Likewise.
35272         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
35273         (ILL_ILLOPN): Likewise.
35274         (ILL_ILLADR): Likewise.
35275         (ILL_ILLTRP): Likewise.
35276         (ILL_PRVOPC): Likewise.
35277         (ILL_PRVREG): Likewise.
35278         (ILL_COPROC): Likewise.
35279         (ILL_BADSTK): Likewise.
35280         (ILL_DBLFLT): Likewise.
35281         (ILL_HARDWALL): Likewise.
35282         (FPE_INTDIV): Likewise.
35283         (FPE_INTOVF): Likewise.
35284         (FPE_FLTDIV): Likewise.
35285         (FPE_FLTOVF): Likewise.
35286         (FPE_FLTUND): Likewise.
35287         (FPE_FLTRES): Likewise.
35288         (FPE_FLTINV): Likewise.
35289         (FPE_FLTSUB): Likewise.
35290         (SEGV_MAPERR): Likewise.
35291         (SEGV_ACCERR): Likewise.
35292         (BUS_ADRALN): Likewise.
35293         (BUS_ADRERR): Likewise.
35294         (BUS_OBJERR): Likewise.
35295         (BUS_MCEERR_AR): Likewise.
35296         (BUS_MCEERR_AO): Likewise.
35297         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35298         (TRAP_TRACE): Likewise.
35299         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35300         __USE_XOPEN2K8].
35301         (CLD_KILLED): Likewise.
35302         (CLD_DUMPED): Likewise.
35303         (CLD_TRAPPED): Likewise.
35304         (CLD_STOPPED): Likewise.
35305         (CLD_CONTINUED): Likewise.
35306         (POLL_IN): Likewise.
35307         (POLL_OUT): Likewise.
35308         (POLL_MSG): Likewise.
35309         (POLL_ERR): Likewise.
35310         (POLL_PRI): Likewise.
35311         (POLL_HUP): Likewise.
35312         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
35313         (ILL_ILLOPN): Likewise.
35314         (ILL_ILLADR): Likewise.
35315         (ILL_ILLTRP): Likewise.
35316         (ILL_PRVOPC): Likewise.
35317         (ILL_PRVREG): Likewise.
35318         (ILL_COPROC): Likewise.
35319         (ILL_BADSTK): Likewise.
35320         (FPE_INTDIV): Likewise.
35321         (FPE_INTOVF): Likewise.
35322         (FPE_FLTDIV): Likewise.
35323         (FPE_FLTOVF): Likewise.
35324         (FPE_FLTUND): Likewise.
35325         (FPE_FLTRES): Likewise.
35326         (FPE_FLTINV): Likewise.
35327         (FPE_FLTSUB): Likewise.
35328         (SEGV_MAPERR): Likewise.
35329         (SEGV_ACCERR): Likewise.
35330         (BUS_ADRALN): Likewise.
35331         (BUS_ADRERR): Likewise.
35332         (BUS_OBJERR): Likewise.
35333         (BUS_MCEERR_AR): Likewise.
35334         (BUS_MCEERR_AO): Likewise.
35335         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
35336         (TRAP_TRACE): Likewise.
35337         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
35338         __USE_XOPEN2K8].
35339         (CLD_KILLED): Likewise.
35340         (CLD_DUMPED): Likewise.
35341         (CLD_TRAPPED): Likewise.
35342         (CLD_STOPPED): Likewise.
35343         (CLD_CONTINUED): Likewise.
35344         (POLL_IN): Likewise.
35345         (POLL_OUT): Likewise.
35346         (POLL_MSG): Likewise.
35347         (POLL_ERR): Likewise.
35348         (POLL_PRI): Likewise.
35349         (POLL_HUP): Likewise.
35350         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
35351         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
35353         [BZ #16670]
35354         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
35355         before #include of <time.h>.
35356         [!__USE_XOPEN2K] (__need_timespec): Likewise.
35357         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
35358         (test-xfail-UNIX98/sched.h/conform): Likewise.
35360 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
35362         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
35363         error absence of trapping exception support.
35364         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
35366 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
35368         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
35369         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
35370         * timezone/Makefile (testdata): Move definition above include of
35371         Rules.
35372         (test-zones): New variable.
35373         (tests-special): Add zone files.
35374         (build-testdata): Use $(evaluate-test).
35376         * elf/Makefile (tests-special): Rename tests to end with .out.
35377         ($(objpfx)noload-mem): Likewise.
35378         ($(objpfx)tst-leaks1-mem): Likewise.
35379         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
35380         * iconv/Makefile (xtests-special): Change test-iconvconfig to
35381         $(objpfx)test-iconvconfig.out.
35382         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
35383         set -e inside subshell and redirect output to file.
35384         * iconvdata/Makefile (generated): Rename tests to end with .out.
35385         Correct type.
35386         (tests-special): Rename tests to end with .out.
35387         ($(objpfx)mtrace-tst-loading): Likewise.
35388         * intl/Makefile (generated): Likewise.
35389         (tests-special): Likewise.
35390         ($(objpfx)mtrace-tst-gettext): Likewise.
35391         * misc/Makefile (generated): Likewise.
35392         (tests-special): Likewise.
35393         ($(objpfx)tst-error1-mem): Likewise.
35394         * nptl/Makefile (tests-special): Likewise.
35395         ($(objpfx)tst-stack3-mem): Likewise.
35396         (generated): Likewise.
35397         * posix/Makefile (generated): Likewise.
35398         (tests-special): Likewise.
35399         (xtests-special): Likewise.
35400         ($(objpfx)tst-fnmatch-mem): Likewise.
35401         ($(objpfx)bug-regex2-mem): Likewise.
35402         ($(objpfx)bug-regex14-mem): Likewise.
35403         ($(objpfx)bug-regex21-mem): Likewise.
35404         ($(objpfx)bug-regex31-mem): Likewise.
35405         ($(objpfx)tst-vfork3-mem): Likewise.
35406         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
35407         ($(objpfx)tst-pcre-mem): Likewise.
35408         ($(objpfx)tst-boost-mem): Likewise.
35409         ($(objpfx)bug-ga2-mem): Likewise.
35410         ($(objpfx)bug-glob2-mem): Likewise.
35411         * resolv/Makefile (generate): Likewise.
35412         (tests-special): Likewise.
35413         (xtests-special): Likewise.
35414         (generated): Likewise.
35415         ($(objpfx)mtrace-tst-leaks): Likewise.
35416         ($(objpfx)mtrace-tst-leaks2): Likewise.
35418         * scripts/merge-test-results.sh: New file.
35419         * Makefile (tests-special-notdir): New variable.
35420         (tests): Run merge-test-results.sh.
35421         (xtests): Likewise.
35422         * Rules (tests-special-notdir): New variable.
35423         (xtests-special-notdir): Likewise.
35424         (tests): Run merge-test-results.sh
35425         (xtests): Likewise.
35427         * Makeconfig (test-xfail-name): New variable.
35428         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
35429         compute variable name for expected failures.
35430         * conform/Makefile (conformtest-headers-data): New variable.
35431         (conformtest-standards): Likewise.
35432         (conformtest-headers-ISO): Likewise.
35433         (conformtest-headers-ISO99): Likewise.
35434         (conformtest-headers-ISO11): Likewise.
35435         (conformtest-headers-POSIX): Likewise.
35436         (conformtest-headers-XPG3): Likewise.
35437         (conformtest-headers-XPG4): Likewise.
35438         (conformtest-headers-UNIX98): Likewise.
35439         (conformtest-headers-XOPEN2K): Likewise.
35440         (conformtest-headers-POSIX2008): Likewise.
35441         (conformtest-headers-XOPEN2K8): Likewise.
35442         (conformtest-header-list-base): Likewise.
35443         (conformtest-header-list-tests): Likewise.
35444         (conformtest-header-base): Likewise.
35445         (conformtest-header-tests): Likewise.
35446         (tests-special): Add $(conformtest-header-list-tests).  If
35447         [$(fast-check) && !$(cross-compiling)], add
35448         $(conformtest-header-tests) instead of
35449         $(objpfx)run-conformtest.out.
35450         (generated): Add $(conformtest-header-list-base).  If
35451         [$(fast-check) && !$(cross-compiling)], add
35452         $(conformtest-header-base).  Remove previous setting.
35453         ($(conformtest-header-list-tests)): New target.
35454         (test-xfail-run-conformtest): Remove variable.
35455         ($(objpfx)run-conformtest.out): Remove target.
35456         (test-xfail-ISO11/complex.h/conform): New variable.
35457         (test-xfail-ISO11/stdalign.h/conform): Likewise.
35458         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
35459         (test-xfail-XPG3/varargs.h/conform): Likewise.
35460         (test-xfail-XPG4/varargs.h/conform): Likewise.
35461         (test-xfail-UNIX98/varargs.h/conform): Likewise.
35462         (test-xfail-XPG4/ndbm.h/conform): Likewise.
35463         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
35464         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
35465         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
35466         (test-xfail-XPG3/fcntl.h/conform): Likewise.
35467         (test-xfail-XPG3/ftw.h/conform): Likewise.
35468         (test-xfail-XPG3/grp.h/conform): Likewise.
35469         (test-xfail-XPG3/langinfo.h/conform): Likewise.
35470         (test-xfail-XPG3/limits.h/conform): Likewise.
35471         (test-xfail-XPG3/pwd.h/conform): Likewise.
35472         (test-xfail-XPG3/search.h/conform): Likewise.
35473         (test-xfail-XPG3/signal.h/conform): Likewise.
35474         (test-xfail-XPG3/stdio.h/conform): Likewise.
35475         (test-xfail-XPG3/stdlib.h/conform): Likewise.
35476         (test-xfail-XPG3/string.h/conform): Likewise.
35477         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
35478         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
35479         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
35480         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
35481         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
35482         (test-xfail-XPG3/sys/types.h/conform): Likewise.
35483         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
35484         (test-xfail-XPG3/termios.h/conform): Likewise.
35485         (test-xfail-XPG3/time.h/conform): Likewise.
35486         (test-xfail-XPG3/unistd.h/conform): Likewise.
35487         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
35488         (test-xfail-XPG4/fcntl.h/conform): Likewise.
35489         (test-xfail-XPG4/langinfo.h/conform): Likewise.
35490         (test-xfail-XPG4/netdb.h/conform): Likewise.
35491         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
35492         (test-xfail-XPG4/signal.h/conform): Likewise.
35493         (test-xfail-XPG4/stdio.h/conform): Likewise.
35494         (test-xfail-XPG4/stdlib.h/conform): Likewise.
35495         (test-xfail-XPG4/stropts.h/conform): Likewise.
35496         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
35497         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
35498         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
35499         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
35500         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
35501         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
35502         (test-xfail-XPG4/sys/time.h/conform): Likewise.
35503         (test-xfail-XPG4/sys/types.h/conform): Likewise.
35504         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
35505         (test-xfail-XPG4/termios.h/conform): Likewise.
35506         (test-xfail-XPG4/ucontext.h/conform): Likewise.
35507         (test-xfail-XPG4/unistd.h/conform): Likewise.
35508         (test-xfail-XPG4/utmpx.h/conform): Likewise.
35509         (test-xfail-POSIX/sched.h/conform): Likewise.
35510         (test-xfail-POSIX/signal.h/conform): Likewise.
35511         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
35512         (test-xfail-POSIX/tar.h/conform): Likewise.
35513         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
35514         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
35515         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
35516         (test-xfail-UNIX98/netdb.h/conform): Likewise.
35517         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
35518         (test-xfail-UNIX98/sched.h/conform): Likewise.
35519         (test-xfail-UNIX98/signal.h/conform): Likewise.
35520         (test-xfail-UNIX98/stdio.h/conform): Likewise.
35521         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
35522         (test-xfail-UNIX98/stropts.h/conform): Likewise.
35523         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
35524         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
35525         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
35526         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
35527         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
35528         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
35529         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
35530         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
35531         (test-xfail-UNIX98/unistd.h/conform): Likewise.
35532         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
35533         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
35534         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
35535         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
35536         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
35537         (test-xfail-XOPEN2K/math.h/conform): Likewise.
35538         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
35539         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
35540         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
35541         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
35542         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
35543         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
35544         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
35545         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
35546         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
35547         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
35548         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
35549         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
35550         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
35551         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
35552         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
35553         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
35554         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
35555         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
35556         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
35557         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
35558         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
35559         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
35560         (test-xfail-POSIX2008/signal.h/conform): Likewise.
35561         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
35562         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
35563         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
35564         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
35565         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
35566         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
35567         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
35568         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
35569         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
35570         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
35571         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
35572         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
35573         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
35574         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
35575         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
35576         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
35577         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
35578         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
35579         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
35580         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
35581         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
35582         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
35583         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
35584         (conformtest-cc-flags): Likewise.
35585         ($(conformtest-header-tests): New target.
35586         * conform/check-header-lists.sh: New file.
35587         * conform/run-conformtest.sh: Remove.
35589         * conform/conformtest.pl: Allow ' and \ in values given for
35590         constants.
35591         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
35592         inclusion.
35593         [POSIX] (sys/types.h): Likewise.
35594         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
35595         inclusion.
35596         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
35597         inclusion.
35598         * conform/data/signal.h-data (SIGIO): Remove expectation.
35599         [XPG3] (SIGBUS): Do not expect.
35600         [POSIX || XPG3] (SIGPOLL): Likewise.
35601         [POSIX || XPG3] (SIGPROF): Likewise.
35602         [POSIX || XPG3] (SIGSYS): Likewise.
35603         [XPG3] (SIGTRAP): Likewise.
35604         [POSIX || XPG3] (SIGURG): Likewise.
35605         [POSIX || XPG3] (SIGVTALRM): Likewise.
35606         [POSIX || XPG3] (SIGXCPU): Likewise.
35607         [POSIX || XPG3] (SIGXFSZ): Likewise.
35608         [POSIX] (SA_SIGINFO): Expect.
35609         [XPG3] (siginfo_t): Do not expect type or contents.
35610         [POSIX] (si_pid): Do not expect element.
35611         [POSIX] (si_uid): Likewise.
35612         [POSIX] (si_addr): Likewise.
35613         [POSIX] (si_status): Likewise.
35614         [POSIX] (si_band): Likewise.
35615         [XPG4] (si_value): Likewise.
35616         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
35617         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
35618         [POSIX || XPG3] (ILL_ILLADR): Likewise.
35619         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
35620         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
35621         [POSIX || XPG3] (ILL_PRVREG): Likewise.
35622         [POSIX || XPG3] (ILL_COPROC): Likewise.
35623         [POSIX || XPG3] (ILL_BADSTK): Likewise.
35624         [POSIX || XPG3] (FPE_INTDIV): Likewise.
35625         [POSIX || XPG3] (FPE_INTOVF): Likewise.
35626         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
35627         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
35628         [POSIX || XPG3] (FPE_FLTUND): Likewise.
35629         [POSIX || XPG3] (FPE_FLTRES): Likewise.
35630         [POSIX || XPG3] (FPE_FLTINV): Likewise.
35631         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
35632         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
35633         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
35634         [POSIX || XPG3] (BUS_ADRALN): Likewise.
35635         [POSIX || XPG3] (BUS_ADRERR): Likewise.
35636         [POSIX || XPG3] (BUS_OBJERR): Likewise.
35637         [POSIX || XPG3] (CLD_EXITED): Likewise.
35638         [POSIX || XPG3] (CLD_KILLED): Likewise.
35639         [POSIX || XPG3] (CLD_DUMPED): Likewise.
35640         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
35641         [POSIX || XPG3] (CLD_STOPPED): Likewise.
35642         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
35643         [POSIX || XPG3] (POLL_IN): Likewise.
35644         [POSIX || XPG3] (POLL_OUT): Likewise.
35645         [POSIX || XPG3] (POLL_MSG): Likewise.
35646         [POSIX || XPG3] (POLL_ERR): Likewise.
35647         [POSIX || XPG3] (POLL_PRI): Likewise.
35648         [POSIX || XPG3] (POLL_HUP): Likewise.
35649         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
35650         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
35651         (SIG*): Do not allow.
35652         [XPG3] (si_*): Likewise.
35653         [XPG3] (SI_*): Likewise.
35654         [XPG3 || XPG4] (sigev_*): Likewise.
35655         [XPG3 || XPG4] (SIGEV_*): Likewise.
35656         [XPG3 || XPG4] (sival_*): Likewise.
35657         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
35658         [POSIX || XPG3] (BUS_*): Likewise.
35659         [POSIX || XPG3] (CLD_*): Likewise.
35660         [POSIX || XPG3] (FPE_*): Likewise.
35661         [POSIX || XPG3] (ILL_*): Likewise.
35662         [POSIX || XPG3] (POLL_*): Likewise.
35663         [POSIX || XPG3] (SEGV_*): Likewise.
35664         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
35665         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
35666         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
35667         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
35668         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
35669         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
35670         Specify type and value.
35671         (TVERSLEN): Likewise.
35672         (REGTYPE): Likewise.
35673         (AREGTYPE): Likewise.
35674         (LNKTYPE): Likewise.
35675         (SYMTYPE): Likewise.
35676         (CHRTYPE): Likewise.
35677         (BLKTYPE): Likewise.
35678         (DIRTYPE): Likewise.
35679         (FIFOTYPE): Likewise.
35680         (CONTTYPE): Likewise.
35681         (TSUID): Likewise.
35682         (TSGID): Likewise.
35683         (TSVTX): Likewise.
35684         (TUREAD): Likewise.
35685         (TUWRITE): Likewise.
35686         (TUEXEC): Likewise.
35687         (TGREAD): Likewise.
35688         (TGWRITE): Likewise.
35689         (TGEXEC): Likewise.
35690         (TOREAD): Likewise.
35691         (TOWRITE): Likewise.
35692         (TOEXEC): Likewise.
35693         [POSIX] (TSVTX): Expect constant.
35695 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
35697         * Makefile (tests): Change dependencies to ....
35698         (tests-special): ... additions to this variable.
35699         (tests): Depend on $(tests-special).
35700         * Makerules (check-abi-list): New variable.
35701         (check-abi): Depend on $(check-abi-list).
35702         [$(subdir) = elf] (tests-special): Add
35703         $(objpfx)check-abi-libc.out.
35704         [$(build-shared) = yes && subdir] (tests-special): Add
35705         $(check-abi-list).
35706         [$(build-shared) = yes && subdir] (tests): Do not depend on
35707         check-abi.
35708         * Rules (tests): Depend on $(tests-special).
35709         (xtests): Depend on $(xtests-special).
35710         * catgets/Makefile (tests): Change dependencies to ....
35711         (tests-special): ... additions to this variable.
35712         * conform/Makefile (tests): Change dependencies to ....
35713         (tests-special): ... additions to this variable.
35714         * elf/Makefile (tests): Change dependencies to ....
35715         (tests-special): ... additions to this variable.
35716         * grp/Makefile (tests): Change dependencies to ....
35717         (tests-special): ... additions to this variable.
35718         * iconv/Makefile (xtests): Change dependencies to ....
35719         (xtests-special): ... additions to this variable.
35720         * iconvdata/Makefile (tests): Change dependencies to ....
35721         (tests-special): ... additions to this variable.
35722         * intl/Makefile (tests): Change dependencies to ....
35723         (tests-special): ... additions to this variable.  Also add
35724         $(objpfx)tst-gettext.out.
35725         * io/Makefile (tests): Change dependencies to ....
35726         (tests-special): ... additions to this variable.
35727         * libio/Makefile (tests): Change dependencies to ....
35728         (tests-special): ... additions to this variable.
35729         * malloc/Makefile (tests): Change dependencies to ....
35730         (tests-special): ... additions to this variable.
35731         * misc/Makefile (tests): Change dependencies to ....
35732         (tests-special): ... additions to this variable.
35733         * nptl/Makefile (tests): Change dependencies to ....
35734         (tests-special): ... additions to this variable.
35735         * nptl_db/Makefile (tests): Change dependencies to ....
35736         (tests-special): ... additions to this variable.
35737         * posix/Makefile (tests): Change dependencies to ....
35738         (tests-special): ... additions to this variable.
35739         (xtests): Change dependencies to ....
35740         (xtests-special): ... additions to this variable.
35741         * resolv/Makefile (tests): Change dependencies to ....
35742         (tests-special): ... additions to this variable.
35743         (xtests): Change dependencies to ....
35744         (xtests-special): ... additions to this variable.
35745         * stdio-common/Makefile (tests): Change dependencies to ....
35746         (tests-special): ... additions to this variable.
35747         (do-tst-unbputc): Remove target.
35748         (do-tst-printf): Likewise.
35749         * stdlib/Makefile (tests): Change dependencies to ....
35750         (tests-special): ... additions to this variable.
35751         * string/Makefile (tests): Change dependencies to ....
35752         (tests-special): ... additions to this variable.
35753         * sysdeps/x86/Makefile (tests): Change dependencies to ....
35754         (tests-special): ... additions to this variable.
35756         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
35757         whole file.
35758         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
35759         whole file.
35760         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
35761         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
35763         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
35764         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
35765         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
35766         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
35767         * conform/data/libgen.h-data [XPG3]: Likewise.
35768         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
35769         * conform/data/ndbm.h-data [XPG3]: Likewise.
35770         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
35771         * conform/data/netdb.h-data [XPG3]: Likewise.
35772         * conform/data/netinet/in.h-data [XPG3]: Likewise.
35773         * conform/data/poll.h-data [XPG3]: Likewise.
35774         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
35775         * conform/data/strings.h-data [XPG3]: Likewise.
35776         * conform/data/stropts.h-data [XPG3]: Likewise.
35777         * conform/data/sys/mman.h-data [XPG3]: Likewise.
35778         * conform/data/sys/resource.h-data [XPG3]: Likewise.
35779         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
35780         Likewise.
35781         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
35782         * conform/data/sys/time.h-data [XPG3]: Likewise.
35783         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
35784         * conform/data/sys/uio.h-data [XPG3]: Likewise.
35785         * conform/data/sys/un.h-data [XPG3]: Likewise.
35786         * conform/data/syslog.h-data [XPG3]: Likewise.
35787         * conform/data/ucontext.h-data [XPG3]: Likewise.
35788         * conform/data/utmpx.h-data [XPG3]: Likewise.
35789         * conform/data/varargs.h-data [UNIX98]: Enable file.
35791         * manual/Makefile (INSTALL_INFO): Remove variable setting.
35793         * math/libm-test.inc (struct test_f_f_data): Move expected results
35794         into structure for each rounding mode.
35795         (struct test_ff_f_data): Likewise.
35796         (struct test_ff_f_data_nexttoward): Likewise.
35797         (struct test_fi_f_data): Likewise.
35798         (struct test_fl_f_data): Likewise.
35799         (struct test_if_f_data): Likewise.
35800         (struct test_fff_f_data): Likewise.
35801         (struct test_c_f_data): Likewise.
35802         (struct test_f_f1_data): Likewise.
35803         (struct test_fF_f1_data): Likewise.
35804         (struct test_ffI_f1_data): Likewise.
35805         (struct test_c_c_data): Likewise.
35806         (struct test_cc_c_data): Likewise.
35807         (struct test_f_i_data): Likewise.
35808         (struct test_ff_i_data): Likewise.
35809         (struct test_f_l_data): Likewise.
35810         (struct test_f_L_data): Likewise.
35811         (struct test_fFF_11_data): Likewise.
35812         (RM_): New macro.
35813         (RM_FE_DOWNWARD): Likewise.
35814         (RM_FE_TONEAREST): Likewise.
35815         (RM_FE_TOWARDZERO): Likewise.
35816         (RM_FE_UPWARD): Likewise.
35817         (RUN_TEST_LOOP_f_f): Update references to expected results.
35818         (RUN_TEST_LOOP_2_f): Likewise.
35819         (RUN_TEST_LOOP_fff_f): Likewise.
35820         (RUN_TEST_LOOP_c_f): Likewise.
35821         (RUN_TEST_LOOP_f_f1): Likewise.
35822         (RUN_TEST_LOOP_fF_f1): Likewise.
35823         (RUN_TEST_LOOP_fI_f1): Likewise.
35824         (RUN_TEST_LOOP_ffI_f1): Likewise.
35825         (RUN_TEST_LOOP_c_c): Likewise.
35826         (RUN_TEST_LOOP_cc_c): Likewise.
35827         (RUN_TEST_LOOP_f_i): Likewise.
35828         (RUN_TEST_LOOP_f_i_tg): Likewise.
35829         (RUN_TEST_LOOP_ff_i_tg): Likewise.
35830         (RUN_TEST_LOOP_f_b): Likewise.
35831         (RUN_TEST_LOOP_f_b_tg): Likewise.
35832         (RUN_TEST_LOOP_f_l): Likewise.
35833         (RUN_TEST_LOOP_f_L): Likewise.
35834         (RUN_TEST_LOOP_fFF_11): Likewise.
35835         * math/gen-libm-test.pl (parse_args): Output four copies of
35836         expected results for each test.
35838         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35839         (__ASSUME_UTIMES): Remove.
35840         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35841         (__ASSUME_UTIMES): Likewise.
35843         * math/gen-auto-libm-tests.c: Update comment on output format.
35844         (output_for_one_input_case): Generate before-rounding and
35845         after-rounding information as conditions on output flags not
35846         floating-point format.
35847         * math/auto-libm-test-out: Regenerated.
35848         * math/gen-libm-test.pl (cond_value): New function.
35849         (or_cond_value): Use cond_value.
35850         (generate_testfile): Handle conditional exceptions.
35852 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
35854         * math/libm-test.inc (max_valid_error): New variable.
35855         (init_max_error): Take new argument specifying whether function
35856         results are exactly determined.  Set max_valid_error and bound
35857         other variables for errors based on this argument.
35858         (set_max_error): Do not record results above max_valid_error.
35859         (check_float_internal): Only accept errors of up to 0.5ulps if
35860         also at most max_valid_error.
35861         (START): Take new argument EXACT and pass it to init_max_error.
35862         (acos_test): Update call to START.
35863         (acos_test_tonearest): Likewise.
35864         (acos_test_towardzero): Likewise.
35865         (acos_test_downward): Likewise.
35866         (acos_test_upward): Likewise.
35867         (acosh_test): Likewise.
35868         (asin_test): Likewise.
35869         (asin_test_tonearest): Likewise.
35870         (asin_test_towardzero): Likewise.
35871         (asin_test_downward): Likewise.
35872         (asin_test_upward): Likewise.
35873         (asinh_test): Likewise.
35874         (atan_test): Likewise.
35875         (atanh_test): Likewise.
35876         (atan2_test): Likewise.
35877         (cabs_test): Likewise.
35878         (cacos_test): Likewise.
35879         (cacosh_test): Likewise.
35880         (carg_test): Likewise.
35881         (casin_test): Likewise.
35882         (casinh_test): Likewise.
35883         (catan_test): Likewise.
35884         (catanh_test): Likewise.
35885         (cbrt_test): Likewise.
35886         (ccos_test): Likewise.
35887         (ccosh_test): Likewise.
35888         (ceil_test): Likewise.
35889         (cexp_test): Likewise.
35890         (cimag_test): Likewise.
35891         (clog_test): Likewise.
35892         (clog10_test): Likewise.
35893         (conj_test): Likewise.
35894         (copysign_test): Likewise.
35895         (cos_test): Likewise.
35896         (cos_test_tonearest): Likewise.
35897         (cos_test_towardzero): Likewise.
35898         (cos_test_downward): Likewise.
35899         (cos_test_upward): Likewise.
35900         (cosh_test): Likewise.
35901         (cosh_test_tonearest): Likewise.
35902         (cosh_test_towardzero): Likewise.
35903         (cosh_test_downward): Likewise.
35904         (cosh_test_upward): Likewise.
35905         (cpow_test): Likewise.
35906         (cproj_test): Likewise.
35907         (creal_test): Likewise.
35908         (csin_test): Likewise.
35909         (csinh_test): Likewise.
35910         (csqrt_test): Likewise.
35911         (ctan_test): Likewise.
35912         (ctan_test_tonearest): Likewise.
35913         (ctan_test_towardzero): Likewise.
35914         (ctan_test_downward): Likewise.
35915         (ctan_test_upward): Likewise.
35916         (ctanh_test): Likewise.
35917         (ctanh_test_tonearest): Likewise.
35918         (ctanh_test_towardzero): Likewise.
35919         (ctanh_test_downward): Likewise.
35920         (ctanh_test_upward): Likewise.
35921         (erf_test): Likewise.
35922         (erfc_test): Likewise.
35923         (exp_test): Likewise.
35924         (exp_test_tonearest): Likewise.
35925         (exp_test_towardzero): Likewise.
35926         (exp_test_downward): Likewise.
35927         (exp_test_upward): Likewise.
35928         (exp10_test): Likewise.
35929         (exp10_test_tonearest): Likewise.
35930         (exp10_test_towardzero): Likewise.
35931         (exp10_test_downward): Likewise.
35932         (exp10_test_upward): Likewise.
35933         (pow10_test): Likewise.
35934         (exp2_test): Likewise.
35935         (expm1_test): Likewise.
35936         (expm1_test_tonearest): Likewise.
35937         (expm1_test_towardzero): Likewise.
35938         (expm1_test_downward): Likewise.
35939         (expm1_test_upward): Likewise.
35940         (fabs_test): Likewise.
35941         (fdim_test): Likewise.
35942         (floor_test): Likewise.
35943         (fma_test): Likewise.
35944         (fma_test_towardzero): Likewise.
35945         (fma_test_downward): Likewise.
35946         (fma_test_upward): Likewise.
35947         (fmax_test): Likewise.
35948         (fmin_test): Likewise.
35949         (fmod_test): Likewise.
35950         (fpclassify_test): Likewise.
35951         (frexp_test): Likewise.
35952         (hypot_test): Likewise.
35953         (ilogb_test): Likewise.
35954         (isfinite_test): Likewise.
35955         (finite_test): Likewise.
35956         (isgreater_test): Likewise.
35957         (isgreaterequal_test): Likewise.
35958         (isinf_test): Likewise.
35959         (isless_test): Likewise.
35960         (islessequal_test): Likewise.
35961         (islessgreater_test): Likewise.
35962         (isnan_test): Likewise.
35963         (isnormal_test): Likewise.
35964         (issignaling_test): Likewise.
35965         (isunordered_test): Likewise.
35966         (j0_test): Likewise.
35967         (j1_test): Likewise.
35968         (jn_test): Likewise.
35969         (ldexp_test): Likewise.
35970         (lgamma_test): Likewise.
35971         (gamma_test): Likewise.
35972         (lrint_test): Likewise.
35973         (lrint_test_tonearest): Likewise.
35974         (lrint_test_towardzero): Likewise.
35975         (lrint_test_downward): Likewise.
35976         (lrint_test_upward): Likewise.
35977         (llrint_test): Likewise.
35978         (llrint_test_tonearest): Likewise.
35979         (llrint_test_towardzero): Likewise.
35980         (llrint_test_downward): Likewise.
35981         (llrint_test_upward): Likewise.
35982         (log_test): Likewise.
35983         (log10_test): Likewise.
35984         (log1p_test): Likewise.
35985         (log2_test): Likewise.
35986         (logb_test): Likewise.
35987         (logb_test_downward): Likewise.
35988         (lround_test): Likewise.
35989         (llround_test): Likewise.
35990         (modf_test): Likewise.
35991         (nearbyint_test): Likewise.
35992         (nextafter_test): Likewise.
35993         (nexttoward_test): Likewise.
35994         (pow_test): Likewise.
35995         (pow_test_tonearest): Likewise.
35996         (pow_test_towardzero): Likewise.
35997         (pow_test_downward): Likewise.
35998         (pow_test_upward): Likewise.
35999         (remainder_test): Likewise.
36000         (drem_test): Likewise.
36001         (remainder_test_tonearest): Likewise.
36002         (drem_test_tonearest): Likewise.
36003         (remainder_test_towardzero): Likewise.
36004         (drem_test_towardzero): Likewise.
36005         (remainder_test_downward): Likewise.
36006         (drem_test_downward): Likewise.
36007         (remainder_test_upward): Likewise.
36008         (drem_test_upward): Likewise.
36009         (remquo_test): Likewise.
36010         (rint_test): Likewise.
36011         (rint_test_tonearest): Likewise.
36012         (rint_test_towardzero): Likewise.
36013         (rint_test_downward): Likewise.
36014         (rint_test_upward): Likewise.
36015         (round_test): Likewise.
36016         (scalb_test): Likewise.
36017         (scalbn_test): Likewise.
36018         (scalbln_test): Likewise.
36019         (signbit_test): Likewise.
36020         (sin_test): Likewise.
36021         (sin_test_tonearest): Likewise.
36022         (sin_test_towardzero): Likewise.
36023         (sin_test_downward): Likewise.
36024         (sin_test_upward): Likewise.
36025         (sincos_test): Likewise.
36026         (sinh_test): Likewise.
36027         (sinh_test_tonearest): Likewise.
36028         (sinh_test_towardzero): Likewise.
36029         (sinh_test_downward): Likewise.
36030         (sinh_test_upward): Likewise.
36031         (sqrt_test): Likewise.
36032         (sqrt_test_tonearest): Likewise.
36033         (sqrt_test_towardzero): Likewise.
36034         (sqrt_test_downward): Likewise.
36035         (sqrt_test_upward): Likewise.
36036         (tan_test): Likewise.
36037         (tan_test_tonearest): Likewise.
36038         (tan_test_towardzero): Likewise.
36039         (tan_test_downward): Likewise.
36040         (tan_test_upward): Likewise.
36041         (tanh_test): Likewise.
36042         (tgamma_test): Likewise.
36043         (trunc_test): Likewise.
36044         (y0_test): Likewise.
36045         (y1_test): Likewise.
36046         (yn_test): Likewise.
36047         (significand_test): Likewise.
36049         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
36050         individual tests in comment.
36051         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
36052         (prev_max_error): New variable.
36053         (prev_real_max_error): Likewise.
36054         (prev_imag_max_error): Likewise.
36055         (compare_ulp_data): Don't refer to test names in comment.
36056         (find_test_ulps): Remove function.
36057         (find_function_ulps): Likewise.
36058         (find_complex_function_ulps): Likewise.
36059         (init_max_error): Take function name as argument.  Look up ulps
36060         for that function.
36061         (print_ulps): Remove function.
36062         (print_max_error): Use prev_max_error instead of calling
36063         find_function_ulps.
36064         (print_complex_max_error): Use prev_real_max_error and
36065         prev_imag_max_error instead of calling find_complex_function_ulps.
36066         (check_float_internal): Take max_ulp parameter instead of calling
36067         find_test_ulps.  Don't call print_ulps.
36068         (check_float): Update call to check_float_internal.
36069         (check_complex): Update calls to check_float_internal.
36070         (START): Pass argument to init_max_error.
36071         * math/gen-libm-test.pl (%results): Don't include "kind"
36072         information.
36073         (parse_ulps): Don't handle ulps of individual tests.
36074         (print_ulps_file): Likewise.
36075         (output_ulps): Likewise.
36076         * math/README.libm-test: Update.
36077         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
36078         individual tests.
36079         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
36080         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
36081         * sysdeps/arm/libm-test-ulps: Likewise.
36082         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
36083         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
36084         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
36085         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
36086         * sysdeps/microblaze/libm-test-ulps: Likewise.
36087         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
36088         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
36089         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36090         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
36091         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36092         * sysdeps/sh/libm-test-ulps: Likewise.
36093         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36094         * sysdeps/tile/libm-test-ulps: Likewise.
36095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36097 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
36099         * math/libm-test.inc (print_complex_max_error): Check separately
36100         whether real and imaginary errors are within allowed range and
36101         pass 0 to print_complex_function_ulps instead of value within
36102         allowed range.
36104 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36106         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
36107         formatting.
36108         (get_handles_fopen): Likewise.
36109         (do_write_test): Likewise.
36111         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
36113         * libio/fileops.c (do_ftell): Use cached offset when
36114         available.
36115         * libio/iofwide.c (do_ftell_wide): Likewise.
36116         * libio/iofdopen.c (_IO_new_fdopen): Don't use
36117         _IO_file_attach.
36118         * libio/wfileops.c (_IO_fwide): Don't cache offset.
36120         [BZ #16532]
36121         * libio/libioP.h (get_file_offset): New function.
36122         * libio/fileops.c (get_file_offset): Likewise.
36123         (do_ftell): Likewise.
36124         (_IO_new_file_seekoff): Split out ftell logic.
36125         * libio/wfileops.c (do_ftell_wide): Likewise.
36126         (_IO_wfile_seekoff): Split out ftell logic.
36127         * libio/tst-ftell-active-handler.c: New test case.
36128         * libio/Makefile (tests): Add it.
36130 2014-03-03  Roland McGrath  <roland@hack.frob.com>
36132         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
36133         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
36135 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36137         [BZ #16639]
36138         * nscd/connections.c (nscd_init): Call do_exit.
36139         (start_threads): Call do_exit and notify_parent.
36140         (begin_drop_privileges): Call do_exit.
36141         (finish_drop_privileges): Likewise.
36142         * nscd/selinux.c (preserve_capabilities): Likewise.
36143         (install_real_capabilities): Likewise.
36144         (nscd_selinux_enabled): Likewise.
36145         (avc_create_thread): Likewise.
36146         (avc_alloc_lock): Likewise.
36147         (nscd_avc_init): Likewise.
36148         * nscd/nscd.c (parent_fd): New static variable.
36149         (main): Create a pipe between parent and child processes.
36150         Skip closing parent_fd.
36151         (monitor_child): New function.
36152         (do_exit): Likewise.
36153         (notify_parent): Likewise.
36154         * nscd/nscd.h (notify_parent): Likewise.
36155         (do_exit): Likewise.
36157 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
36159         * malloc/malloc.c (__libc_calloc): Revert last change.
36161 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36163         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36165 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
36167         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
36168         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
36169         implementation.
36170         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36171         (__libc_ifunc_impl_list): Likewise.
36172         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
36173         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
36174         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
36175         * string/strrchr.c: Define STRRCHR.
36177 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
36179         * benchtest/bench-strtok.c (simple_strtok): Delete.
36180         (strtok_string): Use as benchmark.
36181         * string/strtok (STRTOK): New macro.
36183 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
36185         * manual/threads.texi: Add header and standard comments to all
36186         functions.
36188         * elf/dl-lookup.c (check_match): New function.
36189         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
36190         (do_lookup_x): Remove nested function check_match. Use non-nested
36191         function check_match.
36193 2014-02-28  Roland McGrath  <roland@hack.frob.com>
36195         * csu/Makefile (generated, before-compile): Use += rather than =.
36196         * catgets/Makefile (generated, generated-dirs): Likewise.
36197         * debug/Makefile (generated): Likewise.
36198         * dlfcn/Makefile (generated): Likewise.
36199         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
36200         * iconvdata/Makefile (before-compile, generated): Likewise.
36201         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
36202         * libio/Makefile (generated): Likewise.
36203         * malloc/Makefile (generated): Likewise.
36204         * manual/Makefile (generated, generated-dirs): Likewise.
36205         * misc/Makefile (generated): Likewise.
36206         * posix/Makefile (generated): Likewise.
36207         * resolv/Makefile (generated): Likewise.
36208         * sunrpc/Makefile (generated, generated-dirs): Likewise.
36209         * timezone/Makefile (generated, generated-dirs): Likewise.
36211         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
36213 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36215         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
36216         power8 implementation.
36217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
36218         file: POWER8 llround ifunc implementation.
36219         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
36220         (__lllround): Add POWER8 implementation.
36221         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
36222         POWER8 llround implementation.
36224         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
36225         power8 implementation.
36226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
36227         file: POWER8 llrint ifunc implementation.
36228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
36229         Add POWER8 implementation.
36230         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
36231         POWER8 llrint implementation.
36233         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
36234         power8 implementation.
36235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
36236         file: POWER8 finite ifunc implementation.
36237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
36238         Add POWER8 implementation.
36239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
36240         Likewise.
36241         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
36242         POWER8 finite implementation.
36243         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
36245         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
36246         power8 implementation.
36247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
36248         file: POWER8 isinf ifunc implementation.
36249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
36250         POWER8 implementation.
36251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
36252         Likewise.
36253         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
36254         isinf implementation.
36255         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
36257         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
36258         (INIT_ARCH): Add hwcap2 initialization.
36259         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
36260         power8 implementation.
36261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
36262         file: POWER8 isnan ifunc implementation.
36263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
36264         POWER8 implementation.
36265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
36266         Likewise.
36267         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
36268         isnan implementation.
36269         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
36271 2014-02-27  Joey Ye  <joey.ye@arm.com>
36273         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
36274         (_FP_NANFRAC_Q): Set to zero.
36276 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36278         [BZ #16623]
36279         * math/auto-libm-test-in: New test inputs.
36280         * math/auto-libm-test-out: Regenerate.
36281         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
36282         and DA.
36283         (__cos): Likewise.
36284         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
36286 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
36288         * scripts/evaluate-test.sh: Take new argument indicating whether
36289         failure is expected.
36290         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
36291         indicating whether failure is expected.
36292         * conform/Makefile (test-xfail-run-conformtest): New variable.
36293         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
36294         level.
36295         * posix/Makefile (test-xfail-annexc): New variable.
36296         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
36298 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
36300         * argp/Makefile: Include Makeconfig immediately after defining
36301         subdir.
36302         * assert/Makefile: Likewise.
36303         * benchtests/Makefile: Likewise.
36304         * catgets/Makefile: Likewise.
36305         * conform/Makefile: Likewise.
36306         * crypt/Makefile: Likewise.
36307         * csu/Makefile: Likewise.
36308         (all): Remove target.
36309         * ctype/Makefile: Include Makeconfig immediately after defining
36310         subdir.
36311         * debug/Makefile: Likewise.
36312         * dirent/Makefile: Likewise.
36313         * dlfcn/Makefile: Likewise.
36314         * gmon/Makefile: Likewise.
36315         * gnulib/Makefile: Likewise.
36316         * grp/Makefile: Likewise.
36317         * gshadow/Makefile: Likewise.
36318         * hesiod/Makefile: Likewise.
36319         * hurd/Makefile: Likewise.
36320         (all): Remove target.
36321         * iconvdata/Makefile: Include Makeconfig immediately after
36322         defining subdir.
36323         * inet/Makefile: Likewise.
36324         * intl/Makefile: Likewise.
36325         * io/Makefile: Likewise.
36326         * libio/Makefile: Likewise.
36327         (all): Remove target.
36328         * locale/Makefile: Include Makeconfig immediately after defining
36329         subdir.
36330         * login/Makefile: Likewise.
36331         * mach/Makefile: Likewise.
36332         (all): Remove target.
36333         * malloc/Makefile: Include Makeconfig immediately after defining
36334         subdir.
36335         (all): Remove target.
36336         * manual/Makefile: Include Makeconfig immediately after defining
36337         subdir.
36338         * math/Makefile: Likewise.
36339         * misc/Makefile: Likewise.
36340         * nis/Makefile: Likewise.
36341         * nss/Makefile: Likewise.
36342         * po/Makefile: Likewise.
36343         (all): Remove target.
36344         * posix/Makefile: Include Makeconfig immediately after defining
36345         subdir.
36346         * pwd/Makefile: Likewise.
36347         * resolv/Makefile: Likewise.
36348         * resource/Makefile: Likewise.
36349         * rt/Makefile: Likewise.
36350         * setjmp/Makefile: Likewise.
36351         * shadow/Makefile: Likewise.
36352         * signal/Makefile: Likewise.
36353         * socket/Makefile: Likewise.
36354         * soft-fp/Makefile: Likewise.
36355         * stdio-common/Makefile: Likewise.
36356         * stdlib/Makefile: Likewise.
36357         * streams/Makefile: Likewise.
36358         * string/Makefile: Likewise.
36359         * sunrpc/Makefile: Likewise.
36360         (all): Remove target.
36361         * sysvipc/Makefile: Include Makeconfig immediately after defining
36362         subdir.
36363         * termios/Makefile: Likewise.
36364         * time/Makefile: Likewise.
36365         * timezone/Makefile: Likewise.
36366         (all): Remove target.
36367         * wcsmbs/Makefile: Include Makeconfig immediately after defining
36368         subdir.
36369         * wctype/Makefile: Likewise.
36371 2014-02-26  Steve Ellcey  <sellcey@mips.com>
36373         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
36374         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
36375         (libc_feholdexcept_setround_mips): Ditto.
36376         (libc_feholdsetround): New.
36377         (libc_feholdsetroundf): New.
36378         (libc_feholdsetroundl): New.
36379         (libc_feupdateenv_test_mips): New.
36380         (libc_feupdateenv_test): New.
36381         (libc_feupdateenv_testf): New.
36382         (libc_feupdateenv_testl): New.
36383         (libc_feresetround): New.
36384         (libc_feresetroundf): New.
36385         (libc_feresetroundl): New.
36386         (libc_fetestexcept_mips): New.
36387         (libc_fetestexcept): New.
36388         (libc_fetestexceptf): New.
36389         (libc_fetestexceptl): New.
36390         (HAVE_RM_CTX): New.
36391         (libc_feholdexcept_setround_mips_ctx): New.
36392         (libc_feholdexcept_setround_ctx): New.
36393         (libc_feholdexcept_setroundf_ctx): New.
36394         (libc_feholdexcept_setroundl_ctx): New.
36395         (libc_fesetenv_mips_ctx): New.
36396         (libc_fesetenv_ctx): New.
36397         (libc_fesetenv_ctxf): New.
36398         (libc_fesetenv_ctxl): New.
36399         (libc_feupdateenv_mips_ctx): New.
36400         (libc_feupdateenv_ctx): New.
36401         (libc_feupdateenvf_ctx): New.
36402         (libc_feupdateenvl_ctx): New.
36403         (libc_feholdsetround_mips_ctx): New.
36404         (libc_feholdsetround_ctx): New.
36405         (libc_feholdsetroundf_ctx): New.
36406         (libc_feholdsetroundl_ctx): New.
36407         (libc_feresetround_mips_ctx): New.
36408         (libc_feresetround_ctx): New.
36409         (libc_feresetroundf_ctx): New.
36410         (libc_feresetroundl_ctx): New.
36412 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
36414         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
36416         * manual/ipc.texi: New file.
36417         * manual/Makefile (chapters): Add ipc.
36418         * manual/job.texi: Add "Inter-Process Communication" to next.
36419         * manual/process.texi: Add "Inter-Process Communication" to prev.
36421 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36423         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36425 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
36427         * malloc/malloc.c (__libc_calloc): Simplify implementation.
36429         * manual/arith.texi: Fix spaces after sentences.
36430         * manual/charset.texi: Likewise.
36431         * manual/errno.texi: Likewise.
36432         * manual/install.texi: Likewise.
36433         * manual/llio.texi: Likewise.
36434         * manual/locale.texi: Likewise.
36435         * manual/maint.texi: Likewise.
36436         * manual/math.texi: Likewise.
36437         * manual/memory.texi: Likewise.
36438         * manual/message.texi: Likewise.
36439         * manual/probes.texi: Likewise.
36440         * manual/resource.texi: Likewise.
36441         * manual/signal.texi: Likewise.
36442         * manual/socket.texi: Likewise.
36443         * manual/stdio.texi: Likewise.
36444         * manual/string.texi: Likewise.
36445         * manual/time.texi: Likewise.
36446         * manual/users.texi: Likewise.
36448 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
36450         [BZ #16632]
36451         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
36452         _DEFAULT_SOURCE is defined.
36454 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
36455             Carlos O'Donell  <carlos@redhat.com>
36457         [BZ #16613]
36458         * elf/dl-tls.c (_dl_count_modids): New function.
36459         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
36460         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
36461         audit library and increment generation counter.
36462         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
36463         * elf/tst-audit9.c: New file.
36464         * elf/tst-auditmod9a.c: New file.
36465         * elf/tst-auditmod9b.c: New file.
36466         * elf/Makefile: Add rules to build and run tst-audit9.
36468 2014-02-25  Florian Weimer  <fweimer@redhat.com>
36470         [BZ #15347]
36471         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
36473 2014-02-25  Will Newton  <will.newton@linaro.org>
36475         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
36476         (__longjmp): Restore sp and lr before restoring callee
36477         saved registers.  Add longjmp and longjmp_target
36478         SystemTap probe point.
36479         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
36480         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
36481         Define to zero to match jmpbuf layout.
36482         * sysdeps/arm/setjmp.S: Include stap-probe.h.
36483         (__sigsetjmp): Save sp and lr before saving callee
36484         saved registers.  Add setjmp SystemTap probe point.
36486 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
36488         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36490 2014-02-24  Andreas Schwab  <schwab@suse.de>
36492         [BZ #15804]
36493         * elf/pldd.c (wait_for_ptrace_stop): New function.
36494         (main): Call it after attaching.
36496 2014-02-22  Roland McGrath  <roland@hack.frob.com>
36498         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
36499         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
36500         Versions files is now verboten.
36501         * hurd/Versions (libc: GLIBC_2.0):
36502         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
36503         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
36504         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
36505         * mach/Versions: Likewise.
36507         * csu/Versions: Remove unused %include.
36508         * resolv/Versions: Likewise.
36510 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
36512         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
36513         ($(objpfx)check-local-headers.out): Likewise.
36514         ($(objpfx)begin-end-check.out): Likewise.
36515         * Makerules (check-abi-%.out): Likewise.
36516         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
36517         ($(objpfx)test2.cat): Likewise.
36518         ($(objpfx)de/libc.cat): Likewise.
36519         ($(objpfx)test-gencat.out): Likewise.
36520         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
36521         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
36522         ($(objpfx)noload-mem): Likewise.
36523         ($(objpfx)tst-pathopt.out): Likewise.
36524         ($(objpfx)tst-rtld-load-self.out): Likewise.
36525         ($(objpfx)tst-array1-cmp.out): Likewise.
36526         ($(objpfx)tst-array1-static-cmp.out): Likewise.
36527         ($(objpfx)tst-array2-cmp.out): Likewise.
36528         ($(objpfx)tst-array3-cmp.out): Likewise.
36529         ($(objpfx)tst-array4-cmp.out): Likewise.
36530         ($(objpfx)tst-array5-cmp.out): Likewise.
36531         ($(objpfx)tst-array5-static-cmp.out): Likewise.
36532         ($(objpfx)check-textrel.out): Likewise.
36533         ($(objpfx)check-execstack.out): Likewise.
36534         ($(objpfx)check-localplt.out): Likewise.
36535         ($(objpfx)order2-cmp.out): Likewise.
36536         ($(objpfx)tst-leaks1-mem): Likewise.
36537         ($(objpfx)tst-leaks1-static-mem): Likewise.
36538         ($(objpfx)tst-initorder-cmp.out): Likewise.
36539         ($(objpfx)tst-initorder2-cmp.out): Likewise.
36540         ($(objpfx)tst-unused-dep.out): Likewise.
36541         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
36542         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
36543         * iconv/Makefile (test-iconvconfig): Likewise.
36544         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
36545         ($(objpfx)iconv-test.out): Likewise.
36546         ($(objpfx)tst-tables.out): Likewise.
36547         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
36548         ($(objpfx)tst-gettext.out): Likewise.
36549         ($(objpfx)tst-translit.out): Likewise.
36550         ($(objpfx)tst-gettext2.out): Likewise.
36551         ($(objpfx)tst-gettext4.out): Likewise.
36552         ($(objpfx)tst-gettext6.out): Likewise.
36553         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
36554         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
36555         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
36556         ($(objpfx)tst-fopenloc-mem.out): Likewise.
36557         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
36558         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
36559         * posix/Makefile ($(objpfx)globtest.out): Likewise.
36560         ($(objpfx)wordexp-tst.out): Likewise.
36561         ($(objpfx)annexc.out): Likewise.
36562         ($(objpfx)tst-fnmatch-mem): Likewise.
36563         ($(objpfx)bug-regex2-mem): Likewise.
36564         ($(objpfx)bug-regex14-mem): Likewise.
36565         ($(objpfx)bug-regex21-mem): Likewise.
36566         ($(objpfx)bug-regex31-mem): Likewise.
36567         ($(objpfx)tst-vfork3-mem): Likewise.
36568         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
36569         ($(objpfx)tst-pcre-mem): Likewise.
36570         ($(objpfx)tst-boost-mem): Likewise.
36571         ($(objpfx)tst-getconf.out): Likewise.
36572         ($(objpfx)bug-ga2-mem): Likewise.
36573         ($(objpfx)bug-glob2-mem): Likewise.
36574         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
36575         ($(objpfx)mtrace-tst-leaks2): Likewise.
36576         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
36577         ($(objpfx)tst-printf.out): Likewise.
36578         ($(objpfx)tst-setvbuf1.out): Likewise.
36579         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
36580         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
36581         ($(objpfx)tst-fmtmsg.out): Likewise.
36582         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
36583         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
36585         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
36586         * bits/sigaction.h [__USE_MISC]: Likewise.
36587         * bits/waitstatus.h: Update #endif comments.
36588         * ctype/ctype.h: Likewise.
36589         * dirent/dirent.h: Likewise.
36590         [__USE_MISC]: Remove redundant conditionals.
36591         * grp/grp.h: Update #endif comments.
36592         [__USE_GNU]: Remove redundant conditionals.
36593         [__USE_MISC]: Likewise.
36594         * inet/netinet/in.h [__USE_GNU]: Likewise.
36595         * io/sys/stat.h [__USE_MISC]: Likewise.
36596         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
36597         * libio/bits/stdio.h: Update #endif comments.
36598         [__USE_MISC]: Remove redundant conditionals.
36599         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
36600         * libio/stdio.h: Update #endif comments.
36601         [__USE_MISC]: Remove redundant conditionals.
36602         * math/bits/math-finite.h [__USE_MISC]: Likewise.
36603         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
36604         * math/math.h: Update #else and #endif comments.
36605         [__USE_MISC]: Remove redundant conditionals.
36606         * misc/sys/uio.h: Update #endif comments.
36607         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
36608         * posix/glob.h [__USE_MISC]: Likewise.
36609         * posix/sys/types.h: Update #endif comments.
36610         [__USE_MISC]: Remove redundant conditionals.
36611         * posix/sys/wait.h: Update #endif comments.
36612         [__USE_MISC]: Remove redundant conditionals.
36613         * posix/unistd.h: Update #endif comments.
36614         [__USE_MISC]: Remove redundant conditionals.
36615         * pwd/pwd.h [__USE_GNU]: Likewise.
36616         [__USE_MISC]: Likewise.
36617         * resolv/netdb.h [__USE_GNU]: Likewise.
36618         * signal/signal.h: Update #endif comments.
36619         [__USE_MISC]: Remove redundant conditionals.
36620         * stdlib/stdlib.h: Update #else and #endif comments.
36621         [__USE_MISC]: Remove redundant conditionals.
36622         [__USE_GNU]: Likewise.
36623         * string/bits/string2.h [__USE_MISC]: Likewise.
36624         * string/string.h: Update #endif comments.
36625         [__USE_MISC]: Remove redundant conditionals.
36626         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
36627         Likewise.
36628         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
36629         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
36630         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
36631         Likewise.
36632         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
36633         Likewise.
36634         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
36635         comments.
36636         [__USE_MISC]: Remove redundant conditionals.
36637         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
36638         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
36639         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
36640         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
36641         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
36642         Likewise.
36643         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
36644         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
36645         Likewise.
36646         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
36647         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
36648         Likewise.
36649         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
36650         Likewise.
36651         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
36652         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
36653         Likewise.
36654         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
36655         Likewise.
36656         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
36657         * sysdeps/x86/bits/string.h: Update #endif comments.
36658         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
36659         conditionals.
36660         * time/sys/time.h: Update #endif comments.
36661         * time/time.h: Likewise.
36662         [__USE_MISC]: Remove redundant conditionals.
36664 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
36666         [BZ #16600]
36667         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
36669 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
36671         * Versions.def (librt): Add GLIBC_2.17.
36673 2014-02-21  Adam Conrad  <adconrad@0c3.net>
36675         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
36676         synonym for _SYS_AUXV_H to allow direct inclusion.
36677         * sysdeps/sparc/bits/hwcap.h: Likewise.
36678         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
36679         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
36680         * sysdeps/sparc/sysdep.h: Likewise.
36682 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36684         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
36686 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36688         * benchtests/bench-strrchr.c: Print length instead of position.
36690 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
36692         [BZ #16611]
36693         * sysdeps/unix/sysv/linux/kernel-features.h
36694         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
36695         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
36696         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
36697         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
36698         Likewise.
36699         [__i386__ || __powerpc__ || __sh__ || __sparc__]
36700         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36701         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
36702         (__ASSUME_SENDMMSG): Define instead of using previous
36703         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
36704         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36705         (__ASSUME_SENDMMSG_SYSCALL): Define.
36706         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36707         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
36708         Likewise.
36709         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36710         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
36711         Likewise.
36712         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36713         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
36714         Likewise.
36715         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
36716         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
36717         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
36718         [__ASSUME_SENDMMSG]: Change conditionals to
36719         [__ASSUME_SENDMMSG_SOCKETCALL].
36720         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36721         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
36722         Define.
36723         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36724         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
36725         Likewise.
36726         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
36727         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
36728         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
36729         [!__ASSUME_SENDMMSG]: Change conditional to
36730         [!__ASSUME_SENDMMSG_SOCKETCALL].
36731         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36732         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
36733         Define.
36735         [BZ #16610]
36736         * sysdeps/unix/sysv/linux/kernel-features.h
36737         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
36738         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
36739         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
36740         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
36741         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36742         [__i386__ || __sparc__]
36743         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36744         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
36745         (__ASSUME_RECVMMSG): Define instead of using previous
36746         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
36747         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36748         (__ASSUME_RECVMMSG_SYSCALL): Define.
36749         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36750         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36751         Likewise.
36752         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36753         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36754         Likewise.
36755         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36756         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36757         Likewise.
36758         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
36759         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
36760         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
36761         [__ASSUME_RECVMMSG]: Change condition to
36762         [__ASSUME_RECVMMSG_SOCKETCALL].
36763         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36764         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36765         Define.
36766         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36767         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36768         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
36769         Likewise.
36770         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
36771         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
36772         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
36773         [!__ASSUME_RECVMMSG]: Change condition to
36774         [!__ASSUME_RECVMMSG_SOCKETCALL].
36775         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36776         (__ASSUME_RECVMMSG_SYSCALL): Define.
36778         [BZ #16609]
36779         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
36780         __powerpc__ || __s390__ || __sh__ || __sparc__]
36781         (__ASSUME_SOCKETCALL): Define.
36782         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
36783         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
36784         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
36785         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
36786         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36787         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
36788         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
36789         (__ASSUME_ACCEPT4): Define instead of using previous
36790         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
36791         __powerpc__ || __sparc__ || __s390__)] condition.
36792         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36793         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
36794         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
36795         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
36796         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
36797         [!__ASSUME_ACCEPT4]: Change condition to
36798         [!__ASSUME_ACCEPT4_SOCKETCALL].
36799         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36800         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
36801         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
36802         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36803         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
36804         __ASSUME_ACCEPT4_SYSCALL.
36805         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
36806         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
36807         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36808         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
36809         __ASSUME_ACCEPT4_SYSCALL.
36810         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
36811         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
36812         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
36813         [__ASSUME_ACCEPT4]: Change condition to
36814         [__ASSUME_ACCEPT4_SOCKETCALL].
36815         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36816         (__ASSUME_SOCKETCALL): Define.
36817         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
36818         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36819         (__ASSUME_SOCKETCALL): Define.
36820         (__ASSUME_ACCEPT4): Remove.
36821         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
36822         Define.
36823         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36824         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
36825         Likewise.
36826         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36827         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
36829         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
36830         macro.
36831         (HWCAP_ARM_LPAE): Likewise.
36832         (HWCAP_ARM_EVTSTRM): Likewise.
36833         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
36834         Add vpfd32, lpae and evtstrm.
36835         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
36836         Increase to 22.
36838 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
36840         * math/auto-libm-test-in: Add tests of clog10.
36841         * math/auto-libm-test-out: Regenerated.
36842         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
36843         * sysdeps/i386/fpu/libm-test-ulps: Update.
36844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36846 2014-02-18  Andreas Schwab  <schwab@suse.de>
36848         [BZ #16574]
36849         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
36850         Store non-zero if the second buffer was newly allocated.
36851         (send_dg): Likewise.
36852         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
36853         to send_vc and send_dg.
36854         (res_nsend): Pass NULL for ansp2_malloced.
36855         * resolv/res_query.c (__libc_res_nquery): Add parameter
36856         answerp2_malloced and pass it down to __libc_res_nsend.
36857         (res_nquery): Pass additional NULL to __libc_res_nquery.
36858         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
36859         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
36860         second answer buffer if answerp2_malloced was set.
36861         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
36862         (__libc_res_nquerydomain): Add parameter
36863         answerp2_malloced and pass it down to __libc_res_nquery.
36864         (res_nquerydomain): Pass additional NULL to
36865         __libc_res_nquerydomain.
36866         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
36867         additional NULL to __libc_res_nsend and __libc_res_nquery.
36868         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
36869         additional NULL to __libc_res_nsearch.
36870         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
36871         parameter of __libc_res_nsearch to check for separately allocated
36872         second buffer.
36873         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
36874         __libc_res_nquery.
36875         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
36876         additional NULL to __libc_res_nquery.
36877         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
36878         __libc_res_nsearch.
36879         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
36880         * include/resolv.h: Update prototypes of __libc_res_nquery,
36881         __libc_res_nsearch, __libc_res_nsend.
36883 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
36885         * math/auto-libm-test-in: Add tests of fma.
36886         * math/auto-libm-test-out: Regenerated.
36887         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
36888         (fma_towardzero_test_data): Likewise.
36889         (fma_downward_test_data): Likewise.
36890         (fma_upward_test_data): Likewise.
36891         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
36892         mpc_mode.
36893         (rounding_modes): Add values for new field.
36894         (func_calc_method): Add value mpfr_fff_f.
36895         (func_calc_desc): Add mpfr_fff_f union field.
36896         (test_function): Add field exact_args.
36897         (FUNC): Add macro argument EXACT_ARGS.
36898         (FUNC_mpfr_f_f): Update call to FUNC.
36899         (FUNC_mpfr_f_f): Likewise.
36900         (FUNC_mpfr_ff_f): Likewise.
36901         (FUNC_mpfr_if_f): Likewise.
36902         (FUNC_mpc_c_f): Likewise.
36903         (FUNC_mpc_c_c): Likewise.
36904         (test_functions): Add fma.  Update calls to FUNC.
36905         (handle_input_arg): Add argument exact_args.
36906         (add_test): Update call to handle_input_arg.
36907         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
36908         (output_for_one_input_case): Update call to calc_generic_results.
36909         Recalculate exact zero results in each rounding mode.
36911         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
36912         non-negative before setting low bit.
36913         * math/auto-libm-test-in: Mark one asin test possibly having
36914         spurious underflow.
36915         * math/auto-libm-test-out: Regenerated.
36916         * sysdeps/i386/fpu/libm-test-ulps: Update.
36917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36919 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
36921         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
36922         * sysdeps/unix/sysv/linux/microblaze: Move directory from
36923         ports/sysdeps/unix/sysv/linux/microblaze.
36924         * README: Add missing listing for microblaze*-*-linux-gnu.
36926 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
36928         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
36929         duplicate code
36931 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
36933         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
36934         * sysdeps/unix/sysv/linux/ia64: Move directory from
36935         ports/sysdeps/unix/sysv/linux/ia64.
36936         * README: Update listing for ia64-*-linux-gnu.
36938 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
36939             Joseph Myers  <joseph@codesourcery.com>
36941         * Makeconfig (test-name): New variable.
36942         (evaluate-test): Likewise.
36943         * Makerules (do-test-clean): Remove .test-result files.
36944         (common-mostlyclean): Likewise.
36945         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
36946         * scripts/evaluate-test.sh: New file.
36948 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
36950         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
36951         separate $(objpfx)tst-fopenloc-cmp.out and
36952         $(objpfx)tst-fopenloc-mem.out targets.
36953         (tests): Update dependencies.
36954         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
36955         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
36956         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
36957         (tst-rxspencer-no-utf8-ARGS): New variable.
36958         (tst-rxspencer-no-utf8-ENV): Likewise.
36959         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
36960         instead of $(objpfx)tst-rxspencer-mem.
36961         ($(objpfx)tst-rxspencer-mem): Change target to
36962         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
36963         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
36964         * posix/tst-rxspencer-no-utf8.c: New file.
36966         * elf/Makefile ($(objpfx)order.out): Remove rule.
36967         [$(run-built-tests) = yes] (tests): Depend on
36968         $(objpfx)order-cmp.out.
36969         ($(objpfx)order-cmp.out): New rule.
36970         [$(run-built-tests) = yes] (tests): Depend on
36971         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
36972         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
36973         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
36974         $(objpfx)tst-array5-static-cmp.out.
36975         ($(objpfx)tst-array1.out): Remove rule.
36976         ($(objpfx)tst-array1-cmp.out): New rule.
36977         ($(objpfx)tst-array1-static.out): Remove rule.
36978         ($(objpfx)tst-array1-static-cmp.out): New rule.
36979         ($(objpfx)tst-array2.out): Remove rule.
36980         ($(objpfx)tst-array2-cmp.out): New rule.
36981         ($(objpfx)tst-array3.out): Remove rule.
36982         ($(objpfx)tst-array3-cmp.out): New rule.
36983         ($(objpfx)tst-array4.out): Remove rule.
36984         ($(objpfx)tst-array4-cmp.out): New rule.
36985         ($(objpfx)tst-array5.out): Remove rule.
36986         ($(objpfx)tst-array5-cmp.out): New rule.
36987         ($(objpfx)tst-array5-static.out): Remove rule.
36988         ($(objpfx)tst-array5-static-cmp.out): New rule.
36989         [$(run-built-tests) = yes] (tests): Depend on
36990         $(objpfx)order2-cmp.out.
36991         ($(objpfx)order2.out): Remove rule.
36992         ($(objpfx)order2-cmp.out): New rule.
36993         ($(objpfx)tst-initorder.out): Remove rule.
36994         [$(run-built-tests) = yes] (tests): Depend on
36995         $(objpfx)tst-initorder-cmp.out.
36996         ($(objpfx)tst-initorder-cmp.out): New rule.
36997         ($(objpfx)tst-initorder2.out): Remove rule.
36998         [$(run-built-tests) = yes] (tests): Depend on
36999         $(objpfx)tst-initorder2-cmp.out.
37000         ($(objpfx)tst-initorder2-cmp.out): New rule.
37001         [$(run-built-tests) = yes] (tests): Depend on
37002         $(objpfx)tst-unused-dep-cmp.out.
37003         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
37004         ($(objpfx)tst-unused-dep-cmp.out): New rule.
37005         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
37006         on $(objpfx)tst-setvbuf1-cmp.out.
37007         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
37008         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
37009         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
37010         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
37011         ($(objpfx)tst-svc.out): Remove rule.
37012         ($(objpfx)tst-svc-cmp.out): New rule.
37014 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
37016         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
37017         * ctype/ctype.h [__USE_MISC]: Likewise.
37018         * dirent/dirent.h [__USE_MISC]: Likewise.
37019         * grp/grp.h [__USE_MISC]: Likewise.
37020         * io/fcntl.h [__USE_MISC]: Likewise.
37021         * io/sys/stat.h [__USE_MISC]: Likewise.
37022         * libio/stdio.h [__USE_MISC]: Likewise.
37023         * posix/unistd.h [__USE_MISC]: Likewise.
37024         * pwd/pwd.h [__USE_MISC]: Likewise.
37025         * stdlib.h [__USE_MISC]: Likewise.
37026         * string/bits/string2.h [__USE_MISC]: Likewise.
37027         * string/string.h [__USE_MISC]: Likewise.
37028         * time/time.h [__USE_MISC]: Likewise.
37030 2014-02-13  Andreas Schwab  <schwab@suse.de>
37032         [BZ #16574]
37033         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
37034         second answer buffer if it was separately allocated.
37036 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
37038         * sysdeps/mips/math-tests.h: Include <features.h>.
37039         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
37040         (ROUNDING_TESTS_long_double): Do not define.
37041         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
37042         (EXCEPTION_TESTS_long_double): Likewise.
37043         * sysdeps/mips/mips64/libm-test-ulps: Update.
37045         * include/features.h (__USE_BSD): Remove macro definitions.
37046         (__USE_SVID): Likewise.
37047         (_BSD_SOURCE): Likewise.
37048         (_SVID_SOURCE): Likewise.
37049         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
37050         from definition of _DEFAULT_SOURCE.
37051         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
37052         [_DEFAULT_SOURCE].
37053         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
37054         * bits/mman.h [__USE_BSD]: Likewise.
37055         * bits/termios.h [__USE_BSD]: Likewise.
37056         * bits/waitstatus.h [__USE_BSD]: Likewise.
37057         * ctype/ctype.h [__USE_SVID]: Likewise.
37058         * dirent/dirent.h [__USE_BSD]: Likewise.
37059         * grp/grp.h [__USE_SVID]: Likewise.
37060         [__USE_BSD]: Likewise.
37061         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
37062         * io/fcntl.h [__USE_BSD]: Likewise.
37063         * io/ftw.h [__USE_BSD]: Likewise.
37064         * io/sys/stat.h [__USE_BSD]: Likewise.
37065         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
37066         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
37067         * libio/stdio.h [__USE_SVID]: Likewise.
37068         [__USE_BSD]: Likewise.
37069         * math/math.h [__USE_SVID]: Likewise.
37070         [__USE_BSD]: Likewise.
37071         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
37072         * misc/bits/syslog.h [__USE_BSD]: Likewise.
37073         * misc/search.h [__USE_SVID]: Likewise.
37074         * misc/sys/mman.h [__USE_BSD]: Likewise.
37075         * misc/sys/syslog.h [__USE_BSD]: Likewise.
37076         * misc/sys/uio.h [__USE_BSD]: Likewise.
37077         * posix/bits/unistd.h [__USE_BSD]: Likewise.
37078         * posix/glob.h [__USE_BSD]: Likewise.
37079         * posix/regex.h [__USE_BSD]: Likewise.
37080         * posix/sys/types.h [__USE_BSD]: Likewise.
37081         [__USE_SVID]: Likewise.
37082         * posix/sys/utsname.h [__USE_SVID]: Likewise.
37083         * posix/sys/wait.h [__USE_BSD]: Likewise.
37084         [__USE_SVID]: Likewise.
37085         * posix/unistd.h [__USE_BSD]: Likewise.
37086         [__USE_SVID]: Likewise.
37087         * pwd/pwd.h [__USE_SVID]: Likewise.
37088         * resolv/netdb.h [__USE_BSD]: Likewise.
37089         * setjmp/setjmp.h [__USE_BSD]: Likewise.
37090         * signal/signal.h [__USE_BSD]: Likewise.
37091         [__USE_SVID]: Likewise.
37092         * socket/sys/socket.h [__USE_BSD]: Likewise.
37093         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
37094         * stdlib/stdlib.h [__USE_BSD]: Likewise.
37095         [__USE_SVID]: Likewise.
37096         * string/bits/string2.h [__USE_BSD]: Likewise.
37097         [__USE_SVID]: Likewise.
37098         * string/bits/string3.h [__USE_BSD]: Likewise.
37099         * string/endian.h [__USE_BSD]: Likewise.
37100         * string/string.h [__USE_SVID]: Likewise.
37101         [__USE_BSD]: Likewise.
37102         * string/strings.h [__USE_BSD]: Likewise.
37103         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
37104         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
37105         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
37106         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
37107         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
37108         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
37109         Likewise.
37110         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
37111         Likewise.
37112         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
37113         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
37114         Likewise.
37115         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
37116         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
37117         Likewise.
37118         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
37119         Likewise.
37120         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
37121         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
37122         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
37123         Likewise.
37124         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
37125         Likewise.
37126         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
37127         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
37128         * termios/termios.h [__USE_BSD]: Likewise.
37129         * time/sys/time.h [__USE_BSD]: Likewise.
37130         * time/time.h [__USE_BSD]: Likewise.
37131         [__USE_SVID]: Likewise.
37133         * Makefile (subdir_targets): Remove subdir_lint.out.
37135         * stdio-common/Makefile (do-tst-unbputc): Remove target.
37136         (do-tst-printf): Likewise.
37137         (tests): Depend directly on $(objpfx)tst-unbputc.out and
37138         $(objpfx)tst-printf.out.
37140         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
37142         * Makerules (check-abi-%): Change target to
37143         $(objpfx)check-abi-%.out.
37144         (check-abi target): Update dependencies.
37145         (check-abi-pattern variable): Redirect output of diff to $@.
37146         (check-abi variable): Likewise.
37147         * elf/Makefile (check-abi): Update dependencies.
37149         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
37150         unused.
37151         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
37152         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
37153         subnormal range.
37154         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
37155         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
37156         value has largest subnormal exponent.
37157         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
37158         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
37159         * sysdeps/aarch64/soft-fp/sfp-machine.h
37160         (_FP_TININESS_AFTER_ROUNDING): New macro.
37161         * sysdeps/alpha/soft-fp/sfp-machine.h
37162         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37163         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
37164         Likewise.
37165         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
37166         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37167         * sysdeps/mips/soft-fp/sfp-machine.h
37168         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37169         * sysdeps/powerpc/soft-fp/sfp-machine.h
37170         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37171         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
37172         Likewise.
37173         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
37174         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37175         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
37176         (_FP_TININESS_AFTER_ROUNDING): Likewise.
37177         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
37178         Likewise.
37180 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
37182         [BZ #16545]
37183         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
37184         model 1.
37186 2014-02-12  Richard Henderson  <rth@redhat.com>
37188         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
37189         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
37190         * sysdeps/unix/sysv/linux/alpha: Move directory from
37191         ports/sysdeps/unix/sysv/linux/alpha.
37192         * README: Update listing for alpha-*-linux-gnu.
37194 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
37196         * include/features.h: Update comment documenting feature test
37197         macros.
37198         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
37199         _DEFAULT_SOURCE.
37200         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
37201         (_SVID_SOURCE): Likewise.
37202         (_DEFAULT_SOURCE): Update description of default features.
37203         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
37204         with _GNU_SOURCE.
37205         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
37206         (S_ISVTX): Likewise.
37207         * manual/math.texi (Mathematical Constants): Likewise.
37208         * manual/signal.texi (Interrupted Primitives): Likewise.
37209         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
37210         * math/test-matherr.c (_SVID_SOURCE): Do not define.
37211         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
37212         Don't refer to _SVID_SOURCE in warning text.
37214         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37216         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
37217         already defined.
37218         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
37219         * sysdeps/mips/dl-lookup.c: Remove.
37220         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
37222 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37224         [BZ #16447]
37225         * math/auto-libm-test-in: Add testcase for expl.
37226         * math/auto-libm-test-out: Regenerate.
37227         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
37228         calculation of unsafe.
37229         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
37231 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37233         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
37234         * sysdeps/unix/sysv/linux/aarch64: Move directory from
37235         ports/sysdeps/unix/sysv/linux/aarch64.
37236         * README: Update listing for aarch64*-*-linux-gnu.
37238 2014-02-11  Will Newton  <will.newton@linaro.org>
37240         * manual/probes.texi (Mathematical Function Probes): Use
37241         "triggered" instead of "hit".
37243         * manual/probes.texi (Internal Probes): Add documentation
37244         of setjmp, longjmp and longjmp_target probes.
37246         * include/stap-probe.h: Add comment about probe argument
37247         format.
37249         * malloc/mtrace.c (attribute_hidden): Remove unused macro
37250         definition.  (tr_where, tr_freehook, tr_mallochook,
37251         tr_reallochook, tr_memalignhook): Use ANSI protoype.
37253 2014-02-11  David S. Miller  <davem@davemloft.net>
37255         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
37256         processing int_tests.
37258 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
37260         * sysdeps/mips: Move directory from ports/sysdeps/mips.
37261         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
37262         * sysdeps/unix/sysv/linux/mips: Move directory from
37263         ports/sysdeps/unix/sysv/linux/mips.
37264         * README: Update listing for mips-*-linux-gnu and
37265         mips64-*-linux-gnu.
37267 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
37269         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
37270         * sysdeps/unix/sysv/linux/m68k: Move directory from
37271         ports/sysdeps/unix/sysv/linux/m68k.
37272         * README: Update listing for m68k-*-linux-gnu.
37274 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
37276         * sysdeps/tile: Move directory from ports/sysdeps/tile.
37277         * sysdeps/unix/sysv/linux/generic: Move directory from
37278         ports/sysdeps/unix/sysv/linux/generic.
37279         * sysdeps/unix/sysv/linux/tile: Move directory from
37280         ports/sysdeps/unix/sysv/linux/tile.
37281         * README: Update listing for tile*-*-linux-gnu.
37283 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
37285         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
37286         __builtin_expect.
37287         * benchtests/bench-memmem.c (simple_memmem): Likewise.
37288         * catgets/open_catalog.c (__open_catalog): Likewise.
37289         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
37290         * debug/confstr_chk.c: Likewise.
37291         * debug/fread_chk.c (__fread_chk): Likewise.
37292         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
37293         * debug/getgroups_chk.c: Likewise.
37294         * debug/mbsnrtowcs_chk.c: Likewise.
37295         * debug/mbsrtowcs_chk.c: Likewise.
37296         * debug/mbstowcs_chk.c: Likewise.
37297         * debug/memcpy_chk.c: Likewise.
37298         * debug/memmove_chk.c: Likewise.
37299         * debug/mempcpy_chk.c: Likewise.
37300         * debug/memset_chk.c: Likewise.
37301         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
37302         * debug/strcat_chk.c (__strcat_chk): Likewise.
37303         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
37304         * debug/strncat_chk.c (__strncat_chk): Likewise.
37305         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
37306         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
37307         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
37308         * debug/wcpncpy_chk.c: Likewise.
37309         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
37310         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
37311         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
37312         * debug/wcsncpy_chk.c: Likewise.
37313         * debug/wcsnrtombs_chk.c: Likewise.
37314         * debug/wcsrtombs_chk.c: Likewise.
37315         * debug/wcstombs_chk.c: Likewise.
37316         * debug/wmemcpy_chk.c: Likewise.
37317         * debug/wmemmove_chk.c: Likewise.
37318         * debug/wmempcpy_chk.c: Likewise.
37319         * debug/wmemset_chk.c: Likewise.
37320         * dirent/scandirat.c (SCANDIRAT): Likewise.
37321         * dlfcn/dladdr1.c (dladdr1): Likewise.
37322         * dlfcn/dladdr.c (dladdr): Likewise.
37323         * dlfcn/dlclose.c (dlclose_doit): Likewise.
37324         * dlfcn/dlerror.c (__dlerror): Likewise.
37325         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
37326         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
37327         * dlfcn/dlopen.c (dlopen_doit): Likewise.
37328         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
37329         * dlfcn/dlsym.c (dlsym_doit): Likewise.
37330         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
37331         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
37332         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
37333         Likewise.
37334         * elf/dl-conflict.c: Likewise.
37335         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
37336         * elf/dl-dst.h: Likewise.
37337         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
37338         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
37339         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
37340         * elf/dl-init.c (call_init, _dl_init): Likewise.
37341         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
37342         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
37343         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
37344         Likewise.
37345         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
37346         Likewise.
37347         * elf/dl-minimal.c (__libc_memalign): Likewise.
37348         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
37349         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
37350         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
37351         * elf/dl-sym.c (do_sym): Likewise.
37352         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
37353         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
37354         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
37355         * elf/dl-writev.h (_dl_writev): Likewise.
37356         * elf/ldconfig.c (search_dir): Likewise.
37357         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
37358         (dl_main): Likewise.
37359         * elf/setup-vdso.h (setup_vdso): Likewise.
37360         * grp/compat-initgroups.c (compat_call): Likewise.
37361         * grp/fgetgrent.c (fgetgrent): Likewise.
37362         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
37363         * grp/putgrent.c (putgrent): Likewise.
37364         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
37365         Likewise.
37366         * hurd/hurdinit.c: Likewise.
37367         * iconvdata/8bit-gap.c (struct): Likewise.
37368         * iconvdata/ansi_x3.110.c : Likewise.
37369         * iconvdata/big5.c : Likewise.
37370         * iconvdata/big5hkscs.c : Likewise.
37371         * iconvdata/cp1255.c: Likewise.
37372         * iconvdata/cp1258.c : Likewise.
37373         * iconvdata/cp932.c : Likewise.
37374         * iconvdata/euc-cn.c: Likewise.
37375         * iconvdata/euc-jisx0213.c : Likewise.
37376         * iconvdata/euc-jp.c: Likewise.
37377         * iconvdata/euc-jp-ms.c : Likewise.
37378         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
37379         * iconvdata/gb18030.c : Likewise.
37380         * iconvdata/gbbig5.c (const): Likewise.
37381         * iconvdata/gbgbk.c: Likewise.
37382         * iconvdata/gbk.c : Likewise.
37383         * iconvdata/ibm1364.c : Likewise.
37384         * iconvdata/ibm930.c : Likewise.
37385         * iconvdata/ibm932.c: Likewise.
37386         * iconvdata/ibm933.c : Likewise.
37387         * iconvdata/ibm935.c : Likewise.
37388         * iconvdata/ibm937.c : Likewise.
37389         * iconvdata/ibm939.c : Likewise.
37390         * iconvdata/ibm943.c: Likewise.
37391         * iconvdata/iso_11548-1.c: Likewise.
37392         * iconvdata/iso-2022-cn.c : Likewise.
37393         * iconvdata/iso-2022-cn-ext.c : Likewise.
37394         * iconvdata/iso-2022-jp-3.c: Likewise.
37395         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
37396         * iconvdata/iso-2022-kr.c : Likewise.
37397         * iconvdata/iso646.c (gconv_end): Likewise.
37398         * iconvdata/iso_6937-2.c : Likewise.
37399         * iconvdata/iso_6937.c : Likewise.
37400         * iconvdata/iso8859-1.c: Likewise.
37401         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
37402         * iconvdata/shift_jisx0213.c : Likewise.
37403         * iconvdata/sjis.c : Likewise.
37404         * iconvdata/t.61.c : Likewise.
37405         * iconvdata/tcvn5712-1.c : Likewise.
37406         * iconvdata/tscii.c: Likewise.
37407         * iconvdata/uhc.c : Likewise.
37408         * iconvdata/unicode.c (gconv_end): Likewise.
37409         * iconvdata/utf-16.c (gconv_end): Likewise.
37410         * iconvdata/utf-32.c (gconv_end): Likewise.
37411         * iconvdata/utf-7.c (base64): Likewise.
37412         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
37413         * iconv/gconv_close.c (__gconv_close): Likewise.
37414         * iconv/gconv_open.c (__gconv_open): Likewise.
37415         * iconv/gconv_simple.c (internal_ucs4_loop_single)
37416         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
37417         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
37418         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
37419         (ucs4le_internal_loop_single): Likewise.
37420         * iconv/iconv.c (iconv): Likewise.
37421         * iconv/iconv_close.c: Likewise.
37422         * iconv/loop.c (SINGLE): Likewise.
37423         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
37424         * include/atomic.h: Likewise.
37425         * inet/inet6_option.c (option_alloc): Likewise.
37426         * intl/bindtextdom.c (set_binding_values): Likewise.
37427         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
37428         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
37429         * intl/localealias.c (read_alias_file): Likewise.
37430         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
37431         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
37432         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
37433         * libio/fmemopen.c (fmemopen): Likewise.
37434         * libio/iofgets.c (_IO_fgets): Likewise.
37435         * libio/iofgets_u.c (fgets_unlocked): Likewise.
37436         * libio/iofgetws.c (fgetws): Likewise.
37437         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
37438         * libio/iogetdelim.c (_IO_getdelim): Likewise.
37439         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
37440         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
37441         * locale/findlocale.c (_nl_find_locale): Likewise.
37442         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
37443         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
37444         Likewise.
37445         * locale/setlocale.c (setlocale): Likewise.
37446         * login/programs/pt_chown.c (main): Likewise.
37447         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
37448         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
37449         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
37450         (mmap, mmap64, mremap, munmap): Likewise.
37451         * math/e_exp2l.c: Likewise.
37452         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
37453         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
37454         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
37455         * math/s_catan.c (__catan): Likewise.
37456         * math/s_catanf.c (__catanf): Likewise.
37457         * math/s_catanh.c (__catanh): Likewise.
37458         * math/s_catanhf.c (__catanhf): Likewise.
37459         * math/s_catanhl.c (__catanhl): Likewise.
37460         * math/s_catanl.c (__catanl): Likewise.
37461         * math/s_ccosh.c (__ccosh): Likewise.
37462         * math/s_ccoshf.c (__ccoshf): Likewise.
37463         * math/s_ccoshl.c (__ccoshl): Likewise.
37464         * math/s_cexp.c (__cexp): Likewise.
37465         * math/s_cexpf.c (__cexpf): Likewise.
37466         * math/s_cexpl.c (__cexpl): Likewise.
37467         * math/s_clog10.c (__clog10): Likewise.
37468         * math/s_clog10f.c (__clog10f): Likewise.
37469         * math/s_clog10l.c (__clog10l): Likewise.
37470         * math/s_clog.c (__clog): Likewise.
37471         * math/s_clogf.c (__clogf): Likewise.
37472         * math/s_clogl.c (__clogl): Likewise.
37473         * math/s_csin.c (__csin): Likewise.
37474         * math/s_csinf.c (__csinf): Likewise.
37475         * math/s_csinh.c (__csinh): Likewise.
37476         * math/s_csinhf.c (__csinhf): Likewise.
37477         * math/s_csinhl.c (__csinhl): Likewise.
37478         * math/s_csinl.c (__csinl): Likewise.
37479         * math/s_csqrt.c (__csqrt): Likewise.
37480         * math/s_csqrtf.c (__csqrtf): Likewise.
37481         * math/s_csqrtl.c (__csqrtl): Likewise.
37482         * math/s_ctan.c (__ctan): Likewise.
37483         * math/s_ctanf.c (__ctanf): Likewise.
37484         * math/s_ctanh.c (__ctanh): Likewise.
37485         * math/s_ctanhf.c (__ctanhf): Likewise.
37486         * math/s_ctanhl.c (__ctanhl): Likewise.
37487         * math/s_ctanl.c (__ctanl): Likewise.
37488         * math/w_pow.c: Likewise.
37489         * math/w_powf.c: Likewise.
37490         * math/w_powl.c: Likewise.
37491         * math/w_scalb.c (sysv_scalb): Likewise.
37492         * math/w_scalbf.c (sysv_scalbf): Likewise.
37493         * math/w_scalbl.c (sysv_scalbl): Likewise.
37494         * misc/error.c (error_tail): Likewise.
37495         * misc/pselect.c (__pselect): Likewise.
37496         * nis/nis_callback.c (__nis_create_callback): Likewise.
37497         * nis/nis_call.c (__nisfind_server): Likewise.
37498         * nis/nis_creategroup.c (nis_creategroup): Likewise.
37499         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
37500         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
37501         * nis/nis_getservlist.c (nis_getservlist): Likewise.
37502         * nis/nis_lookup.c (nis_lookup): Likewise.
37503         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
37504         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
37505         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
37506         * nis/nis_xdr.c (xdr_endpoint): Likewise.
37507         * nis/nss_compat/compat-grp.c (getgrent_next_file)
37508         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
37509         * nis/nss_compat/compat-initgroups.c (add_group)
37510         (internal_getgrent_r): Likewise.
37511         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
37512         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
37513         * nis/nss_compat/compat-spwd.c (getspent_next_file)
37514         (internal_getspnam_r): Likewise.
37515         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
37516         (_nss_nis_getaliasbyname_r): Likewise.
37517         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
37518         (_nss_nis_getntohost_r): Likewise.
37519         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
37520         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
37521         (_nss_nis_getgrgid_r): Likewise.
37522         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
37523         (internal_nis_gethostent_r, internal_gethostbyname2_r)
37524         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
37525         (_nss_nis_gethostbyname4_r): Likewise.
37526         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
37527         (initgroups_netid): Likewise.
37528         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
37529         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
37530         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
37531         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
37532         (_nss_nis_getprotobynumber_r): Likewise.
37533         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
37534         (_nss_nis_getsecretkey): Likewise.
37535         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
37536         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
37537         (_nss_nis_getpwuid_r): Likewise.
37538         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
37539         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
37540         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
37541         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
37542         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
37543         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
37544         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
37545         Likewise.
37546         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
37547         (_nss_nisplus_getntohost_r): Likewise.
37548         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
37549         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
37550         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
37551         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
37552         Likewise.
37553         * nis/nss_nisplus/nisplus-initgroups.c
37554         (_nss_nisplus_initgroups_dyn): Likewise.
37555         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
37556         (_nss_nisplus_getnetbyaddr_r): Likewise.
37557         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
37558         (_nss_nisplus_getprotobynumber_r): Likewise.
37559         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
37560         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
37561         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
37562         Likewise.
37563         * nis/nss_nisplus/nisplus-service.c
37564         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
37565         (_nss_nisplus_getservbyport_r): Likewise.
37566         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
37567         (_nss_nisplus_getspnam_r): Likewise.
37568         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
37569         Likewise.
37570         * nscd/aicache.c (addhstaiX): Likewise.
37571         * nscd/cache.c (cache_search, prune_cache): Likewise.
37572         * nscd/connections.c (register_traced_file, send_ro_fd)
37573         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
37574         (main_loop_epoll): Likewise.
37575         * nscd/grpcache.c (addgrbyX): Likewise.
37576         * nscd/hstcache.c (addhstbyX): Likewise.
37577         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37578         * nscd/mem.c (gc, mempool_alloc): Likewise.
37579         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
37580         (addinnetgrX): Likewise.
37581         * nscd/nscd-client.h (__nscd_acquire_maplock)
37582         (__nscd_drop_map_ref): Likewise.
37583         * nscd/nscd_getai.c (__nscd_getai): Likewise.
37584         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
37585         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
37586         Likewise.
37587         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
37588         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
37589         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
37590         (__nscd_get_map_ref): Likewise.
37591         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
37592         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
37593         Likewise.
37594         * nscd/pwdcache.c (addpwbyX): Likewise.
37595         * nscd/selinux.c (preserve_capabilities): Likewise.
37596         * nscd/servicescache.c (addservbyX): Likewise.
37597         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
37598         * posix/fnmatch.c (fnmatch): Likewise.
37599         * posix/getopt.c (_getopt_internal_r): Likewise.
37600         * posix/glob.c (glob, glob_in_dir): Likewise.
37601         * posix/wordexp.c (exec_comm_child): Likewise.
37602         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
37603         (getanswer_r, gaih_getanswer_slice): Likewise.
37604         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
37605         * resolv/res_init.c: Likewise.
37606         * resolv/res_mkquery.c (res_nmkquery): Likewise.
37607         * resolv/res_query.c (__libc_res_nquery): Likewise.
37608         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
37609         Likewise.
37610         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
37611         * stdio-common/perror.c (perror): Likewise.
37612         * stdio-common/printf_fp.c (___printf_fp): Likewise.
37613         * stdio-common/tmpnam.c (tmpnam): Likewise.
37614         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
37615         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
37616         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
37617         Likewise.
37618         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
37619         * stdlib/putenv.c (putenv): Likewise.
37620         * stdlib/setenv.c (__add_to_environ): Likewise.
37621         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
37622         * stdlib/strtol_l.c (INTERNAL): Likewise.
37623         * string/memmem.c (memmem): Likewise.
37624         * string/strerror.c (strerror): Likewise.
37625         * string/strnlen.c (__strnlen): Likewise.
37626         * string/test-memmem.c (simple_memmem): Likewise.
37627         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
37628         * sunrpc/pm_getport.c (__get_socket): Likewise.
37629         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
37630         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
37631         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
37632         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
37633         Likewise.
37634         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
37635         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
37636         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
37637         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
37638         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
37639         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
37640         Likewise.
37641         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
37642         Likewise.
37643         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
37644         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
37645         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37646         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
37647         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
37648         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
37649         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
37650         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
37651         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
37652         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
37653         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37654         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
37655         Likewise.
37656         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
37657         Likewise.
37658         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
37659         Likewise.
37660         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
37661         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37662         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
37663         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
37664         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
37665         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
37666         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
37667         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
37668         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
37669         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
37670         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
37671         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37672         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
37673         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
37674         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37675         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
37676         Likewise.
37677         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
37678         Likewise.
37679         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
37680         Likewise.
37681         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
37682         Likewise.
37683         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37684         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37685         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
37686         Likewise.
37687         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
37688         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
37689         * sysdeps/posix/opendir.c (__opendirat): Likewise.
37690         * sysdeps/posix/sleep.c: Likewise.
37691         * sysdeps/posix/tempname.c: Likewise.
37692         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
37693         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
37694         Likewise.
37695         * sysdeps/powerpc/powerpc32/dl-machine.h
37696         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
37697         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
37698         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
37699         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
37700         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
37701         Likewise.
37702         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
37703         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
37704         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
37705         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
37706         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
37707         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
37708         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
37709         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
37710         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
37711         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
37712         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
37713         (elf_machine_lazy_rel): Likewise.
37714         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
37715         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
37716         (elf_machine_lazy_rel): Likewise.
37717         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
37718         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
37719         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
37720         * sysdeps/unix/grantpt.c (grantpt): Likewise.
37721         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
37722         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
37723         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
37724         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37725         Likewise.
37726         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
37727         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
37728         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
37729         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
37730         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
37731         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
37732         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
37733         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
37734         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
37735         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
37736         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
37737         Likewise.
37738         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
37739         (__posix_fallocate64_l64): Likewise.
37740         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
37741         (posix_fallocate): Likewise.
37742         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
37743         Likewise.
37744         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37745         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
37746         (getifaddrs_internal): Likewise.
37747         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
37748         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
37749         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
37750         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
37751         * sysdeps/unix/sysv/linux/posix_fallocate64.c
37752         (__posix_fallocate64_l64): Likewise.
37753         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
37754         Likewise.
37755         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
37756         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
37757         (__get_clockfreq): Likewise.
37758         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
37759         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
37760         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
37761         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37762         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37763         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
37764         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
37765         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
37766         Likewise.
37767         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
37768         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
37769         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
37770         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
37771         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37772         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
37773         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
37774         Likewise.
37775         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37776         (posix_fallocate): Likewise.
37777         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37778         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
37779         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
37780         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
37781         (elf_machine_rela, elf_machine_rela_relative)
37782         (elf_machine_lazy_rel): Likewise.
37783         * time/asctime.c (asctime_internal): Likewise.
37784         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
37785         * time/tzset.c (__tzset_parse_tz): Likewise.
37786         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
37787         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
37788         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
37789         * wcsmbs/wcsmbsload.h: Likewise.
37791         [BZ #15894]
37792         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
37794         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
37795         (arena_get2): Remove THREAD_STATS conditionals.
37796         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
37797         (__malloc_stats, int): Likewise.
37799 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
37801         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
37802         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
37804         * manual/setjmp.texi: Fix typos/grammar errors.
37806         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
37807         Only return early when n is <= 0.  Delete unused return statement.
37809         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
37810         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
37811         * debug/tst-longjmp_chk3.c: New file.
37813         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
37814         (test_main): Replace code with set_fortify_handler call.
37815         * debug/test-strcpy_chk.c: Likewise.
37816         * debug/tst-chk1.c: Likewise.
37817         * debug/tst-longjmp_chk.c: Likewise.
37818         * test-skeleton.c: Include fcntl.h & paths.h
37819         (set_fortify_handler): Define.
37821         * debug/tst-longjmp_chk.c: Add header comment and include
37822         ../test-skeleton.c.
37823         (do_test): Mark static.
37824         (TEST_FUNCTION): Define.
37826         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
37827         (IP_PMTUDISC_INTERFACE): Likewise.
37828         (IP_MULTICAST_IF): Likewise.
37829         (IP_MULTICAST_TTL): Likewise.
37830         (IP_MULTICAST_LOOP): Likewise.
37831         (IP_ADD_MEMBERSHIP): Likewise.
37832         (IP_DROP_MEMBERSHIP): Likewise.
37833         (IP_UNBLOCK_SOURCE): Likewise.
37834         (IP_BLOCK_SOURCE): Likewise.
37835         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
37836         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
37837         (IP_MSFILTER): Likewise.
37838         (MCAST_JOIN_GROUP): Likewise.
37839         (MCAST_BLOCK_SOURCE): Likewise.
37840         (MCAST_UNBLOCK_SOURCE): Likewise.
37841         (MCAST_LEAVE_GROUP): Likewise.
37842         (MCAST_JOIN_SOURCE_GROUP): Likewise.
37843         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
37844         (MCAST_MSFILTER): Likewise.
37845         (IP_MULTICAST_ALL): Likewise.
37846         (IP_UNICAST_IF): Likewise.
37848         * timezone/Makefile: Delete $(have-ksh) check.
37849         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
37850         * timezone/tzselect.ksh: Add +x mode bits.
37852         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
37853         (ANON_INODE_FS_MAGIC): Likewise.
37854         (BDEVFS_MAGIC): Likewise.
37855         (BINFMTFS_MAGIC): Likewise.
37856         (BTRFS_TEST_MAGIC): Likewise.
37857         (CRAMFS_MAGIC_WEND): Likewise.
37858         (DEBUGFS_MAGIC): Likewise.
37859         (ECRYPTFS_SUPER_MAGIC): Likewise.
37860         (EXT3_SUPER_MAGIC): Likewise.
37861         (EXT4_SUPER_MAGIC): Likewise.
37862         (FUTEXFS_SUPER_MAGIC): Likewise.
37863         (HOSTFS_SUPER_MAGIC): Likewise.
37864         (HUGETLBFS_MAGIC): Likewise.
37865         (MINIX3_SUPER_MAGIC): Likewise.
37866         (MTD_INODE_FS_MAGIC): Likewise.
37867         (NILFS_SUPER_MAGIC): Likewise.
37868         (OPENPROM_SUPER_MAGIC): Likewise.
37869         (PIPEFS_MAGIC): Likewise.
37870         (PSTOREFS_MAGIC): Likewise.
37871         (QNX6_SUPER_MAGIC): Likewise.
37872         (RAMFS_MAGIC): Likewise.
37873         (REISERFS_SUPER_MAGIC_STRING): Likewise.
37874         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
37875         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
37876         (SECURITYFS_MAGIC): Likewise.
37877         (SELINUX_MAGIC): Likewise.
37878         (SMACK_MAGIC): Likewise.
37879         (SOCKFS_MAGIC): Likewise.
37880         (SQUASHFS_MAGIC): Likewise.
37881         (STACK_END_MAGIC): Likewise.
37882         (TMPFS_MAGIC): Likewise.
37883         (USBDEVICE_SUPER_MAGIC): Likewise.
37884         (V9FS_MAGIC): Likewise.
37885         (XENFS_SUPER_MAGIC): Likewise.
37886         (CRAMFS_MAGIC): Fix typo in comment.
37887         (EXT2_SUPER_MAGIC): Update comment.
37888         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
37890 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
37892         * sysdeps/arm: Move directory from ports/sysdeps/arm.
37893         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
37894         * sysdeps/unix/sysv/linux/arm: Move directory from
37895         ports/sysdeps/unix/sysv/linux/arm.
37896         * README: Update listing for arm-*-linux-gnueabi.
37898         * README: Remove mention of am33.
37900 2014-02-07  Roland McGrath  <roland@hack.frob.com>
37902         * bits/sigset.h (__sigemptyset): Use a statement expression rather
37903         than the comma operator, to avoid "rhs of comma has no effect"
37904         compiler warnings.
37905         (__sigfillset, __sigandset, __sigorset): Likewise.
37906         * include/signal.h (__sigemptyset): Likewise.
37907         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
37909 2014-02-07  Allan McRae  <allan@archlinux.org>
37911         * version.h (RELEASE): Set to "development".
37912         (VERSION): Set to "2.19.90"
37913         * NEWS: Add 2.20 section.
37915 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
37917         [BZ #16529]
37918         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
37920 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
37922         * manual/contrib.texi: Update entry for Carlos O'Donell,
37923         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
37925 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
37927         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
37929         * sysdeps/unix/sysv/linux/kernel-features.h
37930         [__LINUX_KERNEL_VERSION >= 0x020621]
37931         (__ASSUME_PROC_PID_TASK_COMM): Define.
37933 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37935         [BZ #16398]
37936         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
37937         conversion when destination buffer does not have enough space.
37938         * libio/tst-ftell-partial-wide.c: New test case.
37939         * libio/Makefile (tests): Add tst-ftell-partial-wide.
37941         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
37942         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
37943         Leonard and Allan McRae.
37945 2014-02-04  David S. Miller  <davem@davemloft.net>
37947         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
37948         32-bit.
37950 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
37953         New file
37954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
37955         New file
37956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
37957         New file.
37958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
37959         New file.
37960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
37961         New file.
37962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
37963         New file.
37964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
37965         New file.
37966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
37967         New file.
37968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
37969         New file.
37970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
37971         New file.
37972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
37973         New file.
37974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
37975         New file.
37976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
37977         New file.
37979 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37981         * nptl/shlib-versions: Change powerpc*le start to 2.17.
37982         * shlib-versions: Likewise.
37984 2014-02-04  Roland McGrath  <roland@hack.frob.com>
37985             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37987         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
37988         (abilist-pattern): New variable, set to %-le.abilist.
37990         * Makerules (abilist-pattern): New variable.
37991         (vpath): Use $(abilist-pattern) in place of %.abilist.
37992         (check-abi-% pattern rule): Likewise.
37993         (check-abi, update-abi): Likewise.
37995 2014-02-04  Eric Wong  <normalperson@yhbt.net>
37997         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37999 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
38001         * manual/startup.texi: Add next, previous, and top entries for
38002         the `Program Arguments' and `Environment Variables' nodes.
38004 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
38006         * manual/macros.texi: Add comments before MTASC-safety macros.
38008         * manual/users.texi: Document MTASC-safety properties.
38010         * manual/threads.texi (pthread_key_create, pthread_key_delete)
38011         (pthread_getspecific, pthread_setspecific): Format with
38012         @deftypefun, and add @safety note.
38013         * manual/signal.texi: Move comments that analyze the above
38014         functions to their home place.
38016 2014-02-03  Allan McRae  <allan@archlinux.org>
38018         * po/sl.po: Update Slovenian translation from translation project.
38020 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
38022         * manual/time.texi (timegm): Add missing blank after @c.
38023         Reported by Joseph Myers <joseph@codesourcery.com>.
38025 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
38027         * manual/check-safety.sh: New.
38028         * manual/Makefile ($(objpfx)stamp-summary): Run it.
38030         * manual/terminal.texi: Document MTASC-safety properties.
38032         * manual/filesys.texi: Document MTASC-safety properties.
38034         * manual/errno.texi: Document MTASC-safety properties.
38036         * manual/intro.texi: Document safety identifiers and
38037         conditionals.
38039         * manual/string.texi (wcstok): Fix prototype.
38040         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
38042         * manual/time.texi: Document MTASC-safety properties.
38044         * manual/string.texi: Document MTASC-safety properties.
38046         * manual/threads.texi: Document MTASC-safety properties.
38048         * manual/stdio.texi: Document MTASC-safety properties.
38050         * manual/syslog.texi: Document MTASC-safety properties.
38052         * manual/sysinfo.texi: Document MTASC-safety properties.
38054         * manual/startup.texi: Document MTASC-safety properties.
38056         * manual/socket.texi: Document MTASC-safety properties.
38058         * manual/signal.texi: Document MTASC-safety properties.
38060 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
38062         * manual/setjmp.texi: Document MTASC-safety properties.
38064         * manual/search.texi: Document MTASC-safety properties.
38066         * manual/resource.texi: Document MTASC-safety properties.
38068         * manual/process.texi: Document MTASC-safety properties.
38070         * manual/platform.texi: Document MTASC-safety properties.
38072         * manual/pipe.texi: Document MTASC-safety properties.
38074         * manual/pattern.texi: Document MTASC-safety properties.
38076         * manual/message.texi: Document MTASC-safety properties.
38078         [BZ #12751]
38079         * manual/memory.texi: Document MTASC-safety properties.
38081         * manual/math.texi: Document MTASC-safety properties.
38083         * manual/locale.texi: Document MTASC-safety properties.
38085         * manual/llio.texi: Document MTASC-safety properties.
38087         * manual/libdl.texi: New.
38089         * manual/lang.texi: Document MTASC-safety properties.
38091         * manual/job.texi: Document MTASC-safety properties.
38093         * manual/getopt.texi: Document MTASC-safety properties.
38095         * manual/ctype.texi: Document MTASC-safety properties.
38097 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
38099         [BZ #16046]
38100         * csu/libc-tls.c (static_map): Remove variable.
38101         (__libc_setup_tls): Use main executable's link map for TLS data.
38102         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
38103         casing for LM_ID_BASE and GL(dl_nns).
38104         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
38105         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
38106         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
38107         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
38108         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
38109         member.
38110         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
38111         l_phnum members.
38113 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
38115         * manual/debug.texi: Document MTASC-safety properties.
38117 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
38119         [BZ #16510]
38120         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
38121         of __x86_64__ when disabling x87 inline functions.
38123 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
38125         * manual/charset.texi: Document MTASC-safety properties.
38127         * manual/crypt.texi: Document MTASC-safety properties.
38129         * manual/conf.texi: Document MTASC-safety properties.
38131         * manual/arith.texi: Document MTASC-safety properties.
38133         * manual/argp.texi: Document MTASC-safety properties.
38135         * manual/macros.texi: Introduce macros to document multi
38136         thread, asynchronous signal and asynchronous cancellation
38137         safety properties.
38138         * manual/intro.texi: Introduce the properties themselves.
38140 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38142         * sysdeps/sh/sh4/Makefile: New file.
38144 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
38146         * math/gen-libm-test.pl ($srcdir): New variable.
38147         ($auto_input): Use it.
38149 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38151         [BZ #16506]
38152         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
38153         access beyond array bounds when parsing netgroups file.
38155         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
38156         the old buffer before realloc.
38158 2014-01-27  Allan McRae  <allan@archlinux.org>
38160         * po/fr.po: Update French translation from translation project.
38162 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38164         * sysdeps/sh/libm-test-ulps: Regenerate.
38166 2014-01-24  David S. Miller  <davem@davemloft.net>
38168         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
38170 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38172         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
38173         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
38175 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38177         [BZ #16474]
38178         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
38179         string pointers after reallocation.
38181 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38183         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
38184         __SH4A__ instead of __SH_FPU_ANY__.
38186 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38188         * sysdeps/sh/fpu_control.h: New file.
38189         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
38190         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
38191         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
38192         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
38193         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
38194         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
38195         * sysdeps/sh/sys/ucontext.h: Remove.
38196         * sysdeps/sh/sys: Remove directory.
38198 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38200         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
38201         s390/sys/ucontext.h.
38202         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
38203         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
38205 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
38207         [BZ #15605]
38208         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
38210 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38212         [BZ#16431]
38213         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
38214         Adjust the vDSO correctly for internal calls.
38215         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
38217 2014-01-20  Allan McRae  <allan@archlinux.org>
38219         * po/ca.po: Update Catalan translation from translation project.
38221 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
38223         * sysdeps/s390/sotruss-lib.c: New file.
38225 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38227         [BZ#16430]
38228         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
38229         (__GI___gettimeofday): Alias for a different internal symbol to avoid
38230         local calls issues by not having a PLT stub required for IFUNC calls.
38231         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
38233 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
38235         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
38236         * math/test-fpucw-static.c: Likewise.
38238 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38240         [BZ #16453]
38241         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
38243 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38245         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
38246         implementation for powerpc.
38248 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
38250         [BZ #14782]
38251         * sysdeps/posix/system.c (__libc_system): Do not enable
38252         asynchronous cancellation.
38254 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38256         [BZ #16427]
38257         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
38258         handling only for numbers special also in the IEEE case.
38260 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38262         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38264 2014-01-11  Allan McRae  <allan@archlinux.org>
38266         * po/bg.po: Update Bulgarian translation from translation project.
38268         * po/de.po: Update German translation from translation project.
38270 2014-01-10  Roland McGrath  <roland@hack.frob.com>
38272         * sysdeps/generic/gcc-compat.h: New file.
38274 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38276         * benchtests/asin-inputs: Correct slow inputs.
38277         * benchtests/acos-inputs: Likewise.
38279 2014-01-10  Allan McRae  <allan@archlinux.org>
38281         * po:sv.po: Update Swedish translation from translation project.
38283         * po/vi.po: Update Vietnamese translation from translation project.
38285         * po/eo.po: Update Esperanto translation from translation project.
38287         * po/cs.po: Update Czech translation from translation project.
38289         * po/nl.po: Update Dutch translation from translation project.
38291         * po/pl.po: Update Polish translation from translation project.
38293         * po/ru.po: Update Russian translation from translation project.
38295         * po/uk.po: Update Ukrainian translation from translation project.
38297 2014-01-08  Brooks Moses  <bmoses@google.com>
38299         * elf/dl-load.c: Fix comment typo.
38301 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
38303         * po/header.pot: Rename to...
38304         * po/pot.header: ... this.
38305         * po/Makefile: Use pot.header.
38307 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
38308             Maxim Kuvyrkov  <maxim@kugelworks.com>
38310         [BZ #16394]
38311         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
38312         SRC and DEST against LEN.
38314 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38316         [BZ #16414]
38317         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
38318         implementation.
38319         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
38321 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38323         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38325 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
38327         [BZ #16408]
38328         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
38329         for large positive arguments.
38331 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
38333         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
38335         * math/auto-libm-test-in: Mark various tests with
38336         xfail-rounding:ldbl-128ibm.
38337         * math/auto-libm-test-out: Regenerated.
38339         [BZ #16407]
38340         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
38341         Increase overflow threshold.
38343 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
38345         [BZ #14286]
38346         * stdio-common/vfprintf.c: Check for integer overflow.
38348 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38350         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
38351         the first argument and return value of __tls_get_addr_internal.
38353 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38355         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
38356         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
38358 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38360         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
38361         * sysdeps/s390/rtld-global-offsets.sym: New file.
38362         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
38363         GLIBC_2.19 symbol.
38364         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
38365         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
38366         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
38367         ... this.
38368         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
38369         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
38370         ... this.
38371         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38372         Regenerate.
38373         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38374         Regenerate.
38375         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
38376         halfs of GPRs for high_gprs contexts.
38377         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
38378         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
38379         field.
38380         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
38381         uc_flags field.
38382         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
38383         64 bit versions:
38384         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
38385         for high GPRs (uc_high_gprs) and for future extensions
38386         (__reserved).
38387         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
38388         for future extensions (__reserved).
38389         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
38390         64 bit versions:
38391         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
38392         SC_HIGHGPRS offset definition.
38393         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
38394         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
38396         * Versions.def: Add GLIBC_2.19 for libpthread.
38397         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
38398         siglongjmp for libpthread with GLIBC_2.19 symver.
38399         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
38400         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
38401         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
38402         * sysdeps/s390/__longjmp.c: New file.
38403         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
38404         * sysdeps/s390/longjmp.c: New file.
38405         * sysdeps/s390/setjmp.S: New file.
38406         * sysdeps/s390/sigjmp.S: New file.
38407         * sysdeps/s390/v1-longjmp.c: New file.
38408         * sysdeps/s390/v1-setjmp.h: New file.
38409         * sysdeps/s390/v1-sigjmp.c: New file.
38410         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
38411         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
38412         GLIBC_2.19 version.
38413         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
38414         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
38415         versioned symbols for ____longjmp_chk.
38416         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
38417         Likewise.
38418         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38419         Regenerate.
38420         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38421         Regenerate.
38422         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38423         Regenerate.
38424         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38425         Regenerate.
38426         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
38427         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
38428         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
38429         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
38430         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
38431         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
38432         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
38433         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
38434         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
38435         * sysdeps/s390/rtld-__longjmp.c: New file.
38436         * sysdeps/s390/rtld-setjmp.S: New file.
38438 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
38440         [BZ #16400]
38441         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
38442         Return -__logl (x) for small positive arguments without evaluating
38443         a polynomial.
38445 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
38447         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
38448         Rename to ...
38449         (__ptrace_peeksiginfo_args): ... this.
38450         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38451         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38452         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38454 2014-01-06  Allan McRae  <allan@archlinux.org>
38456         * inet/netinet/in.h: Fix typo in comment.
38458 2014-01-05  Andreas Jaeger  <aj@suse.de>
38460         * sysdeps/i386/fpu/libm-test-ulps: Update.
38462 2014-01-05  Allan McRae  <allan@archlinux.org>
38464         * po/libc.pot: Regenerated.
38466         * malloc/memusagestat.c: Fix gettext call formatting.
38468 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
38470         * nscd/nscd.c: Improve usage() output.
38472 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
38474         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
38475         * sysdeps/unix/sysv/linux/configure: Regenerated.
38476         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
38477         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
38479 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
38481         [BZ #16390]
38482         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
38483         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
38485 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38487         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
38488         extra tokens at end of #undef directive.
38489         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
38490         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
38491         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
38493 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
38495         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
38497         * math/auto-libm-test-in: Mark various tests with
38498         xfail-rounding:ldbl-128ibm.
38499         * math/auto-libm-test-out: Regenerated.
38501 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
38503         [BZ #16386]
38504         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
38505         numbers with subnormal high part when calculating exponent.
38507         [BZ #16385]
38508         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
38509         fabs.
38511         [BZ #16384]
38512         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
38513         M_LN2l.
38514         (__ieee754_acoshl): Use __log1pl not __log1p.
38516 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
38518         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
38519         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
38520         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
38521         (grow_heap, heap_trim, _int_new_arena, get_free_list)
38522         (reused_arena, arena_get2): Convert to GNU style.
38523         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
38524         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
38525         (memalign_check, __malloc_set_state): Likewise.
38526         * malloc/mallocbug.c (main): Likewise.
38527         * malloc/malloc.c (__malloc_assert, malloc_init_state)
38528         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
38529         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
38530         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
38531         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
38532         (__posix_memalign, malloc_info): Likewise.
38533         * malloc/malloc.h: Likewise.
38534         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
38535         (mallochook, memalignhook, reallochook, mabort): Likewise.
38536         * malloc/mcheck.h: Likewise.
38537         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
38538         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
38539         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
38540         * malloc/morecore.c (__default_morecore): Likewise.
38541         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
38542         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
38543         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
38544         (print_and_abort): Likewise.
38545         * malloc/obstack.h: Likewise.
38546         * malloc/set-freeres.c (__libc_freeres): Likewise.
38547         * malloc/tst-mallocstate.c (main): Likewise.
38548         * malloc/tst-mtrace.c (main): Likewise.
38549         * malloc/tst-realloc.c (do_test): Likewise.
38551 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38553         [BZ #16366]
38554         * nscd/netgroupcache.c (do_notfound): New function.
38555         (addgetnetgrentX): Use it.
38557         [BZ # 16365]
38558         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
38559         NSS_STATUS_NOTFOUND.
38561 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
38563         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
38564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38566 2014-01-01  Allan McRae  <allan@archlinux.org>
38568         * scripts/update-copyrights: Update configure input file suffix.
38570         * NEWS: Update copyright year.
38571         * catgets/gencat.c: Likewise.
38572         * csu/version.c: Likewise.
38573         * debug/catchsegv.sh: Likewise.
38574         * debug/pcprofiledump.c: Likewise.
38575         * debug/xtrace.sh: Likewise.
38576         * elf/ldconfig.c: Likewise.
38577         * elf/ldd.bash.in: Likewise.
38578         * elf/pldd.c: Likewise.
38579         * elf/sotruss.ksh: Likewise.
38580         * elf/sprof.c: Likewise.
38581         * iconv/iconv_prog.c: Likewise.
38582         * iconv/iconvconfig.c: Likewise.
38583         * locale/programs/locale.c: Likewise.
38584         * locale/programs/localedef.c: Likewise.
38585         * login/programs/pt_chown.c: Likewise.
38586         * malloc/memusage.sh: Likewise.
38587         * malloc/memusagestat.c: Likewise.
38588         * malloc/mtrace.pl: Likewise.
38589         * manual/libc.texinfo: Likewise.
38590         * nscd/nscd.c: Likewise.
38591         * nss/getent.c: Likewise.
38592         * nss/makedb.c: Likewise.
38593         * posix/getconf.c: Likewise.
38594         * scripts/test-installation.pl: Likewise.
38596         * All files with FSF copyright notices: Update copyright dates
38597         using scripts/update-copyrights.
38598         * intl/plural.c: Regenerated.
38599         * locale/programs/charmap-kw.h: Likewise.
38600         * locale/programs/locfile-kw.h: Likewise.
38602 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
38604         * sysdeps/unix/sysv/linux/configure: Regenerated.
38605         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
38606         the linux/fanotify.h header.
38607         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
38608         HAVE_LINUX_FANOTIFY_H is defined.
38610 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38612         * benchtests/cos-inputs: New inputs.
38613         * benchtests/sin-inputs: Likewise.
38615         * benchtests/atan-inputs: New inputs. Fix name of multiple
38616         precision fallback inputs.
38618         * benchtests/atanh-inputs: New inputs.
38619         * benchtests/tanh-inputs: Likewise.
38621         * benchtests/acosh-inputs: New inputs.
38622         * benchtests/asinh-inputs: Likewise.
38624         * benchtests/cosh-inputs: New inputs.
38625         * benchtests/sinh-inputs: Likewise.
38627         * benchtests/acos-inputs: Add more inputs.
38628         * benchtests/asin-inputs: Likewise.
38630 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
38632         [BZ #16375]
38633         * manual/arith.texi: Fix spelling.
38634         * manual/charset.texi: Likewise.
38635         * manual/errno.texi: Likewise.
38636         * manual/filesys.texi: Likewise.
38637         * manual/lang.texi: Likewise.
38638         * manual/llio.texi: Likewise.
38639         * manual/locale.texi: Likewise.
38640         * manual/message.texi: Likewise.
38641         * manual/resource.texi: Likewise.
38642         * manual/search.texi: Likewise.
38643         * manual/setjmp.texi: Likewise.
38644         * manual/stdio.texi: Likewise.
38645         * manual/string.texi: Likewise.
38646         * manual/sysinfo.texi: Likewise.
38647         * manual/time.texi: Likewise.
38649 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
38651         * po/sl.po: New file.
38653 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
38655         * .gitignore: Add core/.gdbinit/.gdb_history.
38657 2013-12-27  Allan McRae  <allan@archlinux.org>
38659         [BZ #16369]
38660         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
38661         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
38663 2013-12-24  Brooks Moses  <bmoses@google.com>
38665         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
38666         all compilers that claim C++98 compliance, not just GCC.
38667         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
38668         Likewise.
38670 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
38672         * NEWS: Restore accidentally deleted bug-fix entries.
38674 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
38675             Ondřej Bílka  <neleai@seznam.cz>
38677         [BZ #15073]
38678         * malloc/malloc.c (_int_free): Perform sanity check only if we
38679         have_lock.
38681 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
38683         [BZ #12986]
38684         * manual/stdio.texi (String Input Conversions): Clarify that character
38685         classes are not supported.
38687 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38689         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38691 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
38693         [BZ #16337]
38694         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
38695         Calculate results for small negative arguments directly rather
38696         than using reflection formula with special underflow handling.
38698         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
38699         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
38700         sysdeps/unix/bsd/bsd4.4/syscalls.list.
38701         (fchflags): Likewise.
38702         (revoke): Likewise.
38703         (setlogin): Likewise.
38704         (sigaltstack): Likewise.
38705         (wait4): Likewise.
38706         (sigblock): Remove.
38707         (sigsetmask): Likewise.
38708         (wait3): Likewise.
38709         (waitpid): Likewise.
38710         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
38711         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
38712         file.
38713         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
38714         * sysdeps/unix/bsd/Makefile: ... here.
38715         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
38716         * sysdeps/unix/bsd/Versions: ... here.
38717         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
38718         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
38719         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
38720         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
38721         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
38722         * sysdeps/unix/bsd/sigblock.c: ... here.
38723         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
38724         * sysdeps/unix/bsd/sigsetmask.c: ... here.
38725         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
38726         * sysdeps/unix/bsd/sigvec.c: ... here.
38727         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
38728         * sysdeps/unix/bsd/tcdrain.c: ... here.
38729         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
38730         * sysdeps/unix/bsd/tcgetattr.c: ... here.
38731         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
38732         * sysdeps/unix/bsd/tcsetattr.c: ... here.
38733         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
38734         * sysdeps/unix/bsd/wait.c: ... here.
38735         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
38736         * sysdeps/unix/bsd/wait3.c: ... here.
38737         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
38738         * sysdeps/unix/bsd/waitpid.c: ... here.
38740 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
38742         [BZ #16356]
38743         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
38744         round-to-nearest for [!USE_AS_EXPM1L].
38745         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
38746         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
38747         more tests of exp and exp10.  Expect some exp10 tests to miss
38748         exceptions or fail in directed rounding modes.
38749         * math/auto-libm-test-out: Regenerated.
38750         * math/libm-test.inc (exp10_tonearest_test_data): New array.
38751         (exp10_test_tonearest): New function.
38752         (exp10_towardzero_test_data): New array.
38753         (exp10_test_towardzero): New function.
38754         (exp10_downward_test_data): New array.
38755         (exp10_test_downward): New function.
38756         (exp10_upward_test_data): New array.
38757         (exp10_test_upward): New function.
38758         (main): Call the new functions.
38759         * sysdeps/i386/fpu/libm-test-ulps: Update.
38760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38762 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
38764         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
38765         asinh, atan, atan2, atanh, cbrt, cos and cosh.
38766         * math/auto-libm-test-out: Regenerated.
38767         * math/libm-test.inc (acosh_test_data): Add more tests.
38768         (atanh_test_data): Likewise.
38769         (ceil_test_data): Likewise.
38770         (copysign_test_data): Likewise.
38771         * sysdeps/i386/fpu/libm-test-ulps: Update.
38772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38774         * timezone/checktab.awk: Update from tzcode 2013i.
38775         * timezone/private.h: Likewise.
38776         * timezone/scheck.c: Likewise.
38777         * timezone/tzfile.h: Likewise.
38778         * timezone/tzselect.ksh: Likewise.
38779         * timezone/zdump.c: Likewise.
38780         * timezone/zic.c: Likewise.
38782         * math/auto-libm-test-in: Add tests of cpow.
38783         * math/auto-libm-test-out: Regenerated.
38784         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
38785         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38786         mpc_cc_c.
38787         (func_calc_desc): Add mpc_cc_c union field.
38788         (test_functions): Add cpow.
38789         (special_fill_2pi): New function.
38790         (special_real_inputs): Add 2pi.
38791         (calc_generic_results): Handle mpc_cc_c.
38792         * sysdeps/i386/fpu/libm-test-ulps: Update.
38793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38795         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
38796         csqrt, ctan and ctanh.
38797         * math/auto-libm-test-out: Regenerated.
38798         * math/libm-test.inc (TEST_COND_x86_64): New macro.
38799         (TEST_COND_x86): Likewise.
38800         (ccos_test_data): Use AUTO_TESTS_c_c.
38801         (ccosh_test_data): Likewise.
38802         (cexp_test_data): Likewise.
38803         (clog_test_data): Likewise.
38804         (csqrt_test_data): Likewise.
38805         (ctan_test_data): Likewise.
38806         (ctan_tonearest_test_data): Likewise.
38807         (ctan_towardzero_test_data): Likewise.
38808         (ctan_downward_test_data): Likewise.
38809         (ctan_upward_test_data): Likewise.
38810         (ctanh_test_data): Likewise.
38811         (ctanh_tonearest_test_data): Likewise.
38812         (ctanh_towardzero_test_data): Likewise.
38813         (ctanh_downward_test_data): Likewise.
38814         (ctanh_upward_test_data): Likewise.
38815         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38816         mpc_c_c.
38817         (func_calc_desc): Add mpc_c_c union field.
38818         (FUNC_mpc_c_c): New macro.
38819         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
38820         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
38821         ctanh.
38822         (special_fill_min_subnorm_p120): New function.
38823         (special_real_inputs): Add min_subnorm_p120.
38824         (calc_generic_results): Handle mpc_c_c.
38825         * sysdeps/i386/fpu/libm-test-ulps: Update.
38826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38828 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38830         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
38831         (do_sin_slow): New functions.
38832         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
38833         (cslow2, csloww1, csloww2): Use the new functions.
38835         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
38836         Use M to change sign of result instead of X.  Assume X is
38837         positive.
38838         (csloww1): Likewise.
38839         (__sin): Adjust.
38840         (__cos): Adjust.
38842         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
38843         arguments A and DA.
38844         (__sin): Adjust.
38845         (__cos): Likewise.
38847         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
38848         (__cos): Likewise.
38849         (sloww1): Don't adjust sign of DX.
38850         (csloww1): Likewise.
38851         (sloww2): Use X directly and don't adjust sign of DX.
38852         (csloww2): Likewise.
38854 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
38856         * math/auto-libm-test-in: Add tests of cabs and carg.
38857         * math/auto-libm-test-out: Regenerated.
38858         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
38859         (carg_test_data): Likewise.
38860         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38861         mpc_c_f.
38862         (func_calc_desc): Add mpc_c_f union field.
38863         (test_functions): Add cabs and carg.
38864         (calc_generic_results): Handle mpc_c_f.
38866         * sysdeps/powerpc/powerpc32/libgcc-compat.S
38867         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
38868         as a macro and a compat symbol.
38869         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
38870         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
38871         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
38872         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
38873         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
38874         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
38875         not use .hidden.
38876         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
38877         Likewise.
38878         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
38879         Likewise.
38880         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
38881         Likewise.
38882         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
38883         Likewise.
38884         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
38885         Likewise.
38886         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
38887         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
38888         from GLIBC_2.3.2.
38890 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38892         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38894 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
38896         * manual/texinfo.tex: Update to version 2013-11-26.10 with
38897         trailing whitespace removed.
38898         * scripts/config.guess: Update to version 2013-11-29.
38899         * scripts/config.sub: Update to version 2013-10-01.
38901         * math/auto-libm-test-in: Add tests of sincos.
38902         * math/auto-libm-test-out: Regenerated.
38903         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
38904         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38905         mpfr_f_11.
38906         (func_calc_desc): Add mpfr_f_11 union field.
38907         (test_functions): Add sincos.
38908         (calc_generic_results): Handle mpfr_f_11.
38909         * sysdeps/i386/fpu/libm-test-ulps: Update.
38910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38912 2013-12-19  Andreas Schwab  <schwab@suse.de>
38914         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
38915         CALL_MCOUNT.
38916         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
38917         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
38918         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
38920 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
38922         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
38923         * sysdeps/i386/fpu/libm-test-ulps: Update.
38924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38926         [BZ #16293]
38927         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
38928         round-to-nearest mode when using frndint.
38929         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
38930         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
38931         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
38932         Likewise.
38933         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
38934         sinh test to fail.
38935         * math/auto-libm-test-out: Regenerated.
38936         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
38937         (TEST_COND_x86): Likewise.
38938         (expm1_tonearest_test_data): New array.
38939         (expm1_test_tonearest): New function.
38940         (expm1_towardzero_test_data): New array.
38941         (expm1_test_towardzero): New function.
38942         (expm1_downward_test_data): New array.
38943         (expm1_test_downward): New function.
38944         (expm1_upward_test_data): New array.
38945         (expm1_test_upward): New function.
38946         (main): Run the new test functions.
38947         * sysdeps/i386/fpu/libm-test-ulps: Update.
38948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38950         * include/features.h: Update comment documenting feature test
38951         macros.  Mention _DEFAULT_SOURCE in comment.
38952         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
38953         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
38954         _BSD_SOURCE and _SVID_SOURCE.
38955         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
38956         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
38957         !_SVID_SOURCE]: Likewise.
38958         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38959         (__USE_POSIX_IMPLICITLY): Define.
38960         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38961         (_POSIX_SOURCE): Undefine and redefine.
38962         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38963         (_POSIX_C_SOURCE): Likewise.
38964         * manual/creature.texi (_DEFAULT_SOURCE): Document.
38965         (Feature Test Macros): Update documentation of default features.
38967 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38969         * benchtests/Makefile: Add bench-strtok.
38970         * benchtests/bench-strtok.c: New file: strtok benchtest.
38972 2013-12-19  Allan McRae  <allan@archlinux.org>
38974         * manual/install.texi: Suppress menu for plain text output.
38975         * INSTALL: Regenerated.
38977 2013-12-18  Brooks Moses  <bmoses@google.com>
38979         [BZ #15846]
38980         * misc/getauxval.c: Include errno.h.
38981         (__getauxval): Set errno to ENOENT if the requested type is not
38982         found.
38983         * misc/sys/auxv.h (getauxval): Document that it may set errno;
38984         don't declare with __attribute_const__.
38985         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
38986         * manual/startup.texi: Document that getauxval sets errno.
38988 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
38990         * math/auto-libm-test-in: Add tests of jn and yn.
38991         * math/auto-libm-test-out: Regenerated.
38992         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
38993         (yn_test_data): Likewise.
38994         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38995         mpfr_if_f.
38996         (func_calc_desc): Add mpfr_if_f union field.
38997         (FUNC_mpfr_if_f): New macro.
38998         (test_functions): Add jn and yn.
38999         (calc_generic_results): Assert type of second input for
39000         mpfr_ff_f.  Handle mpfr_if_f.
39001         (output_for_one_input_case): Disable all checking for arguments
39002         fitting floating-point types in case of an integer argument.
39003         * sysdeps/i386/fpu/libm-test-ulps: Update.
39004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
39007         Don't expect fegetround reference in libm.so.
39009 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39011         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
39012         $(config-cflags-nofma).
39014 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
39016         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
39017         * math/auto-libm-test-out: Regenerated.
39019         [BZ #16338]
39020         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
39021         to determine exponent and adjust argument to have exponent of -1.
39022         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
39023         log2.
39024         * math/auto-libm-test-out: Regenerated.
39025         * sysdeps/i386/fpu/libm-test-ulps: Update.
39026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39028 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
39030         * manual/probes.texi: Remove cases when per-thread arenas are
39031         disabled.
39033 2013-12-18  Andreas Schwab  <schwab@suse.de>
39035         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
39036         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
39037         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
39038         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
39039         * sysdeps/i386/i686/multiarch/Makefile: Update.
39040         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
39042 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
39044         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
39045         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
39047 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
39049         [BZ #15968]
39050         Support TZ transition times < 00:00:00.
39051         This is needed for version-3 tz-format files; it supports time
39052         stamps past 2037 for America/Godthab (the only entry in the tz
39053         database for which this change is relevant).
39054         * manual/time.texi (TZ Variable): Document transition times
39055         from -167:59:59 through -00:00:01.
39056         * time/tzset.c (tz_rule): Time of day is now signed.
39057         (__tzset_parse_tz): Parse negative time of day.
39059         Document TZ transition times >= 25:00:00.
39060         * manual/time.texi (TZ Variable): Document transition times from
39061         25:00:00 through 167:59:59.  These are already supported, and this
39062         support will help with version-3 tz-format files.
39064         * manual/time.texi (TZ Variable): Modernize North America example
39065         to reflect current (i.e., 2007-and-later) daylight saving rules.
39067         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
39069 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
39071         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
39072         * sysdeps/unix/bsd/bits/stat.h: Likewise.
39073         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
39074         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
39075         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
39076         * sysdeps/unix/bsd/bsdstat.h: Likewise.
39077         * sysdeps/unix/bsd/clock.c: Likewise.
39078         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
39079         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
39080         * sysdeps/unix/bsd/init-posix.c: Likewise.
39081         * sysdeps/unix/bsd/poll.c: Likewise.
39082         * sysdeps/unix/bsd/ptsname.c: Likewise.
39083         * sysdeps/unix/bsd/seekdir.c: Likewise.
39084         * sysdeps/unix/bsd/setegid.c: Likewise.
39085         * sysdeps/unix/bsd/seteuid.c: Likewise.
39086         * sysdeps/unix/bsd/setgid.c: Likewise.
39087         * sysdeps/unix/bsd/setrgid.c: Likewise.
39088         * sysdeps/unix/bsd/setruid.c: Likewise.
39089         * sysdeps/unix/bsd/setsid.c: Likewise.
39090         * sysdeps/unix/bsd/setuid.c: Likewise.
39091         * sysdeps/unix/bsd/sigaction.c: Likewise.
39092         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
39093         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
39094         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
39095         * sysdeps/unix/bsd/telldir.c: Likewise.
39096         * sysdeps/unix/bsd/times.c: Likewise.
39097         * sysdeps/unix/bsd/usleep.c: Likewise.
39099         * misc/Makefile (install-lib): Remove libbsd-compat.a.
39100         ($(objpfx)libbsd-compat.a): Remove rule.
39102         * include/features.h (__FAVOR_BSD): Do not define.
39103         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
39104         features conflicting with POSIX.
39105         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
39106         (_BSD_SOURCE): Remove description of not being a subset of other
39107         feature test macros.
39108         * manual/job.texi (getpgrp): Do not document BSD version.
39109         (getpgid): Do not document by reference to BSD getpgrp.
39110         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
39111         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
39112         * signal/signal.h [__FAVOR_BSD]: Likewise.
39113         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
39114         instead of making contents conditional on [__FAVOR_BSD].
39115         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
39117 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39119         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39121 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
39123         [BZ #16314]
39124         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
39125         values below 2**-450, not 2**-500.
39126         * math/auto-libm-test-in: Don't allow spurious underflow from
39127         hypot.
39128         * math/auto-libm-test-out: Regenerated.
39130         [BZ #16316]
39131         [BZ #16330]
39132         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
39133         values of ha and hb and sort them after adjusting subnormal
39134         arguments.
39135         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
39136         Likewise.
39137         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
39138         values of ea and eb and sort them after adjusting subnormal
39139         arguments.
39140         * math/auto-libm-test-in: Do not expect some hypot tests of
39141         subnormals to fail.  Add more hypot tests.
39142         * math/auto-libm-test-out: Regenerated.
39144 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39146         [BZ #13304]
39147         * sysdeps/sh/s_fma.c: New file.
39148         * sysdeps/sh/s_fmaf.c: New file.
39149         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
39150         version.
39151         * sysdeps/sh/Implies: Add sh/soft-fp.
39153 2013-12-16  Roland McGrath  <roland@hack.frob.com>
39155         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
39156         level of indirection to members `objname', `errstring', `malloced'.
39157         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
39158         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
39159         it as the __longjmp argument (just pass 1 instead).
39160         (_dl_catch_error): Initialize C with argument pointers and address of
39161         volatile local ERRCODE rather than copying values out of C at return.
39163 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
39165         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
39166         * math/auto-libm-test-out: Regenerated.
39167         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
39168         (hypot_test_data): Likewise.
39169         (pow_test_data): Likewise.
39170         (pow_tonearest_test_data): Likewise.
39171         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39172         mpfr_ff_f.
39173         (func_calc_desc): Add mpfr_ff_f union field.
39174         (FUNC_mpfr_ff_f): New macro.
39175         (test_functions): Add atan2, hypot and pow.
39176         (special_fill_min): New function.
39177         (special_fill_minus_min): Likewise.
39178         (special_fill_min_subnorm): Likewise.
39179         (special_fill_minus_min_subnorm): Likewise.
39180         (special_real_inputs): Add min, -min, min_subnorm and
39181         -min_subnorm.
39182         (calc_generic_results): Handle mpfr_ff_f.
39183         * sysdeps/i386/fpu/libm-test-ulps: Update.
39184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39186 2013-12-16  Will Newton  <will.newton@linaro.org>
39188         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
39189         (Aligned Memory Blocks): Add documentation for aligned_alloc
39190         and suggest it as an alternative to posix_memalign.
39191         (Hooks for Malloc): Document __memalign_hook is also called
39192         for aligned_alloc.  (Summary of Malloc): Add summary for
39193         aligned alloc.  Document __memalign_hook is also called
39194         for aligned_alloc.
39196 2013-12-16  Will Newton  <will.newton@linaro.org>
39198         * manual/memory.texi (Malloc Examples): Clarify default
39199         alignment documentation.  Suggest posix_memalign rather
39200         than memalign or valloc.
39201         (Aligned Memory Blocks): Remove suggestion to use memalign
39202         or valloc.  Remove obsolete comment about BSD.
39203         Document memalign errno values and mark the function obsolete.
39204         Document posix_memalign returned error codes.  Mark valloc
39205         as obsolete.  (Hooks for Malloc): __memalign_hook is also
39206         called for posix_memalign and valloc.
39207         (Summary of Malloc): Add posix_memalign to function summary.
39208         __memalign_hook is also called for posix_memalign and valloc.
39210 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39212         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
39213         TAYLOR_SIN.
39214         (__sin): Adjust.
39215         (__cos): Likewise.
39216         (sloww): Use mynumber union.  Expand ternary operator into
39217         if-else statements.
39218         (cslow): use mynumber union.
39220 2013-12-16  Allan McRae  <allan@archlinux.org>
39222         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
39223         * configure: Regenerated.
39225         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
39227         [BZ #14120]
39228         * configure.ac: Added --enable-maintainer-mode. Check for
39229         autoconf when enabled.
39230         * configure: Regenerated.
39232         * nscd/nscd.service: New file.
39233         * nscd/nscd.tmpfiles: New file.
39235 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
39237         [BZ #12100]
39238         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
39239         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
39240         * sysdeps/x86_64/multiarch/strstr.c: ... here.
39241         (strstr): Add __strstr_sse2_unaligned ifunc.
39242         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
39243         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
39244         (strcasestr): Remove __strcasestr_sse42 ifunc.
39245         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
39246         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
39247         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
39249 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39251         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
39252         * sysdeps/sh/bits/fenv.h: ... here.
39253         * sysdeps/sh/sh4/fpu/bits: Remove directory.
39255 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39257         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
39259         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
39260         hypotf multiarch implementations.
39261         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
39262         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
39263         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
39264         multiarch hypot for PPC64.
39265         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
39266         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
39267         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
39268         multiarch hypotf for PPC64.
39270         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
39271         modff multiarch implementations.
39272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
39273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
39274         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
39275         multiarch modf for PPC64.
39276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
39277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
39278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
39279         multiarch modff for PPC64.
39281         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
39282         and logl multiarch implementations.
39283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
39284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
39285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
39286         multiarch logb for PPC64.
39287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
39288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
39289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
39290         multiarch logb for PPC64.
39291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
39292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
39293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
39294         multiarch logb for PPC64.
39296         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
39297         isinff multiarch implementation.
39298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
39299         file.
39300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
39301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
39302         multiarch isinf for PPC64.
39303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
39304         file.
39305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
39306         multiarch isinff for PPC64.
39308         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
39309         finitef multiarch implementation.
39310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
39311         file.
39312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
39313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
39314         multiarch finite for PPC64.
39315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
39316         file.
39317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
39318         multiarch finitef for PPC64.
39320         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
39321         lrint multiarch implementation.
39322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
39323         file.
39324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
39325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
39326         multiarch llrint for PPC64.
39327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
39328         multiarch lrint for PPC64.
39330         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
39331         copysignf multiarch implementation.
39332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
39333         file.
39334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
39335         file.
39336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
39337         multiarch copysign for PPC64.
39338         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
39339         multiarch copysignf for PPC64.
39341         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
39342         multiarch implementation.
39343         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
39344         file.
39345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
39346         file.
39347         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
39348         file.
39349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
39350         file.
39351         multiarch llround for PPC64.
39352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
39353         multiarch trunc for PPC64.
39354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
39355         multiarch truncf for PPC64.
39357         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
39358         multiarch implementation.
39359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
39360         file.
39361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
39362         file.
39363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
39364         file.
39365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
39366         file.
39367         multiarch llround for PPC64.
39368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
39369         multiarch round for PPC64.
39370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
39371         multiarch roundf for PPC64.
39373         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
39374         multiarch implementation.
39375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
39376         file.
39377         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
39378         file.
39379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
39380         file.
39381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
39382         file.
39383         multiarch llround for PPC64.
39384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
39385         multiarch floor for PPC64.
39386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
39387         multiarch floorf for PPC64.
39389         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
39390         multiarch implementation.
39391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
39392         file.
39393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
39394         file.
39395         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
39396         file.
39397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
39398         file.
39399         multiarch llround for PPC64.
39400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
39401         multiarch ceil for PPC64.
39402         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
39403         multiarch ceilf for PPC64.
39405         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
39406         multiarch implementation.
39407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
39408         file.
39409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
39410         file.
39411         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
39412         file.
39413         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
39414         multiarch llround for PPC64.
39415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
39416         multiarch lround for PPC64.
39418         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
39419         multiarch implementation.
39420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
39421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
39422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
39423         file.
39424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
39425         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
39426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
39427         multiarch isnan for PPC64.
39428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
39429         multiarch isnanf for PPC64.
39431         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
39432         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
39433         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
39434         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
39435         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
39436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
39438         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
39439         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39440         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39441         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39443         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
39444         multiarch implementations.
39445         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39446         (__libc_ifunc_impl_list): Likewise.
39447         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
39448         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
39449         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
39450         multiarch stpcpy for PPC64.
39452         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
39453         multiarch implementations.
39454         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39455         (__libc_ifunc_impl_list): Likewise.
39456         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
39457         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
39458         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
39459         multiarch strcpy for PPC64.
39461         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
39462         redefine function name.
39463         (_wordcopy_fwd_dest_aligned): Likewise.
39464         (_wordcopy_bwd_aligned): Likewise.
39465         (_wordcopy_bwd_dest_aligned): Likewise.
39466         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
39467         multiarch implementations.
39468         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39469         (__libc_ifunc_impl_list): Likewise.
39470         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
39471         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
39472         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
39473         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
39474         multiarch wcscpy for PPC64.
39476         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
39477         multiarch implementations.
39478         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39479         (__libc_ifunc_impl_list): Likewise.
39480         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
39481         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
39482         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
39483         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
39484         multiarch wcscpy for PPC64.
39486         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
39487         multiarch implementations.
39488         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39489         (__libc_ifunc_impl_list): Likewise.
39490         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
39491         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
39492         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
39493         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
39494         multiarch wcsrchr for PPC64.
39496         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
39497         multiarch implementations.
39498         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39499         (__libc_ifunc_impl_list): Likewise.
39500         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
39501         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
39502         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
39503         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
39504         multiarch wcschr for PPC64.
39506         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
39507         multiarch implementations.
39508         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39509         (__libc_ifunc_impl_list): Likewise.
39510         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
39511         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
39512         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
39513         multiarch strchrnul for PPC64.
39515         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
39516         implementations.
39517         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39518         (__libc_ifunc_impl_list): Likewise.
39519         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
39520         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
39521         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
39522         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
39523         strchr for PPC64.
39525         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
39526         implementations.
39527         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39528         (__libc_ifunc_impl_list): Likewise.
39529         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
39530         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
39531         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
39532         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
39533         strncmp for PPC64.
39535         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
39536         multiarch implementations.
39537         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39538         (__libc_ifunc_impl_list): Likewise.
39539         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
39540         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
39541         strncasecmp for PPC64.
39542         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
39543         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
39544         multiarch strncasecmp_l for PPC64.
39546         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
39547         multiarch implementations.
39548         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39549         (__libc_ifunc_impl_list): Likewise.
39550         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
39551         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
39552         multiarch strcasecmp for PPC64.
39553         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
39554         file.
39555         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
39556         multiarch strcasecmp_l for PPC64.
39558         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
39559         implementations.
39560         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39561         (__libc_ifunc_impl_list): Likewise.
39562         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
39563         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
39564         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
39565         strnlen for PPC64.
39567         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
39568         implementations.
39569         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39570         (__libc_ifunc_impl_list): Likewise.
39571         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
39572         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
39573         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
39574         strlen for PPC64.
39576         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
39577         implementations.
39578         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39579         (__libc_ifunc_impl_list): Likewise.
39580         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
39581         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
39582         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
39583         rawmemrchr for PPC64.
39585         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
39586         implementation.
39587         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39588         (__libc_ifunc_impl_list): Likewise.
39589         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
39590         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
39591         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
39592         memrchr for PPC64.
39594         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
39595         implementation.
39596         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39597         (__libc_ifunc_impl_list): Likewise.
39598         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
39599         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
39600         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
39601         memchr for PPC64.
39603         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
39604         implementation.
39605         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39606         (__libc_ifunc_impl_list): Likewise.
39607         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
39608         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
39609         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
39610         mempcpy for PPC64.
39612         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
39613         avoid cretion of __bzero symbol.
39614         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
39615         Likewise.
39616         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
39617         Likewise.
39618         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
39619         Likewise.
39620         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
39621         multiarch implementations.
39622         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39623         (__libc_ifunc_impl_list): Likewise.
39624         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
39625         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
39626         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
39627         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
39628         bzero for PPC32.
39629         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
39630         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
39631         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
39632         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
39633         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
39634         memset for PPC64.
39635         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
39637         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
39638         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
39639         implementations.
39640         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39641         (__libc_ifunc_impl_list): Likewise.
39642         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
39643         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
39644         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
39645         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
39646         memcmp for PPC64.
39648         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
39649         multiarch for POWER/PPC64.
39650         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
39651         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
39652         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
39653         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
39654         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
39655         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
39656         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
39657         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
39658         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
39659         memcpy for PPC64.
39661         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
39662         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
39663         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
39664         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
39665         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
39666         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
39667         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
39668         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
39669         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
39670         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
39671         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
39672         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
39673         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
39674         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
39675         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
39676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
39677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
39678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
39679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
39680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
39681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
39682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
39684 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39686         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
39688 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39690         * benchtests/Makefile (bench): Add exp2 and log2.
39691         (LDLIBS-bench-exp2): Add -lm.
39692         (LDLIBS-bench-log2): Likewise.
39693         * benchtests/exp2-inputs: New inputs file.
39694         * benchtests/log2-inputs: New inputs file.
39695         * benchtests/log-inputs: Add new inputs.
39696         * benchtests/tan-inputs: Likewise.
39698 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39700         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
39701         definition...
39702         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
39703         (csloww2): ... from here.
39705         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
39706         instead of structures.
39707         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
39708         (POLYNOMIAL): Likewise.
39709         (TAYLOR_SLOW): Likewise.
39710         (__sin): Likewise.
39711         (__cos): Likewise.
39712         (slow1): Likewise.
39713         (slow2): Likewise.
39714         (sloww): Likewise.
39715         (sloww1); Likewise.
39716         (sloww2): Likewise.
39717         (bsloww1): Likewise.
39718         (bsloww2): Likewise.
39719         (cslow2): Likewise.
39720         (csloww): Likewise.
39721         (csloww1): Likewise.
39722         (csloww2): Likewise.
39724 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
39726         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
39727         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
39728         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
39729         * malloc/hooks.c (realloc_check): Likewise.
39731         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
39732         * malloc/arena.c: Remove PER_THREAD conditional.
39733         [!PER_THREAD]: Remove code.
39734         (ptmalloc_unlock_all2): Likewise.
39735         (ptmalloc_init): Likewise.
39736         (_int_new_arena): Likewise.
39737         (arena_get2): Likewise.
39738         * malloc/hooks.c (__malloc_get_state): Likewise.
39739         (__malloc_set_state): Likewise.
39740         * malloc/malloc.c: Likewise.
39741         (struct malloc_state): Likewise.
39742         (struct malloc_par): Likewise.
39743         (__libc_realloc): Likewise.
39744         (__libc_mallopt): Likewise.
39746 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39748         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
39750 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
39752         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
39753         macro to a function.  Check for zero perturb_byte.
39754         (_int_malloc, _int_free): Remove zero perturb_byte checks.
39756         * malloc/malloc.c: (force_reg): Remove.
39757         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
39758         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
39759         force_reg by atomic_forced_read.
39760         * malloc/arena.c (ptmalloc_init): Likewise.
39761         * malloc/hooks.c (top_check): Likewise.
39763 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39765         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39767 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
39769         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39771 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
39773         * math/auto-libm-test-in: Add tests of lgamma.
39774         * math/auto-libm-test-out: Regenerated.
39775         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
39776         (M_LOG_2_SQRT_PIl): Likewise.
39777         (lgamma_test_data): Use AUTO_TESTS_f_f1.
39778         * math/gen-auto-libm-tests.c (func_calc_method): Add value
39779         mpfr_f_f1.
39780         (func_calc_desc): Add mpfr_f_f1 union field.
39781         (ARGS1): New macro.
39782         (ARGS2): Likewise.
39783         (ARGS3): Likewise.
39784         (ARGS4): Likewise.
39785         (RET1): Likewise.
39786         (RET2): Likewise.
39787         (CALC): Likewise.
39788         (FUNC): Likewise.
39789         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
39790         (test_functions): Add lgamma.
39791         (calc_generic_results): Handle mpfr_f_f1.
39792         * sysdeps/i386/fpu/libm-test-ulps: Update.
39793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39795 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39797         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
39798         __mpn_add_n for PowerPC64/POWER7.
39799         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
39800         __mpn_sub_n for PowerPC64/POWER7.
39802         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
39803         __mpn_addmul_1 for PowerPC64.
39804         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
39805         __mpn_submul_1 for PowerPC64.
39806         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
39807         for PowerPC64.
39808         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
39809         for PowerPC64.
39811 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
39813         [BZ #15089]
39814         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
39816 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39818         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
39820         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
39821         add multiarch folders.
39822         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
39823         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
39824         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
39825         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
39826         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
39827         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
39828         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
39829         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
39830         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
39831         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
39832         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
39833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
39834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
39835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
39836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
39837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
39838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
39840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
39841         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
39842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
39843         New file.
39844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
39845         New file.
39846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
39847         multiarch __ieee754_hypot for PowerPC32.
39848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
39849         New file.
39850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
39851         New file.
39852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
39853         multiarch __ieee754_hypotf for PowerPC32.
39855         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
39856         long_double_symbol only if __logbl is defined.
39857         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
39858         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
39859         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
39860         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
39861         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
39862         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
39863         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
39864         path for implementation.
39865         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
39866         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
39867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
39868         logb, and logbl multiarch implementations for PowerPC32.
39869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
39870         file.
39871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
39872         file.
39873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
39874         multiarch logb for PowerPC32.
39875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
39876         file.
39877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
39878         file.
39879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
39880         multiarch logbf for PowerPC32.
39881         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
39882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
39883         file.
39884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
39885         multiarch logbl implementation for PowerPC32.
39887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
39888         and modff multiarch implementations.
39889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
39890         New file.
39891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
39892         New file.
39893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
39894         multiarch modf for PowerPC32.
39895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
39896         New file.
39897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
39898         New file.
39899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
39900         multiarch modff for PowerPC32.
39902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
39903         and lrintf multiarch implementations.
39904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
39905         New file.
39906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
39907         New file.
39908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
39909         multiarch lrint for PowerPC32.
39910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
39911         file: multiarch lrintf for PowerPC32.
39913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
39914         and lroundf multiarch implementations.
39915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
39916         New file.
39917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
39918         New file.
39919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
39920         New file.
39921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
39922         multiarch lround for PowerPC32.
39923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
39924         file: multiarch lroundf for PowerPC32.
39926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
39927         copysign and copysignf multiarch implementations.
39928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
39929         New file.
39930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
39931         New file.
39932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
39933         file: multiarch copysign for PowerPC32.
39934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
39935         file: multiarch copysignf for PowerPC32.
39937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
39938         and truncf multiarch implementations.
39939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
39940         New file.
39941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
39942         file.
39943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
39944         multiarch trunc for PowerPC32.
39945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
39946         New file.
39947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
39948         New file.
39949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
39950         multiarch truncf for PowerPC32.
39952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
39953         and roundf multiarch implementations.
39954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
39955         New file.
39956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
39957         file.
39958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
39959         multiarch round for PowerPC32.
39960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
39961         New file.
39962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
39963         New file.
39964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
39965         multiarch roundf for PowerPC32.
39967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
39968         and floorf multiarch implementations.
39969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
39970         New file.
39971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
39972         file.
39973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
39974         multiarch floor for PowerPC32.
39975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
39976         New file.
39977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
39978         New file.
39979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
39980         multiarch floorf for PowerPC32.
39982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
39983         and ceilf multiarch implementations.
39984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
39985         New file.
39986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
39987         file.
39988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
39989         multiarch ceil for PowerPC32.
39990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
39991         New file.
39992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
39993         file.
39994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
39995         multiarch ceilf for PowerPC32.
39997         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
39998         is defined.
39999         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
40000         FINITEF is defined.
40001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
40002         and finitef multiarch implementations.
40003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
40004         New file.
40005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
40006         file.
40007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
40008         multiarch finite for PowerPC32.
40009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
40010         New file.
40011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
40012         file: multiarch finitef for PowerPC32.
40014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
40015         and isinff multiarch implementations.
40016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
40017         file.
40018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
40019         file.
40020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
40021         multiarch isinf for PowerPC32.
40022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
40023         New file.
40024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
40025         multiarch isinff for PowerPC32.
40027         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
40028         alias when __isnan is defined.
40029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
40030         and isnanf multiarch implementations.
40031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
40032         file.
40033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
40034         file.
40035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
40036         file.
40037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
40038         file.
40039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
40040         multiarch isnan for PowerPC32.
40041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
40042         New file.
40043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
40044         New file.
40045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
40046         multiarch isnanf for PowerPC32.
40048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
40049         and sqrtf multiarch implementations.
40050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
40051         file.
40052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
40053         file.
40054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
40055         multiarch sqrt for PowerPC32.
40056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
40057         file.
40058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
40059         file.
40060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
40061         multiarch sqrtf for PowerPC32.
40063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
40064         and llroundf multiarch implementations.
40065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
40066         New file.
40067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
40068         New file.
40069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
40070         New file.
40071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
40072         file: multiarch llround for PowerPC32.
40073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
40074         file: multiarch llroundf for PowerPC32.
40076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
40077         multiarch PowerPC32 fpu implementations.
40078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
40079         New file.
40080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
40081         New file.
40082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
40083         multiarch llrint for PowerPC32.
40084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
40085         New file.
40086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
40087         New file.
40088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
40089         file.
40091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
40093         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
40094         file.
40095         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
40096         file.
40097         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
40098         file.
40099         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
40100         multiarch wordcopy for PPC32.
40101         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
40102         wordcopy objects.
40103         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40104         (__libc_ifunc_impl_list): Likewise.
40105         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
40106         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
40107         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
40108         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
40109         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
40110         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
40112         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
40113         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
40114         file.
40115         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
40116         file.
40117         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
40118         file.
40119         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
40120         multiarch wcscpy for PPC32.
40121         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
40122         multiarch objects.
40123         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40124         (__libc_ifunc_impl_list): Likewise.
40125         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
40126         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
40127         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
40128         sysdeps/powerpc/power6/wcscpy.c.
40130         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
40131         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
40132         file.
40133         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
40134         file.
40135         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
40136         file.
40137         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
40138         multiarch wcsrchr for PPC32.
40139         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
40140         multiarch objects.
40141         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40142         (__libc_ifunc_impl_list): Likewise.
40143         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
40144         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
40145         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
40146         sysdeps/powerpc/power6/wcsrchr.c.
40148         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
40149         file.
40150         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
40151         file.
40152         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
40153         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
40154         multiarch wcschr for PPc32.
40155         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
40156         multiarch objects.
40157         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40158         (__libc_ifunc_impl_list): Likewise.
40159         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
40160         * sysdeps/powerpc/power6/wcschr.c: ... to here.
40161         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
40162         sysdeps/powerpc/power6/wcschr.c.
40164         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
40165         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
40166         file.
40167         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
40168         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
40169         file: multiarch strchr for PPC32.
40170         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
40171         multiarch objects.
40172         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40173         (__libc_ifunc_impl_list): Likewise.
40175         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
40176         name.
40177         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
40178         file.
40179         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
40180         file.
40181         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
40182         multiarch strchrnul for PPC32.
40183         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
40184         multiarch objects.
40185         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40186         (__libc_ifunc_impl_list): Likewise.
40188         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
40189         file.
40190         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
40191         multiarch strncasecmp for PPC32.
40192         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
40193         file.
40194         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
40195         multiarch strncasecmp_l for PPC32.
40196         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
40197         strncasecmp multiarch objects.
40198         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40199         (__libc_ifunc_impl_list): Likewise.
40201         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
40202         file.
40203         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
40204         multiarch strncasecmp for PPC32.
40205         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
40206         New file.
40207         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
40208         multiarch strcasecmp_l for PPC32.
40209         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
40210         multiarch objects.
40211         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40212         (__libc_ifunc_impl_list): Likewise.
40214         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
40215         file.
40216         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
40217         file.
40218         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
40219         multiarch strncmp for PPC32.
40220         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
40221         multiarch objects.
40222         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40223         (__libc_ifunc_impl_list): Likewise.
40225         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
40226         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
40227         file.
40228         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
40229         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
40230         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
40231         multiarch objects.
40232         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40233         (__libc_ifunc_impl_list): Likewise.
40235         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
40236         file.
40237         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
40238         file.
40239         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
40240         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
40241         multiarch objects.
40242         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40243         (__libc_ifunc_impl_list): Likewise.
40245         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
40246         file.
40247         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
40248         file.
40249         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
40250         multiarch rawmemchr for PPC32.
40251         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
40252         multiarch objects.
40253         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40254         (__libc_ifunc_impl_list): Likewise.
40256         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
40257         file.
40258         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
40259         file.
40260         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
40261         file: memrchr multiarch for PPC32.
40262         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
40263         multiarch objects.
40264         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
40265         (__libc_ifunc_impl_list): Likewise.
40267         * string/memchr.c (__memchr): Using macro to redefine symbol name.
40268         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
40269         file.
40270         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
40271         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
40272         multiarch memchr for PPC32.
40273         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
40274         multiarch objects.
40275         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40276         (__libc_ifunc_impl_list): Likewise.
40278         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
40279         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
40280         file.
40281         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
40282         file.
40283         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
40284         file: multiarch mempcpy for PPC32.
40285         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
40286         multiarch objects.
40287         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40288         (__libc_ifunc_impl_list): Likewise.
40290         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
40291         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
40292         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
40293         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
40294         multiarch bzero for PPC32.
40295         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
40296         file.
40297         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
40298         file.
40299         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
40300         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
40301         file: multiarch memset for PPC32.
40302         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
40303         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
40304         memset multiarch objects.
40305         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40306         (__libc_ifunc_impl_list): Likewise.
40308         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
40309         file.
40310         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
40311         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
40312         memcmp for PPC32.
40313         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
40314         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
40315         multiarch objects.
40316         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40317         (__libc_ifunc_impl_list): Likewise.
40319         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
40320         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
40321         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
40322         file.
40323         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
40324         file.
40325         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
40326         file.
40327         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
40328         multiarch memcpy for PPC32.
40329         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
40330         multiarch objects.
40331         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40332         (__libc_ifunc_impl_list): Likewise.
40334         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
40335         support multiarch for POWER/PPC32.
40336         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
40337         Likewise.
40338         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
40339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
40340         Implies file to make multiarch folder appers before the fpu and
40341         default folder for power4 configuration.
40343 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40345         * scripts/bench.pl: Append volatile keyword to type.
40347 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40349         * sysdeps/sh/sotruss-lib.c: New file.
40350         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
40352 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40354         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40356 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
40358         [BZ #6810]
40359         * math/w_tgamma.c: Include <errno.h>.
40360         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
40361         * math/w_tgammaf.c: Include <errno.h>.
40362         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
40363         * math/w_tgammal.c: Include <errno.h>.
40364         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
40365         * math/auto-libm-test-in: Do not allow missing errno on tgamma
40366         underflow.  Add more tgamma tests.
40367         * math/auto-libm-test-out: Regenerated.
40368         * sysdeps/i386/fpu/libm-test-ulps: Update.
40369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40371         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
40372         sin, sinh, tan, tanh, tgamma, y0 and y1.
40373         * math/auto-libm-test-out: Regenerated.
40374         * math/libm-test.inc (TEST_COND_x86_64): New macro.
40375         (TEST_COND_x86): Likewise.
40376         (M_E2l): Remove macro.
40377         (M_E3l): Likewise.
40378         (M_2_SQRT_PIl): Likewise.
40379         (M_SQRT_PIl): Likewise.
40380         (M_1_DIV_El): Likewise.
40381         (log_test_data): Use AUTO_TESTS_f_f.
40382         (log10_test_data): Likewise.
40383         (log1p_test_data): Likewise.
40384         (log2_test_data): Likewise.
40385         (sin_test_data): Likewise.
40386         (sin_tonearest_test_data): Likewise.
40387         (sin_towardzero_test_data): Likewise.
40388         (sin_downward_test_data): Likewise.
40389         (sin_upward_test_data): Likewise.
40390         (sinh_test_data): Likewise.
40391         (sinh_tonearest_test_data): Likewise.
40392         (sinh_towardzero_test_data): Likewise.
40393         (sinh_downward_test_data): Likewise.
40394         (sinh_upward_test_data): Likewise.
40395         (tan_test_data): Likewise.
40396         (tan_tonearest_test_data): Likewise.
40397         (tan_towardzero_test_data): Likewise.
40398         (tan_downward_test_data): Likewise.
40399         (tan_upward_test_data): Likewise.
40400         (tanh_test_data): Likewise.
40401         (tgamma_test_data): Likewise.
40402         (y0_test_data): Likewise.
40403         (y1_test_data): Likewise.
40404         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
40405         (special_real_inputs): Add pi/4.
40406         * sysdeps/i386/fpu/libm-test-ulps: Update.
40407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40409 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40411         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
40412         "longjmp_target" static probes.
40413         (__longjmp): Rename to __longjmp_symbol.
40414         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40415         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
40416         on which longjmp to generate.
40417         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
40418         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
40419         probe.
40420         (__sigsetjmp): Rename to __sigsetjmp_symbol.
40421         (__sigjmp_save): Rename to __sigjmp_save_symbol.
40422         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
40423         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
40424         and __sigjmp_save_symbol based on which sigsetjmp to generated.
40425         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
40426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
40427         __longjmp_symbol based on which __longjmp to generate.
40428         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
40429         probe.
40430         (setjmp): Rename to setjmp_symbol.
40431         (__sigsetjmp): Rename to __sigsetjmp_symbol.
40432         (_setjmp): Rename to _setjmp_symbol.
40433         (__sigsetjmp): Rename to __sigsetjmp_symbol.
40434         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
40435         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
40436         which setjmp to generate.
40437         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
40438         "longjmp_target" static probes.
40440 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40442         * benchtests/README: Add note about output arguments.
40443         * benchtests/bench-sincos.c: Remove file.
40444         * benchtests/sincos-inputs: New file.
40445         * scripts/bench.pl: Identify output arguments and define
40446         static variables for them.
40448         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
40450         [BZ #15941]
40451         * Makefile (INSTALL): Add install-plain.texi as the primary
40452         dependency.
40453         * manual/install-plain.texi: New file.
40454         * manual/install.texi: Include node directive only for
40455         non-plaintext output.
40457 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
40459         * stdlib/longlong.h: Update from GCC.
40461         [BZ #6807]
40462         [BZ #15901]
40463         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
40464         * math/w_j0f.c (y0f): Likewise.
40465         * math/w_j0l.c (__y0l): Likewise.
40466         * math/w_j1.c (y1): Likewise.
40467         * math/w_j1f.c (y1f): Likewise.
40468         * math/w_j1l.c (__y1l): Likewise.
40469         * math/w_jn.c (yn): Likewise.
40470         * math/w_jnf.c (ynf): Likewise.
40471         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
40472         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
40473         value for Bessel function domain errors outside _SVID_ mode.
40474         Adjust sign of return value for yn (negative integer, 0).
40475         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
40476         by zero in return for negative x and set sign appropriately for
40477         negative n.
40478         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
40479         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40480         * math/libm-test.inc (y0_test_data): Add more tests and adjust
40481         expectations in error cases.
40482         (y1_test_data): Likewise.
40483         (yn_test_data): Likewise.
40484         * sysdeps/i386/fpu/libm-test-ulps: Update.
40485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40487 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40489         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
40490         "64" to "64-v1".  Add "64-v2".
40491         (abi-64-options): Rename to ...
40492         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
40493         (abi-64-condition): Rename to ...
40494         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
40495         (abi-64-ld-soname): Rename to ...
40496         (abi-64-v1-ld-soname): ... this.
40497         (abi-64-v2-options): Define.
40498         (abi-64-v2-condition): Likewise.
40499         (abi-64-v2-ld-soname): Likewise.
40500         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
40501         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
40502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
40503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
40504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
40506 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40507             Alan Modra  <amodra@gmail.com>
40509         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
40510         New versions for use with the ELFv2 ABI.
40511         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
40512         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
40513         declaration.
40514         (struct La_ppc64v2_retval): Likewise.
40515         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
40516         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
40517         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
40518         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
40519         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
40520         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
40521         Do not save or restore CR.
40522         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
40523         (_dl_profile_resolve): Do no save or restore CR.  Support extended
40524         return values for ELFv2 ABI.  Fix location of FPR return registers.
40525         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
40526         updated values for _CALL_ELF == 2.
40527         (La_regs, La_retval, int_retval): Likewise.
40529 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40531         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
40532         (FRAME_MIN_SIZE_PARM): Likewise.
40533         (FRAME_BACKCHAIN): Likewise.
40534         (FRAME_CR_SAVE): Likewise.
40535         (FRAME_LR_SAVE): Likewise.
40536         (FRAME_TOC_SAVE): Likewise.
40537         (FRAME_PARM_SAVE): Likewise.
40538         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
40539         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
40540         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
40541         (call_mcount_parm_offset): New macro.
40542         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
40543         (PROF): Use symbolic stack frame offsets.
40544         (TAIL_CALL_SYSCALL_ERROR): Likewise.
40545         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
40546         Redefine in terms of FRAME_MIN_SIZE.
40547         (_dl_runtime_resolve): Use symbolic stack frame offsets.
40548         (_dl_profile_resolve): Likewise.  Update comment.
40549         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
40550         symbols stack frame offsets.
40551         (__sigsetjmp): Likewise.
40552         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
40553         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
40554         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
40555         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
40557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
40558         (FRAME_BACKCHAIN): Remove.
40559         (FRAME_CR_SAVE): Likewise.
40560         (FRAME_LR_SAVE): Likewise.
40561         (FRAME_COMPILER_DW): Likewise.
40562         (FRAME_LINKER_DW): Likewise.
40563         (FRAME_TOC_SAVE): Likewise.
40564         (FRAME_PARM_SAVE): Likewise.
40565         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
40566         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
40567         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
40568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
40569         (CHECK_SP): Use symbolic stack frame offsets.
40570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
40571         zone" instead of caller's parameter save area for temp storage.
40572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
40573         Likewise.  Also, use symbolic stack frame offsets.
40574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
40575         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
40576         our own stack frame instead of the caller's.
40577         (__socket): Use symbolic stack frame offsets.
40579 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40580             Alan Modra  <amodra@gmail.com>
40582         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
40583         Define.
40584         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
40585         (PPC64_LOCAL_ENTRY_OFFSET): Define.
40586         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
40587         New function.
40588         (elf_machine_fixup_plt): Call it.
40589         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
40590         reloc arguments.
40591         (elf_machine_rela): Update call to elf_machine_plt_conflict.
40592         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
40593         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
40594         r2 before calling target.
40596 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40597             Alan Modra  <amodra@gmail.com>
40599         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
40600         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
40601         versions of macros to support ELFv2 ABI.
40602         (LOCALENTRY): New macro.
40603         (ENTRY, EALIGN): Use it.
40604         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
40605         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
40606         fall through into ENTRY entry point.
40607         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
40608         Only define if _CALL_ELF != 2.
40610         (elf_machine_matches_host): Verify ABI version matches.
40611         (RTLD_START): Use LOCALENTRY.
40612         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
40613         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
40614         (PLT_ENTRY_WORDS): New macro.
40615         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
40616         (elf_machine_runtime_setup): Support ELFv2 ABI.
40617         (elf_machine_fixup_plt): Likewise.
40618         (elf_machine_plt_conflict): Likewise.
40619         (resolve_ifunc): Likewise.
40620         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
40621         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
40622         Likewise.
40623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
40624         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
40625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40626         (makecontext): Support ELFv2 ABI.
40627         * elf/elf.h (EF_PPC64_ABI): Define.
40629 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40631         * sysdeps/powerpc/powerpc64/sysdep.h
40632         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
40633         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
40634         (ENTRY) [ASSEMBLER]: ... but instead here ...
40635         (EALIGN) [ASSEMBLER]: ... and here.
40636         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
40637         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
40638         (ENTRY_2) [!ASSEMBLER]: Use it.
40639         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
40640         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
40641         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
40642         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
40643         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
40644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
40645         Use PPC64_LOAD_FUNCPTR.
40647         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
40649 2013-12-04  Alan Modra  <amodra@gmail.com>
40651         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
40652         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
40653         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
40654         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
40656         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
40657         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
40658         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
40659         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
40660         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
40661         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
40663 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
40665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40666         (__makecontext): Fix incorrect CFI when backtracing out of
40667         context created via makecontext.
40668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
40669         (__setcontext): Fix incorrect CFI during switch to new context.
40670         (__novec_setcontext): Likewise.
40672 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
40674         [BZ #4772]
40675         * time/strptime_l.c (__strptime_internal): Allow modifiers
40676         in strptime.
40677         * time/tst-strptime.c (day_tests): Add testcase.
40679 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40681         * scripts/bench.pl: Skip over blank lines.
40683 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
40685         [BZ #926]
40686         * manual/time.texi (Calendar Time): Clarify what timezone functions
40687         use.
40689 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40691         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40693 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
40695         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
40696         implementation.
40697         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
40698         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
40699         * debug/memset_chk.c (__memset_chk): Likewise.
40700         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
40701         * debug/strncpy_chk.c: Likewise.
40703 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
40705         [BZ #15268]
40706         [BZ #15425]
40707         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
40708         (__ieee754_exp): For possibly underflowing results, check size of
40709         result and force underflow exception if required.
40710         * math/auto-libm-test-in: Add more tests of exp.
40711         * math/auto-libm-test-out: Regenerated.
40712         * sysdeps/i386/fpu/libm-test-ulps: Update.
40713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40715         [BZ #16283]
40716         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
40717         * math/w_exp2f.c (__exp2f): Likewise.
40718         * math/w_exp2l.c (__exp2l): Likewise.
40719         * math/auto-libm-test-in: Do not allow missing errno on exp2
40720         underflow.
40721         * math/auto-libm-test-out: Regenerated.
40723 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
40725         [BZ #16274]
40726         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
40727         handle filename validation.
40728         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
40729         (do_open): Delete.
40731 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
40733         [BZ #6786]
40734         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
40735         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
40736         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
40737         <float.h>.
40738         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
40739         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
40740         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
40741         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
40742         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
40743         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
40744         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
40745         * math/auto-libm-test-in: Don't allow missing errno from erfc.
40746         Add more erfc tests.
40747         * math/auto-libm-test-out: Regenerated.
40748         * sysdeps/i386/fpu/libm-test-ulps: Update.
40749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40751         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
40752         exp2, expm1, j0 and j1.
40753         * math/auto-libm-test-out: Regenerated.
40754         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
40755         (erfc_test_data): Likewise.
40756         (exp_test_data): Likewise.
40757         (exp_tonearest_test_data): Likewise.
40758         (exp_towardzero_test_data): Likewise.
40759         (exp_downward_test_data): Likewise.
40760         (exp_upward_test_data): Likewise.
40761         (exp10_test_data): Likewise.
40762         (exp2_test_data): Likewise.
40763         (expm1_test_data): Likewise.
40764         (j0_test_data): Likewise.
40765         (j1_test_data): Likewise.
40766         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
40767         (input_flag_type): Add flag_xfail_rounding.
40768         (input_flags): Add xfail-rounding.
40769         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
40770         (output_for_one_input_case): Handle flag_xfail_rounding.
40771         * sysdeps/i386/fpu/libm-test-ulps: Update.
40772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40774 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
40776         [BZ #16289]
40777         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
40778         division by 0.
40780 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
40782         [BZ #16195]
40783         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
40784         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
40785         (STAP_PROBE0): New macro.
40786         (STAP_PROBE1): Likewise.
40787         (STAP_PROBE2): Likewise.
40788         (STAP_PROBE3): Likewise.
40789         (STAP_PROBE4): Likewise.
40791 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
40793         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
40795 2013-12-02  Steve Ellcey  <sellcey@mips.com>
40797         * benchtests/Makefile (bench): Add sqrt.
40798         (LDLIBS-bench-sqrt): New.
40799         * benchtests/sqrt-input: New.
40801 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
40803         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
40804         (GAIH_EAI): Likewise.
40805         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
40806         (gaih_inet): Likewise.
40807         (getaddrinfo): Don't use GAIH_EAI.
40809         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
40810         (struct gaih): Remove definition.
40812 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40814         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
40815         Use HERRNOP directly.
40817 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40819         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40821 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
40823         * math/gen-auto-libm-tests.c (test_functions): Add more
40824         single-argument functions.
40825         (special_fill_pi_2): New function.
40826         (special_fill_minus_pi_2): Likewise.
40827         (special_fill_pi_6): Likewise.
40828         (special_fill_minus_pi_6): Likewise.
40829         (special_fill_pi_3): Likewise.
40830         (special_fill_2pi_3): Likewise.
40831         (special_fill_e): Likewise.
40832         (special_fill_1_e): Likewise.
40833         (special_fill_e_minus_1): Likewise.
40834         (special_real_inputs): Add more special inputs.
40835         (output_for_one_input_case): Do not require ERANGE on underflow to
40836         zero if round-to-nearest result does not underflow to zero, unless
40837         exact results required.
40838         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
40839         atan, atanh, cbrt, cos and cosh.
40840         * math/auto-libm-test-out: Regenerated.
40841         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
40842         (acos_tonearest_test_data): Likewise.
40843         (acos_towardzero_test_data): Likewise.
40844         (acos_downward_test_data): Likewise.
40845         (acos_upward_test_data): Likewise.
40846         (acosh_test_data): Likewise.
40847         (asin_test_data): Likewise.
40848         (asin_tonearest_test_data): Likewise.
40849         (asin_towardzero_test_data): Likewise.
40850         (asin_upward_test_data): Likewise.
40851         (asinh_test_data): Likewise.
40852         (atan_test_data): Likewise.
40853         (atanh_test_data): Likewise.
40854         (cbrt_test_data): Likewise.
40855         (cos_test_data): Likewise.
40856         (cos_tonearest_test_data): Likewise.
40857         (cos_towardzero_test_data): Likewise.
40858         (cos_downward_test_data): Likewise.
40859         (cos_upward_test_data): Likewise.
40860         (cosh_test_data): Likewise.
40861         (cosh_tonearest_test_data): Likewise.
40862         (cosh_towardzero_test_data): Likewise.
40863         (cosh_downward_test_data): Likewise.
40864         (cosh_upward_test_data): Likewise.
40865         * sysdeps/i386/fpu/libm-test-ulps: Update.
40866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40868 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
40870         [BZ #6787]
40871         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
40872         * math/w_exp10f.c (__exp10f): Likewise.
40873         * math/w_exp10l.c (__exp10l): Likewise.
40874         * math/libm-test.inc (exp10_test_data): Add more tests and expect
40875         errno settings in existing tests.
40877         [BZ #14032]
40878         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
40879         precision control set to double precision.
40880         * sysdeps/i386/fpu/w_sqrt.c: New file.
40881         * math/auto-libm-test-in: Add more tests.
40882         * math/auto-libm-test-out: Update.
40884         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
40885         (sqrt_test_tonearest): New function.
40886         (sqrt_towardzero_test_data): New variable.
40887         (sqrt_test_towardzero): New function.
40888         (sqrt_downward_test_data): New variable.
40889         (sqrt_test_downward): New function.
40890         (sqrt_upward_test_data): New variable.
40891         (sqrt_test_upward): New function.
40892         (main): Call the new functions.
40894         * math/gen-auto-libm-tests.c: New file.
40895         * math/auto-libm-test-in: Likewise.
40896         * math/auto-libm-test-out: New generated file.
40897         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
40898         variables.
40899         (%beautify): Add generated representations of zero.
40900         (top level): Set $auto_input and call parse_auto_input.
40901         (beautify): Remove trailing "f" from hex float constants.
40902         (parse_args): Handle XFAIL_TEST.
40903         (convert_condition): New function.
40904         (or_value): Likewise.
40905         (or_cond_value): Likewise.
40906         (generate_testfile): Handle AUTO_TESTS_* lines.
40907         (parse_auto_input): New function.
40908         * math/libm-test.inc (XFAIL_TEST): New macro.
40909         (ERRNO_UNCHANGED): Update value.
40910         (ERRNO_EDOM): Likewise.
40911         (ERRNO_ERANGE): Likewise.
40912         (IGNORE_RESULT): Likewise.
40913         (TEST_COND_flt_32): New macro.
40914         (TEST_COND_dbl_64): Likewise.
40915         (TEST_COND_ldbl_96_intel): Likewise.
40916         (TEST_COND_ldbl_96_m68k): Likewise.
40917         (TEST_COND_ldbl_128): Likewise.
40918         (TEST_COND_ldbl_128ibm): Likewise.
40919         (TEST_COND_long32): Likewise.
40920         (TEST_COND_long64): Likewise.
40921         (TEST_COND_before_rounding): Likewise.
40922         (TEST_COND_after_rounding): Likewise.
40923         (enable_test): Handle XFAIL_TEST flag.
40924         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
40925         with finite results.
40926         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
40927         auto-libm-test-out.
40929 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40930             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40932         [BZ #16214]
40933         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
40934         __tls_get_addr_internal instead of __tls_get_offset in order to
40935         avoid GOT pointer dependency.  Make rtld export
40936         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
40937         __tls_get_addr since we are a __tls_get_offset platform.
40938         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
40939         GOT pointer being set up before.
40940         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
40942 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
40944         * manual/math.texi (Errors in Math Functions): Document accuracy
40945         goals.
40947         [BZ #15004]
40948         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
40949         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
40950         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40951         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40952         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40953         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40954         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40955         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40956         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40957         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40958         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40959         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40960         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40961         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40962         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40963         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40965         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
40966         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
40967         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
40968         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
40969         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
40970         Likewise.
40971         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
40972         Likewise.
40973         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
40974         Likewise.
40975         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
40976         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
40977         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
40978         atomic-feupdateenv and flt-rounds.
40979         * sysdeps/powerpc/nofpu/Versions (libc): Add
40980         __atomic_feholdexcept, __atomic_feclearexcept,
40981         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
40982         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
40983         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
40984         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
40985         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
40986         here.
40987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
40988         Update.
40990         * manual/arith.texi (FP Exceptions): Document that exceptions may
40991         not be raised when matherr is used.
40992         (Math Error Reporting): Document overflow in directed rounding
40993         modes.  Document that errno may not be set when finite values are
40994         returned on overflow.  Document intent to set errno on underflow
40995         only for underflow to zero.
40997         [BZ #16271]
40998         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
40999         round-to-nearest then adjust result for other rounding modes.
41000         * include/fenv.h (fegetround): Use libm_hidden_proto.
41001         * math/fegetround.c (fegetround): Use libm_hidden_def.
41002         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
41003         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
41004         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
41005         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
41006         Likewise.
41007         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
41008         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41009         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
41010         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
41012 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41014         [BZ #16077]
41015         * nss/Versions (libnss_files): Add
41016         _nss_files_gethostbyname3_r.
41017         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
41018         New function.
41019         (HOST_DB_LOOKUP): Remove macro.
41020         (_nss_files_gethostbyname_r): Implement function without the
41021         HOST_DB_LOOKUP macro.
41022         (_nss_files_gethostbyname2_r): Likewise.
41024 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
41026         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
41028 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
41030         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
41031         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
41032         warning.
41034 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41036         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
41037         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
41038         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
41039         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41040         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
41041         __fe_nomask_env_priv and attribute_hidden.
41042         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
41043         (libc_feupdateenv_test_ppc): Likewise.
41044         (libc_feresetround_ppc): Likewise.
41045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41046         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
41047         compat_symbol macro.
41048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41049         (__fe_nomask_env): Likewise.
41050         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
41052 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41054         * string/Makefile: Remove ifunc tests.
41055         * string/test-string.h: Define TEST_IFUNC.
41056         * string/test-bcopy-ifunc.c: Remove.
41057         * string/test-bzero-ifunc.c: Likewise.
41058         * string/test-memccpy-ifunc.c: Likewise.
41059         * string/test-memchr-ifunc.c: Likewise.
41060         * string/test-memcmp-ifunc.c: Likewise.
41061         * string/test-memcpy-ifunc.c: Likewise.
41062         * string/test-memmem-ifunc.c: Likewise.
41063         * string/test-memmove-ifunc.c: Likewise.
41064         * string/test-mempcpy-ifunc.c: Likewise.
41065         * string/test-memrchr-ifunc.c: Likewise.
41066         * string/test-memset-ifunc.c: Likewise.
41067         * string/test-rawmemchr-ifunc.c: Likewise.
41068         * string/test-stpcpy-ifunc.c: Likewise.
41069         * string/test-stpncpy-ifunc.c: Likewise.
41070         * string/test-strcasecmp-ifunc.c: Likewise.
41071         * string/test-strcasestr-ifunc.c: Likewise.
41072         * string/test-strcat-ifunc.c: Likewise.
41073         * string/test-strchr-ifunc.c: Likewise.
41074         * string/test-strchrnul-ifunc.c: Likewise.
41075         * string/test-strcmp-ifunc.c: Likewise.
41076         * string/test-strcpy-ifunc.c: Likewise.
41077         * string/test-strcspn-ifunc.c: Likewise.
41078         * string/test-strlen-ifunc.c: Likewise.
41079         * string/test-strncasecmp-ifunc.c: Likewise.
41080         * string/test-strncat-ifunc.c: Likewise.
41081         * string/test-strncmp-ifunc.c: Likewise.
41082         * string/test-strncpy-ifunc.c: Likewise.
41083         * string/test-strnlen-ifunc.c: Likewise.
41084         * string/test-strpbrk-ifunc.c: Likewise.
41085         * string/test-strrchr-ifunc.c: Likewise.
41086         * string/test-strspn-ifunc.c: Likewise.
41087         * string/test-strstr-ifunc.c: Likewise.
41089 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41091         * benchtests/Makefile: Remove ifunc tests.
41092         * benchtests/bench-string.h: Define TEST_IFUNC.
41093         * benchtests/bench-bcopy-ifunc.c: Remove.
41094         * benchtests/bench-bzero-ifunc.c: Likewise.
41095         * benchtests/bench-memccpy-ifunc.c: Likewise.
41096         * benchtests/bench-memchr-ifunc.c: Likewise.
41097         * benchtests/bench-memcmp-ifunc.c: Likewise.
41098         * benchtests/bench-memcpy-ifunc.c: Likewise.
41099         * benchtests/bench-memmem-ifunc.c: Likewise.
41100         * benchtests/bench-memmove-ifunc.c: Likewise.
41101         * benchtests/bench-mempcpy-ifunc.c: Likewise.
41102         * benchtests/bench-memrchr-ifunc.c: Likewise.
41103         * benchtests/bench-memset-ifunc.c: Likewise.
41104         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
41105         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
41106         * benchtests/bench-stpcpy-ifunc.c: Likewise.
41107         * benchtests/bench-stpncpy-ifunc.c: Likewise.
41108         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
41109         * benchtests/bench-strcasestr-ifunc.c: Likewise.
41110         * benchtests/bench-strcat-ifunc.c: Likewise.
41111         * benchtests/bench-strchr-ifunc.c: Likewise.
41112         * benchtests/bench-strchrnul-ifunc.c: Likewise.
41113         * benchtests/bench-strcmp-ifunc.c: Likewise.
41114         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
41115         * benchtests/bench-strcpy-ifunc.c: Likewise.
41116         * benchtests/bench-strcspn-ifunc.c: Likewise.
41117         * benchtests/bench-strlen-ifunc.c: Likewise.
41118         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
41119         * benchtests/bench-strncat-ifunc.c: Likewise.
41120         * benchtests/bench-strncmp-ifunc.c: Likewise.
41121         * benchtests/bench-strncpy-ifunc.c: Likewise.
41122         * benchtests/bench-strnlen-ifunc.c: Likewise.
41123         * benchtests/bench-strpbrk-ifunc.c: Likewise.
41124         * benchtests/bench-strrchr-ifunc.c: Likewise.
41125         * benchtests/bench-strsep-ifunc.c: Likewise.
41126         * benchtests/bench-strspn-ifunc.c: Likewise.
41127         * benchtests/bench-strstr-ifunc.c: Likewise.
41129 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41131         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
41133 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
41135         * resolv/netdb.h: Use __glibc_reserved instead __unused.
41136         * rt/aio.h: Likewise.
41137         * sysdeps/gnu/bits/utmp.h: Likewise.
41138         * sysdeps/gnu/bits/utmpx.h: Likewise.
41139         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
41140         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
41141         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
41142         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
41143         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
41144         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
41145         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
41146         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
41147         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
41148         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
41149         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
41150         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
41151         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
41152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
41153         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
41154         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
41155         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
41156         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
41157         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
41158         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
41159         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
41160         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
41161         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
41162         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41163         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
41164         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41165         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
41166         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
41167         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
41168         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
41169         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
41170         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
41171         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
41172         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
41173         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
41174         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
41175         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
41176         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
41177         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
41178         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
41179         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
41180         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
41182 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
41184         [BZ #16245]
41185         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
41186         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
41188 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
41190         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
41191         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
41192         Likewise.
41194 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41196         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
41197         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
41198         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
41199         (__fesetround): Remove define.
41200         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
41201         rounding and exceptions handling.
41202         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
41203         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
41204         (__fe_nomask_env): Likewise.
41205         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
41206         __fegetround instead of fegetround.
41207         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
41208         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
41210 2013-11-21  Roland McGrath  <roland@hack.frob.com>
41212         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
41213         it's there.
41215         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
41217 2013-11-21  Meador Inge  <meadori@codesourcery.com>
41219         [BZ #11157]
41220         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
41221         (encrypt_r): Likewise.
41222         * malloc/obstack.h (obstack_free): Likewise.
41223         * posix/unistd.h (encrypt): Likewise.
41225 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
41227         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
41228         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
41229         DL_CALL_DT_FINI() that call the functions directly.
41230         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
41231         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
41232         * elf/dl-fini.c: Likewise.
41234 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
41236         * malloc/hooks.c (memalign_check): Add alignment rounding.
41237         * malloc/malloc.c (_mid_memalign): New function.
41238         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
41239         Implement by calling _mid_memalign.
41240         * manual/probes.texi (Memory Allocation Probes): Remove
41241         memory_valloc_retry and memory_pvalloc_retry.
41243 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41245         * locale/programs/locarchive.c (open_archive): Add const
41246         qualifier to ARCHIVEFNAME and copy default fname to
41247         DEFAULT_FNAME.
41249         [BZ #15601]
41250         * libio/tst-widetext.input: Rename Oriya to Odia.
41251         * locale/iso-639.def: Likewise.
41253         * manual/probes.texi (Mathematical Function Probes): Add
41254         documentation for sin, cos, asin and acos probes.
41255         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
41256         (__sin32): Add slowasin probe.
41257         (__cos32): Add slowacos probe.
41258         (__mpsin): Add slowsin probe.
41259         (__mpcos): Add slowcos probe.
41261 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
41263         [BZ #15483]
41264         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
41265         thread-local __sim_exceptions_thread and global
41266         __sim_exceptions_global.
41267         (__sim_disabled_exceptions): Change to thread-local
41268         __sim_disabled_exceptions_thread and global
41269         __sim_disabled_exceptions_global.
41270         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
41271         and global __sim_round_mode_global.
41272         (__simulate_exceptions): Use thread-local floating-point state and
41273         set global state from it as needed.
41274         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
41275         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
41276         __sim_round_mode_thread.
41277         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
41278         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
41279         and global __sim_exceptions_global.
41280         (__sim_disabled_exceptions): Change to thread-local
41281         __sim_disabled_exceptions_thread and global
41282         __sim_disabled_exceptions_global.
41283         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
41284         and global __sim_round_mode_global.
41285         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
41286         (SIM_SET_GLOBAL): Likewise.
41287         * sysdeps/powerpc/soft-fp/sfp-machine.h
41288         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
41289         __sim_round_mode_thread.
41290         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
41291         __sim_disabled_exceptions_thread.
41292         (__sim_exceptions): Change to __sim_exceptions_thread.
41293         (__sim_disabled_exceptions): Change to
41294         __sim_disabled_exceptions_thread.
41295         (__sim_round_mode): Change to __sim_round_mode_thread.
41296         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
41297         thread-local floating-point state and set global state from it as
41298         needed.
41299         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
41300         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
41301         (__sim_disabled_exceptions): Remove extern declaration.
41302         (feenableexcept): Use thread-local floating-point state and set
41303         global state from it as needed.
41304         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
41305         extern declaration.
41306         (__sim_disabled_exceptions): Likewise.
41307         (__sim_round_mode): Likewise.
41308         (__fegetenv): Use thread-local floating-point state.
41309         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
41310         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
41311         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
41312         floating-point state and set global state from it as needed.
41313         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
41314         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
41315         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
41316         Likewise.
41317         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
41318         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
41319         Likewise.
41320         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
41321         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
41322         Use __sim_round_mode_thread.
41323         * math/test-fenv-tls.c: New file.
41324         * math/Makefile (tests): Add test-fenv-tls.
41325         ($(objpfx)test-fenv-tls): Depend on
41326         $(common-objpfx)nptl/libpthread.so.
41328 2013-11-19  Andreas Schwab  <schwab@suse.de>
41330         * locale/programs/locale.c (show_info): Decode wordarray elements.
41331         * locale/categories.def (LC_MONETARY): Add element for
41332         _NL_MONETARY_CRNCYSTR.
41333         * locale/C-monetary.c (conversion_rate): New variable.
41334         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
41335         element.
41337 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
41339         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
41340         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
41342 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
41344         * elf/Makefile (tst-auxv): New test.
41345         * elf/tst-auxv.c: New
41346         * elf/rtld.c (dl_main): Adjust AT_EXECFN
41348 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
41350         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
41351         (hidden_proto): Caller changed.
41352         (hidden_tls_proto): New macro.
41353         (libc_hidden_tls_proto): Likewise.
41354         (rtld_hidden_tls_proto): Likewise.
41355         (libm_hidden_tls_proto): Likewise.
41356         (libresolv_hidden_tls_proto): Likewise.
41357         (librt_hidden_tls_proto): Likewise.
41358         (libdl_hidden_tls_proto): Likewise.
41359         (libnss_files_hidden_tls_proto): Likewise.
41360         (libnsl_hidden_tls_proto): Likewise.
41361         (libnss_nisplus_hidden_tls_proto): Likewise.
41362         (libutil_hidden_tls_proto): Likewise.
41364 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
41366         [BZ #10253]
41367         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
41368         (decompose_rpath): Defer expansion to fillin_rpath.
41369         (_dl_init_paths): Pass linkmap to fillin_rpath.
41371 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41373         * benchtests/Makefile: Add strsep.
41374         * benchtests/bench-strsep.c: New file: strsep benchtest.
41375         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
41377 2013-11-18  Andreas Schwab  <schwab@suse.de>
41379         * locale/programs/locale.c (show_info) [case byte]: Check for
41380         '\377' instead of '\177'.
41381         * locale/C-monetary.c (not_available): Always use "\377".
41382         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
41383         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
41384         detect unavailable sign_posn locale elements.
41385         * locale/localeconv.c (__localeconv): For grouping and
41386         mon_grouping handle "\177" and "\377" like no grouping.
41387         (INT_ELEM): New macro.  Use it to set all numeric members.
41388         * locale/programs/ld-monetary.c (monetary_read)
41389         <tok_mon_grouping>: Normalize single -1 to the empty string.
41390         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
41391         Likewise.
41393 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
41395         [BZ #16055]
41396         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
41397         when we match (nil).
41398         * stdio-common/tst-sscanf.c (struct test): Add testcase.
41400 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
41402         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
41403         (NO_TEST_INLINE): Update value.
41404         (ERRNO_UNCHANGED): Likewise.
41405         (ERRNO_EDOM): Likewise.
41406         (ERRNO_ERANGE): Likewise.
41407         (IGNORE_RESULT): Likewise.
41408         (check_float_internal): Check signs of NaN results if
41409         TEST_NAN_SIGN used.
41410         (check_complex): Pass TEST_NAN_SIGN flag through to second
41411         check_float_internal call.
41412         (copysign_test_data): Add tests with quiet NaNs as second
41413         argument.  Use TEST_NAN_SIGN.
41414         (fabs_test_data): Add test of negative quiet NaN argument.  Use
41415         TEST_NAN_SIGN.
41416         (signbit_test_data): Add tests of quiet NaN argument.
41417         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
41419         * math/gen-libm-test.pl (show_exceptions): Take extra argument
41420         $ignore_result.
41421         (parse_args): Handle function results specified as IGNORE.
41422         * math/libm-test.inc (IGNORE_RESULT): New macro.
41423         (check_float_internal): Do not check numerical result if flag
41424         IGNORE_RESULT set.
41425         (check_complex): Pass through IGNORE_RESULT to second
41426         check_float_internal call.
41427         (check_int): Do not check numerical result if flag IGNORE_RESULT
41428         set.
41429         (check_long): Likewise.
41430         (check_bool): Likewise.
41431         (check_longlong): Likewise.
41432         (lrint_test_data): Add tests of infinite and NaN arguments.
41433         (lrint_tonearest_test_data): Likewise.
41434         (lrint_towardzero_test_data): Likewise.
41435         (lrint_downward_test_data): Likewise.
41436         (lrint_upward_test_data): Likewise.
41437         (llrint_test_data): Likewise.
41438         (llrint_tonearest_test_data): Likewise.
41439         (llrint_towardzero_test_data): Likewise.
41440         (llrint_downward_test_data): Likewise.
41441         (llrint_upward_test_data): Likewise.
41442         (lround_test_data): Likewise.
41443         (llround_test_data): Likewise.
41445         * math/libm-test.inc (NO_TEST_INLINE): New macro.
41446         (ERRNO_UNCHANGED): Update value.
41447         (ERRNO_EDOM): Likewise.
41448         (ERRNO_ERANGE): Likewise.
41449         (NO_TEST_INLINE_FLOAT): New macro.
41450         (NO_TEST_INLINE_DOUBLE): Likewise.
41451         (enable_test): New function.
41452         (RUN_TEST_f_f): Check enable_test before running test.
41453         (RUN_TEST_2_f): Likewise.
41454         (RUN_TEST_fff_f): Likewise.
41455         (RUN_TEST_c_f): Likewise.
41456         (RUN_TEST_f_f1): Likewise.
41457         (RUN_TEST_fF_f1): Likewise.
41458         (RUN_TEST_fI_f1): Likewise.
41459         (RUN_TEST_ffI_f1): Likewise.
41460         (RUN_TEST_c_c): Likewise.
41461         (RUN_TEST_cc_c): Likewise.
41462         (RUN_TEST_f_i): Likewise.
41463         (RUN_TEST_f_i_tg): Likewise.
41464         (RUN_TEST_ff_i_tg): Likewise.
41465         (RUN_TEST_f_b): Likewise.
41466         (RUN_TEST_f_b_tg): Likewise.
41467         (RUN_TEST_f_l): Likewise.
41468         (RUN_TEST_f_L): Likewise.
41469         (RUN_TEST_fFF_11): Likewise.
41470         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
41471         conditionals.
41472         (cosh_test_data): Likewise.
41473         (exp_test_data): Likewise.
41474         (expm1_test_data): Likewise.
41475         (hypot_test_data): Likewise.
41476         (pow_test_data): Likewise.
41477         (sinh_test_data): Likewise.
41478         (tanh_test_data): Likewise.
41479         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
41480         flags argument.
41482         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
41483         tests with quiet NaN input and output.
41484         (acosh_test_data): Likewise.
41485         (asin_test_data): Likewise.
41486         (asinh_test_data): Likewise.
41487         (atan_test_data): Likewise.
41488         (atanh_test_data): Likewise.
41489         (atan2_test_data): Likewise.
41490         (cbrt_test_data): Likewise.
41491         (cos_test_data): Likewise.
41492         (cosh_test_data): Likewise.
41493         (erf_test_data): Likewise.
41494         (erfc_test_data): Likewise.
41495         (exp_test_data): Likewise.
41496         (exp10_test_data): Likewise.
41497         (exp2_test_data): Likewise.
41498         (expm1_test_data): Likewise.
41499         (hypot_test_data): Likewise.
41500         (j0_test_data): Likewise.
41501         (j1_test_data): Likewise.
41502         (jn_test_data): Likewise.
41503         (lgamma_test_data): Likewise.
41504         (log_test_data): Likewise.
41505         (log10_test_data): Likewise.
41506         (log1p_test_data): Likewise.
41507         (log2_test_data): Likewise.
41508         (pow_test_data): Likewise.
41509         (scalb_test_data): Likewise.
41510         (sin_test_data): Likewise.
41511         (sincos_test_data): Likewise.
41512         (sinh_test_data): Likewise.
41513         (tan_test_data): Likewise.
41514         (tanh_test_data): Likewise.
41515         (tgamma_test_data): Likewise.
41516         (y0_test_data): Likewise.
41517         (y1_test_data): Likewise.
41518         (yn_test_data): Likewise.
41520         [BZ #16167]
41521         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
41522         argument being NaN and avoid computations with second argument in
41523         that case.
41524         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41525         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
41526         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
41528 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
41530         * locale/iso-639.def: Add Chitwani Tharu (the).
41532 2013-11-14  Andreas Schwab  <schwab@suse.de>
41534         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
41535         word instead of empty string.
41537 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41540         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
41541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41542         (__fe_nomask_env): Likewise.
41544 2013-11-13  Steve Ellcey  <sellcey@mips.com>
41546         * benchtests/bench-timing.h: Include time.h.
41548 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
41550         [BZ #15997]
41551         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
41552         to 3.4.0 for x32.
41553         * sysdeps/unix/sysv/linux/configure: Regenerated.
41555 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
41557         [BZ #16151]
41558         * stdlib/strtod_l.c (round_and_return): Do not consider
41559         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
41560         exponent one less than half the least subnormal exponent.
41561         * stdlib/test-strtod-round-data: Add more tests.
41562         * stdlib/tst-strtod-round.c (tests): Regenerated.
41564 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41566         [BZ #14143]
41567         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
41568         (__fe_mask_env): Likewise.
41569         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
41570         libm_hidden_proto and add function prototype.
41571         (__fe_mask_env): Add function prototype.
41572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41573         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
41574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
41575         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
41576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41577         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
41579 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41581         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
41582         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
41584 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41586         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
41587         of htab_find_slot().
41589 2013-11-11  David S. Miller  <davem@davemloft.net>
41591         [BZ #16150]
41592         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
41593         symbol in the non-vis3 case in static builds.
41594         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
41595         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
41596         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
41597         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
41599 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
41601         [BZ #387]
41602         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
41603         it is empty.
41605 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41607         * benchtests/Makefile: Add bench-strtod.
41608         * benchtests/bench-strtod.c: New file: strtod benchtest
41610 2013-11-11  Andreas Schwab  <schwab@suse.de>
41612         [BZ #16153]
41613         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
41614         terminating NUL in key length.
41616 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41618         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
41619         Add artificial ODP entry for vDSO symbol for PPC64.
41620         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
41621         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
41623 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
41625         [BZ #15374]
41626         * nss/getent.c (services_keys): Recognize services starting with digit.
41628 2013-11-06  David S. Miller  <davem@davemloft.net>
41630         [BZ #15985]
41631         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
41632         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
41634 2013-11-06  Will Newton  <will.newton@linaro.org>
41636         * manual/memory.texi (Malloc Examples): Remove register
41637         keyword from examples.
41639 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
41641         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
41643 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
41645         [BZ #6981]
41646         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
41647         depending on [__GCC_IEC_559 > 0].
41648         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
41649         depending on [__GCC_IEC_559_COMPLEX > 0].
41651 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
41653         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
41654         to iso-639.def.
41656 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
41658         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
41660 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
41662         [BZ #16112]
41663         * malloc/malloc (malloc_info): Do not handle first bin as
41664         special case.
41666 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
41668         * locale/iso-639.def: Add Central Nahuatl (nhn).
41670 2013-11-01  Bruno Haible  <bruno@clisp.org>
41672         [BZ #7003]
41673         * manual/math.texi (BSD Random): Specify range upper bound as
41674         in POSIX.
41676 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
41678         * locale/iso-639.def: Add Meadow Mari (mhr).
41680 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
41682         [BZ #14752], [BZ #15763]
41683         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
41684         Validate name.
41685         * rt/tst_shm.c: Add test for escaping directory.
41687 2013-10-31  Andreas Schwab  <schwab@suse.de>
41689         [BZ #15917]
41690         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
41691         followed by 'x' as part of digit sequence.
41692         * stdio-common/tst-sscanf.c (double_tests2): New tests.
41694 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
41696         [BZ #16037]
41697         * configure.ac: allow GNU Make 4.0 and greater.
41698         * configure: Regenerated.
41700 2013-10-30  Will Newton  <will.newton@linaro.org>
41702         [BZ #16038]
41703         * malloc/hooks.c (memalign_check): Limit alignment to the
41704         maximum representable power of two.
41705         * malloc/malloc.c (__libc_memalign): Likewise.
41706         * malloc/tst-memalign.c (do_test): Add test for very
41707         large alignment values.
41708         * malloc/tst-posix_memalign.c (do_test): Likewise.
41710 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
41712         [BZ #11087]
41713         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
41714         (munmap_chunk): Likewise.
41715         (mremap_chunk): Likewise.
41717 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
41719         [BZ #15799]
41720         * stdlib/div.c (div): Remove obsolete code.
41721         * stdlib/ldiv.c (ldiv): Likewise.
41722         * stdlib/lldiv.c (lldiv): Likewise.
41724 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41726         [BZ #16071]
41727         * nss/nss_files/files-XXX.c (get_contents_ret): New
41728         enumerator.
41729         (get_contents): New function.
41730         (internal_getent): Use it.  Expand size of LINEBUFLEN.
41732 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
41734         * configure.in: Moved to ...
41735         * configure.ac: ... here. Change reference to configure.in
41736         to configure.ac.
41737         * sysdeps/arm/preconfigure.ac: ... here.
41738         configure.in to configure.ac.
41739         * sysdeps/gnu/configure.in: Moved to ...
41740         * sysdeps/gnu/configure.ac: ... here.
41741         * sysdeps/i386/configure.in: Moved to ...
41742         * sysdeps/i386/configure.ac: ... here.
41743         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
41744         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
41745         * sysdeps/mach/configure.in: Moved to ...
41746         * sysdeps/mach/configure.ac: ... here.
41747         * sysdeps/mach/hurd/configure.in: Moved to ...
41748         * sysdeps/mach/hurd/configure.ac: ... here.
41749         * sysdeps/powerpc/configure.in: Moved to ...
41750         * sysdeps/powerpc/configure.ac: ... here.
41751         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
41752         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
41753         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
41754         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
41755         * sysdeps/s390/s390-32/configure.in: Moved to ...
41756         * sysdeps/s390/s390-32/configure.ac: ... here.
41757         * sysdeps/s390/s390-64/configure.in: Moved to ...
41758         * sysdeps/s390/s390-64/configure.ac: ... here.
41759         * sysdeps/sh/configure.in: Moved to ...
41760         * sysdeps/sh/configure.ac: ... here.
41761         * sysdeps/sparc/configure.in: Moved to ...
41762         * sysdeps/sparc/configure.ac: ... here.
41763         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
41764         * sysdeps/unix/sysv/linux/configure.ac: ... here.
41765         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
41766         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
41767         * sysdeps/x86_64/configure.in: Moved to ...
41768         * sysdeps/x86_64/configure.ac: ... here.
41769         * sysdeps/x86_64/preconfigure.in: Moved to ...
41770         * sysdeps/x86_64/preconfigure.ac: ... here.
41771         * aclocal.m4: Change reference to configure.in to configure.ac.
41772         * config.h.in: Likewise.
41773         * manual/install.texi: Likewise.
41774         * manual/maint.texi: Likewise.
41775         * Makefile: Likewise.
41776         * malloc/Makefile: Likewise.
41777         * nscd/Makefile: Likewise.
41778         * Makeconfig: Change reference to configure.in and
41779         preconfigure.in to configure.ac and preconfigure.ac
41780         respectively.
41781         * INSTALL: Regenerated.
41782         * configure: Likewise.
41783         * sysdeps/gnu/configure: Likewise.
41784         * sysdeps/i386/configure: Likewise.
41785         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
41786         * sysdeps/mach/configure: Likewise.
41787         * sysdeps/mach/hurd/configure: Likewise.
41788         * sysdeps/powerpc/configure: Likewise.
41789         * sysdeps/powerpc/powerpc32/configure: Likewise.
41790         * sysdeps/powerpc/powerpc64/configure: Likewise.
41791         * sysdeps/s390/s390-32/configure: Likewise.
41792         * sysdeps/s390/s390-64/configure: Likewise.
41793         * sysdeps/sh/configure: Likewise.
41794         * sysdeps/sparc/configure: Likewise.
41795         * sysdeps/unix/sysv/linux/configure: Likewise.
41796         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
41797         * sysdeps/x86_64/configure: Likewise.
41798         * sysdeps/x86_64/preconfigure: Likewise.
41800 2013-10-29  Andreas Schwab  <schwab@suse.de>
41802         * stdio-common/Makefile (tst-swscanf-ENV): Define.
41804 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41806         * benchtests/pow-inputs: Add new inputs.
41808         * benchtests/exp-inputs: Add new inputs.
41810         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
41811         conditional check for return value.
41812         (__cos32): Likewise.
41814 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41816         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
41817         to provide a boost for large inputs with word alignment.
41818         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
41819         implementation based on optimized PPC64 strcpy.
41820         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
41821         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
41822         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
41823         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
41825 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
41827         [BZ #2801]
41828         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
41830 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
41832         [BZ #14876]
41833         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
41834         * time/tst-strptime.c (day_tests): Add testcase.
41836 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
41838         [BZ #14029]
41839         * manual/pattern.texi: Acknowledge that fnmatch can fail.
41841 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
41843         [BZ #16074]
41844         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
41845         MAP_FAILED on error.
41847 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
41849         [BZ #16072]
41850         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
41851         heap for large requests.
41853 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
41855         [BZ #9954]
41856         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
41857         result if the result has no associated interface.
41858         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
41859         interface for all 127.X.Y.Z addresses.
41861 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
41863         * locale/iso-639.def: Add Ligurian (lij)
41865 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
41867         [BZ #15825]
41868         * sunrpc/rpc_main.c: Document rpcgen -5.
41870 2013-10-19  Michael Stahl  <mstahl@redhat.com>
41872         * elf/rtld.c (do_preload): Print the reason why preloading failed.
41874 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
41876         [BZ #10278]
41877         * posix/glob.c: Match only directories when trailing slash is present.
41878         * posix/tst-gnuglob.c (my_opendir): Do not open files.
41879         (main): Add testcase.
41881 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
41883         [BZ #15670]
41884         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
41886 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
41888         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
41889         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
41890         AUTH_DES and cindex for FIPS 140-2.
41891         (DES Encryption): Add cindex FIPS 46-3.
41893         * locale/locarchive.h (struct locarhandle): Add fname.
41894         * locale/programs/localedef.c (main): Pass ARGV[remaining]
41895         if an optional argument was specified to --list-archive,
41896         otherwise NULL.
41897         * locale/programs/locarchive.c (show_archive_content): Take new
41898         argument fname and pass it via ah.fname to open_archive.
41899         * locale/programs/localedef.h: Update decl.
41900         (open_archive): If AH->fname is non-null, open that file
41901         rather than the default file name, and don't ignore ENOENT.
41902         (create_archive): Set AH.fname to NULL.
41903         (delete_locales_from_archive): Likewise.
41904         (add_locales_to_archive): Likewise.
41905         * locale/programs/locfile.c (write_all_categories): Likewise.
41907 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
41908             Aldy Hernandez  <aldyh@redhat.com>
41910         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
41911         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
41912         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
41913         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
41914         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
41915         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
41916         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
41917         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
41918         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
41919         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
41920         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
41921         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
41922         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
41923         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
41924         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
41925         Likewise.
41926         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
41927         Likewise.
41928         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
41929         Likewise.
41930         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
41931         Likewise.
41932         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
41933         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
41934         Likewise.
41935         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
41936         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
41937         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
41938         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
41939         Likewise.
41940         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
41941         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
41942         * sysdeps/powerpc/preconfigure: Likewise.
41943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
41944         Likewise.
41945         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
41946         Replace contents of file by #include of <fenv_libc.h>.
41947         * sysdeps/powerpc/soft-fp/sfp-machine.h
41948         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
41949         and <sys/prctl.h>.
41950         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
41951         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
41952         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
41953         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
41954         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
41955         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
41956         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
41957         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
41958         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
41959         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
41960         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
41961         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
41962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
41963         Allow copysignl PLT reference to be missing.
41965 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
41966             Joseph Myers  <joseph@codesourcery.com
41968         [BZ #15948]
41969         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
41970         single character.
41971         (add_to_tablewc): Assert sequence of wide characters is nonempty.
41973 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
41975         * elf/tst-tls-dlinfo.c: Don't include tls.h.
41976         * elf/tst-tls1.c: Likewise.
41977         * elf/tst-tls10.h: Likewise.
41978         * elf/tst-tls14.c: Likewise.
41979         * elf/tst-tls2.c: Likewise.
41980         * elf/tst-tls3.c: Likewise.
41981         * elf/tst-tls4.c: Likewise.
41982         * elf/tst-tls5.c: Likewise.
41983         * elf/tst-tls6.c: Likewise.
41984         * elf/tst-tls7.c: Likewise.
41985         * elf/tst-tls8.c: Likewise.
41986         * elf/tst-tls9.c: Likewise.
41987         * elf/tst-tlsmod1.c: Likewise.
41988         * elf/tst-tlsmod13.c: Likewise.
41989         * elf/tst-tlsmod13a.c: Likewise.
41990         * elf/tst-tlsmod14a.c: Likewise.
41991         * elf/tst-tlsmod16a.c: Likewise.
41992         * elf/tst-tlsmod16b.c: Likewise.
41993         * elf/tst-tlsmod2.c: Likewise.
41994         * elf/tst-tlsmod3.c: Likewise.
41995         * elf/tst-tlsmod4.c: Likewise.
41996         * elf/tst-tlsmod5.c: Likewise.
41997         * elf/tst-tlsmod6.c: Likewise.
41999 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
42001         [BZ #12486]
42002         * malloc/malloc.c: remove checks for statistics.
42004 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
42006         [BZ #15277]
42007         * inet/inet_net.c (inet_network): Detect additional invalid strings.
42008         * inet/tst-network.c: Add testcase.
42010 2013-10-17  Andreas Schwab  <schwab@suse.de>
42012         [BZ #15218]
42013         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
42014         to determine canonical name.
42016 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
42018         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
42019         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
42020         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42021         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42022         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42023         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42024         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42025         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42026         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42027         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42028         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
42029         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42030         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42031         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42032         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42033         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42034         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42035         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42036         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42037         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42038         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42039         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42040         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42041         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
42042         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
42043         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42044         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42045         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
42046         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42047         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
42048         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42049         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42050         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42051         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42052         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42053         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42054         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42055         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42056         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42057         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42058         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42059         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42060         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42061         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42062         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42063         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42064         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42065         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42066         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42067         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42068         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42069         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42070         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42071         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42072         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42073         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42074         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42075         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42077 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
42079         [BZ #16041]
42080         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
42081         make result into a quiet NaN.
42083 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
42085         * soft-fp/adddf3.c: Fix horizontal whitespace.
42086         * soft-fp/addsf3.c: Likewise.
42087         * soft-fp/addtf3.c: Likewise.
42088         * soft-fp/divdf3.c: Likewise.
42089         * soft-fp/divsf3.c: Likewise.
42090         * soft-fp/divtf3.c: Likewise.
42091         * soft-fp/double.h: Likewise.
42092         * soft-fp/eqdf2.c: Likewise.
42093         * soft-fp/eqsf2.c: Likewise.
42094         * soft-fp/eqtf2.c: Likewise.
42095         * soft-fp/extenddftf2.c: Likewise.
42096         * soft-fp/extended.h: Likewise.
42097         * soft-fp/extendsfdf2.c: Likewise.
42098         * soft-fp/extendsftf2.c: Likewise.
42099         * soft-fp/extendxftf2.c: Likewise.
42100         * soft-fp/fixdfdi.c: Likewise.
42101         * soft-fp/fixdfsi.c: Likewise.
42102         * soft-fp/fixdfti.c: Likewise.
42103         * soft-fp/fixsfdi.c: Likewise.
42104         * soft-fp/fixsfsi.c: Likewise.
42105         * soft-fp/fixsfti.c: Likewise.
42106         * soft-fp/fixtfdi.c: Likewise.
42107         * soft-fp/fixtfsi.c: Likewise.
42108         * soft-fp/fixtfti.c: Likewise.
42109         * soft-fp/fixunsdfdi.c: Likewise.
42110         * soft-fp/fixunsdfsi.c: Likewise.
42111         * soft-fp/fixunsdfti.c: Likewise.
42112         * soft-fp/fixunssfdi.c: Likewise.
42113         * soft-fp/fixunssfsi.c: Likewise.
42114         * soft-fp/fixunssfti.c: Likewise.
42115         * soft-fp/fixunstfdi.c: Likewise.
42116         * soft-fp/fixunstfsi.c: Likewise.
42117         * soft-fp/fixunstfti.c: Likewise.
42118         * soft-fp/floatdidf.c: Likewise.
42119         * soft-fp/floatdisf.c: Likewise.
42120         * soft-fp/floatditf.c: Likewise.
42121         * soft-fp/floatsidf.c: Likewise.
42122         * soft-fp/floatsisf.c: Likewise.
42123         * soft-fp/floatsitf.c: Likewise.
42124         * soft-fp/floattidf.c: Likewise.
42125         * soft-fp/floattisf.c: Likewise.
42126         * soft-fp/floattitf.c: Likewise.
42127         * soft-fp/floatundidf.c: Likewise.
42128         * soft-fp/floatundisf.c: Likewise.
42129         * soft-fp/floatunditf.c: Likewise.
42130         * soft-fp/floatunsidf.c: Likewise.
42131         * soft-fp/floatunsisf.c: Likewise.
42132         * soft-fp/floatunsitf.c: Likewise.
42133         * soft-fp/floatuntidf.c: Likewise.
42134         * soft-fp/floatuntisf.c: Likewise.
42135         * soft-fp/floatuntitf.c: Likewise.
42136         * soft-fp/fmadf4.c: Likewise.
42137         * soft-fp/fmasf4.c: Likewise.
42138         * soft-fp/fmatf4.c: Likewise.
42139         * soft-fp/gedf2.c: Likewise.
42140         * soft-fp/gesf2.c: Likewise.
42141         * soft-fp/getf2.c: Likewise.
42142         * soft-fp/ledf2.c: Likewise.
42143         * soft-fp/lesf2.c: Likewise.
42144         * soft-fp/letf2.c: Likewise.
42145         * soft-fp/muldf3.c: Likewise.
42146         * soft-fp/mulsf3.c: Likewise.
42147         * soft-fp/multf3.c: Likewise.
42148         * soft-fp/negdf2.c: Likewise.
42149         * soft-fp/negsf2.c: Likewise.
42150         * soft-fp/negtf2.c: Likewise.
42151         * soft-fp/op-1.h: Likewise.
42152         * soft-fp/op-2.h: Likewise.
42153         * soft-fp/op-4.h: Likewise.
42154         * soft-fp/op-8.h: Likewise.
42155         * soft-fp/op-common.h: Likewise.
42156         * soft-fp/quad.h: Likewise.
42157         * soft-fp/single.h: Likewise.
42158         * soft-fp/soft-fp.h: Likewise.
42159         * soft-fp/sqrtdf2.c: Likewise.
42160         * soft-fp/sqrtsf2.c: Likewise.
42161         * soft-fp/sqrttf2.c: Likewise.
42162         * soft-fp/subdf3.c: Likewise.
42163         * soft-fp/subsf3.c: Likewise.
42164         * soft-fp/subtf3.c: Likewise.
42165         * soft-fp/truncdfsf2.c: Likewise.
42166         * soft-fp/trunctfdf2.c: Likewise.
42167         * soft-fp/trunctfsf2.c: Likewise.
42168         * soft-fp/trunctfxf2.c: Likewise.
42169         * soft-fp/unorddf2.c: Likewise.
42170         * soft-fp/unordsf2.c: Likewise.
42171         * soft-fp/unordtf2.c: Likewise.
42173 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
42175         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
42176         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
42178 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
42180         * elf/dl-libc.c: Clear initfini list after freeing.
42182 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
42184         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
42185         * soft-fp/addsf3.c: Likewise.
42186         * soft-fp/addtf3.c: Likewise.
42187         * soft-fp/divdf3.c: Likewise.
42188         * soft-fp/divsf3.c: Likewise.
42189         * soft-fp/divtf3.c: Likewise.
42190         * soft-fp/double.h: Likewise.
42191         * soft-fp/eqdf2.c: Likewise.
42192         * soft-fp/eqsf2.c: Likewise.
42193         * soft-fp/eqtf2.c: Likewise.
42194         * soft-fp/extenddftf2.c: Likewise.
42195         * soft-fp/extended.h: Likewise.
42196         * soft-fp/extendsfdf2.c: Likewise.
42197         * soft-fp/extendsftf2.c: Likewise.
42198         * soft-fp/extendxftf2.c: Likewise.
42199         * soft-fp/fixdfdi.c: Likewise.
42200         * soft-fp/fixdfsi.c: Likewise.
42201         * soft-fp/fixdfti.c: Likewise.
42202         * soft-fp/fixsfdi.c: Likewise.
42203         * soft-fp/fixsfsi.c: Likewise.
42204         * soft-fp/fixsfti.c: Likewise.
42205         * soft-fp/fixtfdi.c: Likewise.
42206         * soft-fp/fixtfsi.c: Likewise.
42207         * soft-fp/fixtfti.c: Likewise.
42208         * soft-fp/fixunsdfdi.c: Likewise.
42209         * soft-fp/fixunsdfsi.c: Likewise.
42210         * soft-fp/fixunsdfti.c: Likewise.
42211         * soft-fp/fixunssfdi.c: Likewise.
42212         * soft-fp/fixunssfsi.c: Likewise.
42213         * soft-fp/fixunssfti.c: Likewise.
42214         * soft-fp/fixunstfdi.c: Likewise.
42215         * soft-fp/fixunstfsi.c: Likewise.
42216         * soft-fp/fixunstfti.c: Likewise.
42217         * soft-fp/floatdidf.c: Likewise.
42218         * soft-fp/floatdisf.c: Likewise.
42219         * soft-fp/floatditf.c: Likewise.
42220         * soft-fp/floatsidf.c: Likewise.
42221         * soft-fp/floatsisf.c: Likewise.
42222         * soft-fp/floatsitf.c: Likewise.
42223         * soft-fp/floattidf.c: Likewise.
42224         * soft-fp/floattisf.c: Likewise.
42225         * soft-fp/floattitf.c: Likewise.
42226         * soft-fp/floatundidf.c: Likewise.
42227         * soft-fp/floatundisf.c: Likewise.
42228         * soft-fp/floatunsidf.c: Likewise.
42229         * soft-fp/floatunsisf.c: Likewise.
42230         * soft-fp/floatuntidf.c: Likewise.
42231         * soft-fp/floatuntisf.c: Likewise.
42232         * soft-fp/floatuntitf.c: Likewise.
42233         * soft-fp/fmadf4.c: Likewise.
42234         * soft-fp/fmasf4.c: Likewise.
42235         * soft-fp/fmatf4.c: Likewise.
42236         * soft-fp/gedf2.c: Likewise.
42237         * soft-fp/gesf2.c: Likewise.
42238         * soft-fp/getf2.c: Likewise.
42239         * soft-fp/ledf2.c: Likewise.
42240         * soft-fp/lesf2.c: Likewise.
42241         * soft-fp/letf2.c: Likewise.
42242         * soft-fp/muldf3.c: Likewise.
42243         * soft-fp/mulsf3.c: Likewise.
42244         * soft-fp/multf3.c: Likewise.
42245         * soft-fp/negdf2.c: Likewise.
42246         * soft-fp/negsf2.c: Likewise.
42247         * soft-fp/negtf2.c: Likewise.
42248         * soft-fp/op-1.h: Likewise.
42249         * soft-fp/op-2.h: Likewise.
42250         * soft-fp/op-4.h: Likewise.
42251         * soft-fp/op-8.h: Likewise.
42252         * soft-fp/op-common.h: Likewise.
42253         * soft-fp/quad.h: Likewise.
42254         * soft-fp/single.h: Likewise.
42255         * soft-fp/soft-fp.h: Likewise.
42256         * soft-fp/sqrtdf2.c: Likewise.
42257         * soft-fp/sqrtsf2.c: Likewise.
42258         * soft-fp/sqrttf2.c: Likewise.
42259         * soft-fp/subdf3.c: Likewise.
42260         * soft-fp/subsf3.c: Likewise.
42261         * soft-fp/subtf3.c: Likewise.
42262         * soft-fp/truncdfsf2.c: Likewise.
42263         * soft-fp/trunctfdf2.c: Likewise.
42264         * soft-fp/trunctfsf2.c: Likewise.
42265         * soft-fp/trunctfxf2.c: Likewise.
42266         * soft-fp/unorddf2.c: Likewise.
42267         * soft-fp/unordsf2.c: Likewise.
42268         * soft-fp/unordtf2.c: Likewise.
42270 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
42272         [BZ #15672]
42273         * misc/error.c (error_tail): Fix possible buffer overflow.
42275 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
42277         [BZ #13028]
42278         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
42279         address.
42281 2013-10-14  P. J. McDermott  <pj@pehjota.net>
42283         [BZ #832]
42284         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
42285         testing pipefail option.
42287 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
42289         * soft-fp/double.h: Indent preprocessor directives inside #if.
42290         * soft-fp/extended.h: Likewise.
42291         * soft-fp/op-2.h: Likewise.
42292         * soft-fp/op-4.h: Likewise.
42293         * soft-fp/op-common.h: Likewise.
42294         * soft-fp/quad.h: Likewise.
42295         * soft-fp/single.h: Likewise.
42296         * soft-fp/soft-fp.h: Likewise.
42298 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
42300         * iconv/iconv_prog.c: Fix typos.
42301         * stdio-common/psiginfo-data.h: Likewise.
42303 2013-10-12   Reuben Thomas <rrt@sc3d.org>
42305         [BZ #15764]
42306         * locale/setlocale.c: Fix typo.
42308 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
42310         [BZ #16036]
42311         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
42312         signaling NaN arguments.
42313         * soft-fp/unordsf2.c (__unordsf2): Likewise.
42314         * soft-fp/unordtf2.c (__unordtf2): Likewise.
42316         [BZ #14910]
42317         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
42318         unordered operands.
42319         * soft-fp/gesf2.c (__gesf2): Likewise.
42320         * soft-fp/getf2.c (__getf2): Likewise.
42321         * soft-fp/ledf2.c (__ledf2): Likewise.
42322         * soft-fp/lesf2.c (__lesf2): Likewise.
42323         * soft-fp/letf2.c (__letf2): Likewise.
42325         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
42326         * soft-fp/eqsf2.c (__eqsf2): Likewise.
42327         * soft-fp/eqtf2.c (__eqtf2): Likewise.
42328         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
42329         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
42330         * soft-fp/fixdfti.c (__fixdfti): Likewise.
42331         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
42332         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
42333         * soft-fp/fixsfti.c (__fixsfti): Likewise.
42334         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
42335         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
42336         * soft-fp/fixtfti.c (__fixtfti): Likewise.
42337         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
42338         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
42339         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
42340         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
42341         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
42342         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
42343         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
42344         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
42345         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
42346         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
42347         * soft-fp/floatdisf.c (__floatdisf): Likewise.
42348         * soft-fp/floatsisf.c (__floatsisf): Likewise.
42349         * soft-fp/floattidf.c (__floattidf): Likewise.
42350         * soft-fp/floattisf.c (__floattisf): Likewise.
42351         * soft-fp/floattitf.c (__floattitf): Likewise.
42352         * soft-fp/floatundidf.c (__floatundidf): Likewise.
42353         * soft-fp/floatundisf.c (__floatundisf): Likewise.
42354         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
42355         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
42356         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
42357         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
42358         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
42359         * soft-fp/gesf2.c (__gesf2): Likewise.
42360         * soft-fp/getf2.c (__getf2): Likewise.
42361         * soft-fp/ledf2.c (__ledf2): Likewise.
42362         * soft-fp/lesf2.c (__lesf2): Likewise.
42363         * soft-fp/letf2.c (__letf2): Likewise.
42365         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
42366         Undefine and redefine.
42367         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
42368         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
42369         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
42370         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
42371         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42372         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
42373         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42374         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
42375         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42376         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
42377         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42378         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
42379         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42380         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
42381         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
42383         [BZ #16032]
42384         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
42385         without decrementing exponent if mantissa >= that for the
42386         denominator, not >.
42387         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
42388         denominator, not >.  Decrement exponent in < case instead of
42389         incrementing in >= case.
42390         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
42391         without decrementing exponent if mantissa >= that for the
42392         denominator, not >.
42394         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
42395         computing saturated result for unsigned overflow.
42397 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42398             Jeff Law  <law@redhat.com>
42400         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
42401         (atan2Mp): Add systemtap probe marker.
42402         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
42403         (__ieee754_log): Add systemtap probe marker.
42404         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
42405         (atanMp): Add systemtap probe marker.
42406         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
42407         (tanMp): Add systemtap probe marker.
42408         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
42409         (__slowexp): Add systemtap probe marker.
42410         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
42411         (__slowpow): Add systemtap probe marker.
42412         * manual/probes.texi: Document probes.
42414 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
42416         [BZ #15362]
42417         * libio/fileops.c (_IO_new_file_write): Return count of bytes
42418         written.
42419         (_IO_new_file_xsputn): Don't return EOF if nothing has been
42420         written.
42421         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
42422         written to buffer but not flushed.
42423         * libio/iofwrite_u.c:  Likewise.
42424         * libio/iopadn.c:  Return bytes returned even if EOF was
42425         encountered.
42426         * libio/iowpadn.c:  Likewise.
42427         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
42428         if _IO_padn does not write the whole buffer.
42429         [!COMPILE_WPRINTF] (PAD): Likewise.
42431 2013-10-10  David S. Miller  <davem@davemloft.net>
42433         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
42434         directory block.
42436 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
42438         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
42439         instead of FSF address.
42440         * soft-fp/fixdfti.c: Likewise.
42441         * soft-fp/fixsfti.c: Likewise.
42442         * soft-fp/fixtfti.c: Likewise.
42443         * soft-fp/fixunsdfti.c: Likewise.
42444         * soft-fp/fixunssfti.c: Likewise.
42445         * soft-fp/fixunstfti.c: Likewise.
42446         * soft-fp/floattidf.c: Likewise.
42447         * soft-fp/floattisf.c: Likewise.
42448         * soft-fp/floattitf.c: Likewise.
42449         * soft-fp/floatuntidf.c: Likewise.
42450         * soft-fp/floatuntisf.c: Likewise.
42451         * soft-fp/floatuntitf.c: Likewise.
42452         * soft-fp/trunctfxf2.c: Likewise.
42454         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
42455         * soft-fp/fixdfti.c: Likewise.
42456         * soft-fp/fixsfti.c: Likewise.
42457         * soft-fp/fixtfti.c: Likewise.
42458         * soft-fp/fixunsdfti.c: Likewise.
42459         * soft-fp/fixunssfti.c: Likewise.
42460         * soft-fp/fixunstfti.c: Likewise.
42461         * soft-fp/floattidf.c: Likewise.
42462         * soft-fp/floattisf.c: Likewise.
42463         * soft-fp/floattitf.c: Likewise.
42464         * soft-fp/floatuntidf.c: Likewise.
42465         * soft-fp/floatuntisf.c: Likewise.
42466         * soft-fp/floatuntitf.c: Likewise.
42467         * soft-fp/trunctfxf2.c: Likewise.
42469 2013-10-10  David S. Miller  <davem@davemloft.net>
42471         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42473 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
42475         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
42476         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
42477         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
42478         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
42479         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
42480         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
42481         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
42483         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
42484         for NaNs before doing comparisons on argument.
42485         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
42486         Likewise.
42488 2013-10-10  Will Newton  <will.newton@linaro.org>
42490         * malloc/hooks.c (memalign_check): Ensure the value of bytes
42491         passed to _int_memalign does not overflow.
42493 2013-10-10  Torvald Riegel  <triegel@redhat.com>
42495         * scripts/bench.pl: Add include-sources directive.
42496         * benchtests/README: Update documentation.
42498 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
42500         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
42501         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
42502         instead of FP_INIT_ROUNDMODE.
42503         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
42504         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
42506         [BZ #16034]
42507         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
42508         copy class of input value.
42509         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
42510         not handle exceptions.
42511         * soft-fp/negsf2.c (__negsf2): Likewise.
42512         * soft-fp/negtf2.c (__negtf2): Likewise.
42513         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
42515 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
42517         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
42518         semicolon.  From Linux kernel.
42520 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
42522         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
42524 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
42526         [BZ #156]
42527         * manual/socket.texi: Added statement about buffer
42528         for gethostbyname2_r.
42530 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
42532         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
42533         Use .p2align directive instead, throughout.
42534         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
42535         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
42536         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
42537         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42538         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42539         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
42540         * sysdeps/x86_64/strchr.S: Likewise.
42541         * sysdeps/x86_64/strrchr.S: Likewise.
42543 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
42545         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
42547         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
42549         * sysdeps/generic/math_private.h (__mpsin1): Remove
42550         declaration.
42551         (__mpcos1): Likewise.
42552         (__mpsin): New argument __range_reduce.
42553         (__mpcos): Likewise.
42554         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42555         (slow): Use __mpsin and __mpcos.
42556         (slow1): Likewise.
42557         (slow2): Likewise.
42558         (sloww): Likewise.
42559         (sloww1): Likewise.
42560         (sloww2): Likewise.
42561         (bsloww): Likewise.
42562         (bsloww1): Likewise.
42563         (bsloww2): Likewise.
42564         (cslow2): Likewise.
42565         (csloww): Likewise.
42566         (csloww1): Likewise.
42567         (csloww2): Likewise.
42568         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
42569         range_reduce.  Merge in __mpsin1.
42570         (__mpcos): Likewise.
42571         (__mpsin1): Remove.
42572         (__mpcos1): Likewise.
42574 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
42576         * locale/loadlocale.c (_nl_intern_locale_data): Use
42577         LOCFILE_ALIGNED_P.
42578         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
42579         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
42580         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
42581         obstack data is appropriately aligned.
42582         (obstack_int32_grow_fast): Likewise.
42583         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
42584         * locale/programs/locfile.c (add_locale_uint32): Likewise.
42585         (add_locale_uint32_array): Likewise.
42587 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
42589         * benchtests/Makefile: Remove ARGLIST and RET variables.
42590         ($(objpfx)bench-%.c): Pass only function name to the script.
42591         * benchtests/README: Update documentation.
42592         * benchtests/acos-inputs: Add new directives.
42593         * benchtests/acosh-inputs: Likewise.
42594         * benchtests/asin-inputs: Likewise.
42595         * benchtests/asinh-inputs: Likewise.
42596         * benchtests/atan-inputs: Likewise.
42597         * benchtests/atanh-inputs: Likewise.
42598         * benchtests/cos-inputs: Likewise.
42599         * benchtests/cosh-inputs: Likewise.
42600         * benchtests/exp-inputs: Likewise.
42601         * benchtests/log-inputs: Likewise.
42602         * benchtests/pow-inputs: Likewise.
42603         * benchtests/rint-inputs: Likewise.
42604         * benchtests/sin-inputs: Likewise.
42605         * benchtests/sinh-inputs: Likewise.
42606         * benchtests/tan-inputs: Likewise.
42607         * benchtests/tanh-inputs: Likewise.
42608         * scripts/bench.pl: Add support for new directives.
42610 2013-10-07  Alan Modra  <amodra@gmail.com>
42612         * README: Fix careless merge.
42614 2013-10-05  Alan Modra  <amodra@gmail.com>
42616         * NEWS: Mention powerpc64le support and bugs fixed.
42617         * README: Both big-endian and little-endian powerpc64 supported.
42619 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42621         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
42622         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
42623         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
42624         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
42626 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
42628         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
42629         match prototype.
42631 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
42633         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
42634         Move -mhard-float appending from
42635         ports/sysdeps/powerpc/powerpc32/Makefile.
42636         [$(with-fp) = yes] (ASFLAGS): Likewise.
42637         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
42638         * sysdeps/powerpc/nofpu: Move directory from
42639         ports/sysdeps/powerpc/nofpu.
42640         * sysdeps/powerpc/soft-fp: Move directory from
42641         ports/sysdeps/powerpc/soft-fp.
42642         * sysdeps/powerpc/powerpc32/405: Move directory from
42643         ports/sysdeps/powerpc/powerpc32/405.
42644         * sysdeps/powerpc/powerpc32/440: Move directory from
42645         ports/sysdeps/powerpc/powerpc32/440.
42646         * sysdeps/powerpc/powerpc32/464: Move directory from
42647         ports/sysdeps/powerpc/powerpc32/464.
42648         * sysdeps/powerpc/powerpc32/476: Move directory from
42649         ports/sysdeps/powerpc/powerpc32/476.
42650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
42651         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
42652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
42653         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
42654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
42655         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
42656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
42657         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
42658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
42659         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
42660         * README: Update for powerpc-*-linux-gnu software floating point
42661         support in libc.
42663         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
42664         case to powerpc/powerpc32*.
42665         * sysdeps/unix/sysv/linux/configure: Regenerated.
42667         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
42668         (_FPU_MASK_OM): Define as 0x04.
42669         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
42670         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
42671         0x00c10080.
42672         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
42673         0x0000003c.
42674         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
42676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
42677         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
42678         getcontext_e500.
42679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
42680         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
42681         setcontext_e500.
42682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
42683         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
42684         and setcontext_e500.
42686 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
42688         * locale/iso-3166.def: Update iso-1366.def and related occurrences
42690 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42692         * manual/threads.texi (Default Thread Attributes): Fix typo.
42694 2013-10-04  Will Newton  <will.newton@linaro.org>
42696         * malloc/Makefile: Add tst-memalign.
42697         * malloc/tst-memalign.c: New file.
42699         * malloc/tst-posix_memalign.c: Add comments.
42700         (do_test): Add comments and call free on all potentially
42701         allocated pointers. Add space after cast.
42703         * malloc/tst-pvalloc.c: Add comments.
42704         (do_test): Add comments and call free on all potentially
42705         allocated pointers. Remove duplicate check for NULL pointer.
42706         Add space after cast.
42708         * malloc/tst-valloc.c: Add comments.
42709         (do_test): Add comments and call free on all potentially
42710         allocated pointers. Remove duplicate check for NULL pointer.
42711         Add space after cast.
42713 2013-10-04  Alan Modra  <amodra@gmail.com>
42715         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
42716         Use stdint types in rather than __attribute__((mode())).
42717         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
42719 2013-10-04  Alan Modra  <amodra@gmail.com>
42721         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
42722         Correct handling of unaligned relocs for little-endian.
42723         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
42725 2013-10-04  Alan Modra  <amodra@gmail.com>
42727         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
42728         * configure: Regenerate.
42729         * nptl/shlib-versions: Powerpc*le starts at 2.18.
42730         * shlib-versions: Likewise.
42732 2013-10-04  Alan Modra  <amodra@gmail.com>
42734         * string/tester.c (test_memrchr): Increment reported test cycle.
42736 2013-10-04  Alan Modra  <amodra@gmail.com>
42738         * string/test-memcpy.c (do_one_test): When reporting errors, print
42739         string address and don't overrun end of string.
42741 2013-10-04  Alan Modra  <amodra@gmail.com>
42743         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
42744         insrdi.  Make better use of reg selection to speed exit slightly.
42745         Schedule entry path a little better.  Remove useless "are we done"
42746         checks on entry to main loop.  Handle wrapping around zero address.
42747         Correct main loop count.  Handle single left-over word from main
42748         loop inline rather than by using loop_small.  Remove extra word
42749         case in loop_small caused by wrong loop count.  Add little-endian
42750         support.
42751         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
42752         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
42753         cache hint.
42754         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
42755         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
42756         support.  Avoid rlwimi.
42757         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
42759 2013-10-04  Alan Modra  <amodra@gmail.com>
42761         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
42762         insrdi.  Formatting.
42763         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
42764         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
42765         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
42766         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
42767         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
42768         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
42770 2013-10-04  Alan Modra  <amodra@gmail.com>
42772         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
42773         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42774         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
42775         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
42776         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
42777         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
42778         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
42779         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42780         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
42781         use of regs.  Use power7 mtocrf.  Tidy function tails.
42783 2013-10-04  Alan Modra  <amodra@gmail.com>
42785         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
42786         Formatting.  Consistently use rXXX register defines or rN defines.
42787         Use early exit labels that avoid restoring unused non-volatile regs.
42788         Make cr field use more consistent with rWORDn compares.  Rename
42789         regs used as shift registers for unaligned loop, using rN defines
42790         for short lifetime/multiple use regs.
42791         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
42792         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
42793         addi 1,1,64 to pop stack frame.  Simplify return value code.
42794         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42796 2013-10-04  Alan Modra  <amodra@gmail.com>
42798         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
42799         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
42800         rather than rlwimi.
42801         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
42802         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
42803         little-endian support.  Correct typos.
42804         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
42805         rather than rlwimi.
42806         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
42807         in loop and entry code to keep "and." results.
42808         (strchr): Add little-endian support.  Comment.  Move cntlzd
42809         earlier in tail.
42810         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
42812 2013-10-04  Alan Modra  <amodra@gmail.com>
42814         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
42815         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
42816         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
42817         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
42819 2013-10-04  Alan Modra  <amodra@gmail.com>
42821         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
42822         (rTMP): Define as r11.
42823         (strcmp): Add little-endian support.  Optimise tail.
42824         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
42825         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
42826         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
42827         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42828         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
42829         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42830         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42832 2013-10-04  Alan Modra  <amodra@gmail.com>
42834         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
42835         little-endian support.  Remove unnecessary "are we done" tests.
42836         Handle "s" wrapping around zero and extremely large "size".
42837         Correct main loop count.  Handle single left-over word from main
42838         loop inline rather than by using small_loop.  Correct comments.
42839         Delete "zero" tail, use "end_max" instead.
42840         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
42842 2013-10-04  Alan Modra  <amodra@gmail.com>
42844         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
42845         support.  Don't branch over align.
42846         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
42847         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
42848         support.  Rearrange tmp reg use to suit.  Comment.
42849         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
42851 2013-10-04  Alan Modra  <amodra@gmail.com>
42853         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
42855 2013-10-04  Alan Modra  <amodra@gmail.com>
42857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
42858         conditional form of branch and link when obtaining pc.
42859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
42861 2013-10-04  Alan Modra  <amodra@gmail.com>
42863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
42864         HIWORD/LOWORD.
42865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
42866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
42868 2013-10-04  Alan Modra  <amodra@gmail.com>
42870         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
42871         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
42872         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
42873         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
42874         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
42875         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
42876         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
42877         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
42878         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
42879         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
42881 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42882             Alistair Popple <alistair@ozlabs.au.ibm.com>
42883             Alan Modra <amodra@gmail.com>
42885         [BZ #15723]
42886         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
42887         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
42888         _dl_hwcap access for little-endian.
42889         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
42890         destroy vmx regs when saving unaligned.
42891         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
42892         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
42893         destroy vmx regs when saving unaligned.
42895 2013-10-04  Alan Modra  <amodra@gmail.com>
42897         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
42898         Don't use a union to pack hi/low value.
42900 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42902         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
42903         for little-endian.
42904         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
42905         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
42906         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
42907         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
42908         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
42910 2013-10-04  Alan Modra  <amodra@gmail.com>
42912         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
42913         constants to usual value for .cst8 section, and remove redundant
42914         high address load.
42915         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
42916         constant for 0x1p52.  Load little-endian words of double from
42917         correct stack offsets.
42919 2013-10-04  Alan Modra  <amodra@gmail.com>
42921         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
42922         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
42923         words of double from correct stack offsets.
42924         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
42925         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
42926         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
42927         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
42928         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
42929         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
42930         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
42931         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
42932         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
42933         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
42934         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
42935         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
42936         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42937         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42938         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42939         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
42940         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
42942 2013-10-04  Alan Modra  <amodra@gmail.com>
42944         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
42945         64-bit int/double union.
42946         (_FPU_SETCW): Likewise.
42947         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
42948         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
42950 2013-10-04  Alan Modra  <amodra@gmail.com>
42952         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
42953         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
42955 2013-10-04  Alan Modra  <amodra@gmail.com>
42957         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
42958         use vector int constants.
42959         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
42961 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42963         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
42964         array with long long.
42965         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
42966         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
42967         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
42968         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
42969         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
42970         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
42971         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
42972         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
42973         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
42974         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
42975         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
42976         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
42977         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
42979 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42981         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
42982         (__signbit): Likewise.  Correct for little-endian.
42983         (__signbitl): Call __signbit.
42984         (lrint): Correct for little-endian.
42985         (lrintf): Call lrint.
42987 2013-10-04  Alan Modra  <amodra@gmail.com>
42989         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
42990         union 32-bit int array member with 64-bit int array.
42991         (t515, tm256): Double rather than long double.
42992         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
42994 2013-10-04  Alan Modra  <amodra@gmail.com>
42996         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
42997         Delete.
42998         (IEEE854_LONG_DOUBLE_BIAS): Delete.
42999         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
43000         version of math_ldbl.h.
43002 2013-10-04  Alan Modra  <amodra@gmail.com>
43004         [BZ #15734], [BZ #15735]
43005         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
43006         all uses of ieee875 long double macros and unions.  Simplify test
43007         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
43008         ldbl_extract_mantissa value for ix,iy exponents.  Properly
43009         normalize after ldbl_extract_mantissa, and don't add hidden bit
43010         already handled.  Don't treat low word of ieee854 mantissa like
43011         low word of IBM long double and mask off bit when testing for
43012         zero.
43013         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
43014         all uses of ieee875 long double macros and unions.  Simplify tests
43015         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
43016         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
43017         two1022, instead use their values.  Recognise that tests for large
43018         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
43019         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
43020         Rewrite all uses of ieee875 long double macros and unions.  Simplify
43021         test for 0.0L and nan.  Correct negation.
43022         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
43023         ieee875 long double macros and unions.  Correct output for large
43024         magnitude x.  Correct absolute value calculation.
43025         (__erfcl): Likewise.
43026         * math/libm-test.inc: Add tests for errors discovered in IBM long
43027         double versions of fmodl, remainderl, erfl and erfcl.
43029 2013-10-04  Alan Modra  <amodra@gmail.com>
43031         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
43032         all uses of ieee854 long double macros and unions.  Simplify tests
43033         for long doubles that are fully specified by the high double.
43034         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
43035         Likewise.
43036         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
43037         Remove dead code too.
43038         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
43039         (__ieee754_ynl): Likewise.
43040         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
43041         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
43042         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
43043         Remove dead code too.
43044         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
43045         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
43046         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
43047         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
43048         Simplify.
43049         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
43050         Simplify.
43051         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
43052         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
43053         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
43054         Comment on variable precision.
43055         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
43056         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43057         Likewise.
43058         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
43059         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43060         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43061         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
43062         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
43064 2013-10-04  Alan Modra  <amodra@gmail.com>
43066         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
43067         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
43068         all uses of ieee854 long double macros and unions.
43069         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
43070         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43071         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
43072         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
43073         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
43074         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
43075         Likewise.
43076         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
43077         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
43078         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
43079         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
43080         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
43081         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
43082         Simplify sign and nan test too.
43083         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
43084         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
43085         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
43086         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
43087         Likewise.
43088         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
43089         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
43090         Likewise.
43091         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43092         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
43093         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
43094         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
43095         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
43096         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
43098 2013-10-04  Alan Modra  <amodra@gmail.com>
43100         * stdio-common/printf_size.c (__printf_size): Don't use
43101         union ieee854_long_double in fpnum union.
43102         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
43103         signbit macro to retrieve sign from long double.
43104         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
43105         retrieve sign from long double.
43106         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
43107         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
43108         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
43109         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
43110         * math/test-misc.c (main): Don't use union ieee854_long_double.
43112 2013-10-04  Alan Modra  <amodra@gmail.com>
43114         [BZ #15680]
43115         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
43116         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
43117         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
43118         calculation.  Remove unnecessary test for denormal exponent.
43119         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
43120         Correct handling of denormals.  Avoid undefined shift behaviour.
43121         Correct normalisation of low mantissa when low double is denormal.
43122         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
43123         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
43124         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
43125         Correct normalisation of low mantissa.  Test for overflow of high
43126         mantissa and normalise.
43127         (ldbl_nearbyint): Use more readable constant for two52.
43128         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
43129         (__mpn_construct_long_double): Fix test for overflow of high
43130         mantissa and correct normalisation.  Avoid undefined shift.
43132 2013-10-04  Alan Modra  <amodra@gmail.com>
43134         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
43135         (union ibm_extended_long_double): Define as an array of ieee754_double.
43136         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
43137         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
43138         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
43139         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43140         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43141         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
43142         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
43143         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
43144         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
43145         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
43146         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
43148 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
43150         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
43151         page size instead of calling getpagesize.
43153         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
43154         (LOCFILE_ALIGN_MASK): Likewise.
43155         (LOCFILE_ALIGN_UP): Likewise.
43156         (LOCFILE_ALIGNED_P): Likewise.
43157         * locale/programs/ld-collate.c (collate_output): Use the new
43158         macros instead of __alignof__ (int32_t).
43159         * locale/weight.h (findidx): Likewise.
43161 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
43163         [BZ #431]
43164         * manual/string.texi: Fix strncat and wcsncat.
43166 2013-10-03  Brooks Moses  <bmoses@google.com>
43168         [BZ #15915]
43169         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
43170         * Makerules: ...here, and adjust associated comments.
43172 2013-10-02  Will Newton  <will.newton@linaro.org>
43174         * malloc/Makefile: Add tst-pvalloc.
43175         * malloc/tst-pvalloc.c: New file.
43177 2013-10-02  Will Newton  <will.newton@linaro.org>
43179         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
43180         improve test coverage.
43182 2013-10-02  Will Newton  <will.newton@linaro.org>
43184         * malloc/Makefile: Add tst-posix_memalign.
43185         * malloc/tst-posix_memalign.c: New file.
43187 2013-10-01  Eric Blake  <eblake@redhat.com>
43189         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
43190         Use __THROWNL rather than __THROW on static functions.
43192 2013-09-30  Petr Machata  <pmachata@redhat.com>
43194         * elf/elf.h (R_AARCH64_ABS16): New macro.
43195         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
43196         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
43197         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
43198         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
43199         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
43200         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
43201         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
43202         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
43203         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
43204         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
43205         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
43206         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
43207         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
43208         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
43209         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
43210         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
43211         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
43212         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
43213         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
43214         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
43215         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
43216         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
43217         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
43218         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
43219         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
43220         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
43221         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
43222         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
43223         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
43224         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
43225         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
43226         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
43227         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
43228         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
43229         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
43230         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
43231         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
43232         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
43233         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
43234         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
43235         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
43236         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
43237         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
43238         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
43239         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
43240         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
43241         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
43242         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
43243         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
43244         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
43245         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
43246         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
43247         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
43248         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
43249         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
43250         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
43251         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
43252         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
43253         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
43254         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
43255         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
43256         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
43257         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
43258         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
43259         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
43260         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
43261         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
43262         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
43263         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
43264         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
43265         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
43266         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
43267         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
43268         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
43269         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
43270         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
43271         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
43272         (R_AARCH64_TLSDESC_LDR): Likewise.
43273         (R_AARCH64_TLSDESC_ADD): Likewise.
43274         (R_AARCH64_TLSDESC_CALL): Likewise.
43276 2013-09-30  Andreas Schwab  <schwab@suse.de>
43278         [BZ #15048]
43279         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
43280         the nss database lookup.
43281         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43282         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43284 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
43286         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
43288 2013-09-28  P. J. McDermott  <pj@pehjota.net>
43290         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
43291         ${Bash-specific parameter/pattern/string} parameter expansion.
43292         * sysdeps/unix/make-syscalls.sh: Likewise.
43294 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43296         * sysdeps/sh/stackguard-macros.h: New file.
43298 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
43300         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
43301         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
43302         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
43303         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
43304         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43305         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
43307 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43309         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
43310         Fix thread ID register.
43312 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
43314         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
43315         [POSIX || UNIX98]: Require rather than permitting all symbols from
43316         <time.h>.
43317         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
43318         element of struct sched_param.
43319         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
43320         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
43321         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
43322         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
43323         constant.
43325 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
43327         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
43328         argument calculation.
43330 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
43332         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
43333         Expect macro.
43334         [POSIX] (pthread_attr_t): Do not require type.
43335         [POSIX] (pthread_cond_t): Likewise.
43336         [POSIX] (pthread_condattr_t): Likewise.
43337         [POSIX] (pthread_key_t): Likewise.
43338         [POSIX] (pthread_mutex_t): Likewise.
43339         [POSIX] (pthread_mutexattr_t): Likewise.
43340         [POSIX] (pthread_once_t): Likewise.
43341         [POSIX] (pthread_t): Likewise.
43342         [POSIX-based standards] (pthread_atfork): Expect function.
43344 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
43345             Richard Sandiford  <richard@codesourcery.com>
43347         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
43348         (swap_endianness_p): New extern variable.
43349         (set_big_endian): New inline function.
43350         (maybe_swap_uint32): Likewise.
43351         (maybe_swap_uint32_array): Likewise.
43352         (maybe_swap_uint32_obstack): Likewise.
43353         * locale/programs/locfile.c: Include <stdbool.h>.
43354         (swap_endianness_p): New variable.
43355         (add_locale_uint32): Call maybe_swap_uint32.
43356         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
43357         (write_locale_data): Call maybe_swap_uint32_array.
43358         * locale/programs/ld-collate.c (obstack_int32_grow): Call
43359         maybe_swap_uint32.
43360         (obstack_int32_grow_fast): Likewise.
43361         (output_weightwc): Call maybe_swap_uint32_obstack.
43362         (collate_output): Likewise.
43363         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
43364         (OPT_LITTLE_ENDIAN): Likewise.
43365         (options): Add --little-endian and --big-endian options.
43366         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
43367         * locale/programs/locarchive.c: Include "locfile.h".
43368         (GET): New macro.
43369         (SET): Likewise.
43370         (INC): Likewise.
43371         (create_archive): Use the new macros to access fields of
43372         structures directly mapped from or written to locale archives.
43373         (oldlocrecentcmp): Likewise.
43374         (enlarge_archive): Likewise.
43375         (insert_name): Likewise.
43376         (add_alias): Likewise.
43377         (add_locale): Likewise.
43378         (delete_locales_from_archive): Likewise.
43379         (show_archive_content): Likewise.
43380         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
43381         locale data.
43383 2013-09-24  Roland McGrath  <roland@hack.frob.com>
43385         * manual/freemanuals.texi: Updated from (newly) canonical copy at
43386         http://www.gnu.org/doc/freemanuals.texi.
43387         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
43389 2013-09-24  Will Newton  <will.newton@linaro.org>
43391         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
43392         macro.
43394 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
43396         * locale/hashval.h (compute_hashval): Interpret bytes of key as
43397         unsigned char.
43399 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
43401         * manual/threads.texi (POSIX Threads): Fix a typo.
43403 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
43405         [BZ #14547]
43406         * string/tst-strcoll-overflow.c: New test case.
43407         * string/Makefile (xtests): Add tst-strcoll-overflow.
43408         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
43409         cache if string sizes may cause integer overflow.
43411         [BZ #14547]
43412         * string/strcoll_l.c (coll_seq): New members rule, idx,
43413         save_idx and back_us.
43414         (get_next_seq_nocache): New function.
43415         (do_compare_nocache): New function.
43416         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
43417         when malloc fails.
43419 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
43421         [BZ #15754]
43422         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
43423         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
43424         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
43426         [BZ #15754]
43427         * elf/Makefile (tests): Add tst-ptrguard1.
43428         (tests-static): Add tst-ptrguard1-static.
43429         (tst-ptrguard1-ARGS): Define.
43430         (tst-ptrguard1-static-ARGS): Define.
43431         * elf/tst-ptrguard1.c: New file.
43432         * elf/tst-ptrguard1-static.c: New file.
43433         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
43434         * sysdeps/i386/stackguard-macros.h: Likewise.
43435         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43436         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43437         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43438         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43439         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43440         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43442 2013-09-23  Hector Marco  <hecmargi@upv.es>
43443             Ismael Ripoll  <iripoll@disca.upv.es>
43444             Carlos O'Donell  <carlos@redhat.com>
43446         [BZ #15754]
43447         * sysdeps/generic/stackguard-macros.h: Define
43448         __pointer_chk_guard_local and POINTER_CHK_GUARD.
43449         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
43450         Define __pointer_chk_guard_local.
43451         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
43452         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
43454 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
43456         [BZ #15859]
43457         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
43459 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
43461         * include/string.h (__ffs): Declare as hidden.
43462         * string/ffs.c (__ffs): Define as hidden.
43463         * sysdeps/i386/ffs.c (__ffs): Likewise.
43464         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
43465         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
43466         * sysdeps/s390/ffs.c (__ffs): Likewise.
43467         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
43469 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
43471         * NEWS: Mention malloc probes.
43473         * malloc/arena.c (new_heap): New memory_heap_new probe.
43474         (grow_heap): New memory_heap_more probe.
43475         (shrink_heap): New memory_heap_less probe.
43476         (heap_trim): New memory_heap_free probe.
43477         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
43478         (systrim): New memory_sbrk_less probe.
43479         * manual/probes.texi: Document them.
43481         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
43482         * manual/probes.texi: Document it.
43484         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
43485         (__libc_realloc): Add memory_realloc_retry probe.
43486         (__libc_memalign): Add memory_memalign_retry probe.
43487         (__libc_valloc): Add memory_valloc_retry probe.
43488         (__libc_pvalloc): Add memory_pvalloc_retry probe.
43489         (__libc_calloc): Add memory_calloc_retry probe.
43490         * manual/probes.texi: Document them.
43492         * malloc/arena.c (get_free_list): Add probe
43493         memory_arena_reuse_free_list.
43494         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
43495         and memory_arena_reuse.
43496         (arena_get2) [!PER_THREAD]: Likewise.
43497         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
43498         memory_arena_reuse_realloc.
43499         * manual/probes.texi: Document them.
43501         * malloc/malloc.c (__libc_free): Add
43502         memory_mallopt_free_dyn_thresholds probe.
43503         (__libc_mallopt): Add multiple memory_mallopt probes.
43504         * manual/probes.texi: Document them.
43506         * malloc/malloc.c: Include stap-probe.h.
43507         (__libc_mallopt): Add memory_mallopt probe.
43508         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
43509         * manual/probes.texi: New.
43510         * manual/Makefile (chapters): Add probes.
43511         * manual/threads.texi: Set next node.
43513 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
43515         [BZ #15963, #13985]
43516         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
43517         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
43518         Add `Chinese' to `nan' entry name.
43520 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43522         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
43523         (POLYNOMIAL): Likewise.
43524         (TAYLOR_SINCOS): Likewise.
43525         (TAYLOR_SLOW): Likewise.
43526         (__sin): Use TAYLOR_SINCOS.
43527         (__cos): Likewise.
43528         (slow): Use TAYLOR_SLOW.
43529         (sloww): Likewise.
43530         (bsloww): Likewise.
43531         (csloww): Likewise.
43533 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43535         * stdlib/strtod_l.c: Fix buffer overrun.
43537 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43539         * benchtests/Makefile (bench): Add sincos.
43540         * benchtests/bench-sincos.c: New file.
43542         * math/libm-test.inc (cos_test_data): New test inputs.
43543         (sin_test_data): Likewise.
43545         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
43546         macro.
43547         (__sin): Use it.
43548         (__cos): Likewise.
43549         (slow1): Likewise.
43550         (slow2): Likewise.
43551         (sloww1): Likewise.
43552         (sloww2): Likewise.
43553         (bsloww1): Likewise.
43554         (bsloww2): Likewise.
43555         (cslow2): Likewise.
43556         (csloww1): Likewise.
43557         (csloww2): Likewise.
43559         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
43560         function.
43561         (__sin): Use it.
43562         (__cos): Likewise.
43564         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
43565         gotos.
43566         (__cos): Likewise.
43568 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
43570         * config.h.in (HAVE_MIPS_NAN2008): New macro.
43571         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
43572         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
43573         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
43574         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
43575         * elf/cache.c (print_entry): Handle the new cache flags.
43577 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
43578             Aldy Hernandez  <aldyh@redhat.com>
43580         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
43581         Change condition to [_SOFT_FLOAT].
43582         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
43583         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
43584         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
43585         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
43586         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
43587         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
43588         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
43589         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
43590         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
43591         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
43592         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
43593         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
43594         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
43595         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
43596         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
43597         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
43598         declaration.
43600 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
43602         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
43603         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
43604         (__longjmp): Use LOAD_GP to load saved GPRs.
43605         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
43606         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
43607         (__sigsetjmp): Use SAVE_GP to save GPRs.
43609         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
43610         Do not append -msoft-float.
43611         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
43613 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43615         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
43617 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
43619         [BZ #15966]
43620         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
43621         (_FPU_GETCW): Use initial "__" on variable and field names but not
43622         on macro parameter name.
43623         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
43624         parentheses around reference to macro parameter.
43626 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
43628         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
43629         prototype.
43630         (ctype_startup): Use uint32_t in cast and sizeof for
43631         ctype->charnames.
43633 2013-09-11  Jia Liu  <proljc@gmail.com>
43635         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
43636         __daddr_t_defined.
43637         [__FreeBSD__]: Likewise.
43639 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
43641         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
43642         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
43643         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
43644         (strchr): Remove __strchr_sse42 ifunc selection.
43645         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
43646         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
43648 2013-09-11  Will Newton  <will.newton@linaro.org>
43650         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
43651         parameter to RES. Remove hardcoded 1000 value.
43652         * benchtests/bench-skeleton.c (main): Pass RES parameter
43653         to TIMING_INIT and multiply result by 1000.
43655 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43657         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43659 2013-09-11  Andreas Schwab  <schwab@suse.de>
43661         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
43662         if not defined.
43663         (O_TMPFILE) [__USE_GNU]: Define.
43664         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
43665         Define.
43667 2013-09-11  Will Newton  <will.newton@linaro.org>
43669         [BZ #15857]
43670         * malloc/malloc.c (__libc_memalign): Check the value of bytes
43671         does not overflow.
43673 2013-09-11  Will Newton  <will.newton@linaro.org>
43675         [BZ #15856]
43676         * malloc/malloc.c (__libc_valloc): Check the value of bytes
43677         does not overflow.
43679 2013-09-11  Will Newton  <will.newton@linaro.org>
43681         [BZ #15855]
43682         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
43683         does not overflow.
43685 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
43687         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
43688         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43689         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43690         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43691         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43693 2013-09-10  Allan McRae  <allan@archlinux.org>
43695         [BZ #15748]
43696         * manual/arith.texi (Parsing of Floats): Clarify
43697         cross-reference.
43699         [BZ #15849]
43700         * manual/install.texi (Running make install): Mention
43701         --enable-pt-chown.
43702         * INSTALL: Regenerated.
43704 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
43706         * csu/init-first.c (_init): Remove the !SHARED condition around
43707         FPU control word initialization.
43708         * elf/dl-support.c (_dl_fpu_control): New variable.
43709         (_dl_aux_init) <AT_FPUCW>: Initialize it.
43710         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
43711         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
43712         * math/test-fpucw-static.c: New file.
43713         * math/test-fpucw-ieee.c: New file.
43714         * math/test-fpucw-ieee-static.c: New file.
43715         * math/Makefile (tests): Add `test-fpucw-ieee' and
43716         `$(tests-static)'.
43717         (tests-static): New variable.
43718         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
43719         dependency to...
43720         [($(build-shared),yes)]
43721         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
43722         ... this.
43723         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
43724         New dependency.
43726 2013-09-09  Allan McRae  <allan@archlinux.org>
43728         [BZ #15939]
43729         * manual/string.texi (Collation Functions): Fix typo in
43730         strcoll example.
43731         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
43733         [BZ #15893]
43734         * stdlib/isomac.c (get_null_defines): Fix memory leak.
43736         [BZ #15892]
43737         * libio/memstream.c (open_memstream): Fix memory leak.
43738         * libio/wmemstream.c (open_wmemstream): Likewise.
43740         [BZ #15895]
43741         * nscd/netgroupcache.c: Fix nesting of ifdefs.
43743 2013-09-09  Will Newton  <will.newton@linaro.org>
43745         * malloc/Makefile: Add tst-realloc to tests.
43746         * malloc/tst-realloc.c: New file.
43748 2013-09-09  Allan McRae  <allan@archlinux.org>
43750         [BZ #15844]
43751         * COPYING: Update from GNU website to fix FSF address.
43752         * COPYING.LIB: Likewise.
43754 2013-09-06  David S. Miller  <davem@davemloft.net>
43756         * po/zh_TW.po: Update Chinese (traditional) translation from
43757         translation project.
43759 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
43760             Joseph Myers  <joseph@codesourcery.com>
43762         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
43763         "localeinfo.h".
43764         (obstack_chunk_alloc): New macro.
43765         (obstack_chunk_free): Likewise.
43766         (record_offset): New function.
43767         (init_locale_data): Likewise.
43768         (align_locale_data): Likewise.
43769         (add_locale_empty): Likewise.
43770         (add_locale_raw_data): Likewise.
43771         (add_locale_raw_obstack): Likewise.
43772         (add_locale_string): Likewise.
43773         (add_locale_wstring): Likewise.
43774         (add_locale_uint32): Likewise.
43775         (add_locale_uint32_array): Likewise.
43776         (add_locale_char): Likewise.
43777         (start_locale_structure): Likewise.
43778         (end_locale_structure): Likewise.
43779         (start_locale_prelude): Likewise.
43780         (end_locale_prelude): Likewise.
43781         (write_locale_data): Take locale_file structure rather than an
43782         iovec.
43783         * locale/programs/locfile.h: Include "obstack.h".
43784         (struct locale_file): Change to store locale file contents instead
43785         of header.
43786         (init_locale_data): New prototype.
43787         (align_locale_data): Likewise.
43788         (add_locale_empty): Likewise.
43789         (add_locale_raw_data): Likewise.
43790         (add_locale_raw_obstack): Likewise.
43791         (add_locale_string): Likewise.
43792         (add_locale_wstring): Likewise.
43793         (add_locale_uint32): Likewise.
43794         (add_locale_uint32_array): Likewise.
43795         (add_locale_char): Likewise.
43796         (start_locale_structure): Likewise.
43797         (end_locale_structure): Likewise.
43798         (start_locale_prelude): Likewise.
43799         (end_locale_prelude): Likewise.
43800         (write_locale_data): Update prototype.
43801         * locale/programs/3level.h (struct TABLE): Remove result field.
43802         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
43803         Use new locale_file interface.
43804         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
43805         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
43806         * locale/programs/ld-address.c (address_output): Use new
43807         locale_file interface.
43808         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
43809         NO_ADD_LOCALE.
43810         (collate_finish): Don't call collseq_table_finalize.
43811         (collate_output): Use new locale_file interface.
43812         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
43813         in file.
43814         (NO_FINALIZE): Change to NO_ADD_LOCALE.
43815         (TABLE): Move defines earlier in file.
43816         (ELEMENT): Likewise.
43817         (DEFAULT): Likewise.
43818         (wctrans_table_add): Move macro and inline function earlier in
43819         file.
43820         (struct wctype_table): Move type earlier in file.
43821         (add_locale_wctype_table): New static prototype.
43822         (struct locale_ctype_t): Use logical types instead of struct iovec
43823         pointers for members.
43824         (ctype_output): Use new locale_file interface.
43825         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
43826         new locale_file interface.
43827         (allocate_arrays): Update for use of new locale_file interface.
43828         * locale/programs/ld-identification.c (identification_output): Use
43829         new locale_file interface.
43830         * locale/programs/ld-measurement.c (measurement_output): Likewise.
43831         * locale/programs/ld-messages.c (messages_output): Likewise.
43832         * locale/programs/ld-monetary.c (monetary_output): Likewise.
43833         * locale/programs/ld-name.c (name_output): Likewise.
43834         * locale/programs/ld-numeric.c (numeric_output): Likewise.
43835         * locale/programs/ld-paper.c (paper_output): Likewise.
43836         * locale/programs/ld-telephone.c (telephone_output): Likewise.
43837         * locale/programs/ld-time.c (time_output): Likewise.
43839 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43841         * benchtests/Makefile: Add memrchr benchmark.
43842         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
43843         benchmark as memrchr.
43844         * benchtests/bench-memrchr-ifunc.c: New file.
43845         * benchtests/bench-memrchr.c: New file.
43847 2013-09-06   Will Newton  <will.newton@linaro.org>
43849         * benchtests/Makefile (string-bench): Add memcpy.
43851 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
43852             Cong Wang  <amwang@redhat.com>
43854         [BZ #15850]
43855         * sysdeps/unix/sysv/linux/bits/in.h
43856         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
43857         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
43858         before __USE_KERNEL_IPV6_DEFS uses.
43859         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
43860         IPPROTO_BEETPH.
43861         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
43862         sockaddr_in6, or ipv6_mreq.
43864 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43866         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
43867         memory access for final bytes in some large inputs.
43868         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
43870 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43872         * string/test-memrchr.c: New file.
43873         * string/test-memrchr-ifunc.c: New file.
43874         * string/Makefile: Add new memrchr testcase.
43876 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
43878         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
43879         fanotify_init returns EPERM.
43881 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
43883         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
43884         errors.
43885         (top level): Treat second token from macro or constant entries for
43886         allowed headers as allowed.
43887         * include/complex.h: Condition internal declarations on
43888         [!_ISOMAC].
43889         * include/fenv.h: Condition include of <stdbool.h> and internal
43890         declarations on [!_ISOMAC].
43892 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
43894         [BZ #15923]
43895         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
43897 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
43899         * configure.in (--enable-versioning): Remove configure option.
43900         (libc_cv_asm_symver_directive): Remove configure test.
43901         (libc_cv_ld_version_script_option): Likewise.
43902         (VERSIONING): Remove variable and AC_SUBST.
43903         (DO_VERSIONING): Remove AC_DEFINE.
43904         * configure: Regenerated.
43905         * config.h.in (DO_VERSIONING): Remove macro.
43906         * Makerules [$(versioning) = yes]: Change conditionals to
43907         [$(build-shared) = yes].
43908         * config.make.in (versioning): Remove variable.
43909         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
43910         [$(build-shared) = yes].
43911         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
43912         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
43913         * elf/Makefile [$(versioning) = yes]: Change conditionals to
43914         [$(build-shared) = yes].
43915         * extra-lib.mk [$(versioning) = yes]: Likewise.
43916         * hurd/Makefile [$(versioning) = yes]: Likewise.
43917         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
43918         [SHARED].
43919         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
43920         [SHARED].
43921         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
43922         [SHARED && !NO_HIDDEN].
43923         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
43924         [SHARED].
43925         [SHARED && DO_VERSIONING]: Likewise..
43926         * libio/Makefile [$(versioning) = yes]: Change conditionals to
43927         [$(build-shared) = yes].
43928         * manual/install.texi (--disable-versioning): Remove
43929         documentation.
43930         * INSTALL: Regenerated.
43931         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
43932         to [SHARED].
43933         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
43934         [$(build-shared) = yes].
43935         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
43936         * sysdeps/i386/i686/multiarch/strstr-c.c
43937         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
43938         [SHARED && !NO_HIDDEN].
43939         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
43940         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
43941         * sysdeps/powerpc/powerpc32/dl-machine.c
43942         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
43943         * sysdeps/powerpc/powerpc32/sysdep.h
43944         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
43945         to [SHARED && PIC && !NO_HIDDEN].
43946         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
43947         conditional to [SHARED].
43949 2013-09-04   Will Newton  <will.newton@linaro.org>
43951         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
43952         * benchtests/bench-string.h: Include bench-timing.h instead
43953         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
43954         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
43955         call to HP_TIMING_DIFF_INIT.
43956         * benchtests/bench-memccpy.c: Use bench-timing.h macros
43957         instead of hp-timing.h macros.
43958         * benchtests/bench-memchr.c: Likewise.
43959         * benchtests/bench-memcmp.c: Likewise.
43960         * benchtests/bench-memcpy.c: Likewise.
43961         * benchtests/bench-memmem.c: Likewise.
43962         * benchtests/bench-memmove.c: Likewise.
43963         * benchtests/bench-memset.c: Likewise.
43964         * benchtests/bench-rawmemchr.c: Likewise.
43965         * benchtests/bench-strcasecmp.c: Likewise.
43966         * benchtests/bench-strcasestr.c: Likewise.
43967         * benchtests/bench-strcat.c: Likewise.
43968         * benchtests/bench-strchr.c: Likewise.
43969         * benchtests/bench-strcmp.c: Likewise.
43970         * benchtests/bench-strcpy.c: Likewise.
43971         * benchtests/bench-strcpy_chk.c: Likewise.
43972         * benchtests/bench-strlen.c: Likewise.
43973         * benchtests/bench-strncasecmp.c: Likewise.
43974         * benchtests/bench-strncat.c: Likewise.
43975         * benchtests/bench-strncmp.c: Likewise.
43976         * benchtests/bench-strncpy.c: Likewise.
43977         * benchtests/bench-strnlen.c: Likewise.
43978         * benchtests/bench-strpbrk.c: Likewise.
43979         * benchtests/bench-strrchr.c: Likewise.
43980         * benchtests/bench-strspn.c: Likewise.
43981         * benchtests/bench-strstr.c: Likewise.
43983 2013-09-04  Will Newton  <will.newton@linaro.org>
43985         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
43987 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
43989         [BZ #15427]
43990         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
43991         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
43992         * math/libm-test.inc (lgamma_test_data): Add more tests.
43993         * sysdeps/i386/fpu/libm-test-ulps: Update.
43994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43996 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
43998         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
43999         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44000         Add ifunc.
44001         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
44002         Add strcmp-sse2-unaligned
44003         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
44005 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
44007         * Versions.def (libc): Add GLIBC_2.19.
44009 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
44011         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
44012         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
44014 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
44016         [BZ #14155]
44017         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
44018         intermediate calculations in recurrence.
44019         (__ieee754_ynf): Likewise.
44020         * math/libm-test.inc (jn_test_data): Do not allow spurious
44021         underflow exception.  Add more tests.
44022         (yn_test_data): Add more tests.
44023         * sysdeps/i386/fpu/libm-test-ulps: Update.
44024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44026 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
44028         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
44030 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
44032         * csu/init-first.c: Fix then/than typos.
44033         * locale/programs/ld-collate.c: Likewise.
44034         * locale/programs/linereader.h: Likewise.
44035         * manual/charset.texi: Likewise.
44036         * manual/filesys.texi: Likewise.
44037         * manual/stdio.texi: Likewise.
44038         * manual/string.texi: Likewise.
44039         * stdlib/fmtmsg.c: Likewise.
44040         * sysdeps/i386/stpncpy.S: Likewise.
44041         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
44042         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
44043         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
44044         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
44046 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
44048         * elf/dl-open.c: Fix typos.
44049         * iconvdata/gbbig5.c: Likewise.
44050         * iconvdata/iso-2022-jp.c: Likewise.
44051         * iconv/gconv_int.h: Likewise.
44052         * iconv/loop.c: Likewise.
44053         * nis/rpcsvc/nis.h: Likewise.
44054         * resolv/ns_name.c: Likewise.
44055         * stdio-common/vfscanf.c: Likewise.
44056         * streams/stropts.h: Likewise.
44057         * sunrpc/rpc_thread.c: Likewise.
44058         * sysdeps/i386/strpbrk.S: Likewise.
44059         * sysdeps/ieee754/k_standard.c: Likewise.
44060         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44061         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44062         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
44063         * sysdeps/mach/hurd/profil.c: Likewise.
44064         * sysdeps/s390/dl-procinfo.h: Likewise.
44065         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
44066         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
44067         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
44068         * sysdeps/x86_64/dl-trampoline.S: Likewise.
44069         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44071 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
44073         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
44074         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
44076 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
44078         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
44079         aix specific files.
44080         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
44081         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
44082         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
44083         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
44084         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
44085         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
44086         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
44087         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
44089 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
44090             Roland McGrath  <roland@hack.frob.com>
44092         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
44093         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
44095 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44097         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
44098         __executable_start symbol instead of _start.
44100 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
44102         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
44103         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
44104         Move macros to...
44105         * sysdeps/gnu/ldsodefs.h: ... this new file.
44107         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
44108         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
44109         instead of ELFOSABI_LINUX.
44111         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
44112         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
44113         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
44114         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
44115         Likewise.
44116         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
44117         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
44118         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
44119         Likewise.
44120         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
44121         (ibm_extended_long_double): Add ieee_nan member.
44122         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
44123         (do_test): New function.
44125         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
44126         TEST_TRUNC.
44127         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
44128         functions, renamed from truncdfsf_test, trunctfsf_test,
44129         trunctfdf_test.
44130         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
44131         functions.
44132         (do_test): Run all these.
44134 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
44136         * argp/argp-help.c: Fix typos.
44137         * argp/argp-parse.c: Likewise.
44138         * debug/backtracesyms.c: Likewise.
44139         * elf/elf.h: Likewise.
44140         * malloc/malloc.c: Likewise.
44141         * nis/nis_print.c: Likewise.
44142         * resolv/res_comp.c: Likewise.
44143         * stdlib/stdlib.h: Likewise.
44144         * sunrpc/clnt_tcp.c: Likewise.
44145         * sunrpc/clnt_udp.c: Likewise.
44146         * sunrpc/clnt_unix.c: Likewise.
44147         * sysdeps/unix/bsd/ptsname.c: Likewise.
44148         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
44149         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
44150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
44151         Likewise.
44152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
44153         Likewise.
44154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
44155         Likewise.
44156         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
44158 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44160         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
44161         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44163 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
44165         [BZ #15897]
44166         * dlfcn/Makefile (tests): Add bug-dl-leaf.
44167         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
44168         ($(objpfx)bug-dl-leaf): New rule.
44169         ($(objpfx)bug-dl-leaf.so): Likewise.
44170         ($(objpfx)bug-dl-leaf.out): Likewise.
44171         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
44172         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
44173         * dlfcn/bug-dl-leaf.c: New test.
44174         * dlfcn/bug-dl-leaf-lib.c: Likewise.
44175         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
44176         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
44177         (dlclose): Likewise.
44178         (dlmopen): Likewise.
44180 2013-08-27  Roland McGrath  <roland@hack.frob.com>
44182         * include/netdb.h [!_ISOMAC]:
44183         Don't include <tls.h>.
44184         (h_errno, __libc_h_errno): Move declaration and macros out of
44185         [_LIBC_REENTRANT].
44187         * include/resolv.h [_RESOLV_H_]:
44188         Don't include <tls.h>.
44189         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
44190         * resolv/res_libc.c: Don't include <tls.h>.
44191         (_res): Use __attribute__ ((nocommon)) in place of
44192         __attribute__ ((section (".bss"))).
44194         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
44195         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
44197         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
44199         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
44200         only under [SIOCGIFCONF && SIOCGIFNETMASK].
44202         * resolv/res_mkquery.c: Include <sys/time.h>.
44204         * inet/ifreq.c: Moved to ...
44205         * sysdeps/unix/ifreq.c: ... here.
44206         * inet/ifreq.c: New file, true stub version.
44208         * socket/sa_len.c: New file.
44209         * socket/Makefile (aux): Add it.
44210         * sysdeps/unix/sysv/linux/Makefile
44211         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
44212         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
44213         and #include <socket/sa_len.c>.
44214         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
44215         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
44217         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
44218         * bits/socket.h: ... here.
44220         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
44221         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
44222         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
44224 2013-08-27  Andreas Schwab  <schwab@suse.de>
44226         [BZ #15736]
44227         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
44228         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
44229         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
44230         * string/test-strcasecmp.c (test_main): Run tests in several
44231         locales.
44232         * string/test-strncasecmp.c (test_main): Likewise.
44234         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
44235         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
44236         to __strcasecmp_nonascii and __strncasecmp_nonascii.
44237         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
44238         (__strncasecmp_ssse3) [PIC]: Likewise.
44240 2013-08-26  Roland McGrath  <roland@hack.frob.com>
44242         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
44244         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
44245         instead of explicitly declaring xdecrypt.
44246         * nis/nss_nis/nis-publickey.c: Likewise.
44248 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44250         [BZ #15890]
44251         * nscd/aicache.c: Include res_hconf.h.
44252         (addhstaiX): Initialize res_hconf.
44254 2013-08-26  Andreas Schwab  <schwab@suse.de>
44256         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
44257         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
44259 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44261         * nscd/aicache.c (addhstaiX): Fix indentation.
44263 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
44265         * configure.ac: Quote $build_pt_chown test.
44266         * configure: Regenerated.
44268 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
44270         [BZ #15532]
44271         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
44272         * math/s_cexpf.c (__cexpf): Likewise.
44273         * math/s_cexpl.c (__cexpl): Likewise.
44274         * math/libm-test.inc (cexp_test_data): Correct expected return
44275         value for NaN + i0.  Add another test.
44277 2013-08-22  David S. Miller  <davem@davemloft.net>
44279         * po/ca.po: Update Catalan translation from translation project.
44280         * po/uk.po: Add Ukrainian translations from translation project.
44282 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
44284         [BZ #15797]
44285         * math/s_fdim.c (__fdim): Check for infinite arguments if result
44286         is infinite, not alongside NaN test.
44287         * math/s_fdimf.c (__fdimf): Likewise.
44288         * math/s_fdiml.c (__fdiml): Likewise.
44289         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
44290         errno is unchanged.
44292 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
44294         * argp/argp-help.c: Fix typos.
44295         * crypt/speeds.c: Likewise.
44296         * csu/check_fds.c: Likewise.
44297         * elf/dl-load.c: Likewise.
44298         * elf/dl-open.c: Likewise.
44299         * elf/reldep3.c: Likewise.
44300         * elf/reldep.c: Likewise.
44301         * elf/sprof.c: Likewise.
44302         * iconv/iconv_charmap.c: Likewise.
44303         * iconv/skeleton.c: Likewise.
44304         * iconv/strtab.c: Likewise.
44305         * io/lockf64.c: Likewise.
44306         * libio/libioP.h: Likewise.
44307         * resolv/gai_notify.c: Likewise.
44308         * resolv/ns_name.c: Likewise.
44309         * resolv/ns_samedomain.c: Likewise.
44310         * resolv/res_send.c: Likewise.
44311         * stdlib/random.c: Likewise.
44312         * sunrpc/rpc/xdr.h: Likewise.
44313         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
44314         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44315         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44316         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44317         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44318         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44319         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44320         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44321         * sysdeps/mach/hurd/check_fds.c: Likewise.
44322         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
44323         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
44324         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
44325         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
44326         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
44327         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
44328         * sysdeps/pthread/aio_notify.c: Likewise.
44329         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
44330         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
44331         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
44332         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44333         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
44335 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44337         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
44338         version if bit_Slow_SSE4_2 is set.
44339         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44340         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44342 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44344         [BZ #15867]
44345         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
44346         trampoline stack frame information.
44347         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
44348         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
44349         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
44350         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
44351         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
44352         * sysdeps/unix/sysv/linux/powerpc/init-first.c
44353         (_libc_vdso_platform_setup): Initialize the signal trampolines.
44354         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
44355         sa_flags value.
44356         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
44357         interrupting a syscall and set with option SA_SIGINFO.
44359 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
44361         [BZ #15531]
44362         * math/s_cproj.c (__cproj): Only return an infinity if one part of
44363         argument is infinite.
44364         * math/s_cprojf.c (__cprojf): Likewise.
44365         * math/s_cprojl.c (__cprojl): Likewise.
44366         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
44367         * math/libm-test.inc (cproj_test_data): Add more tests.
44369         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
44371         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
44372         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
44373         size.  Use __ffs to determine corresponding shift.
44375 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
44376             Roland McGrath  <roland@hack.frob.com>
44378         * Makefile (INSTALL): Remove trailing blank lines from output of
44379         makeinfo.
44381 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44383         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
44384         Align 32 bit compat elf_greg to 8 bytes.
44386 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
44388         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
44390 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44392         * string/strcoll_l.c (coll_seq): New structure.
44393         (get_next_seq_cached): New function.
44394         (get_next_seq): New function.
44395         (do_compare): New function.
44396         (STRCOLL): Use GNU style definition.  Simplify implementation
44397         by using get_next_seq, get_next_seq_cached and do_compare.
44399 2013-08-16  Florian Weimer  <fweimer@redhat.com>
44401         [BZ #14699]
44402         CVE-2013-4237
44403         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
44404         member.
44405         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
44406         member.
44407         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
44408         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
44409         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
44410         conditional.
44411         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
44412         GETDENTS_64BIT_ALIGNED.
44413         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
44414         * manual/filesys.texi (Reading/Closing Directory): Document
44415         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
44416         strongly.
44417         * manual/conf.texi (Limits for Files): Add portability note to
44418         NAME_MAX, PATH_MAX.
44419         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
44421 2013-08-13  Andreas Schwab  <schwab@suse.de>
44423         [BZ #15749]
44424         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
44425         of fabs.
44426         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
44427         LDBL_MAX_EXP >= 16384]: Add tests for it.
44429 2013-08-12  David S. Miller  <davem@davemloft.net>
44431         * version.h (RELEASE): Set to "development".
44432         (VERSION): Set to "2.18.90".
44433         * NEWS: Add 2.19 section.
44435 2013-08-03  David S. Miller  <davem@davemloft.net>
44437         * po/ko.po: Update Korean translation from translation project.
44439 2013-08-01  David S. Miller  <davem@davemloft.net>
44441         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
44442         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
44443         Bilka.
44445 2013-07-30  David S. Miller  <davem@davemloft.net>
44447         * po/fr.po: Update French translation from translation project.
44449 2013-07-28  David S. Miller  <davem@davemloft.net>
44451         * po/cs.po: Update Czech translation from translation project.
44453         * po/sv.po: Update Swedish translation from translation project.
44455 2013-07-27  David S. Miller  <davem@davemloft.net>
44457         * po/eo.po: Update Esperanto translation from translation project.
44459         * po/vi.po: Update Vietnamese translation from translation project.
44461         * po/de.po: Update German translation from translation project.
44463 2013-07-26  David S. Miller  <davem@davemloft.net>
44465         * po/bg.po: Update Bulgarian translation from translation project.
44467         * po/nl.po: Update Dutch translation from translation project.
44468         * po/pl.po: Update Polish translation from translation project.
44469         * po/ru.po: Update Russian translation from translation project.
44471 2013-07-24  David S. Miller  <davem@davemloft.net>
44473         * po/libc.pot: Update.
44475 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44477         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
44478         variable page size.
44479         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
44480         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
44481         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
44483 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44485         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
44487 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44488             Andreas Schwab  <schwab@suse.de>
44489             Roland McGrath  <roland@hack.frob.com>
44490             Joseph Myers  <joseph@codesourcery.com>
44491             Carlos O'Donell  <carlos@redhat.com>
44493         [BZ #15755]
44494         * config.h.in: Define HAVE_PT_CHOWN.
44495         * config.make.in (build-pt-chown): New variable.
44496         * configure.in (--enable-pt_chown): New configure option.
44497         * configure: Regenerate.
44498         * login/Makefile: Include Makeconfig.  Build pt_chown only if
44499         build-pt-chown is enabled.
44500         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
44501         pt_chown to fix pty ownership.
44502         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
44503         CLOSE_ALL_FDS.
44504         * manual/install.texi (Configuring and compiling): Mention
44505         --enable-pt_chown. Add @findex for grantpt.
44506         * INSTALL: Regenerate.
44508 2013-07-20  David S. Miller  <davem@davemloft.net>
44510         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
44511         difference between 32-bit and 64-bit.
44513 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
44515         [BZ #15711]
44516         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
44517         Avoid system header dependency with -ffreestanding.
44518         ($(objpfx)bits/syscall%d): Likewise.
44520 2013-07-13  David S. Miller  <davem@davemloft.net>
44522         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
44523         underflows from atanl/atan2l due to bug 15319.
44524         (casinh_test_data): Likewise.
44526 2013-07-07  David S. Miller  <davem@davemloft.net>
44528         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
44530 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
44532         * sysdeps/i386/fpu/libm-test-ulps: Update.
44533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44535 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44537         * configure.in (--enable-lock-elision): Fix message text.
44538         * INSTALL: Regenerate.
44539         * configure: Regenerate.
44541 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44543         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44545 2013-07-03  Andreas Jaeger  <aj@suse.de>
44547         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
44548         define.
44549         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
44550         (ptrace_peeksiginfo_args): Add.
44551         (__ptrace_peeksiginfo_flags): Add.
44552         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44553         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44554         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44556 2013-07-03  Allan McRae  <allan@archlinux.org>
44558         * sysdeps/i386/fpu/libm-test-ulps: Update.
44560 2013-07-02  David S. Miller  <davem@davemloft.net>
44562         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44564 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
44566         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44568 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
44570         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
44571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44573 2013-07-02  Andi Kleen <ak@linux.intel.com>
44575         * config.h.in (ENABLE_LOCK_ELISION): Add.
44576         * configure.in (--enable-lock-elision): Add option.
44577         * manual/install.texi: Document --enable lock elision.
44578         * configure: Regenerate
44579         * INSTALL: Regenerate.
44581 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
44583         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
44584         SSE4.2 strcasecmp for libc.a.
44585         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
44587 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
44589         [BZ #13304]
44590         * soft-fp/op-common.h (_FP_FMA): New macro.
44591         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
44592         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
44593         (_FP_MUL_MEAT_1_imm): ... here.
44594         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
44595         (_FP_MUL_MEAT_1_wide): ... here.
44596         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
44597         (_FP_MUL_MEAT_1_hard): ... here.
44598         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
44599         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
44600         (_FP_MUL_MEAT_2_wide): ... here.
44601         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
44602         (_FP_MUL_MEAT_2_wide_3mul): ... here.
44603         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
44604         (_FP_MUL_MEAT_2_gmp): ... here.
44605         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
44606         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
44607         (_FP_MUL_MEAT_4_wide): ... here.
44608         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
44609         (_FP_MUL_MEAT_4_gmp): ... here.
44610         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
44611         (_FP_WFRACBITS_DW_S): Likewise.
44612         (_FP_WFRACXBITS_DW_S): Likewise.
44613         (_FP_HIGHBIT_DW_S): Likewise.
44614         (FP_FMA_S): Likewise.
44615         (_FP_FRAC_HIGH_DW_S): Likewise.
44616         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
44617         (_FP_WFRACBITS_DW_D): Likewise.
44618         (_FP_WFRACXBITS_DW_D): Likewise.
44619         (_FP_HIGHBIT_DW_D): Likewise.
44620         (FP_FMA_D): Likewise.
44621         (_FP_FRAC_HIGH_DW_D): Likewise.
44622         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
44623         (_FP_WFRACBITS_DW_E): Likewise.
44624         (_FP_WFRACXBITS_DW_E): Likewise.
44625         (_FP_HIGHBIT_DW_E): Likewise.
44626         (FP_FMA_E): Likewise.
44627         (_FP_FRAC_HIGH_DW_E): Likewise.
44628         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
44629         (_FP_WFRACBITS_DW_Q): Likewise.
44630         (_FP_WFRACXBITS_DW_Q): Likewise.
44631         (_FP_HIGHBIT_DW_Q): Likewise.
44632         (FP_FMA_Q): Likewise.
44633         (_FP_FRAC_HIGH_DW_Q): Likewise.
44634         * soft-fp/fmasf4.c: New file.
44635         * soft-fp/fmadf4.c: Likewise.
44636         * soft-fp/fmatf4.c: Likewise.
44638 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44640         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
44641         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
44642         Silvermont.
44643         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
44644         macro.
44645         (index_Slow_SSE4_2): Likewise.
44646         (index_Prefer_PMINUB_for_stringop): Likewise.
44647         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
44648         bit_Slow_SSE4_2 is set.
44649         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
44650         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44652 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44654         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
44655         rtld_global._dl_hwcap2.
44656         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
44657         POWER8.
44658         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
44659         POWER8 feature descriptions defined in _dl_hwcap2.
44660         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
44661         string handling for POWER8 feature bits.
44662         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
44663         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
44664         _dl_powerpc_cap_flags.
44665         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
44666         * sysdeps/powerpc/rtld-global-offsets.sym
44667         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
44668         _dl_hwcap2 in the rtld_global_ro structure.
44670 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44672         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
44673         hardware capabilities in support of AT_HWCAP2.
44674         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
44675         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
44676         GLRO(dl_hwcap2).
44677         (_dl_show_auxv): Add support for calling _dl_procinfo to display
44678         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
44679         explicitly the unknown a_type display mechanism is used.
44680         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
44681         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
44682         struct member.
44683         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
44684         to macro prototype for AT_HWCAP2 support.
44685         * sysdeps/i386/dl-procinfo.h: Likewise.
44686         * sysdeps/s390/dl-procinfo.h: Likewise.
44687         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
44688         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
44689         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
44690         return -1 for unknown a_type display fallback.
44691         * sysdeps/sparc/dl-procinfo.h: Likewise.
44692         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
44693         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
44695 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
44697         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
44698         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
44700 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
44702         [BZ #12492]
44703         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
44704         mprotect making __stack_prot writable.
44706 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
44707             Joseph Myers  <joseph@codesourcery.com>
44709         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
44710         as being properly aligned.
44712 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
44714         * dlfcn/modstatic5.c: New file.
44715         * dlfcn/tststatic5.c: New file.
44716         * dlfcn/Makefile (tests): Add tststatic5.
44717         (tests-static): Likewise.
44718         (modules-names): Add modstatic5.
44719         (tststatic5-ENV): New variable.
44720         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
44722         [BZ #15022]
44723         * elf/dl-support.c (_dl_main_map): New variable.
44724         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
44725         (_dl_nns, _dl_load_adds): Set to 1.
44726         (_dl_initial_searchlist): Refer to _dl_main_map.
44727         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
44728         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
44729         call to _dl_get_origin.
44730         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
44731         around call_map.
44732         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
44733         * dlfcn/modstatic3.c: New file.
44734         * dlfcn/tststatic3.c: New file.
44735         * dlfcn/tststatic4.c: New file.
44736         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
44737         (tests-static): Likewise.
44738         (modules-names): Add modstatic3.
44739         (tststatic3-ENV, tststatic4-ENV): New variables.
44740         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
44741         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
44743 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
44745         * configure.in (CC): Require GCC version 4.4 or later.
44746         * configure: Regenerated.
44747         * manual/install.texi (Tools for Compilation): Update GCC version
44748         requirement.
44749         * INSTALL: Regenerated.
44751 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44753         [BZ #15674]
44754         * string/test-memcmp.c (check2): New.
44755         (main): Call check2.
44757         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
44759 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
44761         [BZ #15022]
44762         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
44763         over to...
44764         (dl_open_worker) [!SHARED]: ... here.
44766 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44768         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
44770 2013-06-25  Richard Henderson  <rth@redhat.com>
44772         * locale/programs/locarchive.c: Include <libc-internal.h>
44774 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
44776         * manual/texinfo.tex: Update to version 2013-06-21.17, with
44777         trailing whitespace removed.
44779 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
44781         [BZ #10283]
44782         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
44783         * locale/programs/locarchive.c: Include libc-mmap.h.
44784         (prepare_address_space): Take two new outputs (the mmap base and len).
44785         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
44786         values.
44787         (create_archive): Declare new mmap base and len values for
44788         prepare_address_space, and store the result in ah.
44789         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
44790         (enlarge_archive): If ah->mmap_base is not NULL, use that and
44791         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
44792         Declare new mmap base and len values for
44793         prepare_address_space, and store the result in new_ah.
44794         (open_archive): Declare new mmap base and len values for
44795         prepare_address_space, and store the result in ah.
44796         (close_archive): If ah->mmap_base is not NULL, use that and
44797         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
44798         * sysdeps/generic/libc-mmap.h: New file.
44800 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
44802         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
44803         (ALIGN_UP): Likewise.
44804         (PTR_ALIGN_DOWN): Likewise.
44805         (PTR_ALIGN_UP): Likewise.
44807 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44809         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
44810         entry mapped to PPC_PLATFORM_POWER8.
44811         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
44812         POWER8.
44813         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
44814         (_dl_string_platform): Add case for exporting platform position for
44815         POWER8.
44816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
44817         search path to sysdeps/powerpc/powerpc32/power8 directory.
44818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
44819         search path to sysdeps/powerpc/powerpc64/power8 directory.
44820         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
44821         power7 directories.
44822         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
44823         power7 directories.
44825 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
44827         * INSTALL: Regenerate.
44829         * nscd/connections.c (nscd_init): Fix comment.
44831 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
44833         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
44835         [BZ #15667]
44836         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
44837         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
44839 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
44841         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
44842         DL_DST_REQ_STATIC.
44843         (DL_DST_REQ_STATIC): Remove macro.
44845 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
44847         [BZ #7006]
44848         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
44849         with a shift of 0 bits.
44851 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
44853         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
44854         $(tststatic-ENV).
44856 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44858         [BZ #15655]
44859         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
44861 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44863         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
44864         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
44865         accepts -fno-tree-loop-distribute-patterns.
44866         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
44867         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
44868         recursive call.
44869         * string/memset.c (memset): Likewise.
44870         * string/test-memmove.c (simple_memmove): Disable loop transformation
44871         to library calls.
44872         * string/test-memset.c (simple_memset): Likewise.
44873         * benchtests/bench-memmove.c (simple_memmove): Likewise.
44874         * benchtests/bench-memset.c (simple_memset): Likewise.
44875         * configure: Regenerated.
44877 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
44879         * math/test-misc.c (main): Ignore fesetround failure when failures
44880         of subsequent rounding tests would be ignored.
44882         [BZ #15654]
44883         * math/fedisblxcpt.c (fedisableexcept): Return 0.
44884         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
44885         * math/fegetenv.c (__fegetenv): Return 0.
44886         * math/fegetexcept.c (fegetexcept): Return 0.
44887         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
44888         FE_TONEAREST.
44889         * math/feholdexcpt.c (feholdexcept): Return 0.
44890         * math/fesetenv.c (__fesetenv): Return 0.
44891         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
44892         argument FE_TONEAREST.
44893         * math/feupdateenv.c (__feupdateenv): Return 0.
44894         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
44896 2013-06-18  Roland McGrath  <roland@hack.frob.com>
44898         * elf/rtld-Rules (rtld-compile-command.S): New variable.
44899         (rtld-compile-command.s, rtld-compile-command.c): New variables.
44900         ($(objpfx)rtld-%.os rules): Use them.
44902 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44904         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
44905         fields.
44907 2013-06-17  Roland McGrath  <roland@hack.frob.com>
44909         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
44910         length of target pattern, then descending length of dependency pattern.
44911         * configure.in (AWK): Require gawk 3.1.2 or newer.
44912         * manual/install.texi (Tools for Compilation): Say that we do.
44913         * configure: Regenerated.
44915         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
44916         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
44917         * scripts/sysd-rules.awk: ... this new script.
44918         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
44919         than a glob-style pattern.
44921 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
44923         * math/test-misc.c (main): Do not treat incorrectly rounded
44924         conversions as failure unless ROUNDING_TESTS passes.
44926 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
44928         [BZ #15631]
44929         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
44930         restore exception state around main square root computation, then
44931         check for inexactness explicitly.
44933         * math/libm-test.inc (fma_test_data): Add another test.
44935 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44937         * manual/threads.texi (Non-POSIX Extensions): New document
44938         node.  Document pthread_getattr_default_np and
44939         pthread_setattr_default_np.
44941         * Versions.def (libpthread): Add GLIBC_2.18.
44942         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
44943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44944         Likewise.
44945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44946         Likewise.
44947         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44948         Likewise.
44949         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44950         Likewise.
44951         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
44952         Likewise.
44953         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44954         Likewise.
44955         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44956         Likewise.
44957         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
44958         Likewise.
44959         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
44960         Likewise.
44962 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44964         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44965         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
44967 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
44968             H.J. Lu  <hjl.tools@gmail.com>
44970         [BZ #15627]
44971         * sysdeps/x86_64/rtld-memset.c: Remove file.
44972         * sysdeps/x86_64/rtld-memset.S: New file.
44974 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
44976         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
44977         (test_in_one_mode): Take arguments for whether the rounding mode
44978         is supported for each floating-point type.
44979         (do_test): Pass new arguments to test_in_one_mode using
44980         ROUNDING_TESTS.
44982 2013-06-13  Roland McGrath  <roland@hack.frob.com>
44984         * posix/tst-waitid.c (do_test): Distinguish different instances of
44985         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
44986         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
44987         before entering the kernel for waitpid.
44989 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44991         * NEWS: Fix note on clock function precision.  Text by Roland
44992         McGrath.
44994 2013-06-13  Roland McGrath  <roland@hack.frob.com>
44996         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
44997         it into place only when and if the sanity check passes.
44999 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
45001         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
45002         output for whether conversion result is exact.  Take argument
45003         indicating whether type is IBM long double.
45004         (round_for_all): Change need_exact field to ibm_ld.
45005         * stdlib/tst-strtod-round.c (struct exactness): New type.
45006         (struct test): Change bool ld_ok field to struct exactness exact.
45007         (TEST): Update all definitions for change to field.
45008         (tests): Regenerate array contents.
45009         (test_in_one_mode): Take pointer to new field instead of old ld_ok
45010         field value.  Check for IBM long double here.
45011         (do_test): Update calls to test_in_one_mode.
45013 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45015         [BZ #12515]
45016         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
45017         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
45019 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45021         [BZ #15605]
45022         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
45023         generated by the compiler on loop optimizations.
45024         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
45025         general definitions.
45027 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
45029         * math/bug-nextafter.c: Include <math-tests.h>.
45030         (main): Only test for exceptions if EXCEPTION_TESTS is true for
45031         the relevant type.
45032         * math/bug-nexttoward.c: Include <math-tests.h>.
45033         (main): Only test for exceptions if EXCEPTION_TESTS is true for
45034         the relevant type.
45035         * math/test-misc.c: Include <math-tests.h>.
45036         (main): Only test for exceptions if EXCEPTION_TESTS is true for
45037         the relevant type.
45039 2013-06-12  Andreas Jaeger  <aj@suse.de>
45041         * po/ia.po: Update Interlingua translation from translation
45042         project.
45044 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
45046         * include/fenv.h: Include stdbool.h.
45047         (struct rm_ctx): New structure.
45048         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
45049         Define macro.
45050         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
45051         (SET_RESTORE_ROUNDF): Likewise.
45052         (SET_RESTORE_ROUNDL): Likewise.
45053         (SET_RESTORE_ROUND_NOEX): Likewise.
45054         (SET_RESTORE_ROUND_NOEXF): Likewise.
45055         (SET_RESTORE_ROUND_NOEXL): Likewise.
45056         (SET_RESTORE_ROUND_53BIT): Likewise.
45057         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
45058         (libc_feresetround_noexf_ctx): Likewise.
45059         (libc_feresetround_noexl_ctx): Likewise.
45060         (libc_feholdsetround_53bit_ctx): Likewise.
45061         (libc_feresetround_53bit_ctx): Likewise.
45062         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
45063         (libc_feholdexcept_setround_sse_ctx): New function.
45064         (libc_fesetenv_sse_ctx): Likewise.
45065         (libc_feupdateenv_sse_ctx): Likewise.
45066         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
45067         (libc_feholdexcept_setround_387_ctx): Likewise.
45068         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
45069         (libc_feholdsetround_387_prec_ctx): Likewise.
45070         (libc_feholdsetround_387_ctx): Likewise.
45071         (libc_feholdsetround_387_53bit_ctx): Likewise.
45072         (libc_feholdsetround_sse_ctx): Likewise.
45073         (libc_feresetround_sse_ctx): Likewise.
45074         (libc_feresetround_387_ctx): Likewise.
45075         (libc_feupdateenv_387_ctx): Likewise.
45076         (libc_feholdexcept_setroundf_ctx): Define macro.
45077         (libc_fesetenvf_ctx): Likewise.
45078         (libc_feupdateenvf_ctx): Likewise.
45079         (libc_feholdsetroundf_ctx): Likewise.
45080         (libc_feresetroundf_ctx): Likewise.
45081         (libc_feholdexcept_setround_ctx): Likewise.
45082         (libc_fesetenv_ctx): Likewise.
45083         (libc_feupdateenv_ctx): Likewise.
45084         (libc_feholdsetround_ctx): Likewise.
45085         (libc_feresetround_ctx): Likewise.
45086         (libc_feholdexcept_setroundl_ctx): Likewise.
45087         (libc_feupdateenvl_ctx): Likewise.
45088         (libc_feholdsetroundl_ctx): Likewise.
45089         (libc_feresetroundl_ctx): Likewise.
45090         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
45091         (libc_feresetround_53bit_ctx): Likewise.
45093 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45095         * locale/iso-639.def: Convert to UTF-8.
45097 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
45099         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
45100         (EXCEPTION_TESTS_double): Likewise.
45101         (EXCEPTION_TESTS_long_double): Likewise.
45102         (EXCEPTION_TESTS): Likewise.
45103         * math/libm-test.inc (test_exceptions): Only test exceptions if
45104         EXCEPTION_TESTS (FLOAT).
45106 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45108         * benchtests/Makefile (string-bench): Add strcpy_chk and
45109         stpcpy_chk.
45110         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
45111         * benchtests/bench-stpcpy_chk.c: New file.
45112         * benchtests/bench-strcpy_chk-ifunc.c: New file.
45113         * benchtests/bench-strcpy_chk.c: New file.
45114         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
45115         code.
45116         (do_test): Likewise.
45118 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45120         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
45121         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
45122         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
45123         with tabs where appropriate.
45124         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
45125         dl-procinfo.h.
45126         [PPC_PLATFORM_PPC440]: Likewise.
45127         [PPC_PLATFORM_PPC464]: Likewise.
45128         [PPC_PLATFORM_PPC476]: Likewise.
45129         (_dl_string_platform): Add support for detecting ppc405, ppc440,
45130         ppc464, and ppc476 platform strings merging from ports/
45131         dl-procinfo.h.
45133 2013-06-11  Andreas Schwab  <schwab@suse.de>
45135         [BZ #14991]
45136         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
45137         (from_ucs4_idx): Regenerate.
45138         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
45139         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
45140         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
45141         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
45142         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
45143         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
45144         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
45145         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
45146         from FROM_LOOP and TO_LOOP specific macros.
45147         (BODY): Handle combining characters.
45148         * iconvdata/BIG5HKSCS.irreversible: Update.
45149         * iconvdata/BIG5HKSCS.precomposed: New file.
45150         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
45151         characters.
45152         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
45154 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45156         * include/sys/time.h: Fix indentation and add copyright header.
45158         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
45159         (do_test): Likewise.
45160         * string/test-memchr.c (do_one_test): Likewise.
45161         (do_test): Likewise.
45162         * string/test-memcmp.c (do_one_test): Likewise.
45163         (do_test): Likewise.
45164         * string/test-memcpy.c (do_one_test): Likewise.
45165         (do_test): Likewise.
45166         * string/test-memmem.c (do_one_test): Likewise.
45167         (do_test): Likewise.
45168         (do_random_tests): Likewise.
45169         * string/test-memmove.c (do_one_test): Likewise.
45170         (do_test): Likewise.
45171         * string/test-memset.c (do_one_test): Likewise.
45172         (do_test): Likewise.
45173         * string/test-rawmemchr.c (do_one_test): Likewise.
45174         (do_test): Likewise.
45175         * string/test-strcasecmp.c (do_one_test): Likewise.
45176         (do_test): Likewise.
45177         * string/test-strcasestr.c (do_one_test): Likewise.
45178         (do_test): Likewise.
45179         * string/test-strcat.c (do_one_test): Likewise.
45180         (do_test): Likewise.
45181         * string/test-strchr.c (do_one_test): Likewise.
45182         (do_test): Likewise.
45183         * string/test-strcmp.c (do_one_test): Likewise.
45184         (do_test): Likewise.
45185         * string/test-strcpy.c (do_one_test): Likewise.
45186         (do_test): Likewise.
45187         * string/test-string.h: Likewise.
45188         (test_init): Likewise.
45189         * string/test-strlen.c (do_one_test): Likewise.
45190         (do_test): Likewise.
45191         * string/test-strncasecmp.c (do_one_test): Likewise.
45192         (do_test): Likewise.
45193         * string/test-strncat.c (do_one_test): Likewise.
45194         (do_test): Likewise.
45195         * string/test-strncmp.c (do_one_test): Likewise.
45196         (do_test_limit): Likewise.
45197         (do_test): Likewise.
45198         * string/test-strncpy.c (do_one_test): Likewise.
45199         (do_test): Likewise.
45200         * string/test-strnlen.c (do_one_test): Likewise.
45201         (do_test): Likewise.
45202         * string/test-strpbrk.c (do_one_test): Likewise.
45203         (do_test): Likewise.
45204         * string/test-strrchr.c (do_one_test): Likewise.
45205         (do_test): Likewise.
45206         * string/test-strspn.c (do_one_test): Likewise.
45207         (do_test): Likewise.
45208         * string/test-strstr.c (do_one_test): Likewise.
45209         (do_test): Likewise.
45211         * benchtests/Makefile (string-bench): Add string benchmarks.
45212         * benchtests/bench-bcopy-ifunc.c: New file.
45213         * benchtests/bench-bcopy.c: New file.
45214         * benchtests/bench-bzero-ifunc.c: New file.
45215         * benchtests/bench-bzero.c: New file.
45216         * benchtests/bench-memccpy-ifunc.c: New file.
45217         * benchtests/bench-memccpy.c: New file.
45218         * benchtests/bench-memchr-ifunc.c: New file.
45219         * benchtests/bench-memchr.c: New file.
45220         * benchtests/bench-memcmp-ifunc.c: New file.
45221         * benchtests/bench-memcmp.c: New file.
45222         * benchtests/bench-memmem-ifunc.c: New file.
45223         * benchtests/bench-memmem.c: New file.
45224         * benchtests/bench-memmove-ifunc.c: New file.
45225         * benchtests/bench-memmove.c: New file.
45226         * benchtests/bench-mempcpy-ifunc.c: New file.
45227         * benchtests/bench-mempcpy.c: New file.
45228         * benchtests/bench-memset-ifunc.c: New file.
45229         * benchtests/bench-memset.c: New file.
45230         * benchtests/bench-rawmemchr-ifunc.c: New file.
45231         * benchtests/bench-rawmemchr.c: New file.
45232         * benchtests/bench-stpcpy-ifunc.c: New file.
45233         * benchtests/bench-stpcpy.c: New file.
45234         * benchtests/bench-stpncpy-ifunc.c: New file.
45235         * benchtests/bench-stpncpy.c: New file.
45236         * benchtests/bench-strcasecmp-ifunc.c: New file.
45237         * benchtests/bench-strcasecmp.c: New file.
45238         * benchtests/bench-strcasestr-ifunc.c: New file.
45239         * benchtests/bench-strcasestr.c: New file.
45240         * benchtests/bench-strcat-ifunc.c: New file.
45241         * benchtests/bench-strcat.c: New file.
45242         * benchtests/bench-strchr-ifunc.c: New file.
45243         * benchtests/bench-strchr.c: New file.
45244         * benchtests/bench-strchrnul-ifunc.c: New file.
45245         * benchtests/bench-strchrnul.c: New file.
45246         * benchtests/bench-strcmp-ifunc.c: New file.
45247         * benchtests/bench-strcmp.c: New file.
45248         * benchtests/bench-strcpy-ifunc.c: New file.
45249         * benchtests/bench-strcpy.c: New file.
45250         * benchtests/bench-strcspn-ifunc.c: New file.
45251         * benchtests/bench-strcspn.c: New file.
45252         * benchtests/bench-strlen-ifunc.c: New file.
45253         * benchtests/bench-strlen.c: New file.
45254         * benchtests/bench-strncasecmp-ifunc.c: New file.
45255         * benchtests/bench-strncasecmp.c: New file.
45256         * benchtests/bench-strncat-ifunc.c: New file.
45257         * benchtests/bench-strncat.c: New file.
45258         * benchtests/bench-strncmp-ifunc.c: New file.
45259         * benchtests/bench-strncmp.c: New file.
45260         * benchtests/bench-strncpy-ifunc.c: New file.
45261         * benchtests/bench-strncpy.c: New file.
45262         * benchtests/bench-strnlen-ifunc.c: New file.
45263         * benchtests/bench-strnlen.c: New file.
45264         * benchtests/bench-strpbrk-ifunc.c: New file.
45265         * benchtests/bench-strpbrk.c: New file.
45266         * benchtests/bench-strrchr-ifunc.c: New file.
45267         * benchtests/bench-strrchr.c: New file.
45268         * benchtests/bench-strspn-ifunc.c: New file.
45269         * benchtests/bench-strspn.c: New file.
45270         * benchtests/bench-strstr-ifunc.c: New file.
45271         * benchtests/bench-strstr.c: New file.
45273         * benchtests/Makefile: Disable parallel execution of targets.
45274         (string-bench): Add memcpy.
45275         (benchset): New variable to store a list of benchmark sets.
45276         (bench-func): Renamed from bench.
45277         (bench-set): New target.
45278         (bench): Depend on bench-func and bench-set.
45279         * benchtests/README: Add section on benchmark sets.
45280         * benchtests/bench-memcpy-ifunc.c: New file.
45281         * benchtests/bench-memcpy.c: New file.
45282         * benchtests/bench-string.h: New file.
45284 2013-06-11  Andreas Schwab  <schwab@suse.de>
45286         [BZ #15577]
45287         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
45288         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
45289         values in the triple.
45290         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
45291         terminator in the group key.
45293 2013-06-11  Andreas Jaeger  <aj@suse.de>
45295         * po/zh_TW.po: Update Chinese (traditional) translation from
45296         translation project.
45298 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45300         * include/time.h (__clock_gettime): Add libc_hidden_proto.
45301         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
45302         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
45303         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45304         (clock_getcpuclockid): Likewise.
45305         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
45306         Add weak_alias and libc_hidden_def.
45307         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
45308         * rt/clock_gettime.c (clock_gettime): Rename to
45309         __clock_gettime.  Add weak_alias and libc_hidden_def.
45310         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
45311         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
45312         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
45313         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
45314         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
45315         Likewise.
45316         * rt/clock_settime.c (clock_settime): Rename to
45317         __clock_settime.  Add weak_alias and libc_hidden_def.
45318         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
45320 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
45322         * mach/err_boot.sub: Remove trailing whitespace.
45323         * mach/err_ipc.sub: Likewise.
45324         * mach/err_mach.sub: Likewise.
45326         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
45327         (ROUNDING_TESTS_double): Likewise.
45328         (ROUNDING_TESTS_long_double): Likewise.
45329         (ROUNDING_TESTS): Likewise.
45330         * math/libm-test.inc: Include <math-tests.h>.
45331         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
45332         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
45333         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
45334         (IF_ROUND_INIT_FE_UPWARD): Likewise.
45336 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45338         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
45339         of assigning.
45341 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
45343         * sysdeps/gnu/errlist.awk: Do not generate space at end of
45344         otherwise empty TRANS lines.
45345         * sysdeps/gnu/errlist.c: Regenerated.
45347         * catgets/gencat.c (error_print): Use (void) in function
45348         definition.
45349         * crypt/crypt_util.c (__init_des): Likewise.
45350         * crypt/speeds.c (Stop): Likewise.
45351         (main): Likewise.
45352         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
45353         * inet/ruserpass.c (token): Likewise.
45354         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
45355         * intl/localealias.c (extend_alias_table): Likewise.
45356         * intl/plural-exp.c (init_germanic_plural): Likewise.
45357         * libio/fcloseall.c (__fcloseall): Likewise.
45358         * libio/genops.c (_IO_flush_all): Likewise.
45359         (_IO_flush_all_linebuffered): Likewise.
45360         (_IO_cleanup): Likewise.
45361         (_IO_iter_begin): Likewise.
45362         (_IO_iter_end): Likewise.
45363         (_IO_list_lock): Likewise.
45364         (_IO_list_unlock): Likewise.
45365         (_IO_list_resetlock): Likewise.
45366         * libio/getchar.c (getchar): Likewise.
45367         * libio/getchar_u.c (getchar_unlocked): Likewise.
45368         * libio/getwchar.c (getwchar): Likewise.
45369         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
45370         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
45371         * login/getpt.c (__getpt): Likewise.
45372         * login/tst-utmp.c (main): Likewise.
45373         * malloc/hooks.c (__malloc_check_init): Likewise.
45374         * malloc/malloc.c (__malloc_stats): Likewise.
45375         * malloc/mtrace.c (tr_break): Likewise.
45376         (mtrace): Likewise.
45377         (muntrace): Likewise.
45378         * misc/fstab.c (endfsent): Likewise.
45379         * misc/getclktck.c (__getclktck): Likewise.
45380         * misc/getdtsz.c (__getdtablesize): Likewise.
45381         * misc/gethostid.c (gethostid): Likewise.
45382         * misc/getpagesize.c (__getpagesize): Likewise.
45383         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
45384         (__get_nprocs): Likewise.
45385         (__get_phys_pages): Likewise.
45386         (__get_avphys_pages): Likewise.
45387         * misc/getttyent.c (getttyent): Likewise.
45388         (setttyent): Likewise.
45389         (endttyent): Likewise.
45390         * misc/getusershell.c (getusershell): Likewise.
45391         (endusershell): Likewise.
45392         (setusershell): Likewise.
45393         (initshells): Likewise.
45394         * misc/hsearch.c (__hdestroy): Likewise.
45395         * misc/sync.c (sync): Likewise.
45396         * misc/syslog.c (closelog_internal): Likewise.
45397         (closelog): Likewise.
45398         * misc/ttyslot.c (ttyslot): Likewise.
45399         * misc/vhangup.c (vhangup): Likewise.
45400         * posix/fork.c (__fork): Likewise.
45401         * posix/getegid.c (__getegid): Likewise.
45402         * posix/geteuid.c (__geteuid): Likewise.
45403         * posix/getgid.c (__getgid): Likewise.
45404         * posix/getpid.c (__getpid): Likewise.
45405         * posix/getppid.c (__getppid): Likewise.
45406         * posix/getuid.c (__getuid): Likewise.
45407         * posix/pause.c (pause): Likewise.
45408         * posix/setpgrp.c (setpgrp): Likewise.
45409         * posix/setsid.c (__setsid): Likewise.
45410         * posix/test-vfork.c (noop): Likewise.
45411         * resolv/gethnamaddr.c (_endhtent): Likewise.
45412         (_gethtent): Likewise.
45413         (ht_endhostent): Likewise.
45414         (gethostent): Likewise.
45415         (dns_service): Likewise.
45416         * stdlib/drand48.c (drand48): Likewise.
45417         * stdlib/lrand48.c (lrand48): Likewise.
45418         * stdlib/mrand48.c (mrand48): Likewise.
45419         * stdlib/rand.c (rand): Likewise.
45420         * stdlib/random.c (__random): Likewise.
45421         * stdlib/setenv.c (clearenv): Likewise.
45422         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
45423         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
45424         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
45425         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
45426         (__get_nprocs): Likewise.
45427         (__get_phys_pages): Likewise.
45428         (__get_avphys_pages): Likewise.
45429         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
45430         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
45431         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
45432         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
45433         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
45434         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
45435         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
45436         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
45437         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
45438         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
45439         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
45440         * sysdeps/mach/hurd/sync.c (sync): Likewise.
45441         * sysdeps/posix/clock.c (clock): Likewise.
45442         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
45443         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
45444         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
45445         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
45446         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
45447         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
45448         (__get_nprocs_conf): Likewise.
45449         (__get_phys_pages): Likewise.
45450         (__get_avphys_pages): Likewise.
45451         * time/clock.c (clock): Likewise.
45452         * time/tzset.c (__tzname_max): Likewise.
45454 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
45456         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
45457         (__bswap_32): Do not use "register".
45458         * crypt/crypt.c (_ufc_doit_r): Likewise.
45459         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
45460         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
45461         * gmon/gmon.c (__monstartup): Likewise.
45462         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
45463         * hurd/hurdmalloc.c (more_memory): Likewise.
45464         (malloc): Likewise.
45465         (free): Likewise.
45466         (realloc): Likewise.
45467         (malloc_fork_prepare): Likewise.
45468         (malloc_fork_parent): Likewise.
45469         (malloc_fork_child): Likewise.
45470         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
45471         (_svcauth_des): Likewise.
45472         * inet/inet_lnaof.c (inet_lnaof): Likewise.
45473         * inet/inet_net.c (inet_network): Likewise.
45474         * inet/inet_netof.c (inet_netof): Likewise.
45475         * inet/rcmd.c (__validuser2_sa): Likewise.
45476         * io/fts.c (fts_open): Likewise.
45477         (fts_load): Likewise.
45478         (fts_close): Likewise.
45479         (fts_read): Likewise.
45480         (fts_children): Likewise.
45481         (fts_build): Likewise.
45482         (fts_stat): Likewise.
45483         (fts_sort): Likewise.
45484         (fts_alloc): Likewise.
45485         (fts_lfree): Likewise.
45486         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
45487         (_IO_file_xsgetn): Likewise.
45488         (_IO_file_xsgetn_mmap): Likewise.
45489         * libio/iofopncook.c (_IO_cookie_read): Likewise.
45490         (_IO_cookie_write): Likewise.
45491         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
45492         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
45493         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
45494         * malloc/obstack.c (_obstack_begin): Likewise.
45495         (_obstack_begin_1): Likewise.
45496         (_obstack_newchunk): Likewise.
45497         (_obstack_allocated_p): Likewise.
45498         (obstack_free): Likewise.
45499         (_obstack_memory_used): Likewise.
45500         * misc/getttyent.c (getttynam): Likewise.
45501         (getttyent): Likewise.
45502         (skip): Likewise.
45503         (value): Likewise.
45504         * misc/getusershell.c (initshells): Likewise.
45505         * misc/syslog.c (__vsyslog_chk): Likewise.
45506         * misc/ttyslot.c (ttyslot): Likewise.
45507         * nis/nis_hash.c (__nis_hash): Likewise.
45508         * posix/fnmatch_loop.c (FCT): Likewise.
45509         * posix/getconf.c (print_all): Likewise.
45510         (main): Likewise.
45511         * posix/getopt.c (exchange): Likewise.
45512         * posix/glob.c (globfree): Likewise.
45513         (prefix_array): Likewise.
45514         (__glob_pattern_type): Likewise.
45515         * resolv/arpa/nameser.h (NS_GET16): Likewise.
45516         (NS_GET32): Likewise.
45517         (NS_PUT16): Likewise.
45518         (NS_PUT32): Likewise.
45519         * resolv/gethnamaddr.c (getanswer): Likewise.
45520         (gethostbyname2): Likewise.
45521         (gethostbyaddr): Likewise.
45522         (_gethtent): Likewise.
45523         (_gethtbyname2): Likewise.
45524         (_gethtbyaddr): Likewise.
45525         * resolv/ns_print.c (dst_s_get_int16): Likewise.
45526         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
45527         * resolv/res_init.c (__res_vinit): Likewise.
45528         (net_mask): Likewise.
45529         * resolv/res_mkquery.c (outchar): Likewise.
45530         (PRINT): Likewise.
45531         * stdio-common/printf_fp.c (outchar): Likewise.
45532         (PRINT): Likewise.
45533         * stdio-common/printf_fphex.c (outchar): Likewise.
45534         (PRINT): Likewise.
45535         * stdio-common/printf_size.c (outchar): Likewise.
45536         (PRINT): Likewise.
45537         * stdio-common/test_rdwr.c (main): Likewise.
45538         * stdio-common/tfformat.c (matches): Likewise.
45539         * stdio-common/vfprintf.c (outchar): Likewise.
45540         (printf_unknown): Likewise.
45541         (buffered_vfprintf): Likewise.
45542         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
45543         * stdio-common/xbug.c (AppendToBuffer): Likewise.
45544         (ReadFile): Likewise.
45545         * stdlib/qsort.c (SWAP): Likewise.
45546         (_quicksort): Likewise.
45547         * stdlib/setenv.c (__add_to_environ): Likewise.
45548         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
45549         * stdlib/strtol_l.c (__strtol_l): Likewise.
45550         * stdlib/tst-strtod.c (main): Likewise.
45551         * stdlib/tst-strtol.c (main): Likewise.
45552         * stdlib/tst-strtoll.c (main): Likewise.
45553         * string/bits/string2.h (__strcmp_cc): Likewise.
45554         (__strcmp_cg): Likewise.
45555         (__strcspn_c1): Likewise.
45556         (__strcspn_c2): Likewise.
45557         (__strcspn_c3): Likewise.
45558         (__strspn_c1): Likewise.
45559         (__strspn_c2): Likewise.
45560         (__strspn_c3): Likewise.
45561         (__strsep_1c): Likewise.
45562         (__strsep_2c): Likewise.
45563         (__strsep_3c): Likewise.
45564         * string/memccpy.c (__memccpy): Likewise.
45565         * string/stpcpy.c (__stpcpy): Likewise.
45566         * string/strcmp.c (strcmp): Likewise.
45567         * string/strrchr.c (strrchr): Likewise.
45568         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
45569         Likewise.
45570         * sysdeps/mach/hurd/getcwd.c
45571         (_hurd_canonicalize_directory_name_internal): Likewise.
45572         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
45573         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
45574         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
45575         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
45576         Likewise, in both definitions.
45577         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
45578         definitions.
45579         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
45580         64] (__bswap_64): Likewise.
45581         * time/test_time.c (main): Likewise.
45582         * time/tzfile.c (__tzfile_read): Likewise.
45583         (__tzfile_compute): Likewise.
45584         * time/tzset.c (__tzset_parse_tz): Likewise.
45585         (tzset_internal): Likewise.
45586         (compute_change): Likewise.
45587         * wcsmbs/wcscat.c (__wcscat): Likewise.
45588         * wcsmbs/wcschr.c (wcschr): Likewise.
45589         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
45590         * wcsmbs/wcscspn.c (wcscspn): Likewise.
45591         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
45592         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
45593         * wcsmbs/wcsspn.c (wcsspn): Likewise.
45594         * wcsmbs/wcsstr.c (wcsstr): Likewise.
45595         * wcsmbs/wmemchr.c (wmemchr): Likewise.
45596         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
45597         * wcsmbs/wmemset.c (wmemset): Likewise.
45599 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
45601         * scripts/config.guess: Update to version 2013-05-16.
45602         * scripts/config.sub: Update to version 2013-04-24.
45603         * scripts/install-sh: Update to version 2011-11-20.07.
45604         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
45605         * scripts/move-if-change: Update to version 2012-01-06 07:23.
45607 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
45609         * debug/fgetws_u_chk.c: Fix leading whitespaces.
45610         * elf/sln.c: Likewise.
45611         * hurd/hurd/ioctl.h: Likewise.
45612         * hurd/hurdmalloc.c: Likewise.
45613         * hurd/xattr.c: Likewise.
45614         * include/shlib-compat.h: Likewise.
45615         * inet/ruserpass.c: Likewise.
45616         * libio/iofgets_u.c: Likewise.
45617         * libio/iofgetws_u.c: Likewise.
45618         * locale/programs/ld-identification.c: Likewise.
45619         * locale/programs/ld-time.c: Likewise.
45620         * mach/msg-destroy.c: Likewise.
45621         * nss/nss_files/files-netgrp.c: Likewise.
45622         * resolv/res_data.c: Likewise.
45623         * soft-fp/op-1.h: Likewise.
45624         * soft-fp/op-2.h: Likewise.
45625         * soft-fp/op-4.h: Likewise.
45626         * soft-fp/op-common.h: Likewise.
45627         * stdio-common/printf_fphex.c: Likewise.
45628         * stdlib/strtod_l.c: Likewise.
45629         * sunrpc/rpc/clnt.h: Likewise.
45630         * sysdeps/generic/framestate.c: Likewise.
45631         * sysdeps/i386/bsd-_setjmp.S: Likewise.
45632         * sysdeps/i386/bsd-setjmp.S: Likewise.
45633         * sysdeps/i386/__longjmp.S: Likewise.
45634         * sysdeps/i386/setjmp.S: Likewise.
45635         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45636         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45637         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45638         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45639         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45640         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
45641         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45642         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45643         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45644         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
45645         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
45646         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
45647         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
45648         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
45649         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
45650         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45651         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
45652         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
45653         * sysdeps/ieee754/support.c: Likewise.
45654         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
45655         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
45656         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
45657         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
45658         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
45659         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
45660         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
45661         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
45662         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
45663         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
45664         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
45665         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
45666         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
45667         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
45668         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
45669         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
45670         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
45671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
45673 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
45675         * posix/transbug.c: Remove executable mode.
45677 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
45679         * crypt/speeds.c: Remove trailing whitespace.
45680         * dlfcn/default.c: Likewise.
45681         * elf/ifuncdep2.c: Likewise.
45682         * elf/ifuncmain1.c: Likewise.
45683         * elf/ifuncmain1vis.c: Likewise.
45684         * elf/testobj.h: Likewise.
45685         * elf/tst-stackguard1.c: Likewise.
45686         * gmon/sys/gmon.h: Likewise.
45687         * hurd/hurdmsg.c: Likewise.
45688         * hurd/new-fd.c: Likewise.
45689         * hurd/ports-get.c: Likewise.
45690         * iconvdata/ibm1008_420.c: Likewise.
45691         * inet/tst-getni1.c: Likewise.
45692         * inet/tst-getni2.c: Likewise.
45693         * libio/ioungetc.c: Likewise.
45694         * libio/wfiledoalloc.c: Likewise.
45695         * manual/libm-err-tab.pl: Likewise.
45696         * math/w_dremf.c: Likewise.
45697         * misc/ftruncate.c: Likewise.
45698         * posix/bug-glob2.c: Likewise.
45699         * posix/tst-pcre.c: Likewise.
45700         * posix/wait4.c: Likewise.
45701         * resolv/README: Likewise.
45702         * resolv/res_debug.h: Likewise.
45703         * resolv/tst-inet_ntop.c: Likewise.
45704         * setjmp/bug269-setjmp.c: Likewise.
45705         * soft-fp/extended.h: Likewise.
45706         * soft-fp/op-1.h: Likewise.
45707         * soft-fp/op-2.h: Likewise.
45708         * soft-fp/op-4.h: Likewise.
45709         * soft-fp/op-8.h: Likewise.
45710         * soft-fp/testit.c: Likewise.
45711         * stdio-common/bug16.c: Likewise.
45712         * stdlib/random.c: Likewise.
45713         * sunrpc/rpcsvc/rquota.x: Likewise.
45714         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
45715         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45716         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45717         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45718         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45719         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45720         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45721         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45722         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45723         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45724         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45725         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
45726         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45727         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
45728         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45729         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
45730         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
45731         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45732         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
45733         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45734         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45735         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45736         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
45737         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
45738         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
45739         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
45740         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
45741         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
45742         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45743         * sysdeps/ieee754/s_lib_version.c: Likewise.
45744         * sysdeps/mach/hurd/check_fds.c: Likewise.
45745         * sysdeps/mach/hurd/getsockname.c: Likewise.
45746         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
45747         * sysdeps/mach/hurd/recvfrom.c: Likewise.
45748         * sysdeps/powerpc/bits/link.h: Likewise.
45749         * sysdeps/powerpc/dl-procinfo.c: Likewise.
45750         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
45751         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
45752         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
45753         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
45754         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
45755         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
45756         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
45757         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
45758         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
45759         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
45760         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
45761         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
45762         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
45763         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
45764         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
45765         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
45766         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
45767         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
45768         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45769         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45770         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
45771         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45772         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
45773         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
45774         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
45775         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
45776         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45777         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45778         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
45779         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
45780         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
45781         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
45782         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45783         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
45784         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
45785         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
45786         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
45787         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
45788         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
45789         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
45790         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
45791         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
45792         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
45793         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
45794         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
45795         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
45796         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
45797         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
45798         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
45799         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45800         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45801         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
45802         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
45803         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
45804         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
45805         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
45806         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
45807         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
45808         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
45809         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
45810         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
45811         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
45812         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
45813         * sysdeps/powerpc/sysdep.h: Likewise.
45814         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45815         * sysdeps/s390/s390-64/sub_n.S: Likewise.
45816         * sysdeps/sh/dl-trampoline.S: Likewise.
45817         * sysdeps/sh/memset.S: Likewise.
45818         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
45819         * sysdeps/sh/strlen.S: Likewise.
45820         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
45821         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
45822         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
45823         * sysdeps/sparc/sparc32/rem.S: Likewise.
45824         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
45825         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
45826         * sysdeps/sparc/sparc32/strchr.S: Likewise.
45827         * sysdeps/sparc/sparc32/udiv.S: Likewise.
45828         * sysdeps/sparc/sparc32/urem.S: Likewise.
45829         * sysdeps/sparc/sparc64/add_n.S: Likewise.
45830         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
45831         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
45832         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
45833         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
45834         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
45835         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
45836         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
45837         * sysdeps/unix/bsd/times.c: Likewise.
45838         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
45839         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
45840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
45841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
45842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
45843         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
45844         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
45845         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
45846         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
45847         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
45848         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
45849         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
45850         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
45851         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
45852         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
45853         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
45854         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
45855         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
45856         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
45857         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
45858         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
45859         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
45860         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
45861         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
45862         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
45863         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
45864         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
45865         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45866         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
45867         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
45868         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
45869         * sysdeps/x86_64/strcspn.S: Likewise.
45871 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45873         * locale/C-translit.h: Revert #include <stdint.h> because this is a
45874         generated file.  Regenerate properly from gen-translit.pl.
45875         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
45876         locale/C-translit.h.
45878 2013-06-05  Andreas Schwab  <schwab@suse.de>
45880         [BZ #15100]
45881         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
45882         week as 6 instead of -1.
45883         * time/tst-strptime.c (day_tests): Add test case.
45885 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45887         * sysdeps/generic/math_private.h
45888         (libc_feholdexcept_setround_53bit): Replace with
45889         libc_feholdsetround_53bit.
45890         (libc_feupdateenv_53bit): Replace with
45891         libc_feresetround_53bit.
45892         (SET_RESTORE_ROUND_53BIT): Adjust.
45894 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
45896         * string/test-strchrnul.c: Add copyright header.
45898         * posix/tst-getaddrinfo4.c: Increase test timeout.
45900 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
45902         [BZ #15536]
45903         * math/libm-test.inc (MAX_EXP): Remove
45904         (MIN_EXP): Define.
45905         (ulp): Use MIN_EXP - MANT_DIG.
45906         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
45908 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
45910         * po/be.po: Revert last change.
45911         * po/zh_CN.po: Likewise.
45912         * po/header.pot: Likewise.
45914 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
45916         * Makefile ($(common-objpfx)linkobj/libc.so): Define
45917         link-libc-deps to empty as target-specific variable.
45918         * Makerules (link-libc-args): New variable.
45919         (libc-for-link): Likewise.
45920         (link-libc-deps): Likewise.
45921         (lib%.so): Depend on $(link-libc-deps).  Link with
45922         $(link-libc-args).
45923         (build-module): Link with $(link-libc-args).
45924         (build-module-asneeded): Likewise.
45925         (build-module-helper-objlist): Filter out $(link-libc-deps) from
45926         list of objects.
45927         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
45928         target-specific variable.
45929         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
45930         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
45931         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
45932         libc.
45933         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
45934         libc and ld.so.
45935         ($(objpfx)libpcprofile.so): Likewise.
45936         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
45937         libc_nonshared.a.
45938         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
45939         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
45940         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
45941         $(link-libc-deps).
45942         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
45943         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
45944         * login/Makefile ($(objpfx)libutil.so): Likewise.
45945         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
45946         * math/Makefile ($(objpfx)libm.so): Likewise.
45947         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
45948         $(objpfx)libnsl.so): Define libc-for-link as target-specific
45949         variable instead of depending directly on libc.
45950         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
45951         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
45952         $(link-libc-deps).
45953         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
45954         libc.
45955         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
45956         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
45957         ($(objpfx)libanl.so): Likewise.
45958         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
45959         ld.so.
45960         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
45961         $(link-libc-deps).
45962         * sysdeps/i386/fpu/Makefile: Remove file.
45963         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
45964         ($(objpfx)libm.so): Remove dependency on ld.so.
45966 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
45968         [BZ # 15553]
45969         * nis/yp_xdr.c (XDRMAXNAME): Define.
45970         (XDRMAXRECORD): Define.
45971         (xdr_domainname): Use XDRMAXNAME.
45972         (xdr_mapname): Likewise.
45973         (xdr_peername): Likewise.
45974         (xdr_keydat): Use XDRMAXRECORD.
45975         (xdr_valdat): Likewise.
45977 2013-05-30  Jeff Law  <law@redhat.com>
45979         [BZ #14256]
45980         * manual/errno.texi (ESTALE): Update to account for more than
45981         just NFS file systems.
45982         * sysdeps/gnu/errlist.c: Regenerated.
45984 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45986         [BZ #15465]
45987         * elf/Makefile (tests): Add tst-null-argv.
45988         (modules-names):  Add tst-null-argv-lib.
45989         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
45990         (tst-null-argv-ENV): Set environment for tst-null-argv.
45991         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
45992         (RTLD_PROGNAME): New macro.
45993         * elf/tst-null-argv.c: New test case.
45994         * elf/tst-null-argv-lib.c: Library for test case.
45995         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
45996         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
45997         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
45998         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
45999         * elf/dl-init.c (call_init): Likewise.
46000         (_dl_init): Likewise.
46001         * elf/dl-load.c (print_search_path): Likewise.
46002         (_dl_map_object): Likewise.
46003         * elf/dl-lookup.c (do_lookup_x): Likewise.
46004         (add_dependency): Likewise.
46005         (_dl_lookup_symbol_x): Likewise.
46006         (_dl_debug_bindings): Likewise.
46007         * elf/dl-open.c (_dl_show_scope): Likewise.
46008         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
46009         * elf/dl-version.c (match_symbol): Likewise.
46010         (_dl_check_map_versions): Likewise.
46011         * elf/rtld.c (dl_main): Likewise.
46012         (print_unresolved): Use RTLD_PROGNAME.
46013         (print_missing_version): Likewise.
46014         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
46015         (elf_machine_rela): Likewise.
46016         * sysdeps/powerpc/powerpc32/dl-machine.c
46017         (__process_machine_rela): Likewise.
46018         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46019         Likewise.
46020         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
46021         Likewise.
46022         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
46023         Likewise.
46024         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46025         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
46026         Likewise.
46027         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
46028         Likewise.
46029         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
46031 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
46033         * po/be.po: Add descriptive title.
46034         * po/zh_CN.po: Likewise.
46035         * po/header.pot: Likewise.
46037 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
46039         * locale/programs/locarchive.c (create_archive): Inlucde fname in
46040         error message.
46041         (enlarge_archive): Likewise.
46043 2013-05-28  Ben North  <ben@redfrontdoor.org>
46045         * manual/arith.texi (frexp): It is the magnitude of the return
46046         value which lies in [0.5, 1), not the return value itself.
46048 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46050         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46052 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
46054         * stdio-common/bug26.c (main): Correct fscanf template.
46056         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
46057         declare _dl_skip_args.
46059         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
46060         Don't declare.
46062         * manual/platform.texi: Add missing @end deftypefun.
46064 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
46066         [BZ #15529]
46067         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
46068         bit of mantissa of 2^16382.
46069         * math/libm-test.inc (hypot_test_data): Add more tests.
46071         * math/libm-test.inc: Add drem and pow10 to list of tested
46072         functions.
46073         (pow10_test): New function.
46074         (drem_test): Likewise.
46075         (drem_test_tonearest): Likewise.
46076         (drem_test_towardzero): Likewise.
46077         (drem_test_downward): Likewise.
46078         (drem_test_upward): Likewise.
46079         (main): Call the new functions.
46081         * math/libm-test.inc (finite_test_data): Remove.
46082         (finite_test): Run tests from isfinite_test_data.
46083         (gamma_test_data): Remove.
46084         (gamma_test): Run tests from lgamma_test_data.
46085         * sysdeps/i386/fpu/libm-test-ulps: Update.
46086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46088 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46090         * manual/platform.texi: Add PowerPC PPR function set documentation.
46091         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
46092         implementation.
46094 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
46096         * math/libm-test.inc (MAX_EXP): Define.
46097         (ULPDIFF): Define.
46098         (ulp): New function.
46099         (check_float_internal): Use ULPDIFF.
46100         (cpow_test): Disable failing test.
46101         (check_ulp): Test ulp() implemetnation.
46102         (main): Call check_ulp before starting tests.
46104 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
46106         * math/gen-libm-test.pl (generate_testfile): Do not handle
46107         START_DATA and END_DATA.
46108         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
46109         END_DATA.
46110         (acos_tonearest_test_data): Likewise.
46111         (acos_towardzero_test_data): Likewise.
46112         (acos_downward_test_data): Likewise.
46113         (acos_upward_test_data): Likewise.
46114         (acosh_test_data): Likewise.
46115         (asin_test_data): Likewise.
46116         (asin_tonearest_test_data): Likewise.
46117         (asin_towardzero_test_data): Likewise.
46118         (asin_downward_test_data): Likewise.
46119         (asin_upward_test_data): Likewise.
46120         (asinh_test_data): Likewise.
46121         (atan_test_data): Likewise.
46122         (atanh_test_data): Likewise.
46123         (atan2_test_data): Likewise.
46124         (cabs_test_data): Likewise.
46125         (cacos_test_data): Likewise.
46126         (cacosh_test_data): Likewise.
46127         (carg_test_data): Likewise.
46128         (casin_test_data): Likewise.
46129         (casinh_test_data): Likewise.
46130         (catan_test_data): Likewise.
46131         (catanh_test_data): Likewise.
46132         (cbrt_test_data): Likewise.
46133         (ccos_test_data): Likewise.
46134         (ccosh_test_data): Likewise.
46135         (ceil_test_data): Likewise.
46136         (cexp_test_data): Likewise.
46137         (cimag_test_data): Likewise.
46138         (clog_test_data): Likewise.
46139         (clog10_test_data): Likewise.
46140         (conj_test_data): Likewise.
46141         (copysign_test_data): Likewise.
46142         (cos_test_data): Likewise.
46143         (cos_tonearest_test_data): Likewise.
46144         (cos_towardzero_test_data): Likewise.
46145         (cos_downward_test_data): Likewise.
46146         (cos_upward_test_data): Likewise.
46147         (cosh_test_data): Likewise.
46148         (cosh_tonearest_test_data): Likewise.
46149         (cosh_towardzero_test_data): Likewise.
46150         (cosh_downward_test_data): Likewise.
46151         (cosh_upward_test_data): Likewise.
46152         (cpow_test_data): Likewise.
46153         (cproj_test_data): Likewise.
46154         (creal_test_data): Likewise.
46155         (csin_test_data): Likewise.
46156         (csinh_test_data): Likewise.
46157         (csqrt_test_data): Likewise.
46158         (ctan_test_data): Likewise.
46159         (ctan_tonearest_test_data): Likewise.
46160         (ctan_towardzero_test_data): Likewise.
46161         (ctan_downward_test_data): Likewise.
46162         (ctan_upward_test_data): Likewise.
46163         (ctanh_test_data): Likewise.
46164         (ctanh_tonearest_test_data): Likewise.
46165         (ctanh_towardzero_test_data): Likewise.
46166         (ctanh_downward_test_data): Likewise.
46167         (ctanh_upward_test_data): Likewise.
46168         (erf_test_data): Likewise.
46169         (erfc_test_data): Likewise.
46170         (exp_test_data): Likewise.
46171         (exp_tonearest_test_data): Likewise.
46172         (exp_towardzero_test_data): Likewise.
46173         (exp_downward_test_data): Likewise.
46174         (exp_upward_test_data): Likewise.
46175         (exp10_test_data): Likewise.
46176         (exp2_test_data): Likewise.
46177         (expm1_test_data): Likewise.
46178         (fabs_test_data): Likewise.
46179         (fdim_test_data): Likewise.
46180         (finite_test_data): Likewise.
46181         (floor_test_data): Likewise.
46182         (fma_test_data): Likewise.
46183         (fma_towardzero_test_data): Likewise.
46184         (fma_downward_test_data): Likewise.
46185         (fma_upward_test_data): Likewise.
46186         (fmax_test_data): Likewise.
46187         (fmin_test_data): Likewise.
46188         (fmod_test_data): Likewise.
46189         (fpclassify_test_data): Likewise.
46190         (frexp_test_data): Likewise.
46191         (gamma_test_data): Likewise.
46192         (hypot_test_data): Likewise.
46193         (ilogb_test_data): Likewise.
46194         (isfinite_test_data): Likewise.
46195         (isgreater_test_data): Likewise.
46196         (isgreaterequal_test_data): Likewise.
46197         (isinf_test_data): Likewise.
46198         (isless_test_data): Likewise.
46199         (islessequal_test_data): Likewise.
46200         (islessgreater_test_data): Likewise.
46201         (isnan_test_data): Likewise.
46202         (isnormal_test_data): Likewise.
46203         (issignaling_test_data): Likewise.
46204         (isunordered_test_data): Likewise.
46205         (j0_test_data): Likewise.
46206         (j1_test_data): Likewise.
46207         (jn_test_data): Likewise.
46208         (ldexp_test_data): Likewise.
46209         (lgamma_test_data): Likewise.
46210         (lrint_test_data): Likewise.
46211         (lrint_tonearest_test_data): Likewise.
46212         (lrint_towardzero_test_data): Likewise.
46213         (lrint_downward_test_data): Likewise.
46214         (lrint_upward_test_data): Likewise.
46215         (llrint_test_data): Likewise.
46216         (llrint_tonearest_test_data): Likewise.
46217         (llrint_towardzero_test_data): Likewise.
46218         (llrint_downward_test_data): Likewise.
46219         (llrint_upward_test_data): Likewise.
46220         (log_test_data): Likewise.
46221         (log10_test_data): Likewise.
46222         (log1p_test_data): Likewise.
46223         (log2_test_data): Likewise.
46224         (logb_test_data): Likewise.
46225         (logb_downward_test_data): Likewise.
46226         (lround_test_data): Likewise.
46227         (llround_test_data): Likewise.
46228         (modf_test_data): Likewise.
46229         (nearbyint_test_data): Likewise.
46230         (nextafter_test_data): Likewise.
46231         (nexttoward_test_data): Likewise.
46232         (pow_test_data): Likewise.
46233         (pow_tonearest_test_data): Likewise.
46234         (pow_towardzero_test_data): Likewise.
46235         (pow_downward_test_data): Likewise.
46236         (pow_upward_test_data): Likewise.
46237         (remainder_test_data): Likewise.
46238         (remainder_tonearest_test_data): Likewise.
46239         (remainder_towardzero_test_data): Likewise.
46240         (remainder_downward_test_data): Likewise.
46241         (remainder_upward_test_data): Likewise.
46242         (remquo_test_data): Likewise.
46243         (rint_test_data): Likewise.
46244         (rint_tonearest_test_data): Likewise.
46245         (rint_towardzero_test_data): Likewise.
46246         (rint_downward_test_data): Likewise.
46247         (rint_upward_test_data): Likewise.
46248         (round_test_data): Likewise.
46249         (scalb_test_data): Likewise.
46250         (scalbn_test_data): Likewise.
46251         (scalbln_test_data): Likewise.
46252         (signbit_test_data): Likewise.
46253         (sin_test_data): Likewise.
46254         (sin_tonearest_test_data): Likewise.
46255         (sin_towardzero_test_data): Likewise.
46256         (sin_downward_test_data): Likewise.
46257         (sin_upward_test_data): Likewise.
46258         (sincos_test_data): Likewise.
46259         (sinh_test_data): Likewise.
46260         (sinh_tonearest_test_data): Likewise.
46261         (sinh_towardzero_test_data): Likewise.
46262         (sinh_downward_test_data): Likewise.
46263         (sinh_upward_test_data): Likewise.
46264         (sqrt_test_data): Likewise.
46265         (tan_test_data): Likewise.
46266         (tan_tonearest_test_data): Likewise.
46267         (tan_towardzero_test_data): Likewise.
46268         (tan_downward_test_data): Likewise.
46269         (tan_upward_test_data): Likewise.
46270         (tanh_test_data): Likewise.
46271         (tgamma_test_data): Likewise.
46272         (trunc_test_data): Likewise.
46273         (y0_test_data): Likewise.
46274         (y1_test_data): Likewise.
46275         (yn_test_data): Likewise.
46276         (significand_test_data): Likewise.
46278         * math/gen-libm-test.pl (@functions): Remove variable.
46279         (generate_testfile): Don't handle START and END lines.
46280         * math/libm-test.inc (START): New macro.
46281         (END): Likewise.
46282         (END_COMPLEX): Likewise.
46283         (acos_test): Use END macro without arguments.
46284         (acos_test_tonearest): Likewise.
46285         (acos_test_towardzero): Likewise.
46286         (acos_test_downward): Likewise.
46287         (acos_test_upward): Likewise.
46288         (acosh_test): Likewise.
46289         (asin_test): Likewise.
46290         (asin_test_tonearest): Likewise.
46291         (asin_test_towardzero): Likewise.
46292         (asin_test_downward): Likewise.
46293         (asin_test_upward): Likewise.
46294         (asinh_test): Likewise.
46295         (atan_test): Likewise.
46296         (atanh_test): Likewise.
46297         (atan2_test): Likewise.
46298         (cabs_test): Likewise.
46299         (cacos_test): Use END_COMPLEX macro without arguments.
46300         (cacosh_test): Likewise.
46301         (carg_test): Use END macro without arguments.
46302         (casin_test): Use END_COMPLEX macro without arguments.
46303         (casinh_test): Likewise.
46304         (catan_test): Likewise.
46305         (catanh_test): Likewise.
46306         (cbrt_test): Use END macro without arguments.
46307         (ccos_test): Use END_COMPLEX macro without arguments.
46308         (ccosh_test): Likewise.
46309         (ceil_test): Use END macro without arguments.
46310         (cexp_test): Use END_COMPLEX macro without arguments.
46311         (cimag_test): Use END macro without arguments.
46312         (clog_test): Use END_COMPLEX macro without arguments.
46313         (clog10_test): Likewise.
46314         (conj_test): Likewise.
46315         (copysign_test): Use END macro without arguments.
46316         (cos_test): Likewise.
46317         (cos_test_tonearest): Likewise.
46318         (cos_test_towardzero): Likewise.
46319         (cos_test_downward): Likewise.
46320         (cos_test_upward): Likewise.
46321         (cosh_test): Likewise.
46322         (cosh_test_tonearest): Likewise.
46323         (cosh_test_towardzero): Likewise.
46324         (cosh_test_downward): Likewise.
46325         (cosh_test_upward): Likewise.
46326         (cpow_test): Use END_COMPLEX macro without arguments.
46327         (cproj_test): Likewise.
46328         (creal_test): Use END macro without arguments.
46329         (csin_test): Use END_COMPLEX macro without arguments.
46330         (csinh_test): Likewise.
46331         (csqrt_test): Likewise.
46332         (ctan_test): Likewise.
46333         (ctan_test_tonearest): Likewise.
46334         (ctan_test_towardzero): Likewise.
46335         (ctan_test_downward): Likewise.
46336         (ctan_test_upward): Likewise.
46337         (ctanh_test): Likewise.
46338         (ctanh_test_tonearest): Likewise.
46339         (ctanh_test_towardzero): Likewise.
46340         (ctanh_test_downward): Likewise.
46341         (ctanh_test_upward): Likewise.
46342         (erf_test): Use END macro without arguments.
46343         (erfc_test): Likewise.
46344         (exp_test): Likewise.
46345         (exp_test_tonearest): Likewise.
46346         (exp_test_towardzero): Likewise.
46347         (exp_test_downward): Likewise.
46348         (exp_test_upward): Likewise.
46349         (exp10_test): Likewise.
46350         (exp2_test): Likewise.
46351         (expm1_test): Likewise.
46352         (fabs_test): Likewise.
46353         (fdim_test): Likewise.
46354         (finite_test): Likewise.
46355         (floor_test): Likewise.
46356         (fma_test): Likewise.
46357         (fma_test_towardzero): Likewise.
46358         (fma_test_downward): Likewise.
46359         (fma_test_upward): Likewise.
46360         (fmax_test): Likewise.
46361         (fmin_test): Likewise.
46362         (fmod_test): Likewise.
46363         (fpclassify_test): Likewise.
46364         (frexp_test): Likewise.
46365         (gamma_test): Likewise.
46366         (hypot_test): Likewise.
46367         (ilogb_test): Likewise.
46368         (isfinite_test): Likewise.
46369         (isgreater_test): Likewise.
46370         (isgreaterequal_test): Likewise.
46371         (isinf_test): Likewise.
46372         (isless_test): Likewise.
46373         (islessequal_test): Likewise.
46374         (islessgreater_test): Likewise.
46375         (isnan_test): Likewise.
46376         (isnormal_test): Likewise.
46377         (issignaling_test): Likewise.
46378         (isunordered_test): Likewise.
46379         (j0_test): Likewise.
46380         (j1_test): Likewise.
46381         (jn_test): Likewise.
46382         (ldexp_test): Likewise.
46383         (lgamma_test): Likewise.
46384         (lrint_test): Likewise.
46385         (lrint_test_tonearest): Likewise.
46386         (lrint_test_towardzero): Likewise.
46387         (lrint_test_downward): Likewise.
46388         (lrint_test_upward): Likewise.
46389         (llrint_test): Likewise.
46390         (llrint_test_tonearest): Likewise.
46391         (llrint_test_towardzero): Likewise.
46392         (llrint_test_downward): Likewise.
46393         (llrint_test_upward): Likewise.
46394         (log_test): Likewise.
46395         (log10_test): Likewise.
46396         (log1p_test): Likewise.
46397         (log2_test): Likewise.
46398         (logb_test): Likewise.
46399         (logb_test_downward): Likewise.
46400         (lround_test): Likewise.
46401         (llround_test): Likewise.
46402         (modf_test): Likewise.
46403         (nearbyint_test): Likewise.
46404         (nextafter_test): Likewise.
46405         (nexttoward_test): Likewise.
46406         (pow_test): Likewise.
46407         (pow_test_tonearest): Likewise.
46408         (pow_test_towardzero): Likewise.
46409         (pow_test_downward): Likewise.
46410         (pow_test_upward): Likewise.
46411         (remainder_test): Likewise.
46412         (remainder_test_tonearest): Likewise.
46413         (remainder_test_towardzero): Likewise.
46414         (remainder_test_downward): Likewise.
46415         (remainder_test_upward): Likewise.
46416         (remquo_test): Likewise.
46417         (rint_test): Likewise.
46418         (rint_test_tonearest): Likewise.
46419         (rint_test_towardzero): Likewise.
46420         (rint_test_downward): Likewise.
46421         (rint_test_upward): Likewise.
46422         (round_test): Likewise.
46423         (scalb_test): Likewise.
46424         (scalbn_test): Likewise.
46425         (scalbln_test): Likewise.
46426         (signbit_test): Likewise.
46427         (sin_test): Likewise.
46428         (sin_test_tonearest): Likewise.
46429         (sin_test_towardzero): Likewise.
46430         (sin_test_downward): Likewise.
46431         (sin_test_upward): Likewise.
46432         (sincos_test): Likewise.
46433         (sinh_test): Likewise.
46434         (sinh_test_tonearest): Likewise.
46435         (sinh_test_towardzero): Likewise.
46436         (sinh_test_downward): Likewise.
46437         (sinh_test_upward): Likewise.
46438         (sqrt_test): Likewise.
46439         (tan_test): Likewise.
46440         (tan_test_tonearest): Likewise.
46441         (tan_test_towardzero): Likewise.
46442         (tan_test_downward): Likewise.
46443         (tan_test_upward): Likewise.
46444         (tanh_test): Likewise.
46445         (tgamma_test): Likewise.
46446         (trunc_test): Likewise.
46447         (y0_test): Likewise.
46448         (y1_test): Likewise.
46449         (yn_test): Likewise.
46450         (significand_test): Likewise.
46452 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
46454         [BZ #15381]
46455         * libio/genops.c (_IO_no_init): Initialize wide struct info.
46457 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
46459         [BZ #14894]
46460         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
46461         __ppc_mdoio and __ppc_mdoom.
46462         * manual/platform.texi: Document new functions __ppc_yield,
46463         __ppc_mdoio and __ppc_mdoom.
46465 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
46467         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
46468         (main): Mention "tls" pseudo-hwcap is legacy.
46469         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
46471 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
46473         * math/gen-libm-test.pl (parse_args): Output only string of
46474         arguments as text for test name, not full call or descriptions of
46475         tests for extra outputs.
46476         (generate_testfile): Do not pass function name to parse_args.
46477         Generate this_func variable from START.
46478         * math/libm-test.inc (struct test_f_f_data): Rename test_name
46479         field to arg_str.
46480         (struct test_ff_f_data): Likewise.
46481         (test_ff_f_data_nexttoward): Likewise.
46482         (struct test_fi_f_data): Likewise.
46483         (struct test_fl_f_data): Likewise.
46484         (struct test_if_f_data): Likewise.
46485         (struct test_fff_f_data): Likewise.
46486         (struct test_c_f_data): Likewise.
46487         (struct test_f_f1_data): Likewise.  Remove field extra_name.
46488         (struct test_fF_f1_data): Likewise.
46489         (struct test_ffI_f1_data): Likewise.
46490         (struct test_c_c_data): Rename test_name field to arg_str.
46491         (struct test_cc_c_data): Likewise.
46492         (struct test_f_i_data): Likewise.
46493         (struct test_ff_i_data): Likewise.
46494         (struct test_f_l_data): Likewise.
46495         (struct test_f_L_data): Likewise.
46496         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
46497         and extra2_name.
46498         (COMMON_TEST_SETUP): New macro.
46499         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
46500         (COMMON_TEST_CLEANUP): Likewise.
46501         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
46502         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
46503         macros.
46504         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
46505         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
46506         macros.
46507         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
46508         (RUN_TEST_fff_f): Take argument string.  Call new setup and
46509         cleanup macros.
46510         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
46511         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
46512         macros.
46513         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
46514         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
46515         macros.
46516         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
46517         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
46518         cleanup macros.
46519         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
46520         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
46521         cleanup macros.
46522         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
46523         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
46524         cleanup macros.
46525         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
46526         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
46527         macros.
46528         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
46529         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
46530         macros.
46531         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
46532         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
46533         macros.
46534         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
46535         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
46536         cleanup macros.
46537         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
46538         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
46539         cleanup macros.
46540         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
46541         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
46542         macros.
46543         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
46544         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
46545         cleanup macros.
46546         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
46547         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
46548         macros.
46549         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
46550         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
46551         macros.
46552         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
46553         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
46554         cleanup macros.
46555         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
46557 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
46559         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
46560         to _sifields.sigfault.
46561         (si_addr_lsb): Define new macro.
46562         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
46563         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46564         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
46566 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
46568         [BZ #15441]
46569         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
46570         returns -1.
46571         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
46572         null return -1.
46573         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
46574         loading the domain.
46576 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
46578         * math/gen-libm-test.pl (parse_args): Do not include expected
46579         result in test name.
46580         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
46581         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46582         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46583         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46584         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46587 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
46589         * benchtests/Makefile: Sort function entries.
46591         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
46592         tanh, asinh, acosh, atanh.
46593         * benchtests/acos-inputs: New file.
46594         * benchtests/acosh-inputs: New file.
46595         * benchtests/asin-inputs: New file.
46596         * benchtests/asinh-inputs: New file.
46597         * benchtests/atanh-inputs: New file.
46598         * benchtests/cosh-inputs: New file.
46599         * benchtests/log-inputs: New file.
46600         * benchtests/sinh-inputs: New file.
46601         * benchtests/tanh-inputs: New file.
46603 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
46605         [BZ #15339]
46606         * posix/tst-getaddrinfo4.c: New test.
46607         * posix/Makefile (tests): Add it.
46609 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46611         [BZ #15339]
46612         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
46613         when no services were used.
46614         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
46615         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
46617 2013-05-21  Andreas Schwab  <schwab@suse.de>
46619         [BZ #15014]
46620         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
46621         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
46622         successful.
46623         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
46624         redundant variable declarations and reallocation of buffer when
46625         parsing as IPv6 address.  Always set NSS status when called from
46626         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
46627         buffer too small.  Correct computation of needed size.
46628         * nss/Makefile (tests): Add test-digits-dots.
46629         * nss/test-digits-dots.c: New test.
46631 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46633         * benchtests/Makefile: Remove instructions for adding
46634         benchmark tests.
46635         * benchtests/README: New file to explain how to execute and
46636         enhance the benchmark tests.
46638 2013-05-21  Andreas Schwab  <schwab@suse.de>
46640         [BZ #15493]
46641         * setjmp/Makefile (tests): Add tst-sigsetjmp.
46642         * setjmp/tst-sigsetjmp.c: New test.
46644 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
46646         * sysdeps/x86_64/memset.S (memset): New implementation.
46647         (__bzero): Likewise.
46648         (__memset_tail): New function.
46650 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
46652         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
46653         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
46654         __memcpy_sse2_unaligned ifunc selection.
46655         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
46656         Add memcpy-sse2-unaligned.S.
46657         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46658         Add: __memcpy_sse2_unaligned.
46660 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
46662         [BZ #15490]
46663         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
46664         math_force_eval before restoring floating-point envrionment.
46665         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
46666         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
46667         Likewise.
46668         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
46669         <math_private.h>.
46670         (__nearbyintl): Use math_force_eval before restoring
46671         floating-point environment.
46672         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
46674         * math/gen-libm-test.pl (special_functions): Remove.
46675         (parse_args): Don't handle TEST_extra.  Handle functions with no
46676         return value.
46677         * math/libm-test.inc (struct test_sincos_data): Replace with
46678         struct test_fFF_11_data.
46679         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
46680         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
46681         (sincos_test_data): Change element type to struct
46682         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
46683         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
46684         RUN_TEST_LOOP_sincos.
46685         * math/README.libm-test: Don't mention special handling of
46686         individual functions.
46687         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
46688         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46689         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46690         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46691         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46694         * math/gen-libm-test.pl (get_variable): Remove function.
46695         (parse_args): Don't show pointer parameters to call in test
46696         names.  Use "extra output N" in test names for extra outputs
46697         rather than naming variables.
46699 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
46701         [BZ #15488]
46702         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
46703         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
46704         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
46705         double tests.
46706         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
46707         disable.
46708         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
46709         check_long_double.
46711         * math/gen-libm-test.pl (@tests): Remove variable.
46712         ($count): Likewise.
46713         (new_test): Remove function.
46714         (show_exceptions): New function.
46715         (special_functions): Use show_exceptions instead of new_test.
46716         (parse_args): Likewise.
46717         (generate_testfile): Pass only function name in generated call to
46718         print_max_error or print_complex_max_error.
46719         (get_ulps): Do not handle complex tests specially.
46720         (output_test): Rename to ...
46721         (get_all_ulps_for_test): ... this.  Return a string rather than
46722         printing to a file.  Require ulps to be present.
46723         (output_ulps): Generate arrays rather than #defines.
46724         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
46725         (struct ulp_data): New type.
46726         (BUILD_COMPLEX_ULP): Remove macro.
46727         (compare_ulp_data): New function.
46728         (find_ulps): Likewise.
46729         (find_test_ulps): Likewise.
46730         (find_function_ulps): Likewise.
46731         (find_complex_function_ulps): Likewise.
46732         (print_max_error): Determine allowed ulps using
46733         find_function_ulps.
46734         (print_complex_max_error): Determine allowed ulps using
46735         find_complex_function_ulps.
46736         (check_float_internal): Determine max ulps using find_test_ulps.
46737         (check_float): Do not take max_ulp parameter.  Update call to
46738         check_float_internal.
46739         (check_complex): Likewise.
46740         (check_int): Do not take max_ulp parameter.
46741         (check_long): Likewise.
46742         (check_bool): Likewise.
46743         (check_longlong): Likewise.
46744         (struct test_f_f_data): Remove max_ulp field.
46745         (struct test_ff_f_data): Likewise.
46746         (struct test_ff_f_data_nexttoward): Likewise.
46747         (struct test_fi_f_data): Likewise.
46748         (struct test_fl_f_data): Likewise.
46749         (struct test_if_f_data): Likewise.
46750         (struct test_fff_f_data): Likewise.
46751         (struct test_c_f_data): Likewise.
46752         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
46753         (struct test_fF_f1_data): Likewise.
46754         (struct test_ffI_f1_data): Likewise.
46755         (struct test_c_c_data): Remove max_ulp field.
46756         (struct test_cc_c_data): Likewise.
46757         (struct test_f_i_data): Likewise.
46758         (struct test_ff_i_data): Likewise.
46759         (struct test_f_l_data): Likewise.
46760         (struct test_f_L_data): Likewise.
46761         (struct test_sincos_data): Likewise.
46762         (RUN_TEST_f_f): Do not handle ulps.
46763         (RUN_TEST_LOOP_f_f): Likewise.
46764         (RUN_TEST_2_f): Likewise.
46765         (RUN_TEST_LOOP_2_f): Likewise.
46766         (RUN_TEST_fff_f): Likewise.
46767         (RUN_TEST_LOOP_fff_f): Likewise.
46768         (RUN_TEST_c_f): Likewise.
46769         (RUN_TEST_LOOP_c_f): Likewise.
46770         (RUN_TEST_f_f1): Likewise.
46771         (RUN_TEST_LOOP_f_f1): Likewise.
46772         (RUN_TEST_fF_f1): Likewise.
46773         (RUN_TEST_LOOP_fF_f1): Likewise.
46774         (RUN_TEST_fI_f1): Likewise.
46775         (RUN_TEST_LOOP_fI_f1): Likewise.
46776         (RUN_TEST_ffI_f1): Likewise.
46777         (RUN_TEST_LOOP_ffI_f1): Likewise.
46778         (RUN_TEST_c_c): Likewise.
46779         (RUN_TEST_LOOP_c_c): Likewise.
46780         (RUN_TEST_cc_c): Likewise.
46781         (RUN_TEST_LOOP_cc_c): Likewise.
46782         (RUN_TEST_f_i): Likewise.
46783         (RUN_TEST_LOOP_f_i): Likewise.
46784         (RUN_TEST_f_i_tg): Likewise.
46785         (RUN_TEST_LOOP_f_i_tg): Likewise.
46786         (RUN_TEST_ff_i_tg): Likewise.
46787         (RUN_TEST_LOOP_ff_i_tg): Likewise.
46788         (RUN_TEST_f_b): Likewise.
46789         (RUN_TEST_LOOP_f_b): Likewise.
46790         (RUN_TEST_f_b_tg): Likewise.
46791         (RUN_TEST_LOOP_f_b_tg): Likewise.
46792         (RUN_TEST_f_l): Likewise.
46793         (RUN_TEST_LOOP_f_l): Likewise.
46794         (RUN_TEST_f_L): Likewise.
46795         (RUN_TEST_LOOP_f_L): Likewise.
46796         (RUN_TEST_sincos): Likewise.
46797         (RUN_TEST_LOOP_sincos): Likewise.
46799 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
46801         [BZ #15480]
46802         [BZ #15485]
46803         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
46804         main case of finite arguments, set rounding mode to FE_TONEAREST
46805         and discard exceptions.
46806         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
46807         exceptions.
46808         (remainder_tonearest_test_data): New variable.
46809         (remainder_test_tonearest): New function.
46810         (remainder_towardzero_test_data): New variable.
46811         (remainder_test_towardzero): New function.
46812         (remainder_downward_test_data): New variable.
46813         (remainder_test_downward): New function.
46814         (remainder_upward_test_data): New variable.
46815         (remainder_test_upward): New function.
46816         (main): Call the new test functions.
46818         * math/libm-test.inc (struct test_f_f1_data): Remove field
46819         extra_init.
46820         (struct test_fF_f1_data): Likewise.
46821         (struct test_ffI_f1_data): Likewise.
46822         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
46823         based on value of EXTRA_EXPECTED.
46824         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
46825         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
46826         EXTRA_VAR based on value of EXTRA_EXPECTED.
46827         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
46828         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
46829         EXTRA_VAR based on value of EXTRA_EXPECTED.
46830         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
46831         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
46832         EXTRA_VAR based on value of EXTRA_EXPECTED.
46833         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
46834         * math/gen-libm-test.pl (parse_args): Don't output initializers
46835         for extra output values.
46837         * math/libm-test.inc (check_int): Expect result to be exactly
46838         equal to expected value and do not handle ulps.
46839         (check_long): Likewise.
46840         (check_longlong): Likewise.
46842         * math/libm-test.inc (ceil_test_data): Test for "inexact"
46843         exceptions.
46844         (cimag_test_data): Likewise.
46845         (conj_test_data): Likewise.
46846         (copysign_test_data): Likewise.
46847         (cproj_test_data): Likewise.
46848         (creal_test_data): Likewise.
46849         (fabs_test_data): Likewise.
46850         (fdim_test_data): Likewise.
46851         (finite_test_data): Likewise.
46852         (floor_test_data): Likewise.
46853         (fmax_test_data): Likewise.
46854         (fmin_test_data): Likewise.
46855         (fmod_test_data): Likewise.
46856         (fpclassify_test_data): Likewise.
46857         (frexp_test_data): Likewise.
46858         (ilogb_test_data): Likewise.
46859         (isfinite_test_data): Likewise.
46860         (isgreater_test_data): Likewise.
46861         (isgreaterequal_test_data): Likewise.
46862         (isinf_test_data): Likewise.
46863         (isless_test_data): Likewise.
46864         (islessequal_test_data): Likewise.
46865         (islessgreater_test_data): Likewise.
46866         (isnan_test_data): Likewise.
46867         (isnormal_test_data): Likewise.
46868         (issignaling_test_data): Likewise.
46869         (isunordered_test_data): Likewise.
46870         (ldexp_test_data): Likewise.
46871         (lrint_test_data): Likewise.
46872         (lrint_test_data) [TEST_FLOAT]: Disable one test.
46873         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
46874         (lrint_tonearest_test_data): Test for "inexact" exceptions.
46875         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
46876         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
46877         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
46878         test input.
46879         (lrint_towardzero_test_data): Test for "inexact" exceptions.
46880         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
46881         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
46882         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
46883         that test input.
46884         (lrint_downward_test_data): Test for "inexact" exceptions.
46885         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
46886         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
46887         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
46888         test input.
46889         (lrint_upward_test_data): Test for "inexact" exceptions.
46890         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
46891         test input.
46892         (llrint_test_data): Test for "inexact" exceptions.
46893         (llrint_test_data) [TEST_FLOAT]: Disable one test.
46894         (llrint_tonearest_test_data): Test for "inexact" exceptions.
46895         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
46896         (llrint_towardzero_test_data): Test for "inexact" exceptions.
46897         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
46898         (llrint_downward_test_data): Test for "inexact" exceptions.
46899         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
46900         (llrint_upward_test_data): Test for "inexact" exceptions.
46901         (logb_test_data): Likewise.
46902         (logb_downward_test_data): Likewise.
46903         (nextafter_test_data): Likewise.
46904         (nexttoward_test_data): Likewise.
46905         (remainder_test_data): Likewise.
46906         (remquo_test_data): Likewise.
46907         (scalbn_test_data): Likewise.
46908         (scalbln_test_data): Likewise.
46909         (signbit_test_data): Likewise.
46910         (sqrt_test_data): Likewise.
46911         (significand_test_data): Likewise.
46913 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
46915         [BZ #15424]
46916         * benchtests/bench-modf.c (struct args): Mark arg0 as
46917         volatile.
46918         * scripts/bench.pl: Mark members of struct args as volatile.
46920 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46922         [BZ # 15497]
46923         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
46924         negative infinity on POWER6 or lower.
46925         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
46927 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
46929         [BZ #15442]
46930         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
46931         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
46932         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
46933         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
46934         (_FP_SETQNAN): New macro.
46935         (_FP_SETQNAN_SEMIRAW): Likewise.
46936         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
46937         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
46938         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
46939         (FP_EXTEND): Use _FP_FRAC_SNANP.
46940         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
46941         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
46942         into account.
46943         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
46944         New macro.
46945         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
46946         Likewise.
46948 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
46950         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
46951         with DIVIDE_BY_ZERO_EXCEPTION.
46952         (gamma_test_data): Likewise.
46953         (lgamma_test_data): Likewise.
46954         (log_test_data): Likewise.
46955         (log10_test_data): Likewise.
46956         (log2_test_data): Likewise.
46957         (tgamma_test_data): Likewise.
46959         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
46960         (acos_test_tonearest): Likewise.
46961         (acos_test_towardzero): Likewise.
46962         (acos_test_downward): Likewise.
46963         (acos_test_upward): Likewise.
46964         (acosh_test): Likewise.
46965         (asin_test): Likewise.
46966         (asin_test_tonearest): Likewise.
46967         (asin_test_towardzero): Likewise.
46968         (asin_test_downward): Likewise.
46969         (asin_test_upward): Likewise.
46970         (asinh_test): Likewise.
46971         (atan_test): Likewise.
46972         (atanh_test): Likewise.
46973         (atan2_test): Likewise.
46974         (cabs_test): Likewise.
46975         (cacos_test): Likewise.
46976         (cacosh_test): Likewise.
46977         (casin_test): Likewise.
46978         (casinh_test): Likewise.
46979         (catan_test): Likewise.
46980         (catanh_test): Likewise.
46981         (cbrt_test): Likewise.
46982         (ccos_test): Likewise.
46983         (ccosh_test): Likewise.
46984         (cexp_test): Likewise.
46985         (clog_test): Likewise.
46986         (clog10_test): Likewise.
46987         (cos_test): Likewise.
46988         (cos_test_tonearest): Likewise.
46989         (cos_test_towardzero): Likewise.
46990         (cos_test_downward): Likewise.
46991         (cos_test_upward): Likewise.
46992         (cosh_test): Likewise.
46993         (cosh_test_tonearest): Likewise.
46994         (cosh_test_towardzero): Likewise.
46995         (cosh_test_downward): Likewise.
46996         (cosh_test_upward): Likewise.
46997         (cpow_test): Likewise.
46998         (csin_test): Likewise.
46999         (csinh_test): Likewise.
47000         (csqrt_test): Likewise.
47001         (ctan_test): Likewise.
47002         (ctan_test_tonearest): Likewise.
47003         (ctan_test_towardzero): Likewise.
47004         (ctan_test_downward): Likewise.
47005         (ctan_test_upward): Likewise.
47006         (ctanh_test): Likewise.
47007         (ctanh_test_tonearest): Likewise.
47008         (ctanh_test_towardzero): Likewise.
47009         (ctanh_test_downward): Likewise.
47010         (ctanh_test_upward): Likewise.
47011         (erf_test): Likewise.
47012         (erfc_test): Likewise.
47013         (exp_test): Likewise.
47014         (exp_test_tonearest): Likewise.
47015         (exp_test_towardzero): Likewise.
47016         (exp_test_downward): Likewise.
47017         (exp_test_upward): Likewise.
47018         (exp10_test): Likewise.
47019         (exp2_test): Likewise.
47020         (expm1_test): Likewise.
47021         (fmod_test): Likewise.
47022         (gamma_test): Likewise.
47023         (hypot_test): Likewise.
47024         (j0_test): Likewise.
47025         (j1_test): Likewise.
47026         (jn_test): Likewise.
47027         (lgamma_test): Likewise.
47028         (log_test): Likewise.
47029         (log10_test): Likewise.
47030         (log1p_test): Likewise.
47031         (log2_test): Likewise.
47032         (logb_test_downward): Likewise.
47033         (pow_test): Likewise.
47034         (pow_test_tonearest): Likewise.
47035         (pow_test_towardzero): Likewise.
47036         (pow_test_downward): Likewise.
47037         (pow_test_upward): Likewise.
47038         (remainder_test): Likewise.
47039         (remquo_test): Likewise.
47040         (sin_test): Likewise.
47041         (sin_test_tonearest): Likewise.
47042         (sin_test_towardzero): Likewise.
47043         (sin_test_downward): Likewise.
47044         (sin_test_upward): Likewise.
47045         (sincos_test): Likewise.
47046         (sinh_test): Likewise.
47047         (sinh_test_tonearest): Likewise.
47048         (sinh_test_towardzero): Likewise.
47049         (sinh_test_downward): Likewise.
47050         (sinh_test_upward): Likewise.
47051         (sqrt_test): Likewise.
47052         (tan_test): Likewise.
47053         (tan_test_tonearest): Likewise.
47054         (tan_test_towardzero): Likewise.
47055         (tan_test_downward): Likewise.
47056         (tan_test_upward): Likewise.
47057         (tanh_test): Likewise.
47058         (tgamma_test): Likewise.
47059         (y0_test): Likewise.
47060         (y1_test): Likewise.
47061         (yn_test): Likewise.
47063         * math/gen-libm-test.pl (adjust_arg): Remove function.
47064         (special_function): Remove argument $in_func.  Only handle
47065         generating output for tables of tests, not inside functions.
47066         (parse_args): Likewise.
47067         (generate_testfile): Remove variable $in_func.  Update call to
47068         parse_args.
47069         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
47070         (MINUS_ZERO_INIT): Rename macro to minus_zero.
47071         (PLUS_INFTY_INIT): Rename macro to plus_infty.
47072         (MINUS_INFTY_INIT): Rename macro to minus_infty.
47073         (QNAN_VALUE_INIT): Rename macro to qnan_value.
47074         (MAX_VALUE_INIT): Rename macro to max_value.
47075         (MIN_VALUE_INIT): Rename macro to min_value.
47076         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
47077         (plus_zero): Remove variable.
47078         (minus_zero): Likewise.
47079         (plus_infty): Likewise.
47080         (minus_infty): Likewise.
47081         (qnan_value): Likewise.
47082         (max_value): Likewise.
47083         (min_value): Likewise.
47084         (min_subnorm_value): Likewise.
47086 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47088         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
47089         uint64_t or uint32_t usage.
47090         * crypt/sha256-block.c: Likewise.
47091         * crypt/sha256-crypt.c: Likewise.
47092         * crypt/sha256.c: Likewise.
47093         * crypt/sha512-block.c: Likewise.
47094         * crypt/sha512-crypt.c: Likewise.
47095         * crypt/sha512.c: Likewise.
47096         * debug/backtrace-tst.c: Likewise.
47097         * debug/pcprofiledump.c: Likewise.
47098         * elf/cache.c: Likewise.
47099         * elf/dl-cache.c: Likewise.
47100         * elf/dl-misc.c: Likewise.
47101         * elf/dl-profile.c: Likewise.
47102         * elf/dl-support.c: Likewise.
47103         * elf/ldconfig.c: Likewise.
47104         * elf/sprof.c: Likewise.
47105         * iconv/dummy-repertoire.c: Likewise.
47106         * iconv/iconv_charmap.c: Likewise.
47107         * iconv/skeleton.c: Likewise.
47108         * iconvdata/8bit-generic.c: Likewise.
47109         * iconvdata/cp737.h: Likewise.
47110         * iconvdata/cp775.h: Likewise.
47111         * iconvdata/ibm1008.h: Likewise.
47112         * iconvdata/ibm1025.h: Likewise.
47113         * iconvdata/ibm1046.h: Likewise.
47114         * iconvdata/ibm1097.h: Likewise.
47115         * iconvdata/ibm1112.h: Likewise.
47116         * iconvdata/ibm1122.h: Likewise.
47117         * iconvdata/ibm1123.h: Likewise.
47118         * iconvdata/ibm1124.h: Likewise.
47119         * iconvdata/ibm1129.h: Likewise.
47120         * iconvdata/ibm1130.h: Likewise.
47121         * iconvdata/ibm1132.h: Likewise.
47122         * iconvdata/ibm1133.h: Likewise.
47123         * iconvdata/ibm1137.h: Likewise.
47124         * iconvdata/ibm1140.h: Likewise.
47125         * iconvdata/ibm1141.h: Likewise.
47126         * iconvdata/ibm1142.h: Likewise.
47127         * iconvdata/ibm1143.h: Likewise.
47128         * iconvdata/ibm1144.h: Likewise.
47129         * iconvdata/ibm1145.h: Likewise.
47130         * iconvdata/ibm1146.h: Likewise.
47131         * iconvdata/ibm1147.h: Likewise.
47132         * iconvdata/ibm1148.h: Likewise.
47133         * iconvdata/ibm1149.h: Likewise.
47134         * iconvdata/ibm1153.h: Likewise.
47135         * iconvdata/ibm1154.h: Likewise.
47136         * iconvdata/ibm1155.h: Likewise.
47137         * iconvdata/ibm1156.h: Likewise.
47138         * iconvdata/ibm1157.h: Likewise.
47139         * iconvdata/ibm1158.h: Likewise.
47140         * iconvdata/ibm1160.h: Likewise.
47141         * iconvdata/ibm1161.h: Likewise.
47142         * iconvdata/ibm1162.h: Likewise.
47143         * iconvdata/ibm1163.h: Likewise.
47144         * iconvdata/ibm1164.h: Likewise.
47145         * iconvdata/ibm1166.h: Likewise.
47146         * iconvdata/ibm1167.h: Likewise.
47147         * iconvdata/ibm12712.h: Likewise.
47148         * iconvdata/ibm1390.h: Likewise.
47149         * iconvdata/ibm1399.h: Likewise.
47150         * iconvdata/ibm16804.h: Likewise.
47151         * iconvdata/ibm4517.h: Likewise.
47152         * iconvdata/ibm4899.h: Likewise.
47153         * iconvdata/ibm4909.h: Likewise.
47154         * iconvdata/ibm4971.h: Likewise.
47155         * iconvdata/ibm5347.h: Likewise.
47156         * iconvdata/ibm803.h: Likewise.
47157         * iconvdata/ibm856.h: Likewise.
47158         * iconvdata/ibm901.h: Likewise.
47159         * iconvdata/ibm902.h: Likewise.
47160         * iconvdata/ibm9030.h: Likewise.
47161         * iconvdata/ibm9066.h: Likewise.
47162         * iconvdata/ibm921.h: Likewise.
47163         * iconvdata/ibm922.h: Likewise.
47164         * iconvdata/ibm9448.h: Likewise.
47165         * iconvdata/isiri-3342.h: Likewise.
47166         * iconvdata/jis0201.h: Likewise.
47167         * include/link.h: Likewise.
47168         * include/netdb.h: Likewise.
47169         * inet/check_native.c: Likewise.
47170         * inet/check_pf.c: Likewise.
47171         * inet/getipv4sourcefilter.c: Likewise.
47172         * inet/getnameinfo.c: Likewise.
47173         * inet/getsourcefilter.c: Likewise.
47174         * inet/htonl.c: Likewise.
47175         * inet/setipv4sourcefilter.c: Likewise.
47176         * inet/setsourcefilter.c: Likewise.
47177         * inet/test-inet6_opt.c: Likewise.
47178         * inet/tst-network.c: Likewise.
47179         * locale/C-collate.c: Likewise.
47180         * locale/C-ctype.c: Likewise.
47181         * locale/C-time.c: Likewise.
47182         * locale/C-translit.h: Likewise.
47183         * locale/loadarchive.c: Likewise.
47184         * locale/programs/3level.h: Likewise.
47185         * locale/programs/charmap.c: Likewise.
47186         * locale/programs/charmap.h: Likewise.
47187         * locale/programs/ld-address.c: Likewise.
47188         * locale/programs/ld-collate.c: Likewise.
47189         * locale/programs/ld-ctype.c: Likewise.
47190         * locale/programs/ld-identification.c: Likewise.
47191         * locale/programs/ld-measurement.c: Likewise.
47192         * locale/programs/ld-messages.c: Likewise.
47193         * locale/programs/ld-monetary.c: Likewise.
47194         * locale/programs/ld-name.c: Likewise.
47195         * locale/programs/ld-numeric.c: Likewise.
47196         * locale/programs/ld-paper.c: Likewise.
47197         * locale/programs/ld-telephone.c: Likewise.
47198         * locale/programs/ld-time.c: Likewise.
47199         * locale/programs/linereader.c: Likewise.
47200         * locale/programs/locale.c: Likewise.
47201         * locale/programs/locarchive.c: Likewise.
47202         * locale/programs/locfile.h: Likewise.
47203         * locale/programs/repertoire.c: Likewise.
47204         * locale/programs/simple-hash.c: Likewise.
47205         * locale/programs/simple-hash.h: Likewise.
47206         * malloc/memusage.c: Likewise.
47207         * malloc/memusagestat.c: Likewise.
47208         * nis/nis_defaults.c: Likewise.
47209         * nis/nis_hash.c: Likewise.
47210         * nis/nis_print.c: Likewise.
47211         * nis/nis_xdr.c: Likewise.
47212         * nscd/connections.c: Likewise.
47213         * nscd/hstcache.c: Likewise.
47214         * nscd/nscd_gethst_r.c: Likewise.
47215         * nscd/nscd_getserv_r.c: Likewise.
47216         * nscd/nscd_helper.c: Likewise.
47217         * nscd/servicescache.c: Likewise.
47218         * nss/makedb.c: Likewise.
47219         * nss/nss_db/db-XXX.c: Likewise.
47220         * nss/nss_db/db-initgroups.c: Likewise.
47221         * nss/nss_db/db-netgrp.c: Likewise.
47222         * nss/nss_files/files-network.c: Likewise.
47223         * nss/nss_files/files-parse.c: Likewise.
47224         * posix/bug-regex5.c: Likewise.
47225         * posix/fnmatch_loop.c: Likewise.
47226         * posix/regcomp.c: Likewise.
47227         * posix/regexec.c: Likewise.
47228         * posix/tst-rfc3484-2.c: Likewise.
47229         * posix/tst-rfc3484-3.c: Likewise.
47230         * posix/tst-rfc3484.c: Likewise.
47231         * resolv/nss_dns/dns-canon.c: Likewise.
47232         * resolv/nss_dns/dns-network.c: Likewise.
47233         * resolv/res_init.c: Likewise.
47234         * resolv/res_mkquery.c: Likewise.
47235         * resolv/tst-aton.c: Likewise.
47236         * stdlib/cxa_atexit.c: Likewise.
47237         * stdlib/cxa_finalize.c: Likewise.
47238         * stdlib/gen-fpioconst.c: Likewise.
47239         * stdlib/strtol_l.c: Likewise.
47240         * string/tst-endian.c: Likewise.
47241         * sunrpc/auth_des.c: Likewise.
47242         * sunrpc/clnt_udp.c: Likewise.
47243         * sunrpc/rtime.c: Likewise.
47244         * sunrpc/svcauth_des.c: Likewise.
47245         * sunrpc/xdr.c: Likewise.
47246         * sunrpc/xdr_intXX_t.c: Likewise.
47247         * sunrpc/xdr_rec.c: Likewise.
47248         * sysdeps/generic/ldconfig.h: Likewise.
47249         * sysdeps/generic/ldsodefs.h: Likewise.
47250         * sysdeps/generic/memusage.h: Likewise.
47251         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47252         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
47253         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
47254         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47255         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47256         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47257         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47258         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47259         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47260         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
47261         * sysdeps/posix/getaddrinfo.c: Likewise.
47262         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47263         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47264         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
47265         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47266         * sysdeps/powerpc/test-gettimebase.c: Likewise.
47267         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
47268         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
47269         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
47270         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
47271         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
47272         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
47273         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
47274         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
47275         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
47276         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
47277         * sysdeps/x86_64/dl-tls.h: Likewise.
47278         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
47279         * time/alt_digit.c: Likewise.
47280         * time/era.c: Likewise.
47281         * wcsmbs/tst-c16c32-1.c: Likewise.
47283 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
47285         * math/libm-test.inc (struct test_sincos_data): New type.
47286         (RUN_TEST_LOOP_sincos): New macro.
47287         (sincos_test_data): New variable.
47288         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
47290 2013-05-16  Richard Henderson  <rth@redhat.com>
47292         * math/atest-exp2.c (LIMB64): New macro.
47293         (CONSTSZ): New macro.
47294         (mp_exp1, mp_exp_m1, mp_log2): New variables.
47295         (hexdig): Move ...
47296         (print_mpn_fp): ... to function scope.
47297         (read_mpn_hex): Remove.
47298         (get_log2): Remove.
47299         (exp2_mpn): Use mp_log2.
47300         (main): Use mp_exp1.
47302 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
47304         * math/libm-test.inc: Remove comment about not testing "inexact"
47305         exceptions.
47306         (INEXACT_EXCEPTION): New macro.
47307         (NO_INEXACT_EXCEPTION): Likewise.
47308         (INVALID_EXCEPTION_OK): Update value.
47309         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47310         (OVERFLOW_EXCEPTION_OK): Likewise.
47311         (UNDERFLOW_EXCEPTION_OK): Likewise.
47312         (IGNORE_ZERO_INF_SIGN): Likewise.
47313         (ERRNO_UNCHANGED): Likewise.
47314         (ERRNO_EDOM): Likewise.
47315         (ERRNO_ERANGE): Likewise.
47316         (test_exceptions): Handle testing "inexact" exceptions.
47317         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
47318         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
47319         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
47320         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
47321         INEXACT_EXCEPTION.
47322         (rint_towardzero_test_data): Likewise.
47323         (rint_downward_test_data): Likewise.
47324         (rint_upward_test_data): Likewise.
47326         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
47327         with OVERFLOW_EXCEPTION.
47328         (exp10_test_data): Likewise.
47329         (exp2_test_data): Likewise.
47330         (expm1_test_data): Likewise.
47331         (lgamma_test_data): Likewise.
47332         (pow_test_data): Likewise.
47333         (tgamma_test_data): Likewise.
47334         (yn_test_data): Remove duplicate test of overflow.
47336         * math/libm-test.inc (struct test_cc_c_data): New type.
47337         (RUN_TEST_LOOP_cc_c): New macro.
47338         (cpow_test_data): New variable.
47339         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
47341         * math/libm-test.inc (struct test_f_L_data): New type.
47342         (RUN_TEST_LOOP_f_L): New macro.
47343         (llrint_test_data): New variable.
47344         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
47345         (llrint_tonearest_test_data): New variable.
47346         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
47347         (llrint_towardzero_test_data): New variable.
47348         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
47349         (llrint_downward_test_data): New variable.
47350         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
47351         (llrint_upward_test_data): New variable.
47352         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
47353         (llround_test_data): New variable.
47354         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
47356 2013-05-13  Peter Collingbourne  <pcc@google.com>
47358         * math/atest-exp2.c (get_log2): Remove const attribute.
47360 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
47362         * math/libm-test.inc (struct test_f_l_data): New type.
47363         (RUN_TEST_LOOP_f_l): New macro.
47364         (lrint_test_data): New variable.
47365         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
47366         (lrint_tonearest_test_data): New variable.
47367         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
47368         (lrint_towardzero_test_data): New variable.
47369         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
47370         (lrint_downward_test_data): New variable.
47371         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
47372         (lrint_upward_test_data): New variable.
47373         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
47374         (lround_test_data): New variable.
47375         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
47377 2013-05-15  Peter Collingbourne  <pcc@google.com>
47379         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
47380         (EXTRACT_WORDS64) Use where appropriate.
47381         (INSERT_WORDS64) Likewise.
47383         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
47384         constraints with x constraints.
47385         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
47387         * malloc/obstack.c (_obstack_compat): Add initializer.
47389 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
47391         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
47392         si_trapno and add si_addr_lsb to _sifields.sigfault.
47393         (si_trapno): Remove macro.
47394         (si_addr_lsb): Define new macro.
47395         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
47397 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
47399         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
47400         instead of TEST_f_l.
47401         (llrint_test_tonearest): Likewise.
47402         (llrint_test_towardzero): Likewise.
47403         (llrint_test_downward): Likewise.
47404         (llrint_test_upward): Likewise.
47405         (llround_test): Likewise.
47407         * math/libm-test.inc (struct test_f_i_data): Add comment.
47408         (RUN_TEST_LOOP_f_b): New macro.
47409         (RUN_TEST_LOOP_f_b_tg): Likewise.
47410         (finite_test_data): New variable.
47411         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
47412         (isfinite_test_data): New variable.
47413         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47414         (isinf_test_data): New variable.
47415         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47416         (isnan_test_data): New variable.
47417         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47418         (isnormal_test_data): New variable.
47419         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47420         (issignaling_test_data): New variable.
47421         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47422         (signbit_test_data): New variable.
47423         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
47425         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
47426         with INVALID_EXCEPTION.
47427         (acosh_test_data): Likewise.
47428         (asin_test_data): Likewise.
47429         (atanh_test_data): Likewise.
47430         (fmod_test_data): Likewise.
47431         (log_test_data): Likewise.
47432         (log10_test_data): Likewise.
47433         (log2_test_data): Likewise.
47434         (pow_test_data): Likewise.
47435         (sqrt_test_data): Likewise.
47436         (y0_test_data): Likewise.
47437         (y1_test_data): Likewise.
47438         (yn_test_data): Likewise.
47440         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
47441         function contents.
47443         * math/libm-test.inc (struct test_ff_i_data): New type.
47444         (RUN_TEST_LOOP_ff_i_tg): New macro.
47445         (isgreater_test_data): New variable.
47446         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47447         (isgreaterequal_test_data): New variable.
47448         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47449         (isless_test_data): New variable.
47450         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47451         (islessequal_test_data): New variable.
47452         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47453         (islessgreater_test_data): New variable.
47454         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47455         (isunordered_test_data): New variable.
47456         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47458 2013-05-14  David S. Miller  <davem@davemloft.net>
47460         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47462 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
47464         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
47466         * math/libm-test.inc (struct test_fF_f1_data): Change type of
47467         extra_test to int.
47468         (struct test_f_i_data): Change type of max_ulp to int.
47470         * math/libm-test.inc (test_ffI_f1_data): New type.
47471         (RUN_TEST_LOOP_ffI_f1): New macro.
47472         (remquo_test_data): New variable.
47473         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
47475         * setjmp/tst-setjmp-fp.c: New file.
47476         * setjmp/Makefile (tests): Add tst-setjmp-fp.
47477         (link-libm): New variable.
47478         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
47480         * math/libm-test.inc (struct test_f_i_data): New type.
47481         (RUN_TEST_LOOP_f_i): New macro.
47482         (RUN_TEST_LOOP_f_i_tg): Likewise.
47483         (fpclassify_test_data): New variable.
47484         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
47485         (ilogb_test_data): New variable.
47486         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
47488         * math/libm-test.inc (scalbln_test): Correct function name in END
47489         call.
47491         * math/libm-test.inc (struct test_f_f1_data): Add comment.
47492         (RUN_TEST_LOOP_fI_f1): New macro.
47493         (frexp_test_data): New variable.
47494         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
47496         * math/libm-test.inc (struct test_fF_f1_data): New type.
47497         (RUN_TEST_LOOP_fF_f1): New macro.
47498         (modf_test_data): New variable.
47499         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
47501         * math/libm-test.inc (struct test_f_f1_data): New type.
47502         (RUN_TEST_LOOP_f_f1): New macro.
47503         (gamma_test_data): New variable.
47504         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
47505         (lgamma_test_data): New variable.
47506         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
47508 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
47510         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
47511         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
47512         (main): Comment "tls" pseudo-hwcap.
47514 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
47516         * math/libm-test.inc (struct test_fl_f_data): New type.
47517         (RUN_TEST_LOOP_fl_f): New variable.
47518         (scalbln_test_data): New variable.
47519         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
47521         * math/libm-test.inc (struct test_fi_f_data): New type.
47522         (RUN_TEST_LOOP_fi_f): New macro.
47523         (ldexp_test_data): New variable.
47524         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
47525         (scalbn_test_data): New variable.
47526         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
47528         * math/libm-test.inc (struct test_c_f_data): New type.
47529         (RUN_TEST_LOOP_c_f): New macro.
47530         (cabs_test_data): New variable.
47531         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
47532         (carg_test_data): New variable.
47533         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
47534         (cimag_test_data): New variable.
47535         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
47536         (creal_test_data): New variable.
47537         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
47539         * math/libm-test.inc (struct test_if_f_data): New type.
47540         (RUN_TEST_LOOP_if_f): New macro.
47541         (jn_test_data): New variable.
47542         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
47543         (yn_test_data): New variable.
47544         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
47546         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
47548 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47550         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
47551         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
47553 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
47555         * benchtests/Makefile (CPPFLAGS-nonlib): Add
47556         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
47557         (bench-deps): Add bench-timing.h.
47558         * benchtests-bench-skeleton.c: Include bench-timing.h.
47559         (main): Use TIMING_* macros instead of clock_gettime.
47560         * benchtests/bench-timing.h: New file.
47562         [BZ #14582]
47563         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
47564         Renamed from _LIB_VERSION.
47565         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
47567 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
47569         * math/libm-test.inc (struct test_fff_f_data): New type.
47570         (RUN_TEST_LOOP_fff_f): New macro.
47571         (fma_test_data): New variable.
47572         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
47573         (fma_towardzero_test_data): New variable.
47574         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
47575         (fma_downward_test_data): New variable.
47576         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
47577         (fma_upward_test_data): New variable.
47578         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
47580         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
47581         (struct test_c_c_data): New type.
47582         (RUN_TEST_LOOP_c_c): New macro.
47583         (cacos_test_data): New variable.
47584         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
47585         (cacosh_test_data): New variable.
47586         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
47587         (casin_test_data): New variable.
47588         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
47589         (casinh_test_data): New variable.
47590         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
47591         (catan_test_data): New variable.
47592         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
47593         (catanh_test_data): New variable.
47594         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
47595         (ccos_test_data): New variable.
47596         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
47597         (ccosh_test_data): New variable.
47598         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
47599         (cexp_test_data): New variable.
47600         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
47601         (clog_test_data): New variable.
47602         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
47603         (clog10_test_data): New variable.
47604         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
47605         (conj_test_data): New variable.
47606         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
47607         (cproj_test_data): New variable.
47608         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
47609         (csin_test_data): New variable.
47610         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
47611         (csinh_test_data): New variable.
47612         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
47613         (csqrt_test_data): New variable.
47614         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
47615         (ctan_test_data): New variable.
47616         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
47617         (ctan_tonearest_test_data): New variable.
47618         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
47619         (ctan_towardzero_test_data): New variable.
47620         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
47621         (ctan_downward_test_data): New variable.
47622         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
47623         (ctan_upward_test_data): New variable.
47624         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
47625         (ctanh_test_data): New variable.
47626         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
47627         (ctanh_tonearest_test_data): New variable.
47628         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
47629         (ctanh_towardzero_test_data): New variable.
47630         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
47631         (ctanh_downward_test_data): New variable.
47632         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
47633         (ctanh_upward_test_data): New variable.
47634         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
47635         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
47636         of BUILD_COMPLEX.
47638         * math/libm-test.inc (struct test_ff_f_data): New type.
47639         (struct test_ff_f_data_nexttoward): Likewise.
47640         (RUN_TEST_LOOP_2_f): New macro.
47641         (RUN_TEST_LOOP_ff_f): Likewise.
47642         (atan2_test_data): New variable.
47643         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
47644         (copysign_test_data): New variable.
47645         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
47646         (fdim_test_data): New variable.
47647         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
47648         (fmax_test_data): New variable.
47649         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
47650         (fmin_test_data): New variable.
47651         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
47652         (fmod_test_data): New variable.
47653         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
47654         (hypot_test_data): New variable.
47655         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
47656         (nextafter_test_data): New variable.
47657         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
47658         (nexttoward_test_data): New variable.
47659         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
47660         (pow_test_data): New variable.
47661         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
47662         (pow_tonearest_test_data): New variable.
47663         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
47664         (pow_towardzero_test_data): New variable.
47665         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
47666         (pow_downward_test_data): New variable.
47667         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
47668         (pow_upward_test_data): New variable.
47669         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
47670         (remainder_test_data): New variable.
47671         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
47672         (scalb_test_data): New variable.
47673         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
47674         * sysdeps/i386/fpu/libm-test-ulps: Update.
47676 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
47678         * math/libm-test.inc (fma_test): Use max_value instead of local
47679         variable fltmax.
47680         (nextafter_test): Likewise.
47682         * math/libm-test.inc (acos_towardzero_test_data): New variable.
47683         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47684         (acos_downward_test_data): New variable.
47685         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47686         (acos_upward_test_data): New variable.
47687         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47688         (acosh_test_data): New variable.
47689         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
47690         (asin_test_data): New variable.
47691         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
47692         (asin_tonearest_test_data): New variable.
47693         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47694         (asin_towardzero_test_data): New variable.
47695         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47696         (asin_downward_test_data): New variable.
47697         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47698         (asin_upward_test_data): New variable.
47699         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47700         (asinh_test_data): New variable.
47701         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
47702         (atan_test_data): New variable.
47703         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
47704         (atanh_test_data): New variable.
47705         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
47706         (cbrt_test_data): New variable.
47707         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
47708         (ceil_test_data): New variable.
47709         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
47710         (cos_test_data): New variable.
47711         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
47712         (cos_tonearest_test_data): New variable.
47713         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47714         (cos_towardzero_test_data): New variable.
47715         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47716         (cos_downward_test_data): New variable.
47717         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47718         (cos_upward_test_data): New variable.
47719         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47720         (cosh_test_data): New variable.
47721         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
47722         (cosh_tonearest_test_data): New variable.
47723         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47724         (cosh_towardzero_test_data): New variable.
47725         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47726         (cosh_downward_test_data): New variable.
47727         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47728         (cosh_upward_test_data): New variable.
47729         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47730         (erf_test_data): New variable.
47731         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
47732         (erfc_test_data): New variable.
47733         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
47734         (exp_test_data): New variable.
47735         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
47736         (exp_tonearest_test_data): New variable.
47737         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47738         (exp_towardzero_test_data): New variable.
47739         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47740         (exp_downward_test_data): New variable.
47741         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47742         (exp_upward_test_data): New variable.
47743         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47744         (exp10_test_data): New variable.
47745         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
47746         (exp2_test_data): New variable.
47747         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
47748         (expm1_test_data): New variable.
47749         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
47750         (fabs_test_data): New variable.
47751         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
47752         (floor_test_data): New variable.
47753         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
47754         (j0_test_data): New variable.
47755         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
47756         (j1_test_data): New variable.
47757         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
47758         (log_test_data): New variable.
47759         (log_test): Run tests with RUN_TEST_LOOP_f_f.
47760         (log10_test_data): New variable.
47761         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
47762         (log1p_test_data): New variable.
47763         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
47764         (log2_test_data): New variable.
47765         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
47766         (logb_test_data): New variable.
47767         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
47768         (logb_downward_test_data): New variable.
47769         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47770         (nearbyint_test_data): New variable.
47771         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
47772         (rint_test_data): New variable.
47773         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
47774         (rint_tonearest_test_data): New variable.
47775         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47776         (rint_towardzero_test_data): New variable.
47777         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47778         (rint_downward_test_data): New variable.
47779         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47780         (rint_upward_test_data): New variable.
47781         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47782         (round_test_data): New variable.
47783         (round_test): Run tests with RUN_TEST_LOOP_f_f.
47784         (sin_test_data): New variable.
47785         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
47786         (sin_tonearest_test_data): New variable.
47787         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47788         (sin_towardzero_test_data): New variable.
47789         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47790         (sin_downward_test_data): New variable.
47791         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47792         (sin_upward_test_data): New variable.
47793         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47794         (sinh_test_data): New variable.
47795         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
47796         (sinh_tonearest_test_data): New variable.
47797         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47798         (sinh_towardzero_test_data): New variable.
47799         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47800         (sinh_downward_test_data): New variable.
47801         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47802         (sinh_upward_test_data): New variable.
47803         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47804         (sqrt_test_data): New variable.
47805         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
47806         (tan_test_data): New variable.
47807         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
47808         (tan_tonearest_test_data): New variable.
47809         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47810         (tan_towardzero_test_data): New variable.
47811         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
47812         (tan_downward_test_data): New variable.
47813         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
47814         (tan_upward_test_data): New variable.
47815         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
47816         (tanh_test_data): New variable.
47817         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
47818         (tgamma_test_data): New variable.
47819         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
47820         (trunc_test_data): New variable.
47821         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
47822         (y0_test_data): New variable.
47823         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
47824         (y1_test_data): New variable.
47825         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
47826         (significand_test_data): New variable.
47827         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
47829 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
47831         [BZ #12387]
47832         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
47834 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47836         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
47838 2013-05-10  Andreas Jaeger  <aj@suse.de>
47840         [BZ #15448]
47841         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
47842         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
47844 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
47846         * math/gen-libm-test.pl (adjust_arg): New function.
47847         (special_functions): Handle generating output in both functions
47848         and arrays.
47849         (parse_args): Likewise.
47850         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
47851         $in_func argument to parse_args.
47852         * math/libm-test.inc (struct test_f_f_data): New type.
47853         (IF_ROUND_INIT_): New macro.
47854         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
47855         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
47856         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
47857         (IF_ROUND_INIT_FE_UPWARD): Likewise.
47858         (ROUND_RESTORE_): Likewise.
47859         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
47860         (ROUND_RESTORE_FE_TONEAREST): Likewise.
47861         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
47862         (ROUND_RESTORE_FE_UPWARD): Likewise.
47863         (RUN_TEST_LOOP_f_f): New macro.
47864         (acos_test_data): New variable.
47865         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
47866         (acos_tonearest_test_data): New variable.
47867         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47869 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47871         * benchtests/bench-skeleton.c (startup): Fix coding style.
47873 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
47875         [BZ #6809]
47876         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
47877         negative infinity argument.
47878         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
47879         negative infinity argument.
47880         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
47881         negative infinity argument.
47882         * math/libm-test.inc (tgamma_test): Expect errno to be set for
47883         domain errors.
47885 2013-05-10  Florian Weimer  <fweimer@redhat.com>
47887         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
47888         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
47889         * iconv/iconv_prog.c (main): Likewise.
47890         * locale/programs/charmap-dir.c (charmap_readdir)
47891         (fopen_uncompressed): Likewise.
47892         * locale/programs/locfile.c (siblings_uncached)
47893         (write_locale_data): Use lstat64 instead of lstat.
47894         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
47895         stat.
47897 2013-05-10  Andreas Jaeger  <aj@suse.de>
47899         [BZ #15395]
47900         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
47901         localization.
47902         Include <locale.h>.
47904 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
47906         * elf/dl-close.c (_dl_close_worker): Add comments.
47908 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
47910         [BZ #15359]
47911         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
47912         high part of pi/2.
47913         (__ieee754_rem_pio2l): Update comments.
47915         [BZ #15429]
47916         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
47917         high part of pi/2.
47918         (__ieee754_rem_pio2l): Update comments.
47920         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
47921         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
47923         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
47924         M_PI_4l.
47926         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
47927         (M_PI_34_LOG10El): Likewise.
47928         (M_PI2_LOG10El): Likewise.
47929         (M_PI4_LOG10El): Likewise.
47930         (M_PI_LOG10El): Likewise.
47932 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47934         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47936 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
47938         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
47939         (MINUS_ZERO_INIT): Likewise.
47940         (PLUS_INFTY_INIT): Likewise.
47941         (MINUS_INFTY_INIT): Likewise.
47942         (QNAN_VALUE_INIT): Likewise.
47943         (MAX_VALUE_INIT): Likewise.
47944         (MIN_VALUE_INIT): Likewise.
47945         (MIN_SUBNORM_VALUE_INIT): Likewise.
47946         (plus_zero): Initialize with PLUS_ZERO_INIT.
47947         (minus_zero): Initialize with MINUS_ZERO_INIT.
47948         (plus_infty): Initialize with PLUS_INFTY_INIT.
47949         (minus_infty): Initialize with MINUS_INFTY_INIT.
47950         (qnan_value): Initialize with QNAN_VALUE_INIT.
47951         (max_value): Initialize with MAX_VALUE_INIT.
47952         (min_value): Initialize with MIN_VALUE_INIT.
47953         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
47955         * math/libm-test.inc (RUN_TEST_if_f): New macro.
47956         (jn_test): Use TEST_if_f instead of TEST_ff_f.
47957         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
47958         (yn_test): Use TEST_if_f instead of TEST_ff_f.
47960         * math/libm-test.inc (RUN_TEST_f_f): New macro.
47961         (RUN_TEST_2_f): Likewise.
47962         (RUN_TEST_ff_f): Likewise.
47963         (RUN_TEST_fi_f): Likewise.
47964         (RUN_TEST_fl_f): Likewise.
47965         (RUN_TEST_fff_f): Likewise.
47966         (RUN_TEST_c_f): Likewise.
47967         (RUN_TEST_f_f1): Likewise.
47968         (RUN_TEST_fF_f1): Likewise.
47969         (RUN_TEST_fI_f1): Likewise.
47970         (RUN_TEST_ffI_f1): Likewise.
47971         (RUN_TEST_c_c): Likewise.
47972         (RUN_TEST_cc_c): Likewise.
47973         (RUN_TEST_f_i): Likewise.
47974         (RUN_TEST_f_i_tg): Likewise.
47975         (RUN_TEST_ff_i_tg): Likewise.
47976         (RUN_TEST_f_b): Likewise.
47977         (RUN_TEST_f_b_tg): Likewise.
47978         (RUN_TEST_f_l): Likewise.
47979         (RUN_TEST_f_L): Likewise.
47980         (RUN_TEST_sincos): Likewise.
47981         * math/gen-libm-test.pl (new_test): Take new argument to indicate
47982         whether to show exceptions.  Do not include ");\n" in return
47983         value.
47984         (special_functions): Output call to RUN_TEST_sincos instead of
47985         check_float calls.  Update calls to new_test.
47986         (parse_args): Output call to single RUN_TEST_* macro instead of
47987         check_* calls and other assignments.  Update calls to new_test.
47989         [BZ #2546]
47990         [BZ #2560]
47991         [BZ #5159]
47992         [BZ #15426]
47993         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
47994         input to result for tgamma overflow.
47995         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
47996         (gamma_coeff): New variable.
47997         (NCOEFF): New macro.
47998         (gamma_positive): New function.
47999         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
48000         underflow here.  Use gamma_positive instead of exp (lgamma) for
48001         other arguments.
48002         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
48003         (gamma_coeff): New variable.
48004         (NCOEFF): New macro.
48005         (gammaf_positive): New function.
48006         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
48007         underflow here.  Use gamma_positive instead of exp (lgamma) for
48008         other arguments.
48009         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
48010         (gamma_coeff): New variable.
48011         (NCOEFF): New macro.
48012         (gammal_positive): New function.
48013         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
48014         underflow here.  Use gamma_positive instead of exp (lgamma) for
48015         other arguments.
48016         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
48017         (gamma_coeff): New variable.
48018         (NCOEFF): New macro.
48019         (gammal_positive): New function.
48020         (__ieee754_gammal_r): Handle positive infinity, overflow and
48021         underflow here.  Handle NaN the same as positive infinity.  Remove
48022         check x < 0xffffffff for negative integers.  Use gamma_positive
48023         instead of exp (lgamma) for other arguments.
48024         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
48025         (gamma_coeff): New variable.
48026         (NCOEFF): New macro.
48027         (gammal_positive): New function.
48028         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
48029         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
48030         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
48031         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
48032         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
48033         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
48034         * sysdeps/generic/math_private.h (__gamma_productf): New
48035         prototype.
48036         (__gamma_product): Likewise.
48037         (__gamma_productl): Likewise.
48038         * math/Makefile (libm-calls): Add gamma_product.
48039         * math/libm-test.inc (tgamma_test): Add more tests.
48040         * sysdeps/i386/fpu/libm-test-ulps: Update.
48041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48043 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
48045         * benchtests/bench-skeleton.c (main): Preheat CPU.
48047 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
48049         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
48051 2013-05-07  Roland McGrath  <roland@hack.frob.com>
48053         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
48054         and _dl_skip_args_internal.
48056 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
48058         * manual/message.texi (Message Translation): Talk about users.
48059         Message to key mapping impacts design.
48061 2013-05-06  Roland McGrath  <roland@hack.frob.com>
48063         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
48065         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
48067         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
48068         * sysdeps/wordsize-64/glob64.c: ... here.
48070         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
48071         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
48072         New macros.
48074         * debug/getlogin_r_chk.c: Moved to ...
48075         * login/getlogin_r_chk.c: ... here.
48076         * debug/Makefile (routines): Move getlogin_r_chk to ...
48077         * login/Makefile (routines): ... here.
48078         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
48079         * login/Versions (libc: GLIBC_2.4): ... here.
48081         * io/poll.c (__poll): Renamed from poll.
48082         Add libc_hidden_def.
48083         (poll): Define as weak alias.
48085         * debug/ptsname_r_chk.c: Moved to ...
48086         * login/ptsname_r_chk.c: ... here.
48087         * debug/Makefile (routines): Move ptsname_r_chk to ...
48088         * login/Makefile (routines): ... here.
48089         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
48090         * login/Versions (libc: GLIBC_2.4): ... here.
48092         * posix/getlogin.c: Moved to ...
48093         * login/getlogin.c: ... here.
48094         * posix/getlogin_r.c: Moved to ...
48095         * login/getlogin_r.c: ... here.
48096         * posix/getlogin_r.c: Moved to ...
48097         * login/getlogin_r.c: ... here.
48098         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
48099         * login/Makefile (routines): ... here.
48100         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
48101         * login/Versions (libc: GLIBC_2.0): ... here.
48103         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
48104         (setrlimit): Define as weak alias.
48106         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
48107         Call __ names for open, ftruncate, and close.
48108         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
48109         (truncate): Define as weak alias.
48111 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
48113         * math/gen-libm-test.pl (parse_args): Initialize x before each
48114         test of frexp, modf and remquo.
48116         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
48117         test signgam value.
48119 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48121         [BZ #15418]
48122         [BZ #15419]
48123         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
48124         internal tests.
48125         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48127 2013-05-06  Roland McGrath  <roland@hack.frob.com>
48129         * elf/dl-writev.h: New file.
48130         * elf/dl-misc.c: Include it.
48131         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
48132         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
48134 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
48136         * math/libm-test.inc (noXFails): Remove variable.
48137         (noXPasses): Likewise.
48138         (BUILD_COMPLEX_INT): Remove macro.
48139         (print_screen): Remove xfail argument.
48140         (print_screen_max_error): Likewise.
48141         (update_stats): Likewise.
48142         (print_max_error): Likewise.  Update calls to other affected
48143         functions.
48144         (print_complex_max_error): Likewise.
48145         (test_single_exception): Update calls to print_screen.
48146         (test_single_errno): Likewise.
48147         (check_float_internal): Remove xfail argument.  Update calls to
48148         other affected functions.
48149         (check_float): Likewise.
48150         (check_complex): Likewise.
48151         (check_int): Likewise.
48152         (check_long): Likewise.
48153         (check_bool): Likewise.
48154         (check_longlong): Likewise.
48155         (main): Don't print noXFails and noXPasses.
48156         * math/gen-libm-test.pl (top level): Don't mention expected
48157         failure handling in comment.
48158         (new_test): Don't handle expected failures.
48159         (parse_args): Don't mention expected failure handling in comment.
48160         (generate_testfile): Don't handle expected failures.
48161         (parse_ulps): Likewise.
48162         (print_ulps_file): Likewise.
48163         (get_failure): Remove function.
48164         (output_test): Don't handle expected failures.
48165         * make/README.libm-test: Don't mention expected failure handling.
48167         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
48168         (minus_zero): Likewise.
48169         (plus_infty): Likewise.
48170         (minus_infty): Likewise.
48171         (qnan_value): Likewise.
48172         (max_value): Likewise.
48173         (min_value): Likewise.
48174         (min_subnorm_value): Likewise.
48175         (initialize): Do not initialize those variables dynamically.
48177 2013-05-03  Roland McGrath  <roland@hack.frob.com>
48179         * io/open.c (__open_2): Moved to ...
48180         * io/open_2.c: ... this new file.
48181         * io/open64.c (__open64_2): Moved to ...
48182         * io/open64_2.c: ... this new file.
48183         * io/openat.c (__openat_2): Moved to ...
48184         * io/openat_2.c: ... this new file.
48185         * io/openat64.c (__openat64_2): Moved to ...
48186         * io/openat64_2.c: ... this new file.
48187         * io/Makefile (routines): Add them.
48188         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
48189         * sysdeps/unix/sysv/linux/open_2.c: File removed.
48190         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
48191         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
48192         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
48193         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
48194         (__openat64): Add hidden_ver.
48195         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
48196         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
48198         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
48199         Separately conditionalize setting of GLRO(dl_sysinfo) so
48200         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
48201         as well, but the actual setting is only under [NEED_DL_SYSINFO].
48203 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48205         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
48206         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
48207         definition.
48208         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
48209         * sysdeps/unix/sysv/linux/powerpc/init-first.c
48210         (_libc_vdso_platform_setup): Add __vdso_time initialization.
48211         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
48212         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
48214 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
48216         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
48217         test signgam value.
48219         * math/libm-test.inc (hypot_test): Do not use
48220         IGNORE_ZERO_INF_SIGN.
48222 2013-05-03  Andreas Jaeger  <aj@suse.de>
48224         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
48225         Linux 3.9.
48226         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
48227         (PF_MAX): Adjust for VSOCK change.
48229 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48231         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48233 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
48235         [BZ #15264]
48236         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
48237         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
48238         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
48240 2013-05-02  David S. Miller  <davem@davemloft.net>
48242         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48244 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
48246         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
48248 2013-05-01  Roland McGrath  <roland@hack.frob.com>
48250         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
48252 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
48254         [BZ #14952]
48255         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
48256         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
48257         Use __attribute__ ((__gnu_inline__)).
48258         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
48259         Don't use __attribute__ ((__gnu_inline__)).
48261 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
48263         [BZ #15423]
48264         * math/s_catan.c (__catan): Handle small real or imaginary part of
48265         input specially to avoid spurious underflow.
48266         * math/s_catanf.c (__catanf): Likewise.
48267         * math/s_catanh.c (__catanh): Likewise.
48268         * math/s_catanhf.c (__catanhf): Likewise.
48269         * math/s_catanhl.c (__catanhl): Likewise.
48270         * math/s_catanl.c (__catanl): Likewise.
48271         * math/libm-test.inc (catan_test): Add more tests.
48272         (catanh_test): Likewise.
48273         * sysdeps/i386/fpu/libm-test-ulps: Update.
48274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48276 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48278         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48280 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
48282         [BZ #15416]
48283         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
48284         accurately for denominator in atan2.
48285         * math/s_catanf.c (__catanf): Likewise.
48286         * math/s_catanh.c (__catanh): Likewise.
48287         * math/s_catanhf.c (__catanhf): Likewise.
48288         * math/s_catanhl.c (__catanhl): Likewise.
48289         * math/s_catanl.c (__catanl): Likewise.
48290         * math/libm-test.inc (catan_test): Add more tests.
48291         (catanh_test): Likewise.
48292         * sysdeps/i386/fpu/libm-test-ulps: Update.
48293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48295 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48297         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
48299         * benchtests/Makefile (bench): Remove slow benchmarks.
48300         * benchtests/atan-inputs: Add slow benchmark inputs.
48301         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
48302         (BENCH_FUNC): Accept variant offset.
48303         (VARIANT): Define.
48304         * benchtests/bench-skeleton.c (main): Run benchmark for each
48305         variant.
48306         * benchtests/cos-inputs: Add slow benchmark inputs.
48307         * benchtests/exp-inputs: Likewise.
48308         * benchtests/pow-inputs: Likewise.
48309         * benchtests/sin-inputs: Likewise.
48310         * benchtests/slowatan-inputs: Remove.
48311         * benchtests/slowatan.c: Remove.
48312         * benchtests/slowcos-inputs: Remove.
48313         * benchtests/slowcos.c: Remove.
48314         * benchtests/slowexp-inputs: Remove.
48315         * benchtests/slowexp.c: Remove.
48316         * benchtests/slowpow-inputs: Remove.
48317         * benchtests/slowpow.c: Remove.
48318         * benchtests/slowsin-inputs: Remove.
48319         * benchtests/slowsin.c: Remove.
48320         * benchtests/slowtan-inputs: Remove.
48321         * benchtests/slowtan.c: Remove.
48322         * benchtests/tan-inputs: Add slow benchmark inputs.
48323         * scripts/bench.pl: Parse comments and directives.
48325         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
48326         in CPPFLAGS.
48327         ($(objpfx)bench-%.c): Remove *-ITER.
48328         * benchtests/bench-modf.c: Remove definition of ITER.
48329         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
48330         (main): Loop for DURATION seconds instead of fixed number of
48331         iterations.
48332         * scripts/bench.pl: Don't expect iterations in parameters.
48334 2013-04-29  Roland McGrath  <roland@hack.frob.com>
48336         * io/fchdir.c (__fchdir): Renamed from fchdir.
48337         (fchdir): Define as weak alias.
48339 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
48341         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
48342         (ERRNO_EDOM): Likewise.
48343         (ERRNO_ERANGE): Likewise.
48344         (noErrnoTests): New variable.
48345         (init_max_error): Set errno to 0.
48346         (test_single_errno): New function.
48347         (test_errno): Likewise.
48348         (check_float_internal): Call test_errno.  Set errno to 0.
48349         (check_complex): Refer to errno tests in comment.
48350         (check_int): Call test_errno.  Set errno to 0.
48351         (check_long): Likewise.
48352         (check_bool): Likewise.
48353         (check_longlong): Likewise.
48354         (cos_test): Use ERRNO_* flags for errno tests instead of
48355         check_int.
48356         (expm1_test): Likewise.
48357         (fmod_test): Likewise.
48358         (ilogb_test): Likewise.
48359         (lgamma_test): Likewise.
48360         (pow_test): Likewise.
48361         (remainder_test): Likewise.
48362         (sin_test): Likewise.
48363         (tan_test): Likewise.
48364         (yn_test): Likewise.
48365         (initialize): Set errno to 0.
48366         (main): Print number of errno tests.
48367         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
48369 2013-04-29  Andreas Jaeger  <aj@suse.de>
48371         [BZ #15084]
48372         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
48373         and RES_USEVC.
48375         [BZ #15085]
48376         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
48377         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
48378         unimplemented.
48380         [BZ #15380]
48381         * stdlib/random.c (__initstate): Return NULL if
48382         __initstate fails.
48384         [BZ #15086]
48385         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
48386         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
48387         RES_SNGLKUPREOP.
48389 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48391         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48393 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
48395         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
48396         of individual tests.
48397         (casin_test): Likewise.
48398         (casinh_test): Likewise.
48400 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
48402         [BZ #15409]
48403         * math/s_catan.c (__catan): Handle arguments with large real or
48404         imaginary part separately without squaring.
48405         * math/s_catanf.c (__catanf): Likewise.
48406         * math/s_catanh.c (__catanh): Likewise.
48407         * math/s_catanhf.c (__catanhf): Likewise.
48408         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
48409         and redefine.
48410         (__catanhl): Handle arguments with large real or imaginary part
48411         separately without squaring.
48412         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
48413         and redefine.
48414         (__catanl): Handle arguments with large real or imaginary part
48415         separately without squaring.
48416         * math/libm-test.inc (catan_test): Add more tests.
48417         (catanh_test): Likewise.
48418         * sysdeps/i386/fpu/libm-test-ulps: Update.
48419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48421 2013-04-27  Andreas Jaeger  <aj@suse.de>
48423         [BZ #15007]
48424         * stdlib/stdlib.h: Update guards for qecvt.
48425         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
48426         <stdlib.h>.
48428 2013-04-27  Allan McRae  <allan@archlinux.org>
48430         * sysdeps/i386/fpu/libm-test-ulps: Update.
48432 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
48434         [BZ #15406]
48435         * math/s_catan.c: Include <float.h>.
48436         (__catan): Ensure underflow exception occurs for underflowed
48437         result.
48438         * math/s_catanf.c: Include <float.h>.
48439         (__catanf): Ensure underflow exception occurs for underflowed
48440         result.
48441         * math/s_catanh.c: Include <float.h>.
48442         (__catanh): Ensure underflow exception occurs for underflowed
48443         result.
48444         * math/s_catanhf.c: Include <float.h>.
48445         (__catanhf): Ensure underflow exception occurs for underflowed
48446         result.
48447         * math/s_catanhl.c: Include <float.h>.
48448         (__catanhl): Ensure underflow exception occurs for underflowed
48449         result.
48450         * math/s_catanl.c: Include <float.h>.
48451         (__catanl): Ensure underflow exception occurs for underflowed
48452         result.
48453         * math/libm-test.inc (catan_test): Add more tests.
48454         (catanh_test): Likewise.
48456         [BZ #15405]
48457         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
48458         underflowed result.
48459         * math/s_ccoshf.c (__ccoshf): Likewise.
48460         * math/s_ccoshl.c (__ccoshl): Likewise.
48461         * math/s_csin.c (__csin): Likewise.
48462         * math/s_csinf.c (__csinf): Likewise.
48463         * math/s_csinh.c (__csinh): Likewise.
48464         * math/s_csinhf.c (__csinhf): Likewise.
48465         * math/s_csinhl.c (__csinhl): Likewise.
48466         * math/s_csinl.c (__csinl): Likewise.
48467         * math/libm-test.inc (ccos_test): Add more tests.
48468         (ccosh_test): Likewise.
48469         (csin_test): Likewise.
48470         (csinh_test): Likewise.
48472 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48474         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
48475         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
48476         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
48477         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
48478         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
48479         powerpc/power5+/fpu folders.
48480         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
48483 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
48485         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48487 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
48489         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
48490         additions to variable.
48491         [$(config-machine) = x86_64] (modules-names): Likewise.
48492         ($(objpfx)tst-audit3): Remove dependency.
48493         ($(objpfx)tst-audit3.out): Likewise.
48494         ($(objpfx)tst-audit4): Likewise.
48495         ($(objpfx)tst-audit4.out): Likewise.
48496         ($(objpfx)tst-audit5): Likewise.
48497         ($(objpfx)tst-audit5.out): Likewise.
48498         ($(objpfx)tst-audit6): Likewise.
48499         ($(objpfx)tst-audit6.out): Likewise.
48500         ($(objpfx)tst-audit7): Likewise.
48501         ($(objpfx)tst-audit7.out): Likewise.
48502         (tst-audit3-ENV): Remove variable.
48503         (tst-audit4-ENV): Likewise.
48504         (tst-audit5-ENV): Likewise.
48505         (tst-audit6-ENV): Likewise.
48506         (tst-audit7-ENV): Likewise.
48507         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
48508         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
48509         addition to variable.
48510         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
48511         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
48512         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
48513         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
48514         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
48515         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
48516         tst-audit3, tst-audit4 and tst-audit5.
48517         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
48518         tst-audit6 and tst-audit7.
48519         [$(subdir) = elf] (modules-names): Add audit modules for those
48520         tests.
48521         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
48522         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
48523         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
48524         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
48525         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
48526         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
48527         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
48528         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
48529         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
48530         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
48531         [$(subdir) = elf] (tst-audit3-ENV): New variable.
48532         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
48533         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
48534         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
48535         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
48536         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
48537         Likewise.
48538         [$(subdir) = elf && $(config-cflags-avx) = yes]
48539         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
48540         [$(subdir) = elf && $(config-cflags-avx) = yes]
48541         (CFLAGS-tst-auditmod4a.c): Likewise.
48542         [$(subdir) = elf && $(config-cflags-avx) = yes]
48543         (CFLAGS-tst-auditmod4b.c): Likewise.
48544         [$(subdir) = elf && $(config-cflags-avx) = yes]
48545         (CFLAGS-tst-auditmod6b.c): Likewise.
48546         [$(subdir) = elf && $(config-cflags-avx) = yes]
48547         (CFLAGS-tst-auditmod6c.c): Likewise.
48548         [$(subdir) = elf && $(config-cflags-avx) = yes]
48549         (CFLAGS-tst-auditmod7b.c): Likewise.
48550         * elf/tst-audit3.c: Move to ...
48551         * sysdeps/x86_64/tst-audit3.c: ... here.
48552         * elf/tst-audit4.c: Move to ...
48553         * sysdeps/x86_64/tst-audit4.c: ... here.
48554         * elf/tst-audit5.c: Move to ...
48555         * sysdeps/x86_64/tst-audit5.c: ... here.
48556         * elf/tst-audit6.c: Move to ...
48557         * sysdeps/x86_64/tst-audit6.c: ... here.
48558         * elf/tst-audit7.c: Move to ...
48559         * sysdeps/x86_64/tst-audit7.c: ... here.
48560         * elf/tst-auditmod3a.c: Move to ...
48561         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
48562         * elf/tst-auditmod3b.c: Move to ...
48563         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
48564         * elf/tst-auditmod4a.c: Move to ...
48565         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
48566         * elf/tst-auditmod4b.c: Move to ...
48567         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
48568         * elf/tst-auditmod5a.c: Move to ...
48569         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
48570         * elf/tst-auditmod5b.c: Move to ...
48571         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
48572         * elf/tst-auditmod6a.c: Move to ...
48573         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
48574         * elf/tst-auditmod6b.c: Move to ...
48575         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
48576         * elf/tst-auditmod6c.c: Move to ...
48577         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
48578         * elf/tst-auditmod7a.c: Move to ...
48579         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
48580         * elf/tst-auditmod7b.c: Move to ...
48581         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
48583 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
48585         [BZ #15366]
48586         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
48587         define unconditionally.
48588         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
48589         define unconditionally.
48590         (INT8_C, INT16_C, etc.): Likewise.
48592 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
48594         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
48595         __ehdr_start with hidden visibility.
48597         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
48599 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
48601         * math/libm-test.inc (cos_test): Use accurate hex constants.
48602         (sincost_test): Likewise.
48604 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
48606         * math/libm-test.inc (catan_test): Add more tests.
48607         (catanh_test): Likewise.
48609         * math/s_catanf.c (__catanf): Use suffixed floating-point
48610         constants.
48611         * math/s_catanhf.c (__catanhf): Likewise.
48612         * math/s_catanhl.c (__catanhl): Likewise.
48613         * math/s_catanl.c (__catanl): Likewise.
48615         [BZ #15394]
48616         * math/s_catan.c (__catan): Calculate imaginary part of result
48617         with log1p not log unless computing log of number close to 0.
48618         * math/s_catanf.c (__catanf): Likewise.
48619         * math/s_catanl.c (__catanl): Likewise.
48620         * math/s_catanh.c (__catanh): Calculate real part of result with
48621         log1p not log unless computing log of number close to 0.
48622         * math/s_catanhf.c (__catanhf): Likewise.
48623         * math/s_catanhl.c (__catanhl): Likewise.
48624         * math/libm-test.inc (catan_test): Add more tests.
48625         (catanh_test): Likewise.
48626         * sysdeps/i386/fpu/libm-test-ulps: Update.
48627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48629 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48631         * benchtests/Makefile: Mention files in which fast and slow
48632         paths of math functions are implemented.
48634 2013-04-23  Roland McGrath  <roland@hack.frob.com>
48636         * sysdeps/posix/timespec_get.c: New file.
48638 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48640         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
48641         POWER.
48642         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
48643         for POWER.
48644         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
48645         powerpc/power5/fpu folders.
48646         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
48647         * benchtests/Makefile: Add modf testcase.
48648         * benchtests/bench-modf.c: New file: Benchmark test for mo
48650 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
48652         [BZ #14888]
48653         * time/Makefile (tests): Add tst-strptime-whitespace.
48654         * time/strptime_l.c (get_number): Use ISSPACE.
48655         (__strptime_internal): Likewise.
48656         * time/tst-strptime-whitespace.c: New test case.
48658 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
48660         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
48661         member.
48662         (_nss_files_init): Set it here.
48664 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
48666         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
48667         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
48668         unsigned.
48670 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
48672         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
48674 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
48676         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
48677         size just once.
48679 2013-04-21  David S. Miller  <davem@davemloft.net>
48681         * po/ru.po: Update Russion translation from translation project.
48683 2013-04-17  Adam Conrad  <adconrad@0c3.net>
48685         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
48686         and setfsgid.
48688 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
48690         * configure.in: Remove i386 configure warning. Remove i386 case.
48691         * configure: Regenerate.
48692         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
48693         Add example to error message.
48694         * sysdeps/i386/configure: Regenerate.
48696 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
48698         * benchtests/Makefile (bench): Add cos, tan, slowcos and
48699         slowtan.
48700         * benchtests/cos-inputs: New file.
48701         * benchtests/slowcos-inputs: New file.
48702         * benchtests/slowcos.c: New file.
48703         * benchtests/slowtan-inputs: New file.
48704         * benchtests/slowtan.c: New file.
48705         * benchtests/tan-inputs: New file.
48707 2013-04-16  Roland McGrath  <roland@hack.frob.com>
48709         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
48710         considered kosher.
48712 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48714         * benchtests/Makefile: Include cppflags-iterator.mk to add
48715         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
48717         * Makefile.in (bench-clean): New target.
48718         * benchtests/Makefile (bench-clean): Likewise.
48720 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
48722         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
48724 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
48726         * stdio-common/tstdiomisc.c: Fix coding-style violation.
48728 2013-04-15  Andreas Schwab  <schwab@suse.de>
48730         * nscd/grpcache.c (cache_addgr): Properly check for short write.
48731         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48732         * nscd/pwdcache.c (cache_addpw): Likewise.
48733         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
48734         more than recsize.
48736 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48738         * benchtests/Makefile (bench): Write all output to
48739         bench-out.tmp together.
48741 2013-04-15  Andreas Schwab  <schwab@suse.de>
48743         * nscd/nscd.c (main): Don't fork again after closing files.
48745 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48747         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
48749         * benchtests/Rules (bench-deps): Collect dependencies into a
48750         single variable.  Add Makefile to dependencies.
48751         ($(objpfx)bench-%.c): Depend on bench-deps.
48753 2013-04-12  Roland McGrath  <roland@hack.frob.com>
48754             Xavier Roche  <roche+kml2@exalead.com>
48756         [BZ #15361]
48757         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
48758         just that it's a file descriptor.
48759         * manual/llio.texi (Synchronizing AIO Operations): Update description
48760         for EBADF error from aio_fsync.
48762 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
48764         * Rules (bench): Move target definition...
48765         * benchtests/Makefile: ... here.
48767 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
48769         * math/libm-test.inc (cos_test): Fix PI/2 test.
48770         (sincos_test): Likewise.
48771         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
48772         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
48774 2013-04-11  Andreas Schwab  <schwab@suse.de>
48776         [BZ #13988]
48777         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
48778         accept exponent character only when digits were seen.
48779         * stdio-common/Makefile (tests): Add bug26.
48780         * stdio-common/bug26.c: New file.
48782         [BZ #14293]
48783         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
48784         non-freeable.
48786 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48788         * Makeconfig (rtld-prefix): Define built linker prefix.
48789         * Rules (run-bench): Use it.
48790         * math/Makefile (run-regen-ulps): Likewise.
48792         * Rules (bench): Remove eval.
48794 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48795             Roland McGrath  <roland@hack.frob.com>
48796             Ondrej Bilka  <neleai@seznam.cz>
48798         [BZ #15346]
48799         * time/getdate.c: Include ctype.h and alloca.h.
48800         (__getdate_r): Trim leading and trailing spaces of input.
48801         * time/tst-getdate.c (tests): Add tests with leading and
48802         trailing spaces.
48804 2013-04-08  Roland McGrath  <roland@hack.frob.com>
48806         [BZ #14280]
48807         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
48808         when computing value.
48810 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
48812         * math/README.libm-test (How can I generate "libm-test-ulps"?):
48813         Use testrun.sh to run libm tests.
48815         [BZ #15309]
48816         * elf/dl-open.c (dl_open_worker): memset all of seen array.
48818 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
48820         [BZ #15264]
48821         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
48823 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
48825         * Makefile.in (regen-ulps): New target.
48826         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
48827         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
48828         [ifneq (no,$(PERL)] (regen-ulps): New target.
48829         [ifeq (no,$(PERL)] (regen-ulps): New target.
48830         * math/libm-test.inc (ulps_file_name): Define.
48831         (output_dir): New variable.
48832         (options): Add "output-dir" option.
48833         (parse_opt): Handle 'o' case.
48834         (main): If output_dir is non-NULL use it as a prefix
48835         otherwise use "".
48836         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
48838 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
48840         [BZ #10060, #10062]
48841         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
48842         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
48843         fail configure if __sync_val_compare_and_swap is not inlined.
48844         * sysdeps/i386/configure: Regenerate.
48845         * configure.in: Build for i686 when configured for i386.
48846         * configure: Regenerate.
48847         * README: Remove i386 reference.
48849 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
48851         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
48852         * sysdeps/s390/s390-64/sysdep.h: Likewise.
48854 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
48856         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
48857         (lmsnanval): New variables.
48858         (F): Add conversion tests.
48859         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
48860         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
48862         * stdio-common/tstdiomisc.c (F): Properly collect individual
48863         tests' results.
48865         [BZ #14686, #15336]
48866         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
48867         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
48868         Instead, use input NaN values or generate a qNaN by arithmetic
48869         operation.  Also fix bugs to comply with the standard.
48870         * math/libm-test.inc (remainder_test): Add more tests.
48872         [BZ #15335, #15342]
48873         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
48874         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
48875         input NaN values or generate a qNaN by arithmetic operation.
48877         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
48878         unreachable code.
48880         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
48881         definitions.
48883 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
48885         [BZ #14478]
48886         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
48887         underflowed result.
48888         * math/s_cexpf.c (__cexpf): Likewise.
48889         * math/s_cexpl.c (__cexpl): Likewise.
48890         * math/libm-test.inc (cexp_test): Add more tests.
48892 2013-04-03  Andreas Schwab  <schwab@suse.de>
48894         [BZ #15330]
48895         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
48896         order arrays from heap if bigger than alloca cutoff.
48898 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
48900         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
48901         (SNAN_TESTS_double): Refer to GCC PR56831.
48902         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
48903         GCC PR56828.
48905 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
48907         * Rules (bench): Move bench.out after the run is complete.
48909         * Rules (bench): Echo currently running benchmark.
48911         * benchtests/Makefile (bench): Add atan and slowatan.
48912         * benchtests/atan-inputs: New file.
48913         * benchtests/slowatan-inputs: New file.
48914         * benchtests/slowatan.c: New file.
48916         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
48917         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
48918         its value.
48920         [BZ #15305]
48921         * sysdeps/unix/sysv/linux/kernel-features.h
48922         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
48923         __ASSUME_XFS_RESTRICTED_CHOWN.
48924         * sysdeps/unix/sysv/linux/pathconf.c
48925         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
48926         Save and restore errno.
48928 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
48930         [BZ #15327]
48931         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
48932         arguments using __kernel_casinh.
48933         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
48934         arguments using __kernel_casinhf.
48935         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
48936         arguments using __kernel_casinhl.
48937         * math/libm-test.inc (cacosh_test): Add more tests.
48938         * sysdeps/i386/fpu/libm-test-ulps: Update.
48939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48941 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48943         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
48944         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
48946         * bench/Makefile (bench): Add sin and slowsin.
48947         * benchtests/sin-inputs: New file.
48948         * benchtests/slowsin-inputs: New file.
48949         * benchtests/slowsin.c: New file.
48951         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
48952         (bench): Add slowexp and slowpow.
48953         (exp-ITER): Increase iterations.
48954         (pow-ITER): Likewise.
48955         * benchtests/exp-inputs: Change input.
48956         * benchtests/pow-inputs: Likewise.
48957         * benchtests/slowexp-inputs: New file.
48958         * benchtests/slowexp.c: New file.
48959         * benchtests/slowpow-inputs: New file.
48960         * benchtests/slowpow.c: New file.
48962 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48964         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
48965         instructions.
48966         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
48967         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
48968         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
48969         * benchtests/Makefile: Add rint benchtest.
48970         * benchtests/rint-inputs: Input for rint benchtest.
48972 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
48974         * Versions.def (libm): Add GLIBC_2.18.
48975         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
48976         hidden libm prototypes.
48977         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
48978         * math/Makefile (libm-calls): Add s_issignaling.
48979         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
48980         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
48981         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
48982         declaration.
48983         * math/math.h [__USE_GNU] (issignaling): New macro.
48984         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
48985         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
48986         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
48987         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
48988         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
48989         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
48990         * manual/arith.texi (issignaling): New section.
48991         * manual/libm-err-tab.pl (@all_functions): Update comment.
48992         * math/gen-libm-test.pl (parse_args): Apply special handling for
48993         issignaling.
48994         * math/libm-test.inc (print_float, issignaling_test): New
48995         functions.
48996         (check_float_internal): Add issignaling checks.
48997         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
48998         default definition.
48999         * sysdeps/powerpc/math-tests.h: New file.
49000         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
49001         tests.
49002         * math/test-snan.c (TEST_FUNC): Likewise.
49004 2013-03-30  David S. Miller  <davem@davemloft.net>
49006         * po/de.po: Update from translation team.
49008 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
49010         [BZ #10357]
49011         * math/k_casinh.c (__kernel_casinh): Handle arguments with
49012         imaginary part less than 1.0 and real part less than 0.5
49013         specially.
49014         * math/k_casinhf.c (__kernel_casinhf): Likewise.
49015         * math/k_casinhl.c (__kernel_casinhl): Likewise.
49016         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
49017         (cacos_test): Add more tests.
49018         (casin_test): Likewise.
49019         (casinh_test): Likewise.
49020         * sysdeps/i386/fpu/libm-test-ulps: Update.
49021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49023 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49025         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
49026         ONE with its value.
49028         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
49029         (__pow_mp): Replace ONE and MONE with their values.
49030         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49031         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
49032         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
49033         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
49034         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
49035         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
49037         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
49039         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
49040         (__pow_mp): Replace ZERO and MZERO with their values.
49041         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
49042         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49043         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
49044         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
49045         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
49046         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
49047         (__sqr): Likewise.
49049         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
49051         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
49053 2013-03-28  Roland McGrath  <roland@hack.frob.com>
49055         * include/stdlib.h [!SHARED] (__call_tls_dtors):
49056         Declare with __attribute__ ((weak)).
49057         * stdlib/exit.c (__libc_atexit) [!SHARED]:
49058         Call __call_tls_dtors only if it's not NULL.
49060 2013-03-28  Roland McGrath  <roland@hack.frob.com>
49062         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
49063         didn't do it already, then set _dl_phdr and _dl_phnum based on the
49064         magic __ehdr_start linker symbol if it's defined.
49065         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
49066         them up here if it was already done.
49068         * elf/dl-support.c (_dl_phdr): Make pointer to const.
49069         (_dl_aux_init): Use const in cast when setting it.
49070         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
49071         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
49072         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
49074         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
49075         Declare them here.
49076         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
49077         * csu/libc-tls.c: Nor here.
49078         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
49080         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
49081         (__libc_message): Never call vsyslog.
49083 2013-03-28  Alan Modra  <amodra@gmail.com>
49085         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
49086         Define as empty.
49087         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
49088         Likewise.
49090 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49092         [BZ #15214]
49093         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
49094         underflow.
49095         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49097 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49099         [BZ #15304]
49100         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
49101         Don't add gid passed as argument.
49103         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
49105 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
49107         [BZ #15307]
49108         * math/k_casinh.c (__kernel_casinh): Handle arguments with
49109         imaginary part between 1.0 and 1.5 and real part less than 0.5
49110         specially.
49111         * math/k_casinhf.c (__kernel_casinhf): Likewise.
49112         * math/k_casinhl.c (__kernel_casinhl): Likewise.
49113         * math/libm-test.inc (cacos_test): Add more tests.
49114         (casin_test): Likewise.
49115         (casinh_test): Likewise.
49116         * sysdeps/i386/fpu/libm-test-ulps: Update.
49117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49119 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49121         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
49122         constants.
49123         (norm): Likewise.
49124         (denorm): Likewise.
49125         (__dbl_mp): Likewise.
49126         (add_magnitudes): Likewise.
49127         (sub_magnitudes): Likewise.
49128         (__add): Likewise.
49129         (__sub): Likewise.
49130         (__mul): Likewise.
49131         (__sqr): Likewise.
49132         (__inv): Likewise.
49133         (__dvd): Likewise.
49135         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
49136         commented code.
49137         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
49138         (__dubcos): Likewise.
49139         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
49140         (__ieee754_acos): Likewise.
49141         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
49142         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
49143         (__exp1): Likewise.
49144         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49145         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
49146         (log1): Likewise.
49147         (my_log2): Likewise.
49148         (checkint): Likewise.
49149         * sysdeps/ieee754/dbl-64/e_remainder.c
49150         (__ieee754_remainder): Likewise.
49151         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
49152         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
49153         (bsloww): Likewise.
49154         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
49156         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
49157         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
49158         MANTISSA_STORE_T to store computations on mantissa.  Use
49159         macros for rounding and division.
49160         (denorm): Likewise.
49161         (__dbl_mp): Likewise.
49162         (add_magnitudes): Likewise.
49163         (sub_magnitudes): Likewise.
49164         (__mul): Likewise.
49165         (__sqr): Likewise.
49166         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
49167         powers of two in terms of TWOPOW macro.
49168         (mp_no): Make type of mantissa as MANTISSA_T.
49169         [!RADIXI]: Define RADIXI.
49170         [!TWO52]: Define TWO52.
49171         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
49173 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49175         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
49176         llroundl symbol when building for PPC32.
49178 2013-03-24  Mark H Weaver  <mhw@netris.org>
49180         * manual/arith.texi (Normalization Functions): Fix prototypes for
49181         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
49183 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49185         [BZ #13889]
49186         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
49187         high value to check if expl overflow.
49188         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
49189         to check for underflow and overflow.
49190         * math/libm-test.inc: Add exp test.
49192 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
49194         [BZ #11120]
49195         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
49196         with NOT_IN_libc.
49198 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49200         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
49201         symbol.
49203 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
49205         * math/gen-libm-test.pl (parse_args, special_functions): Properly
49206         wrap blocks consisting of several statements.
49208         * sysdeps/generic/math-tests.h: New file.
49209         * sysdeps/i386/fpu/math-tests.h: Likewise.
49210         * math/test-snan.c: Include it.
49211         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
49213 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
49215         [BZ #15285]
49216         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
49217         (__ieee754_j0l): Do not improve calculations using cos of twice
49218         input for inputs above LDBL_MAX / 2.0L.
49219         (__ieee754_y0l): Likewise.
49220         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
49221         (__ieee754_j1l): Do not improve calculations using cos of twice
49222         input for inputs above LDBL_MAX / 2.0L.
49223         (__ieee754_y1l): Likewise.
49224         * math/libm-test.inc (j0_test): Add another test.
49225         (j1_test): Likewise.
49226         (y0_test): Likewise.
49227         (y1_test): Likewise.
49228         * sysdeps/i386/fpu/libm-test-ulps: Update.
49230 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49232         * Rules ($(objpfx)bench-%.c): Include code from a C source
49233         file.
49235 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
49237         [BZ #15287]
49238         * math/k_casinh.c (__kernel_casinh): Handle arguments with
49239         imaginary part 1.0 and real part less than 0.5 specially.
49240         * math/k_casinhf.c (__kernel_casinhf): Likewise.
49241         * math/k_casinhl.c (__kernel_casinhl): Likewise.
49242         * math/libm-test.inc (cacos_test): Add more tests.
49243         (casin_test): Likewise.
49244         (casinh_test): Likewise.
49245         * sysdeps/i386/fpu/libm-test-ulps: Update.
49246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49248 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49250         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
49251         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
49253 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
49255         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
49256         * config.make.in (config-cflags-sse4): Remove variable.
49257         (config-cflags-avx): Likewise.
49258         (config-cflags-sse2avx): Likewise.
49259         (config-cflags-novzeroupper): Likewise.
49260         (config-asflags-i686): Likewise.
49261         (have-mfma4): Likewise.
49262         (have-as-vis3): Likewise.
49263         (MIG): Likewise.
49264         * configure.in (MIG): Do not AC_SUBST.
49265         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
49266         (libc_cv_cc_sse4): Do not AC_SUBST.
49267         (libc_cv_cc_avx): Likewise.
49268         (libc_cv_cc_sse2avx): Likewise.
49269         (libc_cv_cc_novzeroupper): Likewise.
49270         (libc_cv_cc_fma4): Likewise.
49271         (libc_cv_as_i686): Likewise.
49272         (libc_cv_sparc_as_vis3): Likewise.
49273         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
49274         LIBC_CONFIG_VAR.
49275         (config-asflags-i686): Likewise.
49276         (config-cflags-avx): Likewise.
49277         (config-cflags-sse2avx): Likewise.
49278         (have-mfma4): Likewise.
49279         (config-cflags-novzeroupper): Likewise.
49280         * sysdeps/mach/configure.in (MIG): Likewise.
49281         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
49282         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
49283         LIBC_CONFIG_VAR.
49284         (config-cflags-avx): Likewise.
49285         (config-cflags-sse2avx): Likewise.
49286         (have-mfma4): Likewise.
49287         (config-cflags-novzeroupper): Likewise.
49288         * configure: Regenerated.
49289         * sysdeps/i386/configure: Likewise.
49290         * sysdeps/mach/configure: Likewise.
49291         * sysdeps/sparc/configure: Likewise.
49292         * sysdeps/x86_64/configure: Likewise.
49294 2013-03-20  Roland McGrath  <roland@hack.frob.com>
49296         [BZ #14812]
49297         * locale/programs/localedef.c (options): Put N_ translation marker
49298         on argument names, not just descriptions.
49300 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49302         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
49304 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
49306         [BZ #14176]
49307         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
49309 2013-03-19  Roland McGrath  <roland@hack.frob.com>
49311         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
49312         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
49313         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
49314         [!BEFORE_ABORT] (before_abort): New function.
49315         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
49316         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
49317         (writev_for_fatal): New function.
49318         (WRITEV_FOR_FATAL): New macro; call that.
49319         (backtrace_and_maps): New function.
49320         (BEFORE_ABORT): New macro; call that.
49321         (struct str_list): Type removed.
49322         (__libc_message, __libc_fatal): Functions removed.
49323         Include <sysdeps/posix/libc_fatal.c> instead.
49325 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
49327         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
49328         constants.
49329         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
49330         double constants.
49332 2013-03-19  Andreas Schwab  <schwab@suse.de>
49334         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
49335         * sysdeps/gnu/configure: Regenerate.
49337         * configure.in: Substitute libc_cv_rtlddir.
49338         * configure: Regenerate.
49339         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
49340         * Makeconfig (rtlddir, inst_rtlddir): New variables.
49341         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
49342         * elf/Makefile (install-others, CFLAGS-interp.c)
49343         (ldso_install, common-ldd-rewrite): Likewise.
49344         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
49345         $(inst_slibdir)/$(rtld-installed-name).
49346         * scripts/rellns-sh: Add -p option.
49347         * Makerules (make-shlib-link): Use rellns-sh to get relative name
49348         for source.
49350 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49352         * manual/nptl.texi: Renamed to ...
49353         * manual/threads.texi: ... this.
49354         * manual/Makefile (chapters): Update.
49356 2013-03-18  Roland McGrath  <roland@hack.frob.com>
49358         [BZ #14812]
49359         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
49360         on argument names, not just descriptions.
49361         * malloc/memusagestat.c (options): Likewise.
49362         * nss/getent.c (options): Likewise.
49364 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
49366         [BZ #14812]
49367         * iconv/iconv_prog.c (options): Put N_ translation marker
49368         on argument names, not just descriptions.
49369         * iconv/iconvconfig.c (options): Likewise.
49371 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
49373         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
49374         implementation which is faster on all x86_64 architectures.
49375         Tested on AMD, Intel Nehalem, SNB, IVB.
49376         * sysdeps/x86_64/strnlen.S: Likewise.
49378         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
49379         Remove all multiarch strlen and strnlen versions.
49380         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
49381         Remove strlen and strnlen related parts.
49383         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
49384         Inline strlen part.
49385         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
49387         * sysdeps/x86_64/multiarch/strlen.S: Remove.
49388         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
49389         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
49390         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
49391         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
49392         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
49394 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
49396         * manual/memory.texi (Malloc Tunable Parameters):
49397         Sort parameters alphabetically. Add comments for missing entries.
49399 2013-03-17  David S. Miller  <davem@davemloft.net>
49401         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49403 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
49405         [BZ #15283]
49406         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
49407         for arguments at most half maximum finite value.
49408         * math/libm-test.inc (j0_test): Add more tests.
49409         (j1_test): Likewise.
49410         (y0_test): Likewise.
49411         (y1_test): Likewise.
49412         * sysdeps/i386/fpu/libm-test-ulps: Update.
49413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49415         [BZ #14155]
49416         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
49417         1 / x and functions P and Q for arguments above 0x1p256L.
49418         (__ieee754_y0l): Likewise.
49419         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
49420         (__ieee754_y1l): Likewise.
49421         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
49422         (j1_test): Likewise.
49423         (y0_test): Likewise.
49424         (y1_test): Likewise.
49426 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
49428         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
49429         variable.
49431 2013-03-15  Roland McGrath  <roland@hack.frob.com>
49433         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
49434         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
49435         zero since it's initialized to EXEC_PAGESIZE.
49437         * sysdeps/unix/sysv/linux/ldsodefs.h
49438         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
49439         * sysdeps/generic/ldsodefs.h: ... here.
49441 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
49443         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
49445         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
49446         math/test-snan.c.
49447         * math/test-snan.c: Renamed from
49448         sysdeps/powerpc/fpu/test-powerpc-snan.c.
49449         * math/Makefile (tests): Add test-snan.
49450         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
49451         test-powerpc-snan.
49453         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
49454         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
49455         functions.
49456         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
49457         __builtin_nan family of functions.
49458         * math/libm-test.inc (initialize): Initialize qnan_value with
49459         __builtin_nan family of functions.
49460         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
49461         Remove variables.
49462         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
49463         Remove functions.
49464         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
49465         storage class.  Initialize qNaN_var and sNaN_var with
49466         __builtin_nan and __builtin_nans families of functions,
49467         respectively.
49469         * math/libm-test.inc (acosh_test): Also test with qNaN input.
49470         (sqrt_test): Remove duplicate test with qNaN input.
49471         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
49472         (round_test, signbit_test, significand_test): Note missing +/-Inf
49473         as well as qNaN tests.
49475         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
49476         qNaN_var.  Fix a few strings, too.
49477         * math/libm-test.inc (nan_value): Rename to qnan_value.
49478         * math/gen-libm-test.pl (%beautify): Adjust to that.
49479         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
49480         * math/test-misc.c (main): Likewise.
49481         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
49482         to __qnan_bytes, and __qnan_union, respectively.
49483         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
49484         Likewise.
49485         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
49486         and lqnanval, respectively.
49487         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
49488         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
49489         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
49490         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
49492         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
49493         * math/test-misc.c (main) [__x86_64__]: Enable test for long
49494         doubles.
49496         * math/test-misc.c (main): Fix copy'n'pastos.
49497         * misc/tst-efgcvt.c (special): Likewise.
49499         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
49500         Remove declarations.
49502 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49504         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
49505         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
49506         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
49507         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
49509 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49511         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
49512         macro to return vdso values correctly in IFUNC implementations.
49513         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
49514         Optimization by using IFUNC.
49516 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49517             Richard Henderson  <rth@redhat.com>
49518             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49520         * Makefile.in (bench): New target.
49521         * NEWS: Mention the benchmark framework.
49522         * Rules (bench): Likewise.
49523         (binaries-bench): Generate binaries for functions to
49524         benchmark.
49525         * benchtests/Makefile: New makefile for benchmark tests.
49526         * benchtests/bench-skeleton.c: New skeleton file for benchmark
49527         programs.
49528         * benchtests/exp-inputs: New input file for EXP function.
49529         * benchtests/pow-inputs: New input file for POW function.
49530         * scripts/bench.pl: New script to generate source files for
49531         benchmark programs.
49533 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49535         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
49536         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
49537         computations on mantissa.  Use macros for rounding and
49538         division.
49539         (denorm): Likewise.
49540         (__dbl_mp): Likewise.
49541         (add_magnitudes): Likewise.
49542         (sub_magnitudes): Likewise.
49543         (__mul): Likewise.
49544         (__sqr): Likewise.
49545         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
49546         powers of two in terms of TWOPOW macro.
49547         (mp_no): Make type of mantissa as MANTISSA_T.
49548         [!RADIXI]: Define RADIXI.
49549         [!TWO52]: Define TWO52.
49550         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
49552         * manual/nptl.texi (cindex): Modify threads to pthreads.
49554 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
49556         * sysdeps/x86_64/preconfigure: Regenerated.
49558 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
49560         [BZ #14155]
49561         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
49562         0x1p28 and above.
49563         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
49564         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
49565         0x1p28 and above.
49566         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
49567         * math/libm-test.inc (j0_test): Do not allow one spurious
49568         underflow exception.
49569         (y1_test): Likewise.
49571 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
49573         * manual/Makefile (chapters): Add nptl.
49574         * manual/debug.texi (Debugging Support): Add link to Threads
49575         chapter.
49576         * manual/nptl.texi: New file.
49578         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
49580 2013-03-14  Petr Baudis  <pasky@ucw.cz>
49582         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
49583         for non-NULL pointer before the memory validity test. Pointed
49584         out by Holger Brunck <holger.brunck@keymile.com>.
49586 2013-03-13  Andreas Schwab  <schwab@suse.de>
49588         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
49589         instead of .os.
49591 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
49593         * timezone/zic.c: Update from tzcode 2013b.
49595 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
49597         * manual/install.texi (Configuring and compiling):
49598         Mention i686 and i586.
49599         * INSTALL: Regenerate.
49601 2013-03-12  Roland McGrath  <roland@hack.frob.com>
49603         * sysdeps/init_array/elf-init.c: New file.
49604         * csu/elf-init.c
49605         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
49606         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
49608         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
49609         __gmon_start__ as global, but as static with a .preinit_array pointer.
49610         * sysdeps/init_array/gmon-start.c: New file.  Use that.
49611         * sysdeps/init_array/crti.S: New file, empty except for comments.
49612         * sysdeps/init_array/crtn.S: Likewise.
49614 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
49616         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
49617         definining bcopy.
49618         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49619         Remove Prefer_SSE_for_memop.
49620         * sysdeps/x86_64/multiarch/init-arch.h: Remove
49621         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
49622         HAS_PREFER_SSE_FOR_MEMOP.
49623         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
49624         memset-x86-64.
49625         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49626         Remove bzero, memset ifunc support.
49627         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
49628         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
49629         * sysdeps/x86_64/multiarch/memset.S: Likewise.
49630         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
49632 2013-03-11  Andreas Schwab  <schwab@suse.de>
49634         [BZ #15234]
49635         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
49636         by SHLIB_COMPAT.
49637         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
49638         (GLIBC_2.16): Remove pthread_atfork.
49640 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
49642         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
49643         (ptestcases.h): Likewise.
49645 2013-03-08  Roland McGrath  <roland@hack.frob.com>
49647         * Makeconfig ($(common-objpfx)config.status): Depend on
49648         sysdeps/*/preconfigure{,.in} too.
49650 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
49652         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
49653         (__free_hook): Use void * instead of __malloc_ptr_t.
49654         (__malloc_hook): Likewise.
49655         (__realloc_hook): Likewise.
49656         (__memalign_hook): Likewise.
49657         (__after_morecore_hook): Likewise.
49658         * malloc/arena.c (save_malloc_hook): Likewise.
49659         (save_free_hook): Likewise.
49660         * malloc/hooks.c (malloc_hook_ini): Likewise.
49661         (realloc_hook_ini): Likewise.
49662         (memalign_hook_ini): Likewise.
49663         * malloc/malloc.c (malloc_hook_ini): Likewise.
49664         (realloc_hook_ini): Likewise.
49665         (memalign_hook_ini): Likewise.
49666         (__free_hook): Likewise.
49667         (__malloc_hook): Likewise.
49668         (__realloc_hook): Likewise.
49669         (__memalign_hook): Likewise.
49670         (__libc_malloc): Likewise.
49671         (__libc_free): Likewise.
49672         (__libc_realloc): Likewise.
49673         (__libc_memalign): Likewise.
49674         (__libc_valloc): Likewise.
49675         (__libc_pvalloc): Likewise.
49676         (__libc_calloc): Likewise.
49677         (__posix_memalign): Likewise.
49678         * malloc/morecore.c (__sbrk): Likewise.
49679         (__default_morecore): Likewise.
49681         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
49683         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
49684         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
49685         __malloc_ptrdiff_t.
49687         * malloc/malloc.h (__malloc_size_t): Remove macro.
49688         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
49689         __malloc_size_t.
49690         (old_memalign_hook): Likewise.
49691         (old_realloc_hook): Likewise.
49692         (struct hdr): Likewise.
49693         (flood): Likewise.
49694         (mallochook): Likewise.
49695         (memalignhook): Likewise.
49696         (reallochook): Likewise.
49697         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
49698         (tr_old_realloc_hook): Likewise.
49699         (tr_old_memalign_hook): Likewise.
49700         (tr_mallochook): Likewise.
49701         (tr_reallochook): Likewise.
49702         (tr_memalignhook): Likewise.
49704 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49706         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
49707         default_ldbl_pack and using as default implementation.
49708         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
49709         implementation.
49710         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
49711         redundant definition.
49712         (ldbl_insert_mantissa): Likewise.
49713         (ldbl_canonicalize): Likewise.
49714         (ldbl_nearbyint): Likewise.
49715         (ldbl_pack): Rename to ldbl_pack_ppc.
49716         (ldbl_unpack): Rename to ldbl_unpack_ppc.
49717         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
49718         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
49720 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
49722         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
49723         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
49724         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
49725         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
49726         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
49727         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
49728         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
49729         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
49731 2013-03-07  Andreas Jaeger  <aj@suse.de>
49733         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49734         bits/mman-linux.h.
49736 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
49738         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
49739         Include mpa.h and declare __MPEXP.
49740         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
49741         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
49742         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
49743         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
49744         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
49745         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
49746         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
49748         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
49749         (__slowpow): Use long double EXPL and LOGL functions to
49750         compute POW.
49751         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
49752         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
49753         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
49754         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
49755         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
49756         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
49758         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
49759         intermediate variable to calculate exponent.
49760         (__sqr): Likewise.
49761         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
49762         Likewise.
49763         (__sqr): Likewise.
49765         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
49766         [!NO__SQR]: Define __sqr.
49767         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
49768         and NO__SQR.  Remove all code except __mul and __sqr.  Include
49769         sysdeps/ieee754/dbl-64/mpa.c.
49770         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49772         [BZ #12723]
49773         * posix/Makefile (tests): Add tst-pathconf.
49774         * posix/tst-pathconf.c: New test case.
49775         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
49776         _PC_PIPE_BUF.
49777         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
49779 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
49781         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
49783 2013-03-06  Andreas Jaeger  <aj@suse.de>
49785         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
49786         definition via __MAP_ANONYMOUS.
49788         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
49789         it's not part of Linux headers.
49791         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
49792         (MAP_HUGE_MASK): Define.
49794         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
49795         Define.
49796         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
49797         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
49798         Define.
49799         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
49800         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
49801         Define.
49802         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
49803         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
49804         Define.
49805         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
49807         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
49808         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
49809         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
49810         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
49811         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
49812         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
49814         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49815         Handle f2fs.
49817         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49818         Handle f2fs and efivarfs.
49820         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
49821         f2fs.
49823         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
49824         (EFIVARFS_MAGIC): Add.
49825         (F2FS_LINK_MAX): Add.
49827 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
49829         * stdio-common/vfprintf.c: Replace __builtin_expect with
49830         __glibc_unlikely.
49832 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
49834         [BZ #13550]
49835         * sysdeps/generic/bp-sym.h: Remove file.
49836         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
49837         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
49838         <bp-sym.h> and <bp-asm.h>.
49839         (__longjmp): Don't use BP_SYM.
49840         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
49841         and <bp-asm.h>.
49842         (memcpy): Don't use BP_SYM.
49843         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
49844         <bp-sym.h> and <bp-asm.h>.
49845         (memcpy): Don't use BP_SYM.
49846         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
49847         <bp-asm.h>.
49848         (memcpy): Don't use BP_SYM.
49849         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
49850         <bp-asm.h>.
49851         (memset): Don't use BP_SYM.
49852         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49853         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49854         (__bzero): Don't use BP_SYM.
49855         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49856         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49857         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
49858         <bp-sym.h> and <bp-asm.h>.
49859         (memcmp): Don't use BP_SYM.  Remove comment about bounded
49860         pointers.
49861         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
49862         <bp-sym.h> and <bp-asm.h>.
49863         (memcpy): Don't use BP_SYM.
49864         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
49865         <bp-sym.h> and <bp-asm.h>.
49866         (memset): Don't use BP_SYM.
49867         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49868         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49869         (__bzero): Don't use BP_SYM.
49870         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49871         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49872         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
49873         <bp-sym.h> and <bp-asm.h>.
49874         (strncmp): Don't use BP_SYM.  Remove comment about bounded
49875         pointers.
49876         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
49877         <bp-sym.h> and <bp-asm.h>.
49878         (memcpy): Don't use BP_SYM.
49879         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
49880         <bp-sym.h> and <bp-asm.h>.
49881         (memset): Don't use BP_SYM.
49882         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49883         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49884         (__bzero): Don't use BP_SYM.
49885         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49886         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49887         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
49888         <bp-sym.h> and <bp-asm.h>.
49889         (__memchr): Don't use BP_SYM.
49890         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
49891         <bp-sym.h> and <bp-asm.h>.
49892         (memcmp): Don't use BP_SYM.  Remove comment about bounded
49893         pointers.
49894         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
49895         <bp-sym.h> and <bp-asm.h>.
49896         (memcpy): Don't use BP_SYM.
49897         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
49898         <bp-sym.h> and <bp-asm.h>.
49899         (__mempcpy): Don't use BP_SYM.
49900         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
49901         <bp-sym.h> and <bp-asm.h>.
49902         (__memrchr): Don't use BP_SYM.
49903         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
49904         <bp-sym.h> and <bp-asm.h>.
49905         (memset): Don't use BP_SYM.
49906         (__bzero): Likewise.
49907         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
49908         <bp-sym.h> and <bp-asm.h>.
49909         (__rawmemchr): Don't use BP_SYM.
49910         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
49911         <bp-sym.h> and <bp-asm.h>.
49912         (__STRCMP): Don't use BP_SYM.
49913         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
49914         <bp-sym.h> and <bp-asm.h>.
49915         (strchr): Don't use BP_SYM.
49916         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
49917         <bp-sym.h> and <bp-asm.h>.
49918         (__strchrnul): Don't use BP_SYM.
49919         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
49920         <bp-sym.h> and <bp-asm.h>.
49921         (strlen): Don't use BP_SYM.
49922         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
49923         <bp-sym.h> and <bp-asm.h>.
49924         (strncmp): Don't use BP_SYM.  Remove comment about bounded
49925         pointers.
49926         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
49927         <bp-sym.h> and <bp-asm.h>.
49928         (__strnlen): Don't use BP_SYM.
49929         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
49930         <bp-sym.h> and <bp-asm.h>.
49931         (__GI__setjmp): Don't use BP_SYM.
49932         (_setjmp): Likewise.
49933         (__sigsetjmp): Likewise.
49934         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
49935         (L(start_addresses)): Don't use BP_SYM.
49936         (_start): Likewise.
49937         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
49938         <bp-asm.h>.
49939         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
49940         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
49941         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49942         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49943         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
49944         <bp-asm.h>.
49945         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
49946         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
49947         about bounded pointers.
49948         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
49949         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49950         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
49951         <bp-asm.h>.
49952         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
49953         about bounded pointers.  Remove GKM FIXME comments.
49954         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
49955         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
49956         <bp-asm.h>.
49957         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
49958         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
49959         Remove GKM FIXME comments.
49960         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49961         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49962         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
49963         <bp-asm.h>.
49964         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
49965         about bounded pointers.  Remove GKM FIXME comment.
49966         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
49967         and <bp-asm.h>.
49968         (strncmp): Don't use BP_SYM.  Remove comment about bounded
49969         pointers.
49970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
49971         <bp-sym.h> and <bp-asm.h>.
49972         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
49973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
49974         <bp-sym.h> and <bp-asm.h>.
49975         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
49976         comment.
49978 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
49980         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
49981         call free(NULL).
49983 2013-03-05  David S. Miller  <davem@davemloft.net>
49985         * po/es.po: Update from translation team.
49987 2013-03-05  Andreas Jaeger  <aj@suse.de>
49989         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
49990         <bits/mman-linux.h>.
49991         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
49992         is fine.
49993         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
49994         <bits/mman-linux.h> to end of file.
49995         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
49996         is fine.
49997         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
49998         <bits/mman-linux.h> to end of file.
49999         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
50000         is fine.
50001         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
50002         <bits/mman-linux.h> to end of file.
50004         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
50005         (MCL_CURRENT, MCL_FUTURE): Define here.
50007 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50009         [BZ #15232]
50010         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
50011         attribute_hidden.
50012         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
50014 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50016         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
50017         fourth parameter needed for rt_sigprocmask syscall.
50018         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
50019         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
50020         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
50021         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
50022         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
50023         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
50025 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
50027         [BZ #13550]
50028         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
50029         comment about bounded pointers.
50030         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
50031         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
50033 2013-03-04  Andreas Jaeger  <aj@suse.de>
50035         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
50036         common definitions.
50038         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
50039         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
50040         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
50041         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50042         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50043         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50045 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50047         [BZ #15055]
50048         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
50049         __ieee754_sqrl instead of __sqrl.
50051 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
50053         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
50054         * sysdeps/powerpc/fpu_control.h: ... here.
50055         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
50056         * sysdeps/powerpc/bits/fenvinline.h: ... here.
50057         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
50058         * sysdeps/powerpc/bits/mathinline.h: ... here.
50060 2013-03-01  Roland McGrath  <roland@hack.frob.com>
50062         * elf/dl-hwcaps.c (_dl_important_hwcaps):
50063         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
50064         to just [NEED_DL_SYSINFO_DSO].
50065         * elf/dl-support.c: Likewise.
50066         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
50067         * elf/rtld.c (dl_main): Likewise.
50068         * elf/setup-vdso.h (setup_vdso): Likewise.
50069         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
50070         * sysdeps/unix/sysv/linux/dl-sysdep.c
50071         (_dl_discover_osversion): Likewise.
50073 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
50075         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
50076         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
50078 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
50080         * NEWS: Mention libm performance improvements and non-x86 PI
50081         futex support.
50083         * csu/libc-start.c (__pthread_initialize_minimal): Change
50084         function arguments.
50085         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
50087 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
50089         [BZ #13550]
50090         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
50091         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
50092         <bp-sym.h> and <bp-asm.h>.
50093         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
50094         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
50095         and <bp-asm.h>.
50096         (memcpy): Don't use BP_SYM.
50097         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
50098         <bp-asm.h>.
50099         (__mpn_add_n): Don't use BP_SYM.
50100         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
50101         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
50102         and <bp-asm.h>.
50103         (__mpn_addmul_1): Don't use BP_SYM.
50104         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50105         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
50106         <bp-sym.h>.
50107         (_setjmp): Don't use BP_SYM.
50108         (__novmx_setjmp): Likewise.
50109         (__GI__setjmp): Likewise.
50110         (__vmx_setjmp): Likewise.
50111         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
50112         <bp-sym.h>.
50113         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
50114         (__bzero): Don't use BP_SYM.
50115         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
50116         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
50117         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
50118         <bp-sym.h> and <bp-asm.h>.
50119         (memcpy): Don't use BP_SYM.
50120         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
50121         <bp-sym.h> and <bp-asm.h>.
50122         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
50123         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
50124         <bp-sym.h> and <bp-asm.h>.
50125         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
50126         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
50127         <bp-asm.h>.
50128         (__mpn_lshift): Don't use BP_SYM.
50129         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50130         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
50131         <bp-asm.h>.
50132         (memset): Don't use BP_SYM.
50133         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
50134         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
50135         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
50136         <bp-asm.h>.
50137         (__mpn_mul_1): Don't use BP_SYM.
50138         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50139         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
50140         <bp-sym.h> and <bp-asm.h>.
50141         (memcmp): Don't use BP_SYM.
50142         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
50143         <bp-sym.h> and <bp-asm.h>.
50144         (memcpy): Don't use BP_SYM.
50145         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
50146         <bp-sym.h> and <bp-asm.h>.
50147         (memset): Don't use BP_SYM.
50148         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
50149         <bp-sym.h> and <bp-asm.h>.
50150         (strncmp): Don't use BP_SYM.
50151         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
50152         <bp-sym.h> and <bp-asm.h>.
50153         (memcpy): Don't use BP_SYM.
50154         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
50155         <bp-sym.h> and <bp-asm.h>.
50156         (memset): Don't use BP_SYM.
50157         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
50158         <bp-sym.h> and <bp-asm.h>.
50159         (__memchr): Don't use BP_SYM.
50160         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
50161         <bp-sym.h> and <bp-asm.h>.
50162         (memcmp): Don't use BP_SYM.
50163         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
50164         <bp-sym.h> and <bp-asm.h>.
50165         (memcpy): Don't use BP_SYM.
50166         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
50167         <bp-sym.h> and <bp-asm.h>.
50168         (__mempcpy): Don't use BP_SYM.
50169         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
50170         <bp-sym.h> and <bp-asm.h>.
50171         (__memrchr): Don't use BP_SYM.
50172         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
50173         <bp-sym.h> and <bp-asm.h>.
50174         (memset): Don't use BP_SYM.
50175         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
50176         <bp-sym.h> and <bp-asm.h>.
50177         (__rawmemchr): Don't use BP_SYM.
50178         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
50179         <bp-sym.h> and <bp-asm.h>.
50180         (__STRCMP): Don't use BP_SYM.
50181         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
50182         <bp-sym.h> and <bp-asm.h>.
50183         (strchr): Don't use BP_SYM.
50184         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
50185         <bp-sym.h> and <bp-asm.h>.
50186         (__strchrnul): Don't use BP_SYM.
50187         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
50188         <bp-sym.h> and <bp-asm.h>.
50189         (strlen): Don't use BP_SYM.
50190         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
50191         <bp-sym.h> and <bp-asm.h>.
50192         (strncmp): Don't use BP_SYM.
50193         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
50194         <bp-sym.h> and <bp-asm.h>.
50195         (__strnlen): Don't use BP_SYM.
50196         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
50197         <bp-asm.h>.
50198         (__mpn_rshift): Don't use BP_SYM.
50199         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50200         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
50201         <bp-sym.h> and <bp-asm.h>.
50202         (__sigsetjmp): Don't use BP_SYM.
50203         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
50204         (L(start_addresses)): Don't use BP_SYM.
50205         (_start): Likewise.
50206         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
50207         <bp-asm.h>.
50208         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
50209         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50210         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50211         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
50212         <bp-asm.h>.
50213         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
50214         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
50215         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50216         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
50217         <bp-asm.h>.
50218         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
50219         comments.
50220         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
50221         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
50222         <bp-asm.h>.
50223         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
50224         FIXME comments.
50225         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50226         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
50227         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
50228         <bp-asm.h>.
50229         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
50230         comment.
50231         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
50232         and <bp-asm.h>.
50233         (strncmp): Don't use BP_SYM,
50234         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
50235         <bp-asm.h>.
50236         (__mpn_sub_n): Don't use BP_SYM.
50237         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50238         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
50239         and <bp-asm.h>.
50240         (__mpn_submul_1): Don't use BP_SYM.
50241         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
50243         <bp-sym.h> and <bp-asm.h>.
50244         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
50245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
50246         <bp-sym.h> and <bp-asm.h>.
50247         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
50248         comment.
50250 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50252         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
50253         Use ZK to minimize writes to Z.
50254         (sub_magnitudes): Simplify code a bit.
50255         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
50256         Use ZK to minimize writes to Z.
50257         (sub_magnitudes): Simplify code a bit.
50259 2013-02-27  Roland McGrath  <roland@hack.frob.com>
50261         * csu/gmon-start.c: Add special exception to license text.
50263 2013-02-27  Richard Henderson  <rth@redhat.com>
50265         * scripts/config.guess: Update from config.git.
50266         * scripts/config.sub: Likewise.
50268 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50270         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
50272         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
50274         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
50276         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
50278         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
50280 2013-02-26  Roland McGrath  <roland@hack.frob.com>
50282         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
50283         [$(build-shared = yes].
50285 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50287         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
50288         (__mul): Reduce iterations for calculating mantissa.
50290         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
50291         MPTWO.
50292         (__mpranred): Likewise.
50294         [BZ #15160]
50295         * malloc/memusagestat.c (main): Draw graphs for heap and stack
50296         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
50298 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
50300         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
50301         Define __attribute__.
50303 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50305         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
50306         unused.
50307         * posix/regex_internal.h (__attribute): Remove.
50308         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
50309         (re_string_context_at): Likewise.
50310         (bitset_not): Use __attribute__ and mark function as possibly
50311         unused.
50312         (bitset_merge): Likewise.
50313         (bitset_mask): Likewise.
50314         (re_string_char_size_at): Likewise.
50315         (re_string_wchar_at): Likewise.
50316         (re_string_elem_size_at): Likewise.
50318 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
50320         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
50321         code.
50322         (cc32): Likewise.
50324         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
50325         (__acr): Likewise.
50326         (__cpy): Likewise.
50327         (norm): Likewise.
50328         (denorm): Likewise.
50329         (__dbl_mp): Likewise.
50330         (add_magnitudes): Likewise.
50331         (sub_magnitudes): Likewise.
50332         (__mul): Likewise.
50333         (__inv): Likewise.
50335         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
50336         style.
50338         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
50339         style.
50341         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
50342         code.
50344         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
50345         up changes with default code.
50346         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
50347         Likewise.
50349 2013-02-24  Allan McRae  <allan@archlinux.org>
50351         * manual/socket.texi (The Internet Namespace): Order menu items
50352         to match that in the file.
50354         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
50355         node listing of the info page menu.
50357 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
50359         [BZ #13550]
50360         * sysdeps/i386/bp-asm.h: Remove file.
50361         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
50362         (PARMS): Do not use macros from bp-asm.h.
50363         (S1): Likewise.
50364         (S2): Likewise.
50365         (SIZE): Likewise.
50366         (__mpn_add_n): Do not use BP_SYM
50367         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
50368         "bp-asm.h".
50369         (PARMS): Do not use macros from bp-asm.h.
50370         (S1): Likewise.
50371         (SIZE): Likewise.
50372         (__mpn_addmul_1): Do not use BP_SYM
50373         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
50374         "bp-asm.h".
50375         (PARMS): Do not use macros from bp-asm.h.
50376         (SIGMSK): Likewise.
50377         (_setjmp): Likewise.  Do not use BP_SYM.
50378         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
50379         "bp-asm.h".
50380         (PARMS): Do not use macros from bp-asm.h.
50381         (SIGMSK): Likewise.
50382         (setjmp): Likewise.  Do not use BP_SYM.
50383         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
50384         "bp-asm.h".
50385         (PARMS): Do not use macros from bp-asm.h.
50386         (__frexp): Do not use BP_SYM.
50387         (frexp): Likewise.
50388         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
50389         "bp-asm.h".
50390         (PARMS): Do not use macros from bp-asm.h.
50391         (__frexpf): Do not use BP_SYM.
50392         (frexpf): Likewise.
50393         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
50394         "bp-asm.h".
50395         (PARMS): Do not use macros from bp-asm.h.
50396         (__frexpl): Do not use BP_SYM.
50397         (frexpl): Likewise.
50398         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
50399         "bp-asm.h".
50400         (PARMS): Do not use macros from bp-asm.h.
50401         (__remquo): Do not use BP_SYM.
50402         (remquo): Likewise.
50403         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
50404         "bp-asm.h".
50405         (PARMS): Do not use macros from bp-asm.h.
50406         (__remquof): Do not use BP_SYM.
50407         (remquof): Likewise.
50408         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
50409         "bp-asm.h".
50410         (PARMS): Do not use macros from bp-asm.h.
50411         (__remquol): Do not use BP_SYM.
50412         (remquol): Likewise.
50413         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
50414         "bp-asm.h".
50415         (PARMS): Do not use macros from bp-asm.h.
50416         (DEST): Likewise.
50417         (SRC): Likewise.
50418         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
50419         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
50420         "bp-asm.h".
50421         (PARMS): Do not use macros from bp-asm.h.
50422         (strlen): Do not use BP_SYM.
50423         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
50424         "bp-asm.h".
50425         (PARMS): Do not use macros from bp-asm.h.
50426         (S1): Likewise.
50427         (S2): Likewise.
50428         (SIZE): Likewise.
50429         (__mpn_add_n): Do not use BP_SYM.
50430         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
50431         "bp-asm.h".
50432         (PARMS): Do not use macros from bp-asm.h.
50433         (S1): Likewise.
50434         (SIZE): Likewise.
50435         (__mpn_addmul_1): Do not use BP_SYM.
50436         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
50437         weak_alias.
50438         (bzero): Likewise.
50439         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
50440         "bp-asm.h".
50441         (PARMS): Do not use macros from bp-asm.h.
50442         (S): Likewise.
50443         (SIZE): Likewise.
50444         (__mpn_lshift): Do not use BP_SYM.
50445         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
50446         "bp-asm.h".
50447         (PARMS): Do not use macros from bp-asm.h.
50448         (DEST): Likewise.
50449         (SRC): Likewise.
50450         (LEN): Likewise.
50451         (memcpy): Likewise.  Do not use BP_SYM.
50452         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
50453         libc_hidden_def and weak_alias.
50454         (mempcpy): Do not use BP_SYM in weak_alias.
50455         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
50456         "bp-asm.h".
50457         (PARMS): Do not use macros from bp-asm.h.
50458         (DEST): Likewise.
50459         (LEN): Likewise.
50460         [!BZERO_P] (CHR): Likewise.
50461         (memset): Likewise.  Do not use BP_SYM.
50462         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
50463         "bp-asm.h".
50464         (PARMS): Do not use macros from bp-asm.h.
50465         (S1): Likewise.
50466         (SIZE): Likewise.
50467         (__mpn_mul_1): Do not use BP_SYM.
50468         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
50469         "bp-asm.h".
50470         (PARMS): Do not use macros from bp-asm.h.
50471         (S): Likewise.
50472         (SIZE): Likewise.
50473         (__mpn_rshift): Do not use BP_SYM.
50474         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
50475         "bp-asm.h".
50476         (PARMS): Do not use macros from bp-asm.h.
50477         (STR): Likewise.
50478         (CHR): Likewise.
50479         (strchr): Likewise.  Do not use BP_SYM.
50480         (index): Do not use BP_SYM in weak_alias.
50481         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
50482         "bp-asm.h".
50483         (PARMS): Do not use macros from bp-asm.h.
50484         (DEST): Likewise.
50485         (SRC): Likewise.
50486         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
50487         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
50488         "bp-asm.h".
50489         (PARMS): Do not use macros from bp-asm.h.
50490         (strlen): Do not use BP_SYM.
50491         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
50492         "bp-asm.h".
50493         (PARMS): Do not use macros from bp-asm.h.
50494         (S1): Likewise.
50495         (S2): Likewise.
50496         (SIZE): Likewise.
50497         (__mpn_sub_n): Do not use BP_SYM.
50498         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
50499         "bp-asm.h".
50500         (PARMS): Do not use macros from bp-asm.h.
50501         (S1): Likewise.
50502         (SIZE): Likewise.
50503         (__mpn_submul_1): Do not use BP_SYM.
50504         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
50505         "bp-asm.h".
50506         (PARMS): Do not use macros from bp-asm.h.
50507         (S1): Likewise.
50508         (S2): Likewise.
50509         (SIZE): Likewise.
50510         (__mpn_add_n): Do not use BP_SYM.
50511         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
50512         weak_alias.
50513         (bzero): Likewise.
50514         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
50515         "bp-asm.h".
50516         (PARMS): Do not use macros from bp-asm.h.
50517         (BLK2): Likewise.
50518         (LEN): Likewise.
50519         (memcmp): Do not use BP_SYM.
50520         (bcmp): Do not use BP_SYM in weak_alias.
50521         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
50522         "bp-asm.h".
50523         (PARMS): Do not use macros from bp-asm.h.
50524         (DEST): Likewise.
50525         (SRC): Likewise.
50526         (LEN): Likewise.
50527         (memcpy): Likewise.  Do not use BP_SYM.
50528         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
50529         "bp-asm.h".
50530         (PARMS): Do not use macros from bp-asm.h.
50531         (DEST): Likewise.
50532         (SRC): Likewise.
50533         (LEN): Likewise.
50534         (memmove): Likewise.  Do not use BP_SYM.
50535         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
50536         "bp-asm.h".
50537         (PARMS): Do not use macros from bp-asm.h.
50538         (DEST): Likewise.
50539         (SRC): Likewise.
50540         (LEN): Likewise.
50541         (__mempcpy): Likewise.  Do not use BP_SYM.
50542         (mempcpy): Do not use BP_SYM in weak_alias.
50543         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
50544         "bp-asm.h".
50545         (PARMS): Do not use macros from bp-asm.h.
50546         (DEST): Likewise.
50547         (LEN): Likewise.
50548         [!BZERO_P] (CHR): Likewise.
50549         (memset): Likewise.  Do not use BP_SYM.
50550         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
50551         "bp-asm.h".
50552         (PARMS): Do not use macros from bp-asm.h.
50553         (STR2): Likewise.
50554         (strcmp): Do not use BP_SYM.
50555         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
50556         "bp-asm.h".
50557         (PARMS): Do not use macros from bp-asm.h.
50558         (STR): Likewise.
50559         (DELIM): Likewise.
50560         [USE_AS_STRTOK_R] (SAVE): Likewise.
50561         (FUNCTION): Likewise.  Do not use BP_SYM.
50562         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
50563         aliases.
50564         (strtok_r): Likewise.
50565         (__GI___strtok_r): Likewise.
50566         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
50567         (PARMS): Do not use macros from bp-asm.h.
50568         (S): Likewise.
50569         (SIZE): Likewise.
50570         (__mpn_lshift): Do not use BP_SYM.
50571         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
50572         (PARMS): Do not use macros from bp-asm.h.
50573         (STR): Likewise.
50574         (CHR): Likewise.
50575         (__memchr): Do not use BP_SYM.
50576         (memchr): Do not use BP_SYM in weak_alias.
50577         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
50578         (PARMS): Do not use macros from bp-asm.h.
50579         (BLK2): Likewise.
50580         (LEN): Likewise.
50581         (memcmp): Do not use BP_SYM.
50582         (bcmp): Do not use BP_SYM in weak_alias.
50583         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
50584         (PARMS): Do not use macros from bp-asm.h.
50585         (S1): Likewise.
50586         (SIZE): Likewise.
50587         (__mpn_mul_1): Do not use BP_SYM.
50588         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
50589         "bp-asm.h".
50590         (PARMS): Do not use macros from bp-asm.h.
50591         (STR): Likewise.
50592         (CHR): Likewise.
50593         (__rawmemchr): Do not use BP_SYM.
50594         (rawmemchr): Do not use BP_SYM in weak_alias.
50595         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
50596         (PARMS): Do not use macros from bp-asm.h.
50597         (S): Likewise.
50598         (SIZE): Likewise.
50599         (__mpn_rshift): Do not use BP_SYM.
50600         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
50601         (PARMS): Do not use macros from bp-asm.h.
50602         (SIGMSK): Likewise.
50603         (__sigsetjmp): Likewise.  Do not use BP_SYM.
50604         * sysdeps/i386/start.S: Do not include "bp-sym.h".
50605         (_start): Do not use BP_SYM.
50606         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
50607         (PARMS): Do not use macros from bp-asm.h.
50608         (DEST): Likewise.
50609         (SRC): Likewise.
50610         (__stpcpy): Likewise.  Do not use BP_SYM.
50611         (stpcpy): Do not use BP_SYM in weak_alias.
50612         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
50613         "bp-asm.h".
50614         (PARMS): Do not use macros from bp-asm.h.
50615         (DEST): Likewise.
50616         (SRC): Likewise.
50617         (LEN): Likewise.
50618         (__stpncpy): Likewise.  Do not use BP_SYM.
50619         (stpncpy): Do not use BP_SYM in weak_alias.
50620         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
50621         (PARMS): Do not use macros from bp-asm.h.
50622         (STR): Likewise.
50623         (CHR): Likewise.
50624         (strchr): Likewise.  Do not use BP_SYM.
50625         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
50626         "bp-asm.h".
50627         (PARMS): Do not use macros from bp-asm.h.
50628         (STR): Likewise.
50629         (CHR): Likewise.
50630         (__strchrnul): Likewise.  Do not use BP_SYM.
50631         (strchrnul): Do not use BP_SYM in weak_alias.
50632         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
50633         "bp-asm.h".
50634         (PARMS): Do not use macros from bp-asm.h.
50635         (STOP): Likewise.
50636         (strcspn): Do not use BP_SYM.
50637         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
50638         "bp-asm.h".
50639         (PARMS): Do not use macros from bp-asm.h.
50640         (STR): Likewise.
50641         (STOP): Likewise.
50642         (strpbrk): Likewise.  Do not use BP_SYM.
50643         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
50644         "bp-asm.h".
50645         (PARMS): Do not use macros from bp-asm.h.
50646         (STR): Likewise.
50647         (CHR): Likewise.
50648         (strrchr): Likewise.  Do not use BP_SYM.
50649         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
50650         (PARMS): Do not use macros from bp-asm.h.
50651         (SKIP): Likewise.
50652         (strspn): Do not use BP_SYM.
50653         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
50654         (PARMS): Do not use macros from bp-asm.h.
50655         (STR): Likewise.
50656         (DELIM): Likewise.
50657         (SAVE): Likewise.
50658         (FUNCTION): Likewise.  Do not use BP_SYM.
50659         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
50660         aliases.
50661         (strtok_r): Likewise.
50662         (__GI___strtok_r): Likewise.
50663         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
50664         (PARMS): Do not use macros from bp-asm.h.
50665         (S1): Likewise.
50666         (S2): Likewise.
50667         (SIZE): Likewise.
50668         (__mpn_sub_n): Do not use BP_SYM.
50669         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
50670         "bp-asm.h".
50671         (PARMS): Do not use macros from bp-asm.h.
50672         (S1): Likewise.
50673         (SIZE): Likewise.
50674         (__mpn_submul_1): Do not use BP_SYM.
50675         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
50676         <bp-sym.h>.
50677         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
50678         and <bp-asm.h>.
50679         (PARMS): Do not use macros from bp-asm.h.
50680         (FLAGS): Likewise.
50681         (PTID): Likewise.
50682         (TLS): Likewise.
50683         (CTID): Likewise.
50684         (__clone): Do not use BP_SYM.
50685         (clone): Do not use BP_SYM in weak_alias.
50686         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
50687         and <bp-asm.h>.
50688         (PARMS): Do not use macros from bp-asm.h.
50689         (LEN): Likewise.
50690         (__mmap64): Do not use BP_SYM.
50691         (mmap64): Do not use BP_SYM in weak_alias.
50692         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
50693         <bp-sym.h> and <bp-asm.h>.
50694         (PARMS): Do not use macros from bp-asm.h.
50695         (__posix_fadvise64_l64): Do not use BP_SYM.
50696         * sysdeps/unix/sysv/linux/i386/semtimedop.S
50697         (PARMS): Do not use macros from bp-asm.h.
50698         (NSOPS): Likewise.
50699         (semtimedop): Do not use BP_SYM.
50700         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
50701         and <bp-asm.h>.
50703 2013-02-21  Allan McRae  <allan@archlinux.org>
50705         * manual/message.texi (Charset conversion in gettext):
50706         Move @end statement to beginning of line.
50708 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50710         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
50711         static.
50712         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
50713         Likewise.
50715         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
50716         (denorm): Likewise.
50717         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
50718         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
50720 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50722         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
50723         tail-call to the resolved function if pltexit isn't needed.
50725 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50727         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
50728         or Y being zero as being unlikely.
50729         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
50730         Likewise.
50732 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
50734         * manual/nss.texi (System Databases and Name Service Switch):
50735         Remove frobnicate @pxref.
50737 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
50739         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
50740         __attribute__ ((unused)) to __attribute__ ((__unused__)).
50742 2013-02-20  Petr Machata  <pmachata@redhat.com>
50744         * elf/elf.h (R_ARM_TARGET1): New macro.
50745         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
50746         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
50747         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
50748         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
50749         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
50750         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
50751         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
50752         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
50753         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
50754         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
50755         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
50756         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
50757         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
50758         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
50759         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
50760         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
50761         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
50762         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
50763         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
50764         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
50765         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
50766         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
50767         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
50768         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
50769         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
50770         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
50771         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
50772         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
50773         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
50774         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
50775         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
50776         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
50777         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
50778         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
50779         (R_ARM_THM_GOT_BREL12): Likewise.
50780         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
50781         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
50782         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
50783         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
50784         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
50785         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
50786         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
50787         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
50788         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
50790 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
50792         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
50793         __attribute_used__ to __attribute__ ((unused)).
50795 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
50797         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
50798         powerpc mpa.c.
50799         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
50800         comment formatting.
50801         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
50803 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
50805         [BZ #13550]
50806         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
50807         Remove macro.
50808         (ENTER): Remove both macro definitions.
50809         (LEAVE): Likewise.
50810         (CHECK_BOUNDS_LOW): Likewise.
50811         (CHECK_BOUNDS_HIGH): Likewise.
50812         (CHECK_BOUNDS_BOTH): Likewise.
50813         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
50814         (RETURN_BOUNDED_POINTER): Likewise.
50815         (RETURN_NULL_BOUNDED_POINTER): Likewise.
50816         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
50817         (POP_ERRNO_LOCATION_RETURN): Likewise.
50818         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
50819         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50820         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
50821         macros.
50822         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50823         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
50824         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
50825         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
50826         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
50827         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
50828         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
50829         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
50830         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
50831         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
50832         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
50833         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
50834         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50835         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
50836         removed macros.
50837         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50838         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
50839         macros.
50840         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50841         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
50842         * sysdeps/i386/i586/memset.S (memset): Likewise.
50843         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
50844         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50845         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
50846         macros.
50847         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50848         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
50849         Change uses of L(2) to L(out).
50850         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
50851         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
50852         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
50853         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50854         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
50855         removed macros.
50856         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50857         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
50858         macros.
50859         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50860         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
50861         (RETURN): Do not use macro LEAVE.
50862         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
50863         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
50864         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
50865         * sysdeps/i386/i686/memset.S (memset): Likewise.
50866         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
50867         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
50868         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
50869         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
50870         Likewise.
50871         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50872         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
50873         L(1_2) and L(1_3) into L(1).
50874         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
50875         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
50876         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50877         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
50878         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
50879         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
50880         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
50881         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50882         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
50883         macros.
50884         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
50885         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50886         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
50887         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
50888         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
50889         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50890         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
50891         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
50892         * sysdeps/i386/strcspn.S (strcspn): Likewise.
50893         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
50894         * sysdeps/i386/strrchr.S (strrchr): Likewise.
50895         * sysdeps/i386/strspn.S (strspn): Likewise.
50896         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
50897         conditional code.
50898         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50899         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
50900         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
50901         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
50902         L(1_3) into L(1_1).
50903         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
50904         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50905         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
50906         macros.
50907         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50909 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
50911         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
50912         macro.
50914 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50916         * math/atest-exp.c (exp_mpn): Remove ROUND.
50917         * math/atest-exp2.c (exp_mpn): Likewise.
50918         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
50920         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
50921         * stdlib/tst-tls-atexit-lib.c: Likewise.
50922         * stdlib/tst-tls-atexit.c: Likewise.
50924 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
50926         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
50927         and __attribute_alloc_size__.
50929 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
50931         * include/programs/xmalloc.h: Change __attribute_alloc_size to
50932         __attribute_alloc_size__.
50933         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
50934         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
50936 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
50938         * include/programs/xmalloc.h: New file.
50939         * catgets/gencat.c: Include it.
50940         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
50941         * elf/pldd.c: Likewise.
50942         * iconv/iconv_charmap.c: Likewise.
50943         * iconv/iconvconfig.c: Likewise.
50944         * iconv/strtab.c: Likewise.
50945         * locale/programs/locale.c: Likewise.
50946         * locale/programs/localedef.h: Likewise.
50947         * locale/programs/simple-hash.c: Likewise.
50948         * nscd/nscd.h: Likewise.
50949         * nss/makedb.c: Likewise.
50950         * sysdeps/generic/ldconfig.h: Likewise.
50952 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50954         * Versions.def: Add GLIBC_2.18.
50955         * include/link.h (struct link_map): New member l_tls_dtor_count.
50956         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
50957         (__call_tls_dtors): Likewise.
50958         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
50959         __cxa_thread_atexit_impl.
50960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50961         Likewise.
50962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50963         Likewise.
50964         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
50965         Likewise.
50966         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
50967         Likewise.
50968         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
50969         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
50970         Likewise.
50971         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
50972         Likewise.
50973         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
50974         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
50975         Likewise.
50976         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
50977         (tests): Add test case tst-tls-atexit.
50978         (modules-names): Add shared library for tst-tls-atexit.
50979         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
50980         (GLIBC_PRIVATE): Add __call_tls_dtors.
50981         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
50982         for libstdc++.
50983         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
50984         * stdlib/tst-tls-atexit.c: New test case.
50985         * stdlib/tst-tls-atexit-lib.c: New test case.
50987         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
50989         * elf/Versions (ld): Add _dl_find_dso_for_object.
50990         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
50991         * elf/dl-open.c (_dl_find_dso_for_object): New function.
50992         (dl_open_worker): Use _dl_find_dso_for_object.
50993         * elf/dl-sym.c (do_sym): Likewise.
50994         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
50996 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50998         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
50999         Syntactic changes only.
51000         (_dl_runtime_profile): Do a tail-call to the resolved function.
51002 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
51004         [BZ #13550]
51005         * sysdeps/x86_64/bp-asm.h: Remove file.
51006         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
51007         <bp-sym.h> and <bp-asm.h>.
51008         (__clone): Do not use BP_SYM.
51009         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
51010         <bp-sym.h> and <bp-asm.h>.
51011         * sysdeps/unix/x86_64/sysdep.S: Likewise.
51012         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
51013         "bp-asm.h".
51014         (_setjmp): Do not use BP_SYM.
51015         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
51016         "bp-asm.h".
51017         (setjmp): Do not use BP_SYM.
51018         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
51019         libc_hidden_def.
51020         (mempcpy): Do not use BP_SYM in weak_alias.
51021         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
51022         "bp-asm.h".
51023         (strchr): Do not use BP_SYM.
51024         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
51025         "bp-asm.h".
51026         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
51027         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
51028         (_start): Do not use BP_SYM.
51029         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
51030         "bp-asm.h".
51031         (strcat): Do not use BP_SYM.
51032         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
51033         "bp-asm.h".
51034         (STRCMP): Do not use BP_SYM.
51035         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
51036         "bp-asm.h".
51037         (STRCPY): Do not use BP_SYM.
51038         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
51039         "bp-asm.h".
51040         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
51041         "bp-asm.h".
51042         (FUNCTION): Do not use BP_SYM.
51043         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
51044         weak_alias.
51045         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
51047 2013-02-17  Andreas Jaeger  <aj@suse.de>
51049         * time/Versions: Sort entries.
51050         * string/Versions: Likewise.
51051         * resolv/Versions: Likewise.
51052         * posix/Versions: Likewise.
51053         * iconv/Versions: Likewise.
51054         * elf/Versions: Likewise.
51055         * wcsmbs/Versions: Likewise.
51057 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51059         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
51060         loop termination condition.
51062         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
51063         variable to calculate EZ.
51064         (__sqr): Likewise.
51066         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
51067         the lower precision input.
51069 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
51071         [BZ #13550]
51072         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
51073         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
51074         (run-via-rtld-prefix): Do not handle %-bp tests.
51075         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
51076         (all-object-suffixes): Remove .ob.
51077         (bppfx): Remove variable.
51078         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
51079         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
51080         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
51081         [$(build-bounded) = yes] (libtype.ob): Likewise.
51082         * Makerules (elide-routines.ob): Remove variable.
51083         (do-tests-clean): Do not handle *-bp.out.
51084         (common-mostlyclean): Do not handle *-bp and *-bp.out.
51085         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
51086         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
51087         (tests): Do not include $(tests-bp.out).
51088         (xtests): Do not include $(xtests-bp.out).
51089         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
51090         [$(build-bounded) = yes] ($(addprefix
51091         $(objpfx),$(binaries-bounded))): Remove rule.
51092         ($(objpfx)%-bp.out): Remove rule.
51093         * config.make.in (build-bounded): Remove variable.
51094         * crypt/Makefile [$(build-bounded) = yes]
51095         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
51096         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
51097         append to variable.
51098         [$(build-bounded) = yes] (install-lib): Likewise.
51099         [$(build-bounded) = yes] (generated): Likewise.
51100         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
51101         Remove rule.
51102         * intl/Makefile [$(build-bounded) = yes]
51103         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
51104         * math/Makefile [$(build-bounded) = yes]
51105         ($(tests:%=$(objpfx)%-bp): Likewise.
51106         * misc/Makefile [$(build-bounded) = yes]
51107         ($(objpfx)tst-tsearch-bp): Likewise.
51108         * nptl/Makeconfig (bounded-thread-library): Remove variable.
51109         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
51110         Remove dependency.
51111         * string/Makefile (o-objects.ob): Remove variable.
51112         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
51113         (CFLAGS-.ob): Remove variable.
51114         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
51115         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
51116         both definitions of variable.
51117         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
51118         (ASFLAGS-.ob): Remove variable.
51120 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
51122         [BZ #13550]
51123         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
51124         Remove __BOUNDED_POINTERS__ from condition.
51125         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
51126         * string/bits/string2.h [!__NO_STRING_INLINES &&
51127         !__BOUNDED_POINTERS__]: Likewise.
51128         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
51129         Likewise.
51130         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
51131         Remove conditional code.
51132         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
51133         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
51134         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
51135         condition.
51137         [BZ #13550]
51138         * csu/libc-start.c: Do not include <bp-sym.h>.
51139         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
51140         * elf/dl-open.c: Do not include <bp-sym.h>.
51141         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
51142         * math/fegetenv.c: Do not include <bp-sym.h>.
51143         (fegetenv): Do not use BP_SYM in versioned symbols.
51144         * nptl/sysdeps/pthread/bits/libc-lockP.h
51145         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
51146         <bp-sym.h>.
51147         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51148         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
51149         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51150         (__pthread_mutex_destroy): Likewise.
51151         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51152         (__pthread_mutex_lock): Likewise.
51153         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51154         (__pthread_mutex_trylock): Likewise.
51155         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51156         (__pthread_mutex_unlock): Likewise.
51157         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51158         (__pthread_mutexattr_init): Likewise.
51159         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51160         (__pthread_mutexattr_destroy): Likewise.
51161         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51162         (__pthread_mutexattr_settype): Likewise.
51163         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51164         (__pthread_rwlock_init): Likewise.
51165         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51166         (__pthread_rwlock_destroy): Likewise.
51167         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51168         (__pthread_rwlock_rdlock): Likewise.
51169         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51170         (__pthread_rwlock_tryrdlock): Likewise.
51171         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51172         (__pthread_rwlock_wrlock): Likewise.
51173         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51174         (__pthread_rwlock_trywrlock): Likewise.
51175         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51176         (__pthread_rwlock_unlock): Likewise.
51177         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51178         (__pthread_key_create): Likewise.
51179         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51180         (__pthread_setspecific): Likewise.
51181         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51182         (__pthread_getspecific): Likewise.
51183         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
51184         Likewise.
51185         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51186         (_pthread_cleanup_push_defer): Likewise.
51187         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51188         (_pthread_cleanup_pop_restore): Likewise.
51189         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
51190         (pthread_setcancelstate): Likewise.
51191         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
51192         <bp-sym.h>.
51193         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
51194         (memchr): Do not use BP_SYM in weak_alias.
51195         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
51196         (fegetenv): Do not use BP_SYM in versioned symbols.
51197         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
51198         (fesetenv): Do not use BP_SYM in versioned symbols.
51199         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
51200         (feupdateenv): Do not use BP_SYM in versioned symbols.
51201         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
51202         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
51203         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
51204         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
51205         (open64): Do not use BP_SYM in weak_alias.
51206         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
51207         (fegetenv): Do not use BP_SYM in versioned symbols.
51208         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
51209         (fesetenv): Do not use BP_SYM in versioned symbols.
51210         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
51211         (feupdateenv): Do not use BP_SYM in versioned symbols.
51212         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
51213         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
51214         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
51215         (feraiseexcept): Do not use BP_SYM in versioned symbols.
51216         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
51217         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
51218         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
51219         <bp-sym.h>.
51220         (__libc_start_main): Do not use BP_SYM.
51222 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
51224         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
51225         redundant return line.
51226         (norm): Likewise.
51227         (denorm): Likewise.
51228         (dbl_mp): Likewise.
51229         (sub_magnitudes): Likewise.
51230         (__add): Likewise.
51231         (__sub): Likewise.
51232         (__mul): Likewise.
51233         (__inv): Likewise.
51234         (__dvd): Likewise.
51235         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
51236         (norm): Likewise.
51237         (denorm): Likewise.
51238         (dbl_mp): Likewise.
51239         (sub_magnitudes): Likewise.
51240         (__add): Likewise.
51241         (__sub): Likewise.
51242         (__mul): Likewise.
51243         (__inv): Likewise.
51244         (__dvd): Likewise.
51246         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
51247         instead of __mul.
51248         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51249         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
51250         (cc32): Likewise.
51252         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
51253         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
51254         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
51255         of __mul for squares.
51256         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
51257         function
51258         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
51259         Likewise.
51260         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
51261         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51263 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
51265         [BZ #13550]
51266         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
51267         code.
51268         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
51269         prototype or function definition.  Rename ubp_* variables and
51270         parameters.  Remove argv definitions conditional on
51271         [__BOUNDED_POINTERS__].
51272         * debug/backtrace.c (__backtrace): Do not use __unbounded.
51273         * elf/dl-runtime.c (_dl_fixup): Likewise.
51274         * include/set-hooks.h (RUN_HOOK): Likewise.
51275         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
51276         definition.
51277         * string/strcpy.c (strcpy): Do not use __unbounded.
51278         * sysdeps/generic/frame.h (struct layout): Likewise.
51279         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
51280         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
51281         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
51282         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
51283         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
51284         (__backtrace): Likewise.
51285         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
51286         use __ptrvalue.
51287         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
51288         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
51289         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
51290         Likewise.
51291         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
51292         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
51293         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
51294         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
51295         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
51296         Do not use __unbounded.
51297         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
51298         Rename __unboundedrlimits parameter to rlimits in prototype.
51299         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
51300         Do not use __unbounded.
51301         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
51302         not use __ptrvalue.
51303         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
51304         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
51305         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
51306         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
51307         __ptrvalue or __unbounded.
51308         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
51309         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
51310         use __unbounded.
51311         (__new_msgctl): Do not use __ptrvalue.
51312         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
51313         __unbounded.
51314         (__libc_msgrcv): Do not use __ptrvalue.
51315         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
51316         startup_info): Do not use __unbounded.
51317         (__libc_start_main): Likewise.  Rename ubp_* variables and
51318         parameters.  Remove argv definitions conditional on
51319         [__BOUNDED_POINTERS__].
51320         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
51321         __ptrvalue.
51322         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
51323         use __unbounded.
51324         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
51325         or __ptrvalue.
51326         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
51327         use __unbounded.
51328         (__new_shmctl): Do not use __ptrvalue.
51329         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
51330         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
51331         Likewise.
51332         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
51333         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
51334         (__libc_sigaction): Likewise.
51335         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
51336         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
51337         Likewise.
51338         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
51340 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
51342         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
51344         * string/mempcpy.c: Implement by calling memcpy.
51346 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51348         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
51350         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
51351         evaluation.
51353         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
51354         values in the mantissa.
51356         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
51357         minimize writes to Z.
51358         (sub_magnitudes): Simplify code a bit.
51360 2013-02-12  Roland McGrath  <roland@hack.frob.com>
51362         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
51363         from the message.  The linker prefixes all warnings with that already.
51365 2013-02-12  Andreas Schwab  <schwab@suse.de>
51367         [BZ #15078]
51368         * posix/regexec.c (extend_buffers): Add parameter min_len.
51369         (check_matching): Pass minimum needed length.
51370         (clean_state_log_if_needed): Likewise.
51371         (get_subexp): Likewise.
51372         * posix/Makefile (tests): Add bug-regex34.
51373         (bug-regex34-ENV): Define.
51374         * posix/bug-regex34.c: New file.
51376         [BZ #11561]
51377         * posix/regcomp.c (parse_bracket_exp): When looking up collating
51378         elements compare against the byte sequence of it, not its name.
51379         * posix/Makefile (tests): Add bug-regex35.
51380         (bug-regex35-ENV): Define.
51381         * posix/bug-regex35.c: New file.
51383 2013-02-11  Tom de Vries  <tom@codesourcery.com>
51385         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
51386         comment.
51387         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
51388         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
51389         (CHECK_EOL): Add undef.
51391 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
51393         * bits/stdlib-bsearch.h: New file.
51394         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
51395         * stdlib/stdlib.h: Likewise.
51397 2013-02-11  Roland McGrath  <roland@hack.frob.com>
51399         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
51400         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
51401         declaration.
51402         * manual/search.texi (Array Search Function): Add missing const in
51403         lfind prototype.
51404         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
51405         declaration to use rlim_t.
51406         (Basic Scheduling Functions): Remove erroneous const from
51407         sched_getparam prototype.  Remove erroneous * from
51408         sched_get_priority_max and sched_get_priority_min prototypes.
51409         (Resource Usage): Fix summary @comment on vtimes to refer to
51410         sys/vtimes.h rather than vtimes.h.
51411         Add missing *s in vtimes prototype.
51412         (Limits on Resources): Fix ulimit prototype to return long int.
51413         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
51414         prototypes to use long int rather than double.
51415         (BSD Random): Fix initstate and setstate to use char *, not void *.
51416         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
51417         prototype to make second argument 'struct aiocb64 *const[]'.
51418         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
51419         (Status of AIO Operations): Remove erroneous const in aio_return and
51420         aio_return64 prototypes.
51421         (Synchronizing I/O): Fix sync prototype to return void.
51422         * manual/startup.texi (Suboptions): Remove an erroneous const in
51423         getsubopt prototype.
51424         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
51425         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
51426         use size_t rather than int.
51427         (Scanning All Users): Likewise for getpwent_r.
51428         (Setting Groups): Add missing const to setgroups prototype.
51429         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
51430         * manual/socket.texi (Host Names): Fix gethostbyaddr and
51431         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
51432         'const void *' rather than 'const char *'.
51433         (Host Address Functions): Likewise for inet_ntop.
51434         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
51435         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
51436         ssize_t for return value.
51437         (Sending Data): Likewise for send, sendto, sendmsg.
51438         (Socket Option Functions): Add a missing const in setsockopt prototype.
51439         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
51440         use wchar_t for the argument.
51441         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
51442         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
51443         take no arguments.
51444         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
51445         double/float/long double for second argument.
51446         Fix return types of significand, significandf, significandl.
51447         * manual/filesys.texi (Setting Permissions): Use mode_t for second
51448         argument in fchmod prototype.
51449         (File Owner): Use uid_t and gid_t in fchown prototype.
51450         (File Times): Add const to utimes, futimes, and lutimes prototypes.
51451         (Making Special Files): Use mode_t and dev_t in mknod prototype.
51452         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
51453         use 'const struct dirent **' as argument types to CMP function pointer
51454         argument.
51455         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
51456         (File Times): Fix summary magic @comment for struct utimbuf and utime
51457         to refer to utime.h, not time.h.
51458         * manual/string.texi (Argz Functions): Add missing const in
51459         argz_extract and argz_next prototypes.
51460         (Finding Tokens in a String): Likewise for basename.
51461         (String/Array Comparison): Fix typo in wcscasecmp prototype.
51462         (Copying and Concatenation): Fix typo in wmemmove prototype.
51463         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
51464         (Signal Stack): Remove erroneous const in sigstack prototype.
51465         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
51466         prototype.
51467         (Simple Calendar Time): Likewise for stime.
51468         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
51469         prototype.
51470         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
51471         say sys/sysctl.h instead.
51472         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
51473         and vsyslog prototypes.
51475 2013-02-11  Tom de Vries  <tom@codesourcery.com>
51477         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
51478         Remove.
51480 2013-02-11  Roland McGrath  <roland@hack.frob.com>
51482         * misc/sys/mman.h: Fix typo in mremap comment.
51484 2013-02-08  Roland McGrath  <roland@hack.frob.com>
51486         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
51487         the '\0' terminator.
51489 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
51491         [BZ #13550]
51492         * debug/segfault.c: Don't include <bp-checks.h>.
51493         * sysdeps/generic/bp-checks.h: Remove file.
51494         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
51495         (__GETDENTS): Don't use CHECK_N.
51496         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
51497         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
51498         (__getgroups): Don't use CHECK_N.
51499         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
51500         (setgroups): Don't use CHECK_N.
51501         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
51502         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
51503         (__libc_msgrcv): Don't use CHECK_N.
51504         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
51505         (__libc_msgsnd): Don't use CHECK_N.
51506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
51507         <bp-checks.h>.
51508         (__libc_pread): Don't use CHECK_N.
51509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
51510         include <bp-checks.h>.
51511         (__libc_pread64): Don't use CHECK_N.
51512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
51513         include <bp-checks.h>.
51514         (__libc_pwrite): Don't use CHECK_N.
51515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
51516         include <bp-checks.h>.
51517         (__libc_pwrite64): Don't use CHECK_N.
51518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
51519         <bp-checks.h>.
51520         (__libc_pread): Don't use CHECK_N.
51521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
51522         include <bp-checks.h>.
51523         (__libc_pread64): Don't use CHECK_N.
51524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
51525         include <bp-checks.h>.
51526         (__libc_pwrite): Don't use CHECK_N.
51527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
51528         include <bp-checks.h>.
51529         (__libc_pwrite64): Don't use CHECK_N.
51530         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
51531         (do_pread): Don't use CHECK_N.
51532         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
51533         (do_pread64): Don't use CHECK_N.
51534         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
51535         (do_pwrite): Don't use CHECK_N.
51536         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
51537         (do_pwrite64): Don't use CHECK_N.
51538         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
51539         (__libc_readv): Don't use CHECK_N.
51540         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
51541         (semop): Don't use CHECK_N.
51542         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
51543         <bp-checks.h>.
51544         (semtimedop): Don't use CHECK_N.
51545         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
51546         (__libc_pread): Don't use CHECK_N.
51547         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
51548         <bp-checks.h>.
51549         (__libc_pread64): Don't use CHECK_N.
51550         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
51551         <bp-checks.h>.
51552         (__libc_pwrite): Don't use CHECK_N.
51553         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
51554         <bp-checks.h>.
51555         (__libc_pwrite64): Don't use CHECK_N.
51556         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
51557         <bp-checks.h>.
51558         (__libc_msgrcv): Don't use CHECK_N.
51559         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
51560         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
51561         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
51562         (__libc_writev): Don't use CHECK_N.
51564 2013-02-08  Roland McGrath  <roland@hack.frob.com>
51566         * string/strcpy.c: Removed unused variable.
51568         * Makeconfig (+sysdep-includes): Define with := rather than =.
51569         Use an existing include/ subdir of each sysdeps dir before it.
51571 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
51573         * nscd/connection.c (register_traced_file): Comment function.
51574         [HAVE_INOTIFY] (union __inev): Define.
51575         [HAVE_INOTIFY] (inotify_check_files): New function.
51576         [HAVE_INOTIFY] (clear_db_cache): Likewise.
51577         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
51578         clear_db_cache.
51579         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
51581 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
51583         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
51584         loaded if not already and that a failure is permanent.
51586 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
51588         [BZ #15006]
51589         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
51590         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
51592 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
51594         [BZ #13550]
51595         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
51596         (CHECK_1_NULL_OK): Likewise.
51597         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
51598         (__fxstat): Do not use CHECK_1.
51599         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
51600         <bp-checks.h>.
51601         (___fxstat64): Do not use CHECK_1.
51602         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
51603         <bp-checks.h>.
51604         (__fxstatat): Do not use CHECK_1.
51605         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
51606         <bp-checks.h>.
51607         (__fxstatat64): Do not use CHECK_1.
51608         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
51609         <bp-checks.h>.
51610         (__fxstat): Do not use CHECK_1.
51611         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
51612         <bp-checks.h>.
51613         (__fxstatat): Do not use CHECK_1.
51614         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
51615         <bp-checks.h>.
51616         (__getresgid): Do not use CHECK_1.
51617         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
51618         <bp-checks.h>.
51619         (__getresuid): Do not use CHECK_1.
51620         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
51621         <bp-checks.h>.
51622         (__lxstat): Do not use CHECK_1.
51623         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
51624         <bp-checks.h>.
51625         (__old_msgctl): Do not use CHECK_1.
51626         (__new_msgctl): Likewise.
51627         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
51628         <bp-checks.h>.
51629         (__new_setrlimit): Do not use CHECK_1.
51630         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
51631         <bp-checks.h>.
51632         (__old_shmctl): Do not use CHECK_1.
51633         (__new_shmctl): Likewise.
51634         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
51635         <bp-checks.h>.
51636         (__xstat): Do not use CHECK_1.
51637         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
51638         (__lxstat): Do not use CHECK_1.
51639         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
51640         <bp-checks.h>.
51641         (___lxstat64): Do not use CHECK_1.
51642         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
51643         (__old_msgctl): Do not use CHECK_1.
51644         (__new_msgctl): Likewise.
51645         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
51646         <bp-checks.h>.
51647         (__gettimeofday): Do not use CHECK_1.
51648         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
51649         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
51650         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
51651         <bp-checks.h>.
51652         (__gettimeofday): Do not use CHECK_1.
51653         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
51654         (__old_shmctl): Do not use CHECK_1_NULL_OK.
51655         (__new_shmctl): Do not use CHECK_1.
51656         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
51657         <bp-checks.h>.
51658         (do_sigtimedwait): Do not use CHECK_1.
51659         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
51660         <bp-checks.h>.
51661         (do_sigwaitinfo): Do not use CHECK_1.
51662         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
51663         <bp-checks.h>.
51664         (msgctl): Do not use CHECK_1.
51665         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
51666         <bp-checks.h>.
51667         (shmctl): Do not use CHECK_1.
51668         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
51669         (ustat): Do not use CHECK_1.
51670         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
51671         <bp-checks.h>.
51672         (__fxstat): Do not use CHECK_1.
51673         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
51674         <bp-checks.h>.
51675         (__fxstatat): Do not use CHECK_1.
51676         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
51677         <bp-checks.h>.
51678         (__lxstat): Do not use CHECK_1.
51679         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
51680         <bp-checks.h>.
51681         (__xstat): Do not use CHECK_1.
51682         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
51683         (__xstat): Do not use CHECK_1.
51684         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
51685         (___xstat64): Do not use CHECK_1.
51687         [BZ #13550]
51688         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
51689         definitions.
51690         (CHECK_BOUNDS_HIGH): Likewise.
51691         * string/strcpy.c: Do not include <bp-checks.h>.
51692         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
51694 2013-02-07  Roland McGrath  <roland@hack.frob.com>
51696         * nscd/nscd-client.h (__nscd_drop_map_ref):
51697         Add __attribute__ ((unused)).
51698         * nis/nss-nisplus.h (niserr2nss): Likewise.
51700         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
51701         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
51703         * csu/libc-tls.c (init_static_tls, init_slotinfo):
51704         Remove inline keyword.
51705         * include/rounding-mode.h (round_away): Likewise.
51706         * libio/wfileops.c (adjust_wide_data): Likewise.
51707         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
51708         (__m128i_strloadu_tolower): Likewise.
51709         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
51710         (__m128i_strloadu_tolower): Likewise.
51711         * time/mktime.c (ydhms_diff): Likewise.
51712         * locale/elem-hash.h (elem_hash): Likewise.
51713         * locale/setlocale.c (setdata): Likewise.
51714         * posix/regex_internal.h (re_string_char_size_at): Likewise.
51715         (re_string_wchar_at): Likewise.
51716         (bitset_not, bitset_merge, bitset_mask): Likewise.
51717         [!(__GNUC__ > 3)] (inline): Remove macro.
51718         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
51719         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
51720         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
51721         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
51722         * string/memcmp.c (memcmp_bytes): Likewise.
51723         * locale/programs/locarchive.c (compute_hashval): Likewise.
51724         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
51725         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
51726         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
51727         * nss/getent.c (print_rpc, print_protocols): Likewise.
51728         (print_passwd, print_group, print_aliases): Likewise.
51729         * nis/nss-nisplus.h (niserr2nss): Likewise.
51730         * nscd/connections.c (restart_p): Likewise.
51731         Change return type to bool.
51733 2013-02-05  Roland McGrath  <roland@hack.frob.com>
51735         * Makeconfig (all-Depend-files): Add existing
51736         $(sorted-subdirs:=/Depend) files.
51737         (all-subdirs): Remove nss.
51738         * sysdeps/unix/inet/Subdirs: Add it here instead.
51739         * hesiod/Depend: New file.
51741         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
51742         instead of calling alloca.
51744         * io/lseek.c (__lseek): Rename to __libc_lseek.
51745         Define __lseek as an alias.
51747         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
51749 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
51751         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
51752         else clause and remove check for non-standard endianness.
51754 2013-02-04  David S. Miller  <davem@davemloft.net>
51756         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51758 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
51760         [BZ #13550]
51761         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
51762         (__ubp_memchr): Remove prototype.
51763         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
51764         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
51765         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
51766         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
51767         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
51768         Remove alias.
51769         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
51770         (__ubp_memchr): Likewise.
51771         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
51772         (__ubp_memchr): Likewise.
51773         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
51774         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
51775         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
51776         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
51777         CHECK_STRING.
51778         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
51779         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
51780         (__getcwd): Do not use CHECK_STRING.
51781         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
51782         <bp-checks.h>.
51783         (__real_chown): Do not use CHECK_STRING.
51784         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
51785         <bp-checks.h>.
51786         (fchownat): Do not use CHECK_STRING.
51787         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
51788         CHECK_STRING.
51789         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
51790         <bp-checks.h>.
51791         (__lchown): Do not use CHECK_STRING.
51792         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
51793         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
51794         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
51795         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
51796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
51797         include <bp-checks.h>.
51798         (truncate64): Do not use CHECK_STRING.
51799         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
51800         <bp-checks.h>.
51801         (__real_chown): Do not use CHECK_STRING.
51802         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
51803         <bp-checks.h>.
51804         (__lchown): Do not use CHECK_STRING.
51805         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
51806         <bp-checks.h>.
51807         (__chown): Do not use CHECK_STRING.
51808         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
51809         <bp-checks.h>.
51810         (truncate64): Do not use CHECK_STRING.
51811         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
51812         Likewise.
51813         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
51814         (__xmknod): Do not use CHECK_STRING.
51815         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
51816         <bp-checks.h>.
51817         (__xmknodat): Do not use CHECK_STRING.
51818         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
51819         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
51821 2013-02-04  Andreas Schwab  <schwab@suse.de>
51823         [BZ #14142]
51824         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
51825         * include/netdb.h: Likewise for h_errno.
51826         * elf/tst-stackguard1.c: Include <tls.h>.
51828 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
51830         * elf/link.h (struct link_map): Extend the l_addr comment.
51831         * include/link.h (struct link_map): Likewise.
51833 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
51835         [BZ #13550]
51836         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
51837         (BOUNDED_1): Remove macro.
51838         * debug/backtrace.c: Don't include <bp-checks.h>.
51839         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
51840         (__backtrace): Likewise.
51841         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
51842         <bp-checks.h>.
51843         (__backtrace): Don't use BOUNDED_1.
51844         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
51845         <bp-checks.h>.
51846         (__backtrace): Don't use BOUNDED_1.
51847         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
51848         (__backtrace): Don't use BOUNDED_1.
51849         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
51850         (shmat): Don't use BOUNDED_N.
51852 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
51854         [BZ #13550]
51855         * sysdeps/generic/bp-start.h: Remove file.
51856         * csu/libc-start.c: Don't include <bp-start.h>.
51857         (LIBC_START_MAIN): Set up __environ directly instead of using
51858         INIT_ARGV_and_ENVIRON.
51859         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
51860         <bp-start.h>.
51862         [BZ #13550]
51863         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
51864         definitions.
51865         (CHECK_FCNTL): Likewise.
51866         (CHECK_N_PAGES): Likewise.
51868         [BZ #13550]
51869         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
51870         definitions.
51871         (CHECK_SIGSET_NULL_OK): Likewise.
51872         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
51873         <bp-checks.h>.
51874         (sigpending): Don't use CHECK_SIGSET.
51875         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
51876         <bp-checks.h>.
51877         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
51878         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
51879         <bp-checks.h>.
51880         (do_sigsuspend): Don't use CHECK_SIGSET.
51881         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
51882         use CHECK_SIGSET.
51883         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
51884         (do_sigwait): Don't use CHECK_SIGSET.
51885         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
51886         use CHECK_SIGSET.
51887         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
51888         include <bp-checks.h>.
51889         (sigpending): Don't use CHECK_SIGSET.
51890         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
51891         include <bp-checks.h>.
51892         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
51893         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
51894         <bp-checks.h>.
51895         (sigpending): Don't use CHECK_SIGSET.
51896         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
51897         <bp-checks.h>.
51898         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
51900         [BZ #13550]
51901         * sysdeps/generic/bp-semctl.h: Remove file.
51902         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
51903         <bp-checks.h> and <bp-semctl.h>.
51904         (__old_semctl): Don't use CHECK_SEMCTL.
51905         (__new_semctl): Likewise.
51906         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
51907         and <bp-semctl.h>.
51908         (__old_semctl): Don't use CHECK_SEMCTL.
51909         (__new_semctl): Likewise.
51910         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
51911         <bp-checks.h> and <bp-semctl.h>.
51912         (__old_semctl): Don't use CHECK_SEMCTL.
51913         (__new_semctl): Likewise.
51914         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
51915         <bp-checks.h> and <bp-semctl.h>.
51916         (semctl): Don't use CHECK_SEMCTL.
51918         [BZ #13550]
51919         * Makerules (elide-bp-thunks): Remove variable.
51920         (elide-routines.oS): Don't use $(elide-bp-thunks).
51921         (elide-routines.os): Likewise.
51922         (elide-routines.o): Likewise.
51923         (elide-routines.op): Likewise.
51924         (elide-routines.og): Likewise.
51925         (objects): Don't use $(bp-thunks).
51926         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
51927         include.
51928         (common-generated): Do not add s-proto-bp.d.
51929         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
51930         (int): Likewise.
51931         (typ): Likewise.
51932         Do not generate makefile rules for bounded-pointer thunks.
51933         * sysdeps/generic/bp-thunks.h: Remove file.
51934         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
51935         * sysdeps/unix/s-proto-bp.S: Likewise.
51937         [BZ #15062]
51938         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
51939         parts of result separately when argument is not close to line from
51940         -i to i and one part of argument is small.
51941         * math/k_casinhf.c (__kernel_casinhf): Likewise.
51942         * math/k_casinhl.c (__kernel_casinhl): Likewise.
51943         * math/libm-test.inc (cacos_test): Add more tests.
51944         (casin_test): Likewise.
51945         (casinh_test): Likewise.
51946         * sysdeps/i386/fpu/libm-test-ulps: Update.
51947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51949 2013-01-31  David S. Miller  <davem@davemloft.net>
51951         * po/de.po: Update from translation team.
51953 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
51955         * time/tzfile.c: Include stdint.h for SIZE_MAX.
51957 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
51959         * configure.in (_AC_PROG_CC_C89): New definition.
51960         * configure: Regenerate.
51962         * configure.in (AC_PROG_CPP): New definition.
51963         * configure: Regenerate.
51965 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
51967         * debug/tst-backtrace.h: New file.
51968         * debug/tst-backtrace2.c: Include tst-backtrace.h.
51969         (ret): Remove variable.
51970         (x): Likewise.
51971         (FAIL): Remove macro.
51972         (NO_INLINE): Likewise.
51973         (fn1): Use match function instead of strstr.
51974         * debug/tst-backtrace3.c: Include tst-backtrace.h.
51975         (ret): Remove variable.
51976         (x): Likewise.
51977         (FAIL): Remove macro.
51978         (NO_INLINE): Likewise.
51979         (fn): Use match function instead of strstr.
51980         * debug/tst-backtrace4.c: Include tst-backtrace.h.
51981         (ret): Remove variable.
51982         (x): Likewise.
51983         (FAIL): Remove macro.
51984         (NO_INLINE): Likewise.
51985         (handle_signal): Use match function instead of strstr.
51986         * debug/tst-backtrace5.c: Include tst-backtrace.h.
51987         (ret): Remove variable.
51988         (x): Likewise.
51989         (FAIL): Remove macro.
51990         (NO_INLINE): Likewise.
51991         (handle_signal): Use match function instead of strstr.
51993 2013-01-23  Roland McGrath  <roland@hack.frob.com>
51995         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
51997 2013-01-23  David S. Miller  <davem@davemloft.net>
51999         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
52000         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
52001         argument of CAS if possible.
52002         * sysdeps/sparc/sparc64/bits/atomic.h
52003         (__arch_compare_and_exchange_val_32_acq): Likewise.
52004         (__arch_compare_and_exchange_val_64_acq): Likewise.
52006 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
52008         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
52009         * sysdeps/posix/ulimit.c: ... this.
52010         Include <limits.h>.
52011         * sysdeps/unix/bsd/ulimit.c: Remove file.
52013 2013-01-23  Adam Conrad  <adconrad@0c3.net>
52015         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
52016         (LDFLAGS-tst-array5): Likewise.
52018 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
52020         [BZ #15036]
52021         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
52022         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
52023         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
52024         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
52026 2013-01-21  David S. Miller  <davem@davemloft.net>
52028         * sysdeps/sparc/backtrace.c: New file.
52029         * sysdeps/sparc/sparc32/backtrace.h: New file.
52030         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
52031         * sysdeps/sparc/sparc64/backtrace.h: New file.
52032         * sysdeps/sparc/sparc64/backtrace.c: Delete.
52033         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
52034         -funwind-tables.
52036 2013-01-21  Andreas Schwab  <schwab@suse.de>
52038         [BZ #15020]
52039         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
52040         closed its stdout.
52042 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
52044         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
52045         "mpa2.h".
52046         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52048 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
52049             Mark Mitchell  <mark@codesourcery.com>
52050             Tom de Vries  <tom@codesourcery.com>
52051             Paul Pluzhnikov  <ppluzhnikov@google.com>
52053         * debug/tst-backtrace2.c: New file.
52054         * debug/tst-backtrace3.c: Likewise.
52055         * debug/tst-backtrace4.c: Likewise.
52056         * debug/tst-backtrace5.c: Likewise.
52057         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
52058         (CFLAGS-tst-backtrace3.c): Likewise.
52059         (CFLAGS-tst-backtrace4.c): Likewise.
52060         (CFLAGS-tst-backtrace5.c): Likewise.
52061         (LDFLAGS-tst-backtrace2): Likewise.
52062         (LDFLAGS-tst-backtrace3): Likewise.
52063         (LDFLAGS-tst-backtrace4): Likewise.
52064         (LDFLAGS-tst-backtrace5): Likewise.
52065         (tests): Add new tests tst-backtrace2, tst-backtrace3,
52066         tst-backtrace4 and tst-backtrace5.
52068 2013-01-18  Anton Blanchard  <anton@samba.org>
52069             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52071         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
52072         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
52073         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
52074         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
52075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
52076         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
52077         "+r" and remove output regs list as redundant.  Add explicit inline
52078         asm to specify register of return val to work around compiler codegen
52079         bug.  Remove (int) cast on return value.  Add return type parameter to
52080         use in macro so that this macro does not truncate return value for
52081         64-bit values.
52082         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
52083         pass to INTERNAL_VSYSCALL_NCS.
52084         (INLINE_VSYSCALL): Add 'long int' as return type to
52085         INTERNAL_VSYSCALL_NCS macro invocation.
52086         (INTERNAL_VSYSCALL): Add 'long int' as return type to
52087         INTERNAL_VSYSCALL_NCS macro invocation.
52088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52090 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
52092         [BZ #14496]
52093         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
52094         Fix application of SIMD FP exception mask.
52096         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
52097         mp_no from a power of two.
52098         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
52099         __mpexp_twomm1.  Use __pow_mp.
52101         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
52102         multiplication.
52104 2013-01-17  David S. Miller  <davem@davemloft.net>
52106         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52108 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
52110         [BZ #15023]
52111         * include/complex.h: Condition contents on [!_COMPLEX_H].
52112         (__kernel_casinhf): New prototype.
52113         (__kernel_casinh): Likewise.
52114         (__kernel_casinhl): Likewise.
52115         * math/Makefile (libm_calls): Add k_casinh.
52116         * math/k_casinh.c: New file.
52117         * math/k_casinhf.c: Likewise.
52118         * math/k_casinhl.c: Likewise.
52119         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
52120         finite nonzero arguments.
52121         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
52122         finite nonzero arguments.
52123         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
52124         finite nonzero arguments.
52125         * math/s_casinh.c: Do not include <float.h>.
52126         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
52127         * math/s_casinhf.c: Do not include <float.h>.
52128         (__casinhf): Move code for finite nonzero arguments to
52129         k_casinhf.c.
52130         * math/s_casinhl.c: Do not include <float.h>.
52131         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
52132         redefine.
52133         (__casinhl): Move code for finite nonzero arguments to
52134         k_casinhl.c.
52135         * math/libm-test.inc (cacos_test): Add more tests.
52136         * sysdeps/i386/fpu/libm-test-ulps: Update.
52137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52139 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
52141         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
52142         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
52143         [!HAVE_MREMAP]: Remove [defined linux] case.
52144         * malloc/arena.c: Do not include <malloc-sysdep.h>.
52146 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52148         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
52150 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
52152         * elf/elf.h (R_386_SIZE32): New relocation.
52153         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
52154         R_386_SIZE32.
52155         (elf_machine_rela): Likewise.
52156         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
52157         R_X86_64_SIZE64 and R_X86_64_SIZE32.
52159 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
52161         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
52162         (FP_FAST_FMA): Do not define.
52163         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
52164         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
52165         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
52166         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
52167         !_SOFT_FLOAT]: Likewise.
52168         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
52169         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
52170         value.
52171         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
52172         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
52173         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
52174         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
52175         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
52176         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
52177         file.
52179 2013-01-16  Andreas Schwab  <schwab@suse.de>
52181         [BZ #14327]
52182         * include/stdlib.h (__mktemp): Add declaration.
52183         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
52184         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
52186 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52188         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
52189         definitions.
52190         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
52191         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
52192         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
52193         definitions here.
52194         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
52195         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
52196         definitions.
52197         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
52198         and ONE.
52199         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
52200         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
52201         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
52202         definitions.
52203         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
52204         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
52205         definitions.
52206         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
52208         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
52210 2013-01-15  David S. Miller  <davem@davemloft.net>
52212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
52213         trunc{,f} to libm-sysdep_routes.
52214         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
52215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
52216         file.
52217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
52218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
52219         file.
52220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
52221         file.
52222         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
52223         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
52224         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
52225         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
52226         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
52227         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
52228         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
52229         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
52231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
52232         nearbyint{,f} to libm-sysdep_routes.
52233         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
52234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
52235         New file.
52236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
52237         file.
52238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
52239         New file.
52240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
52241         file.
52242         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
52243         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
52244         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
52245         file.
52246         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
52247         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
52248         file.
52249         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
52250         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
52251         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
52253         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
52254         libc_feholdexcept and libc_fesetenv.
52256 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
52258         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
52260 2013-01-14  David S. Miller  <davem@davemloft.net>
52262         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
52263         (SPARC_ASM_VIS2_IFUNC): Likewise.
52264         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
52265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
52266         use of 'siam' instruction.
52267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
52268         Likewise.
52269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
52270         Likewise.
52271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
52272         Likewise.
52273         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
52274         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
52275         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
52276         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
52277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
52278         file.
52279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
52280         file.
52281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
52282         file.
52283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
52284         file.
52285         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
52286         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
52287         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
52288         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
52289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
52290         new VIS2 routines.
52291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
52292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
52294         Likewise.
52295         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
52296         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
52297         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
52298         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
52299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
52300         routines to libm-sysdep_routines.
52301         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
52303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
52304         fdim/fdimf to libm-sysdep_routines.
52305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
52306         file.
52307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
52308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
52309         file.
52310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
52311         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
52312         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
52313         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
52314         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
52315         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
52316         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
52318 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
52320         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
52321         to optimize copies.
52323         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
52324         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
52325         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52327         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
52328         local variable MPTWO.
52329         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
52330         Likewise.
52332 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
52334         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
52335         GLOB_NOESCAPE.
52337 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
52339         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
52341 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
52343         * manual/pattern.texi (glob_t): Document gl_flags.
52344         (glob64_t): Likewise.
52346 2013-01-11  David S. Miller  <davem@davemloft.net>
52348         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
52349         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
52350         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
52351         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
52352         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
52353         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
52354         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
52355         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
52356         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
52357         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
52358         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
52359         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
52360         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
52362         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
52363         sparc V9 rather than using V8 code.
52364         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
52365         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
52367         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
52368         Move to...
52369         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
52370         Here.
52372 2013-01-11  Roland McGrath  <roland@hack.frob.com>
52374         [BZ #14941]
52375         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
52376         not in the main loop.
52377         * configure: Regenerated.
52379 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
52381         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
52382         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
52383         to just #else.
52384         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
52385         [!__GLIBC_HAVE_LONG_LONG] case.
52386         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
52387         condition to just #else.
52388         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
52389         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
52390         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
52391         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
52392         unconditional.
52393         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
52394         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
52395         #elif condition to just #else.
52396         * sysdeps/unix/sysv/linux/sys/sysmacros.h
52397         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
52398         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
52399         #elif condition to just #else.
52401 2013-01-11  Steve Ellcey  <sellcey@mips.com>
52403         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
52404         (EF_MIPS_ARCH_64): Fix value.
52405         (EF_MIPS_ARCH_32R2): New.
52406         (EF_MIPS_ARCH_64R2): New.
52408 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
52410         * Makeconfig (+link-pie-before-libc): New.
52411         (+link-pie-after-libc): Likewise.
52412         (+link-pie-tests): Likewise.
52413         (+link-pie): Rewritten.
52414         (link-before-libc): Remove $(config-LDFLAGS).
52415         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
52416         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
52417         (config-LDFLAGS): Renamed to ...
52418         (rtld-LDFLAGS): This.
52419         (rtld-tests-LDFLAGS): New macro.
52420         (link-libc-rpath-link): Likewise.
52421         (link-libc-tests-rpath-link): Likewise.
52422         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
52423         (link-libc): Prepand $(link-libc-rpath-link).
52424         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
52425         (test-program-prefix): New macro.
52426         (test-via-rtld-prefix): Likewise.
52427         (test-program-cmd): Likewise.
52428         (host-test-program-cmd): Likewise.
52429         * Makefile ($(common-objpfx)testrun.sh): Replace
52430         $(run-program-prefix) with $(test-program-prefix).
52431         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
52432         $(rtld-LDFLAGS).
52433         ($(common-objpfx)shlib.lds): Likewise.
52434         (build-module-helper): Likewise.
52435         ($(common-objpfx)format.lds): Likewise.
52436         * Rules (binaries-pie-tests): New.
52437         (binaries-pie-notests): Likewise.
52438         (binaries-pie): Rewritten.
52439         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
52440         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
52441         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
52442         (make-test-out): Replace $(host-built-program-cmd) with
52443         $(host-test-program-cmd).
52444         * config.make.in (build-hardcoded-path-in-tests): New variable.
52445         * configure.in (--enable-hardcoded-path-in-tests): New configure
52446         option.
52447         (hardcoded_path_in_tests): New AC_SUBST.
52448         * configure: Regenerated.
52449         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
52450         $(built-program-cmd) with $(test-program-cmd).
52451         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
52452         (test_program_cmd): This.
52453         * elf/Makefile ($(objpfx)order.out): Run test with
52454         $(test-program-prefix).
52455         ($(objpfx)order2.out): Likewise.
52456         ($(objpfx)tst-initorder.out): Likewise.
52457         ($(objpfx)tst-initorder2.out): Likewise.
52458         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
52459         $(test-program-cmd).
52460         ($(objpfx)tst-array1-static.out): Likewise.
52461         ($(objpfx)tst-array2.out): Likewise.
52462         ($(objpfx)tst-array3.out): Likewise.
52463         ($(objpfx)tst-array4.out): Likewise.
52464         ($(objpfx)tst-array5.out): Likewise.
52465         ($(objpfx)tst-array5-static.out): Likewise.
52466         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
52467         $(test-program-cmd).
52468         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
52469         $(run-program-prefix) with $(test-program-prefix).
52470         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
52471         (test_program_prefix): This.
52472         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
52473         $(run-program-prefix) with $(test-program-prefix).
52474         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
52475         (test_program_prefix): This.
52476         * iconvdata/tst-tables.sh: Likewise.
52477         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
52478         $(run-program-prefix) with $(test-program-prefix).
52479         ($(objpfx)tst-translit.out): Likewise.
52480         ($(objpfx)tst-gettext2.out): Likewise.
52481         ($(objpfx)tst-gettext4.out): Likewise.
52482         ($(objpfx)tst-gettext6.out): Likewise.
52483         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
52484         (test_program_prefix): This.
52485         * intl/tst-gettext2.sh: Likewise.
52486         * intl/tst-gettext4.sh  Likewise.
52487         * intl/tst-gettext6.sh: Likewise.
52488         * intl/tst-translit.sh: Likewise.
52489         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
52490         with $(test-program-cmd).
52491         * libio/Makefile ($(objpfx)test-freopen.out): Replace
52492         $(run-program-prefix) with $(test-program-prefix).
52493         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
52494         (test_program_prefix): This.
52495         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
52496         $(run-program-prefix) with $(test-program-prefix).
52497         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
52498         (test_program_prefix): This.
52499         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
52500         * posix/Makefile ($(objpfx)globtest.out): Replace
52501         $(run-via-rtld-prefix) and $(test-wrapper) with
52502         $(test-program-prefix) and $(test-via-rtld-prefix).
52503         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
52504         $(test-program-prefix).
52505         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
52506         $(host-test-program-cmd).
52507         (tst-spawn-ARGS): Likewise.
52508         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
52509         $(test-program-prefix).
52510         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
52511         (test_via_rtld_prefix): This.
52512         (test_wrapper): Renamed to ...
52513         (test_program_prefix): This.
52514         (run_program_prefix): Replaced by test_program_prefix.
52515         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
52516         (test_program_prefix): This.
52517         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
52518         with $(host-test-program-cmd).
52519         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
52520         $(run-program-prefix) with $(test-program-prefix).
52521         ($(objpfx)tst-printf.out): Likewise.
52522         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
52523         $(test-program-cmd).
52524         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
52525         (test_program_prefix): This.
52526         * stdio-common/tst-unbputc.sh: Likewise.
52527         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
52528         $(run-program-prefix) with $(test-program-prefix).
52529         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
52530         (test_program_prefix): This.
52531         * string/Makefile ($(objpfx)tst-svc.out):  Replace
52532         $(built-program-cmd) with $(test-program-cmd).
52534 2013-01-11  Andreas Jaeger  <aj@suse.de>
52536         [BZ #15003]
52537         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
52538         value. Sync with Linux 3.7.
52540 2013-01-10  David S. Miller  <davem@davemloft.net>
52542         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
52543         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
52544         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
52546 2013-01-10  Roland McGrath  <roland@hack.frob.com>
52548         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
52549         never set.
52550         * configure: Regenerated.
52552 2013-01-10  David S. Miller  <davem@davemloft.net>
52554         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
52555         sparc V9 rather than using V8 code.
52556         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
52557         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
52559 2013-01-10  Roland McGrath  <roland@hack.frob.com>
52561         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
52562         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
52563         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
52564         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
52565         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
52566         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
52567         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
52568         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
52569         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
52570         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
52571         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
52572         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
52573         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
52574         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
52575         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
52576         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
52577         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
52578         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
52579         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
52580         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
52581         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
52582         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
52583         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
52584         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
52585         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
52586         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
52587         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
52589 2013-01-10  David S. Miller  <davem@davemloft.net>
52591         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52593 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
52595         * posix/Makefile (tests-static): New variable.
52596         (tests): Add $(tests-static).
52597         (tst-exec-static-ARGS): New variable.
52598         (tst-spawn-static-ARGS): Likewise.
52599         * posix/tst-exec-static.c: New file.
52600         * posix/tst-spawn-static.c: Likewise.
52601         * posix/tst-exec.c: Support run directly.
52602         * posix/tst-spawn.c: Likewise.
52604 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
52606         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
52607         long.
52608         * math/bits/mathcalls.h (llrint): Likewise.
52609         (llround): Likewise.
52610         * stdlib/stdlib.h (struct drand48_data): Likewise.
52611         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
52612         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
52613         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
52614         Likewise.
52615         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
52616         Likewise.
52617         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
52618         (elf_greg_t): Likewise.
52619         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
52620         (__jmp_buf): Likewise.
52621         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
52622         definitions.
52623         (llrint): Likewise, for all definitions.
52624         (llrintl): Likewise.
52626         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
52627         Remove [__GNUC__] condition.
52628         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
52629         condition to just [__USE_ISOC99].
52630         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
52632 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
52634         [BZ #14200]
52635         * sysdeps/unix/sysv/linux/x86/bits/environments.h
52636         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
52637         defined.
52638         (_POSIX_V6_ILP32_OFF32): Likewise.
52639         (_XBS5_ILP32_OFF32): Likewise.
52640         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
52641         (__ILP32_OFFBIG_LDFLAGS): Likewise.
52643 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52645         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
52647         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
52648         doubles __mpexp_twomm1.  Adjust usage.
52649         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
52650         Remove.
52652 2013-01-10  Andreas Schwab  <schwab@suse.de>
52654         [BZ #14964]
52655         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
52656         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
52658 2013-01-09  David S. Miller  <davem@davemloft.net>
52660         [BZ #15003]
52661         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
52662         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
52663         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
52664         (TCP_FASTOPEN): Define.
52665         (tcp_repair_opt): New structure.
52666         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
52667         enum values.
52668         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
52669         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
52670         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
52671         (tcp_cookie_transactions): New structure.
52673 2013-01-09  Anton Blanchard  <anton@samba.org>
52675         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
52676         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
52677         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
52678         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
52680 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
52682         * include/features.h (__USE_ANSI): Remove.
52684 2013-01-09  Roland McGrath  <roland@hack.frob.com>
52686         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
52688         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
52690 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
52692         * sysdeps/s390/fpu/libm-test-ulps: Update.
52694         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52696         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
52697         (__acr): Likewise.
52698         (__cpy): Likewise.
52699         (norm): Likewise.
52700         (denorm): Likewise.
52701         (__mp_dbl): Likewise.
52702         (__dbl_mp): Likewise.
52703         (add_magnitudes): Likewise.
52704         (sub_magnitudes): Likewise.
52705         (__add): Likewise.
52706         (__sub): Likewise.
52707         (__mul): Likewise.
52708         (__inv): Likewise.
52709         (__dvd): Likewise.
52710         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
52711         (__acr): Likewise.
52712         (__cpy): Likewise.
52713         (norm): Likewise.
52714         (denorm): Likewise.
52715         (__mp_dbl): Likewise.
52716         (__dbl_mp): Likewise.
52717         (add_magnitudes): Likewise.
52718         (sub_magnitudes): Likewise.
52719         (__add): Likewise.
52720         (__sub): Likewise.
52721         (__mul): Likewise.
52722         (__inv): Likewise.
52723         (__dvd): Likewise.
52724         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
52725         (__acr): Likewise.
52726         (__cpy): Likewise.
52727         (norm): Likewise.
52728         (denorm): Likewise.
52729         (__mp_dbl): Likewise.
52730         (__dbl_mp): Likewise.
52731         (add_magnitudes): Likewise.
52732         (sub_magnitudes): Likewise.
52733         (__add): Likewise.
52734         (__sub): Likewise.
52735         (__mul): Likewise.
52736         (__inv): Likewise.
52737         (__dvd): Likewise.
52739 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
52741         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
52742         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
52743         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
52744         2 && __USE_EXTERN_INLINES]: Likewise.
52746 2013-01-08  Andreas Jaeger  <aj@suse.de>
52748         [BZ# 14985]
52749         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
52750         Remove.
52751         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
52752         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
52754 2013-01-07  Anton Blanchard  <anton@samba.org>
52756         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
52757         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
52758         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
52759         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
52760         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
52761         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
52762         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
52763         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
52764         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
52765         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52766         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
52767         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
52768         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
52769         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
52770         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
52771         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
52772         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
52773         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
52774         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
52775         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
52776         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
52777         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
52778         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52779         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
52780         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
52781         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
52782         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52783         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
52784         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
52785         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
52786         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
52787         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52788         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52789         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
52790         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
52791         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52792         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
52793         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
52794         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
52795         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
52796         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
52797         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52798         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
52800 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
52802         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
52803         (__MALLOC_PMT): Likewise.
52804         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
52805         [__GNUC__], only on [_LIBC].
52806         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
52807         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
52808         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
52809         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
52810         forward declaration.
52811         (realloc_hook_ini): Likewise.
52812         (memalign_hook_ini): Likewise.
52813         (__libc_memalign): Do not use __MALLOC_PMT in variable
52814         declaration.
52815         (__libc_valloc): Likewise.
52816         (__libc_pvalloc): Likewise.
52817         (__libc_calloc): Likewise.
52818         (__posix_memalign): Likewise.
52820         [BZ #14996]
52821         * math/s_casinh.c: Include <float.h>.
52822         (__casinh): Do not do computation with squaring and square root
52823         for large arguments.
52824         * math/s_casinhf.c: Include <float.h>.
52825         (__casinhf): Do not do computation with squaring and square root
52826         for large arguments.
52827         * math/s_casinhl.c: Include <float.h>.
52828         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
52829         (__casinhl): Do not do computation with squaring and square root
52830         for large arguments.
52831         * math/libm-test.inc (casin_test): Add more tests.
52832         (casinh_test): Likewise.
52833         * sysdeps/i386/fpu/libm-test-ulps: Update.
52834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52836 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
52838         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
52839         (__x86_64_raw_data_cache_size): Likewise.
52840         (__x86_64_data_cache_size_half): Likewise.
52841         (__x86_64_raw_data_cache_size_half): Likewise.
52842         (__x86_64_shared_cache_size): Likewise.
52843         (__x86_64_raw_shared_cache_size): Likewise.
52844         (__x86_64_shared_cache_size_half): Likewise.
52845         (__x86_64_raw_shared_cache_size_half): Likewise.
52846         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
52847         to ...
52848         (__x86_data_cache_size): This.
52849         (__x86_64_raw_data_cache_size): Renamed to ...
52850         (__x86_raw_data_cache_size): This.
52851         (__x86_64_data_cache_size_half): Renamed to ...
52852         (__x86_data_cache_size_half): This.
52853         (__x86_64_raw_data_cache_size_half): Renamed to ...
52854         (__x86_raw_data_cache_size_half): This.
52855         (__x86_64_shared_cache_size): Renamed to ...
52856         (__x86_shared_cache_size): This.
52857         (__x86_64_raw_shared_cache_size): Renamed to ...
52858         (__x86_raw_shared_cache_size): This.
52859         (__x86_64_shared_cache_size_half): Renamed to ...
52860         (__x86_shared_cache_size_half): This.
52861         (__x86_64_raw_shared_cache_size_half): Renamed to ...
52862         (__x86_raw_shared_cache_size_half): This.
52863         * sysdeps/x86_64/memcpy.S: Updated.
52864         * sysdeps/x86_64/memset.S: Likewise.
52865         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
52866         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52867         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52869 2013-01-04  David S. Miller  <davem@davemloft.net>
52871         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52873 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
52875         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
52876         1 to avoid redefinition warning.
52877         (__USE_GNU): Don't define.
52878         (init_signaling_nan): Protoize.
52880         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52882 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52884         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
52885         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
52886         (__cpymn): Likewise.
52887         (norm): Remove commented code.
52888         (denorm): Likewise.
52889         (__mp_dbl): Likewise.
52890         (__inv): Likewise.
52891         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
52892         (__cpymn): Likewise.
52893         (norm): Remove commented code.
52894         (denorm): Likewise.
52895         (__mp_dbl): Likewise.
52896         (__inv): Likewise.
52898         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
52899         mp_no value for 1.0 and 2.0.
52900         (norm): Use RADIXI instead of radixi.d.
52901         (denorm): Likewise.
52902         (__mul): Use 0.0 instead of zero.d.
52903         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
52904         mp_no value for 1.0 and 2.0.
52905         (norm): Use RADIXI instead of radixi.d.
52906         (denorm): Likewise.
52907         (__mul): Use 0.0 instead of zero.d.
52909 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
52911         [BZ #14994]
52912         * math/s_casinh.c (__casinh): Reduce finite argument to first
52913         quadrant then set signs of results at the end.
52914         * math/s_casinhf.c (__casinhf): Likewise.
52915         * math/s_casinhl.c (__casinhl): Likewise.
52916         * math/libm-test.inc (casin_test): Add more tests.
52917         (casinh_test): Likewise.
52918         * sysdeps/i386/fpu/libm-test-ulps: Update.
52919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52921 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52923         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
52925         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
52927         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
52928         declarations.
52929         (denorm): Likewise.
52930         (__mp_dbl): Likewise.
52931         (__inv): Likewise.
52933         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
52934         and adjust the header comment.
52936         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
52937         variable name from declaration.
52939 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
52941         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52942         Initialize COMMON_CPUID_INDEX_7 element.
52943         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
52944         (CPUID_RTM): Likewise.
52945         (HAS_RTM): Likewise.
52946         (COMMON_CPUID_INDEX_7): New enum.
52948 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
52950         [BZ #14981]
52951         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
52952         size is zero, record memory as freed.
52954 2013-01-03  Andreas Jaeger  <aj@suse.de>
52956         * po/ia.po: Add new Interlingua translation.
52958 2012-01-03  Allan McRae  <allan@archlinux.org>
52960         * locale/programs/localedef.c: Fix description of '--posix' flag.
52962 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
52964         * NEWS: Update dates in second copyright notice.
52965         * README: Update copyright dates in example.
52966         * manual/libc.texinfo: Update copyright dates.
52967         * scripts/test-installation.pl: Update copyright date in --version
52968         output.
52970         * hurd/ctty-input.c: Fix copyright notice formatting.
52971         * hurd/ctty-output.c: Likewise.
52972         * hurd/dtable.c: Likewise.
52973         * hurd/hurd-raise.c: Likewise.
52974         * hurd/hurdprio.c: Likewise.
52975         * hurd/msgportdemux.c: Likewise.
52976         * misc/sys/file.h: Likewise.
52977         * misc/sys/ioctl.h: Likewise.
52978         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
52979         * sysdeps/mach/hurd/chdir.c: Likewise.
52980         * sysdeps/mach/hurd/fchdir.c: Likewise.
52981         * sysdeps/mach/hurd/rename.c: Likewise.
52982         * sysdeps/mach/hurd/rmdir.c: Likewise.
52983         * sysdeps/mach/hurd/seekdir.c: Likewise.
52984         * sysdeps/mach/hurd/setsid.c: Likewise.
52985         * sysdeps/posix/wait3.c: Likewise.
52987         * All files with FSF copyright notices: Update copyright dates
52988         using scripts/update-copyrights.
52989         * intl/plural.c: Regenerated.
52990         * locale/programs/charmap-kw.h: Likewise.
52991         * locale/programs/locfile-kw.h: Likewise.
52993 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52995         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
52996         four values.
52998         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
52999         calculation loop and add branch prediction.
53001         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
53002         check access beyond bounds of m1np.
53004         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
53005         MPTWO.
53006         (__inv): Remove local variable MPTWO to use the global
53007         constant.
53008         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
53009         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
53010         variable MPTWO.
53011         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
53012         MP3HALFS static const.
53014 2013-01-01  David S. Miller  <davem@davemloft.net>
53016         * po/ca.po: Update from translation team.
53018 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
53020         * scripts/update-copyrights: New file.
53021         * Makeconfig: Reformat copyright notice.
53022         * ctype/ctype.h: Likewise.
53023         * debug/swprintf_chk.c: Likewise.
53024         * elf/dl-cache.c: Likewise.
53025         * elf/dl-debug.c: Likewise.
53026         * elf/dl-object.c: Likewise.
53027         * grp/initgroups.c: Likewise.
53028         * hurd/Makefile: Likewise.
53029         * hurd/hurd/signal.h: Likewise.
53030         * hurd/hurdfault.c: Likewise.
53031         * hurd/hurdioctl.c: Likewise.
53032         * hurd/hurdlookup.c: Likewise.
53033         * hurd/intr-msg.c: Likewise.
53034         * iconv/gconv_open.c: Likewise.
53035         * libio/swprintf.c: Likewise.
53036         * locale/lc-ctype.c: Likewise.
53037         * locale/nl_langinfo.c: Likewise.
53038         * mach/Machrules: Likewise.
53039         * mach/Makefile: Likewise.
53040         * malloc/obstack.h: Likewise.
53041         * manual/Makefile: Likewise.
53042         * manual/tsort.awk: Likewise.
53043         * misc/bits/stab.def: Likewise.
53044         * nis/nis_print_group_entry.c: Likewise.
53045         * nis/nis_table.c: Likewise.
53046         * nis/nss_compat/compat-pwd.c: Likewise.
53047         * nis/nss_compat/compat-spwd.c: Likewise.
53048         * po/Makefile: Likewise.
53049         * posix/fnmatch.c: Likewise.
53050         * posix/regex.h: Likewise.
53051         * resolv/Makefile: Likewise.
53052         * resolv/nss_dns/dns-network.c: Likewise.
53053         * resolv/res_hconf.c: Likewise.
53054         * scripts/gen-sorted.awk: Likewise.
53055         * soft-fp/soft-fp.h: Likewise.
53056         * stdio-common/printf.h: Likewise.
53057         * stdlib/monetary.h: Likewise.
53058         * stdlib/random.c: Likewise.
53059         * stdlib/random_r.c: Likewise.
53060         * sysdeps/generic/Makefile: Likewise.
53061         * sysdeps/gnu/Makefile: Likewise.
53062         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
53063         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53064         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53065         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53066         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53067         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53068         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53069         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53070         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53071         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53072         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
53073         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
53074         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
53075         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
53076         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
53077         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
53078         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
53079         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53080         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53081         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53082         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53083         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53084         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53085         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
53086         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
53087         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
53088         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
53089         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
53090         * sysdeps/mach/hurd/errnos.awk: Likewise.
53091         * sysdeps/mach/hurd/fork.c: Likewise.
53092         * sysdeps/mach/hurd/getcwd.c: Likewise.
53093         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
53094         * sysdeps/mach/hurd/mmap.c: Likewise.
53095         * sysdeps/mach/hurd/utimes.c: Likewise.
53096         * sysdeps/mach/hurd/xmknod.c: Likewise.
53097         * sysdeps/posix/profil.c: Likewise.
53098         * sysdeps/posix/readdir_r.c: Likewise.
53099         * sysdeps/powerpc/bits/mathdef.h: Likewise.
53100         * sysdeps/powerpc/bits/setjmp.h: Likewise.
53101         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
53102         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
53103         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53104         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
53105         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53106         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
53107         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53108         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
53109         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53110         * sysdeps/pthread/lio_listio.c: Likewise.
53111         * sysdeps/sparc/dl-procinfo.h: Likewise.
53112         * sysdeps/unix/i386/sysdep.S: Likewise.
53113         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
53114         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
53115         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
53116         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
53117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53118         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
53119         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
53120         * sysdeps/unix/sysv/linux/speed.c: Likewise.
53121         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
53122         * sysdeps/wordsize-32/divdi3.c: Likewise.
53123         * time/sys/time.h: Likewise.
53124         * wcsmbs/Makefile: Likewise.
53126 2013-01-01  David S. Miller  <davem@davemloft.net>
53128         * po/fr.po: Update from translation team.
53130         * catgets/gencat.c: Update copyright year.
53131         * csu/version.c: Likewise.
53132         * debug/catchsegv.sh: Likewise.
53133         * debug/pcprofiledump.c: Likewise.
53134         * debug/xtrace.sh: Likewise.
53135         * elf/ldconfig.c: Likewise.
53136         * elf/ldd.bash.in: Likewise.
53137         * elf/pldd.c: Likewise.
53138         * elf/sotruss.ksh: Likewise.
53139         * elf/sprof.c: Likewise.
53140         * iconv/iconv_prog.c: Likewise.
53141         * iconv/iconvconfig.c: Likewise.
53142         * locale/programs/locale.c: Likewise.
53143         * locale/programs/localedef.c: Likewise.
53144         * login/programs/pt_chown.c: Likewise.
53145         * malloc/memusage.sh: Likewise.
53146         * malloc/memusagestat.c: Likewise.
53147         * malloc/mtrace.pl: Likewise.
53148         * nscd/nscd.c: Likewise.
53149         * nss/getent.c: Likewise.
53150         * nss/makedb.c: Likewise.
53151         * posix/getconf.c: Likewise.
53153 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
53155         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
53156         numbers.
53158 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
53160         * math/bits/mathcalls.h (modf): Use __nonnull.
53162 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53164         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
53165         (split): Use macro CN instead of the bare value.
53166         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
53167         could be used.
53168         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
53169         instead of the bare value.
53170         (power1): Likewise.
53172 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53174         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
53175         __ATAN_TWOM.
53176         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
53178         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
53179         their values.
53180         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
53181         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
53182         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
53183         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
53185 2012-12-28  Andreas Jaeger  <aj@suse.de>
53187         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
53188         values are from Linux 3.7.
53190         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
53191         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
53193 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53195         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
53196         TRUE case.
53198         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
53199         (norm): Likewise.
53200         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
53201         variables with preprocessor constants.
53202         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
53203         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
53204         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
53206 2012-12-27  Bruno Haible  <bruno@clisp.org>
53208         [BZ #14317]
53209         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
53210         only if needed.
53212 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53214         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
53215         and use variable directly.
53216         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
53218         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
53219         MPONE.
53220         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
53221         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
53222         variable MPONE.
53223         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
53224         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
53225         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
53226         include directive.  Remove local variable MPONE.
53227         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
53228         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
53229         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
53231 2012-12-25  David S. Miller  <davem@davemloft.net>
53233         * version.h (RELEASE): Set to "development".
53234         (VERSION): Set to "2.17.90".
53235         * NEWS: Add 2.18 section.
53237 2012-12-21  David S. Miller  <davem@davemloft.net>
53239         * po/hr.po: Update from translation team.
53241 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53243         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
53245 2012-12-19  Steve Ellcey  <sellcey@mips.com>
53247         * NEWS:  Mention new memcpy for MIPS.
53249 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53251         * manual/contrib.texi (Contributors): Spelling correction.
53253 2012-12-15  David S. Miller  <davem@davemloft.net>
53255         * po/ru.po: Update from translation team.
53257 2012-12-13  David S. Miller  <davem@davemloft.net>
53259         * NEWS: Mention IFUNC testsuite enhancements.
53261         * po/pl.po: Update from translation team.
53262         * po/bg.po: Likewise.
53264         * manual/contrib.texi (Contributors): Update entries for Hongjiu
53265         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
53267 2012-12-11  David S. Miller  <davem@davemloft.net>
53269         * po/sv.po: Update from translation team.
53271         * po/vi.po: Update from translation team.
53273         * po/cs.po: Update from translation team.
53275         * po/de.po: Update from translation team.
53276         * po/eo.po: Likewise.
53277         * po/nl.po: Likewise.
53279 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53281         [BZ #14246]
53282         * manual/argp.texi (Argp Helper Functions): Move node to follow
53283         Argp Parsing State.
53285         [BZ #14872]
53286         * manual/conf.texi (Limits on File System Capacity): Mention if
53287         terminating null is included in the max size.
53289 2012-12-10  Andreas Jaeger  <aj@suse.de>
53291         * po/cs.po: Update from translation team.
53293 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
53295         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
53296         void pointer and cast to uintptr_t.
53297         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
53298         path.
53299         * sysdeps/s390/s390-64/memcpy.S: Likewise.
53300         * sysdeps/s390/s390-64/memset.S: Likewise.
53302 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
53304         [BZ #14833]
53305         * menual/message.texi (Message Translation): Fix typos.
53306         (Helper programs for gettext): Likewise.
53308 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
53310         [BZ #14898]
53311         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
53312         Change to -1.
53314 2012-12-07  David S. Miller  <davem@davemloft.net>
53316         * po/libc.pot: Update.
53318 2012-12-07  Richard Henderson  <rth@redhat.com>
53320         [BZ #10114]
53321         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
53322         normal/normal case to before the switch.
53323         (_FP_DIV): Likewise.
53325 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
53326             Mike Frysinger  <vapier@gentoo.org>
53328         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
53329         check for __NR_fadvise64_64.
53331 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
53333         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
53334         0, not just to plain "0" as a statement.
53335         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
53336         with cw.
53338 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
53340         * NEWS: Use sourceware.org in Bugzilla URL.
53342 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
53344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
53345         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
53347         * stdio-common/tst-put-error.c (do_test): Add newline to the
53348         padded test to ensure flush.
53350 2012-12-05  Jeff Law  <law@redhat.com>
53352         * sunrpc/etc.rpc (fedfs_admin): Add entry.
53354 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
53356         * README: Don't refer to ports add-on as distributed separately.
53357         Mention AArch64 in list of systems supported in the ports add-on.
53359         * LICENSES: Add more non-FSF copyright and license notices.
53361         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
53362         ((unused)).
53364         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
53366         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
53367         10000 as width of padded output.
53369 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
53371         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
53373         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
53374         variable LX with __attribute__ ((unused)).
53375         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
53376         Likewise.
53377         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
53378         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
53379         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
53380         with __attribute__ ((unused)).
53382 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
53384         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
53386 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
53388         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
53389         (CFLAGS-nldbl-acos.c): New variable.
53390         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
53391         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
53392         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
53393         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
53394         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
53395         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
53396         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
53397         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
53398         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
53399         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
53400         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
53401         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
53402         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
53403         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
53404         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
53405         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
53406         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
53407         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
53408         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
53409         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
53410         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
53411         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
53412         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
53413         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
53414         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
53415         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
53416         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
53417         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
53418         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
53419         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
53420         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
53421         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
53422         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
53423         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
53424         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
53425         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
53426         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
53427         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
53428         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
53429         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
53430         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
53431         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
53432         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
53433         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
53434         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
53435         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
53436         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
53437         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
53438         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
53439         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
53440         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
53441         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
53442         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
53443         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
53444         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
53445         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
53446         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
53447         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
53448         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
53449         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
53450         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
53451         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
53452         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
53453         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
53454         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
53455         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
53456         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
53457         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
53458         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
53459         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
53460         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
53461         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
53462         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
53463         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
53464         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
53465         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
53466         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
53467         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
53468         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
53469         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
53470         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
53471         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
53472         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
53473         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
53474         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
53475         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
53476         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
53477         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
53478         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
53479         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
53480         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
53481         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
53482         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
53483         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
53484         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
53485         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
53486         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
53488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
53489         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
53491         [BZ #14914]
53492         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
53493         whole low double instead of just low 47 bits when splitting values
53494         into two parts.
53496 2012-12-03  Allan McRae  <allan@archlinux.org>
53498         * manual/stdio.texi (Predefined Printf Handlers): Remove
53499         @hsep and @vsep usage.
53501 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
53503         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
53504         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
53506 2012-12-03  Jeff Law  <law@redhat.com>
53508         * time/sys/time.h (settimeofday): Do not mark TV argument
53509         as __nonnull.
53511 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
53513         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
53514         when currently writing and seek to current position when not.
53515         * libio/Makefile (tests): Remove bug-fclose1.
53516         * libio/bug-fclose1.c: Delete.
53518 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
53520         * manual/arith.texi (feenableexcept): Fix typo.
53521         (fedisableexcept): Likewise.
53523 2012-11-30  Roland McGrath  <roland@hack.frob.com>
53525         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
53526         second, differently-typed declaration, rather than a cast.
53528 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53530         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
53531         * include/rpc/svc.h: ... here.
53533 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
53535         [BZ #13013]
53536         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
53537         depending n and resplen2 to catch cases where answer
53538         equals answerp2.
53540 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
53542         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
53543         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
53545 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
53547         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
53549 2012-11-29  Roland McGrath  <roland@hack.frob.com>
53551         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
53553 2012-11-28  Jeff Law  <law@redhat.com>
53555         [BZ #13761]
53556         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
53557         dataset_temporary.  Track alloca usage into alloca_used.
53558         If dataset is large allocate and release it via malloc/free.
53560 2012-06-04  Florian Weimer  <fweimer@redhat.com>
53562         [BZ #14197]
53563         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
53565 2012-11-28  David S. Miller  <davem@davemloft.net>
53567         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53569 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
53571         [BZ #14803]
53572         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
53573         of pi/2 rounded to nearest to 64 bits.
53574         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
53575         nearest to 64 bits.
53576         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
53577         bits.
53579 2012-11-28  Jeff Law <law@redhat.com>
53580             Martin Osvald <mosvald@redhat.com>
53582         [BZ #14889]
53583         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
53584         * sunrpc/svc.c: Include time.h.
53585         (__svc_accept_failed): New function.
53586         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
53587         any reason other than EINTR, call __svc_accept_failed.
53588         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
53589         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
53591 2012-11-28  Andreas Schwab  <schwab@suse.de>
53593         * scripts/abilist.awk: Also handle indirect functions in .opd
53594         section.
53596 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
53598         [BZ #13881]
53599         * sysdeps/x86/fpu/powl_helper.c: New file.
53600         * sysdeps/x86/fpu/Makefile: Likewise.
53601         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
53602         (p3): New object.
53603         (__ieee754_powl): Use __powl_helper for finite arguments except
53604         integer exponents below 8.
53605         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
53606         (p3): New object.
53607         (__ieee754_powl): Use __powl_helper for finite arguments except
53608         integer exponents below 8.
53609         * math/libm-test.inc (pow_test): Add more tests and enable some
53610         previously disabled tests.
53611         * sysdeps/i386/fpu/libm-test-ulps: Update.
53612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53614 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53615             Carlos O'Donell  <carlos_odonell@mentor.com>
53617         * nss/makedb.c (is_prime): Assert that input is odd and greater
53618         than 4.  Note that fact in a comment too.
53619         (next_prime): Add 4 to input.
53621 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53623         [BZ #11741]
53624         * libio/Makefile (tests): Add test case tst-fwrite-error.
53625         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
53626         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
53627         * libio/tst-fwrite-error.c: New test case.
53629 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
53631         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
53632         before casting to void *.
53633         * include/libc-internal.h (__pointer_type): New macro.
53634         (__integer_if_pointer_type_sub): Likewise.
53635         (__integer_if_pointer_type): Likewise.
53636         (cast_to_integer): Likewise.
53637         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
53638         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
53639         before casting to atomic64_t.
53640         (atomic_exchange_acq): Likewise.
53641         (__arch_exchange_and_add_body): Likewise.
53642         (__arch_add_body): Likewise.
53643         (atomic_add_negative): Likewise.
53644         (atomic_add_zero): Likewise.
53646 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
53648         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
53649         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
53650         (add_fdes): Likewise.
53651         (linear_search_fdes): Likewise.
53652         (binary_search_unencoded_fdes): Likewise.
53654 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
53656         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
53658 2012-11-24  Adam Conrad  <adconrad@0c3.net>
53660         * configure.in: Autodetect C++ header directories.
53661         * configure: Regenerated.
53663 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
53665         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
53667 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
53669         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53671 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
53673         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
53674         LDBL_MANT_DIG == 106]: Disable some tests.
53675         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
53676         Likewise.
53677         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
53678         Likewise.
53680         [BZ #14871]
53681         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
53682         input for small inputs.  Return +/- pi/2 for large inputs.
53683         * math/libm-test.inc (atan_test): Add more tests.
53685         * sysdeps/generic/unwind-dw2-fde-glibc.c
53686         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
53687         __attribute__ ((unused)).
53689         [BZ #14645]
53690         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
53691         x * y if x and y are nonzero and z is zero.
53693         [BZ #14811]
53694         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
53695         nonzero exponents with absolute value below 0x1p-117 to +/-
53696         0x1p-117.
53698         [BZ #14869]
53699         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
53700         up arguments below 2**-450, not just those below 2**-500.
53701         * math/libm-test.inc (hypot_test): Add another test.
53703         [BZ #14868]
53704         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
53705         Return a+b for ratio over 2**120, not 2**60.
53706         * math/libm-test.inc (hypot_test): Add another test.
53708         * math/libm-test.inc (clog_test): Use
53709         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
53710         (clog10_test): Likewise.
53712         [BZ #6778]
53713         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
53715 2012-11-22  Andreas Schwab  <schwab@suse.de>
53717         * sysdeps/i386/fpu/libm-test-ulps: Update.
53719 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
53721         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
53722         printf output with newline.
53724 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
53726         [BZ #14865]
53727         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
53728         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
53729         -z nodlopen, -z initfirst and -z execstack support.
53730         * configure: Regenerated.
53732         * elf/elf.h (DF_1_NODIRECT): New macro.
53733         (DF_1_IGNMULDEF): Likewise.
53734         (DF_1_NOKSYMS): Likewise.
53735         (DF_1_NOHDR): Likewise.
53736         (DF_1_EDITED): Likewise.
53737         (DF_1_NORELOC): Likewise.
53738         (DF_1_SYMINTPOSE): Likewise.
53739         (DF_1_GLOBAUDIT): Likewise.
53740         (DF_1_SINGLETON): Likewise.
53741         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
53742         DT_1_SUPPORTED_MASK bits.
53743         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
53745 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
53747         * sysdeps/unix/make-syscalls.sh: Document prefixes.
53749 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
53751         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
53752         macro.
53754         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
53755         (sendmmsg): Move declarations...
53756         * socket/sys/socket.h: ... here.
53757         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
53758         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
53759         include it from...
53760         * socket/recvmmsg.c: ... this new file.
53761         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
53762         (sendmmsg): Rename to __sendmmsg, create weak alias and make
53763         definition of __sendmmsg hidden.
53764         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
53765         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
53766         Move ENOSYS stub into and include it from...
53767         * socket/sendmmsg.c: ... this new file.
53768         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
53769         (sysdep_routines): Move recvmmsg and sendmmsg...
53770         * socket/Makefile (routines): ... here.
53771         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
53772         (GLIBC_PRIVATE): Add __sendmmsg.
53773         * include/sys/socket.h (__sendmmsg): Add declarations.
53774         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
53775         sendmmsg.
53777 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
53779         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
53780         variable I1 with __attribute__ ((unused)).
53781         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
53783 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
53785         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
53786         DUMMY variables with __attribute__ ((unused)).
53788         * bits/byteswap.h: Include <bits/types.h>.
53789         (__bswap_64): Use __uint64_t instead of unsigned long long int.
53791 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
53793         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
53794         string_t.  Do not manually set errno.
53795         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
53796         length with __strnlen.  Make sure to both set errno and return it on
53797         failure.
53799 2012-11-19  David S. Miller  <davem@davemloft.net>
53801         With help from Joseph Myers.
53802         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
53803         very large arguments properly.
53804         * math/libm-test.inc (atan_test): New tests.
53805         (atan2_test): New tests.
53806         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53807         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53809 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
53811         [BZ #14856]
53812         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
53813         Define to 3.
53815         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
53816         [POSIX] (EADDRNOTAVAIL): Likewise.
53817         [POSIX] (EAFNOSUPPORT): Likewise.
53818         [POSIX] (EALREADY): Likewise.
53819         [POSIX] (ECONNABORTED): Likewise.
53820         [POSIX] (ECONNREFUSED): Likewise.
53821         [POSIX] (ECONNRESET): Likewise.
53822         [POSIX] (EDESTADDRREQ): Likewise.
53823         [POSIX] (EDQUOT): Likewise.
53824         [POSIX] (EHOSTUNREACH): Likewise.
53825         [POSIX] (EIDRM): Likewise.
53826         [POSIX] (EISCONN): Likewise.
53827         [POSIX] (ELOOP): Likewise.
53828         [POSIX] (EMULTIHOP): Likewise.
53829         [POSIX] (ENETDOWN): Likewise.
53830         [POSIX] (ENETUNREACH): Likewise.
53831         [POSIX] (ENOBUFS): Likewise.
53832         [POSIX] (ENODATA): Likewise.
53833         [POSIX] (ENOLINK): Likewise.
53834         [POSIX] (ENOMSG): Likewise.
53835         [POSIX] (ENOPROTOOPT): Likewise.
53836         [POSIX] (ENOSR): Likewise.
53837         [POSIX] (ENOSTR): Likewise.
53838         [POSIX] (ENOTCONN): Likewise.
53839         [POSIX] (ENOTSOCK): Likewise.
53840         [POSIX] (EOPNOTSUPP): Likewise.
53841         [POSIX] (EOVERFLOW): Likewise.
53842         [POSIX] (EPROTO): Likewise.
53843         [POSIX] (EPROTONOSUPPORT): Likewise.
53844         [POSIX] (EPROTOTYPE): Likewise.
53845         [POSIX] (ESTALE): Likewise.
53846         [POSIX] (ETIME): Likewise.
53847         [POSIX] (ETXTBSY): Likewise.
53848         [POSIX] (EWOULDBLOCK): Likewise.
53849         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
53850         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
53851         [POSIX] (SEEK_CUR): Likewise.
53852         [POSIX] (SEEK_END): Likewise.
53853         [POSIX || UNIX98] (mode_t): Do not require.
53854         [POSIX] (off_t): Likewise.
53855         [POSIX] (pid_t): Likewise.
53856         [POSIX] (sys/stat.h): Do not allow header.
53857         [POSIX] (unistd.h): Likewise.
53858         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
53859         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
53860         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
53861         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
53862         require.
53863         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
53864         sigevent): Specify elements.
53865         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
53866         entry.
53867         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
53868         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
53870         * conform/data/cpio.h-data [POSIX]: Disable whole file.
53871         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
53872         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
53873         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
53874         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
53875         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
53876         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
53877         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
53878         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
53879         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
53880         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
53881         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
53882         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
53883         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
53884         Likewise.
53885         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
53886         Likewise.
53887         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
53888         Likewise.
53889         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
53890         Likewise.
53891         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
53892         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
53893         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
53894         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
53895         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
53896         Specify lower bound on value.
53897         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
53898         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
53899         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
53900         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
53901         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
53902         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
53903         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
53904         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
53905         value.
53906         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
53907         as optional.
53908         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
53909         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
53910         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
53911         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
53912         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
53913         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
53914         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
53915         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
53916         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
53917         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
53918         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
53919         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
53920         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
53921         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
53922         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
53923         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
53924         entry.
53925         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
53926         optional.
53927         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
53928         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
53929         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
53930         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
53931         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
53932         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
53933         Likewise.
53934         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
53935         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
53936         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
53937         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
53938         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
53939         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
53940         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
53941         as optional.
53942         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
53943         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
53944         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
53945         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
53946         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
53947         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
53948         specify as optional.
53949         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
53950         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
53951         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
53952         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
53953         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
53954         [XPG3] (NL_LANGMAX): Likewise.
53955         [POSIX || XPG3] (NL_MSGMAX): Likewise.
53956         [POSIX || XPG3] (NL_NMAX): Likewise.
53957         [POSIX || XPG3] (NL_SETMAX): Likewise.
53958         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
53959         [XPG3] (NZERO): Likewise.
53960         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
53961         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
53962         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
53963         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
53964         (REG_ERANGE): Expect.
53965         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
53966         optional-constant.
53967         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
53968         Use (void) in prototype.
53969         [POSIX] (*_t): Allow.
53970         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
53971         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
53972         (WRDE_BADVAL): Expect.
53974         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
53975         expect.
53976         [XPG3 || XPG4] (O_RSYNC): Likewise.
53977         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
53978         Likewise.
53979         [XPG3 || XPG4] (pthread_sigmask): Likewise.
53980         [XPG3 || XPG4] (sigqueue): Likewise.
53981         [XPG3 || XPG4] (sigtimedwait): Likewise.
53982         [XPG3 || XPG4] (sigwaitinfo): Likewise.
53983         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
53984         [XPG3 || XPG4] (vsnprintf): Likewise.
53985         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
53986         Likewise.
53987         [XPG3 || XPG4] (blksize_t): Likewise.
53988         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
53989         Likewise.
53990         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
53991         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
53992         [XPG3 || XPG4] (struct itimerspec): Likewise.
53993         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
53994         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
53995         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
53996         [XPG3 || XPG4] (clockid_t): Likewise.
53997         [XPG3 || XPG4] (timer_t): Likewise.
53998         [XPG3 || XPG4] (clock_getres): Likewise.
53999         [XPG3 || XPG4] (clock_gettime): Likewise.
54000         [XPG3 || XPG4] (clock_settime): Likewise.
54001         [XPG3 || XPG4] (nanosleep): Likewise.
54002         [XPG3 || XPG4] (timer_create): Likewise.
54003         [XPG3 || XPG4] (timer_delete): Likewise.
54004         [XPG3 || XPG4] (timer_gettime): Likewise.
54005         [XPG3 || XPG4] (timer_getoverrun): Likewise.
54006         [XPG3 || XPG4] (timer_settime): Likewise.
54007         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
54008         [XPG3 || XPG4] (getlogin_r): Likewise.
54009         [XPG3 || XPG4] (pread): Likewise.
54010         [XPG3 || XPG4] (pthread_atfork): Likewise.
54011         [XPG3 || XPG4] (pwrite): Likewise.
54013         [BZ #14835]
54014         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
54015         <bits/siginfo.h>.
54017 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
54019         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
54020         finalizing MALLSTREAM.
54022         * sysdeps/mach/hurd/syncfs.c: New file.
54024 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54026         [BZ #14719]
54027         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
54028         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
54029         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
54030         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
54031         (_nss_dns_gethostbyname4_r): Likewise.
54032         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
54033         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
54035 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
54037         [BZ #13763]
54038         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
54040 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
54042         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
54043         * elf/cache.c (print_entry): Print ",AArch64" for
54044         FLAG_AARCH64_LIB64
54046         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
54047         * elf/cache.c (print_entry): Print ",hard-float" for
54048         FLAG_ARM_LIBHF.
54050 2012-11-18  David S. Miller  <davem@davemloft.net>
54052         With help from Joseph Myers.
54053         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
54054         cutoff to 2**-13.
54055         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
54056         cutoff to 2**-25.
54057         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
54058         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
54059         small.
54060         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
54061         * math/libm-test.inc (y0_test): New tests.
54062         (y1_test): New tests.
54063         * sysdeps/i386/fpu/libm-test-ulps: Update.
54064         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54065         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54067 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
54069         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
54070         64-bit targets.
54071         * configure: Regenerated.
54073 2012-11-17  David S. Miller  <davem@davemloft.net>
54075         [BZ #14811]
54076         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
54077         nonzero exponents with absolute value below 0x1p-128 to +/-
54078         0x1p-128.
54080 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
54082         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
54084         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
54086         * posix/getconf-speclist.c: New file.
54087         * posix/posix-envs.def: Likewise.
54088         * posix/confstr.c (START_ENV_GROUP): New macro.
54089         (END_ENV_GROUP): Likewise.
54090         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
54091         (KNOWN_PRESENT_ENV_STRING): Likewise.
54092         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
54093         (UNKNOWN_ENVIRONMENT): Likewise.
54094         (confstr): Include posix-envs.def instead of handling
54095         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
54096         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
54097         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
54098         (END_ENV_GROUP): Likewise.
54099         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
54100         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
54101         (UNKNOWN_ENVIRONMENT): Likewise.
54102         (__sysconf): Include posix-envs.def instead of handling associated
54103         cases directly here.
54104         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
54105         preprocessing getconf-speclist.c rather than running getconf or
54106         generating empty file.
54108 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
54110         * scripts/check-local-headers.sh: Ignore 'mach' headers.
54112 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
54114         [BZ #14672]
54115         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
54117 2012-11-16  David S. Miller  <davem@davemloft.net>
54119         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
54120         smaller than LDBL_EPSILON/2.0L, just return xm1.
54122 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
54124         * elf/tst-array1.c (init): Set constructor priority to 1000.
54125         (fini): Set destructor priority to 1000.
54126         * elf/tst-array2dep.c: Likewise.
54128 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54130         [BZ #11741]
54131         * libio/fileops.c (_IO_new_file_write): Correctly return error.
54132         (_IO_new_file_xsputn): Also return EOF if none of the input
54133         data was written when overflow failed.
54134         * libio/iopadn.c (_IO_padn): Likewise.
54135         * libio/iowpadn.c (_IO_wpadn): Likewise.
54136         * stdio-common/tst-put-error.c: Add copyright notice.
54137         (do_test): Add case for printing padded string.
54138         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
54139         _IO_padn returned error.
54140         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
54141         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
54142         return EOF.
54144 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54146         * libio/libioP.h: Add comment note that the references to C++
54147         bits are now obsolete.
54149 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54151         * math/libm-test.inc (check_complex): Use asprintf.
54153 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
54155         * debug/pcprofiledump.c (print_version): Update copyright year.
54156         * malloc/memusagestat.c (print_version): Likewise.
54158 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
54160         [BZ #14831]
54161         * elf/Makefile (tests): Add tst-audit8.
54162         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
54163         ($(objpfx)tst-audit8.out): New target.
54164         (tst-audit8-ENV): New variable.
54165         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
54166         audit if l_reloc_result is NULL.
54167         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
54168         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
54169         * elf/tst-audit8.c: New file.
54171 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54173         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
54174         * misc/Makefile (CFLAGS-select.c): Define.
54175         * posix/Makefile (CFLAGS-pause.c): Define.
54177 2012-11-13  David S. Miller  <davem@davemloft.net>
54179         * crypt/Makefile: Move test targets after toplevel Rules
54180         inclusion.  Grab any necessary sysdep routines when linking.
54181         * crypt/md5.c (md5_process_block): Remove define, we will always
54182         name it __md5_process_block.
54183         (md5_finish_ctx): Update md5_process_block call.
54184         (md5_stream): Likewise.
54185         (md5_process_bytes): Likewise.
54186         (md5_process_block): Rename to __md5_process_block and move to ...
54187         * crypt/md5-block.c: ... here.
54188         * crypt/sha256.c (sha256_process_block): Move to ...
54189         * crypt/sha256-block.c: ... here.
54190         * crypt/sha512.c (sha512_process_block): Move to ...
54191         * crypt/sha512-block.c: ... here.
54192         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
54193         path.
54194         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
54195         * sysdeps/sparc/sparc64/multiarch/Makefile
54196         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
54197         crypt subdir.
54198         (localedef-aux): Add md5 crypto assembler when in locale subdir.
54199         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
54200         multiarch changes.
54201         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
54202         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
54203         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
54204         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
54205         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
54206         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
54207         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
54208         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
54209         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
54210         file.
54211         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
54212         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
54213         file.
54214         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
54216 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
54218         * timezone/tzselect.ksh: Update from tzcode git revision
54219         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
54220         * timezone/zdump.c: Likewise.
54221         * timezone/zic.c: Likewise.
54222         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
54223         in TZVERSION setting, not $(PKGVERSION).
54224         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
54225         REPORT_BUGS_TO settings.
54227         [BZ #14838]
54228         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
54229         macro.
54231 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54233         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
54234         detection to immediately after _FP_ROUND().
54235         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
54236         bits are 0.
54238 2012-11-11  David S. Miller  <davem@davemloft.net>
54240         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
54241         inttypes.h
54242         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
54243         __close rather than their public counterparts.
54245 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
54247         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
54248         file.
54249         [UNIX98] (sem_timedwait): Do not expect.
54250         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
54251         [XPG4 || UNIX98] (sockatmark): Do not expect.
54252         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
54253         (clock_getcpuclockid): Do not expect.
54254         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
54255         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
54256         Do not expect.
54257         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
54258         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
54259         [UNIX98] (vwscanf): Likewise.
54260         [UNIX98] (vswscanf): Likewise.
54262 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
54264         * timezone/version.h: Remove file.
54265         * timezone/README: Do not refer to version.h.
54266         * timezone/Makefile ($(objpfx)zic.o): New dependency on
54267         $(objpfx)version.h.
54268         ($(objpfx)zdump.o): Likewise.
54269         ($(objpfx)version.h): New target.
54271         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
54272         2012i.
54273         * timezone/README: Don't mention modification to tzselect.ksh.
54274         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
54275         work on unmodified tzselect.ksh.  Substitute version numbers in
54276         tzselect.ksh.
54278         * Makefile (format-me): Remove.
54279         (INSTALL): Adjust indentation.  Use commands directly instead of
54280         using $(format-me).
54282         * aclocal.m4 (ACX_PKGVERSION): New macro.
54283         (ACX_BUGURL): Likewise.
54284         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
54285         (PKGVERSION): New AC_DEFINE_UNQUOTED.
54286         (REPORT_BUGS_TO): Likewise.
54287         * configure: Regenerated.
54288         * config.h.in (PKGVERSION): New macro.
54289         (REPORT_BUGS_TO): Likewise.
54290         * config.make.in (PKGVERSION): New variable.
54291         (PKGVERSION_TEXI): Likewise.
54292         (REPORT_BUGS_TO): Likewise.
54293         (REPORT_BUGS_TEXI): Likewise.
54294         * Makefile (format-me): Use -I$(common-objpfx)manual.
54295         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
54296         ($(common-objpfx)manual/%): New target.
54297         (manual/%): Remove target.
54298         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
54299         (print_version): Use PKGVERSION.
54300         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
54301         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
54302         and REPORT_BUGS_TO.
54303         ($(objpfx)xtrace): Likewise.
54304         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
54305         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
54306         (print_version): Use PKGVERSION.
54307         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
54308         (do_version): Use PKGVERSION.
54309         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
54310         REPORT_BUGS_TO.
54311         (common-ldd-rewrite): Likewise.
54312         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
54313         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
54314         (print_version): Use PKGVERSION.
54315         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
54316         * elf/pldd.c (argp_program_bug_address): Remove variable.
54317         (more_help): New function.
54318         (argp): Use more_help.
54319         (print_version): Use PKGVERSION.
54320         * elf/sln.c (main): Use PKGVERSION.
54321         (usage): Use REPORT_BUGS_TO.
54322         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
54323         (top level): Use PKGVERSION.
54324         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
54325         (print_version): Use PKGVERSION.
54326         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
54327         (print_version): Use PKGVERSION.
54328         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
54329         (print_version): Use PKGVERSION.
54330         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
54331         (print_version): Use PKGVERSION.
54332         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
54333         (print_version): Use PKGVERSION.
54334         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
54335         (print_version): Use PKGVERSION.
54336         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
54337         and BUGURL.
54338         ($(objpfx)memusage): Likewise.
54339         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
54340         (do_version): Use PKGVERSION.
54341         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
54342         (print_version): Use PKGVERSION.
54343         * malloc/mtrace.pl ($PACKAGE): Remove variable.
54344         ($PKGVERSION): New variable.
54345         ($REPORT_BUGS_TO): Likewise.
54346         (usage): Use $REPORT_BUGS_TO.
54347         (top level): Use $PKGVERSION.
54348         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
54349         ($(objpfx)pkgvers.texi): New rule.
54350         ($(objpfx)stamp-pkgvers): Likewise.
54351         * manual/install.texi: Include pkgvers.texi.
54352         (--with-pkgversion): Document new configure option.
54353         (--with-bugurl): Likewise.
54354         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
54355         than necessarily for this particular distribution.  Use
54356         REPORT_BUGS_TO for where to report bugs.
54357         * INSTALL: Regenerated.
54358         * manual/libc.texinfo: Include pkgvers.texi.
54359         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
54360         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
54361         (print_version): Use PKGVERSION.
54362         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
54363         (print_version): Use PKGVERSION.
54364         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
54365         (print_version): Use PKGVERSION.
54366         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
54367         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
54368         macro.
54369         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
54370         (print_version): Use PKGVERSION.
54371         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
54372         (print_version): Use PKGVERSION.
54373         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
54374         and PKGVERSION.
54376         * timezone/checktab.awk: Update from tzcode 2012i.
54377         * timezone/ialloc.c: Likewise.
54378         * timezone/private.h: Likewise.
54379         * timezone/scheck.c: Likewise.
54380         * timezone/tzfile.h: Likewise.
54381         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
54382         (TZVERSION): Hardcode tzcode version number.
54383         * timezone/zdump.c: Update from tzcode 2012i.
54384         * timezone/zic.c: Likewise.
54385         * timezone/version.h: New file.
54386         * timezone/README: Describe version.h.  Update upstream location.
54388         [BZ #14824]
54389         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
54390         (mktemp): Enable declaration.
54391         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
54392         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
54393         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
54394         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
54395         Likewise.
54396         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
54397         Likewise.
54398         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
54399         Likewise.
54400         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
54401         Likewise.
54402         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
54403         Likewise.
54404         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
54405         Likewise.
54407         [BZ #14821]
54408         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
54409         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
54410         for copies of such integer values.
54411         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
54412         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
54414 2012-11-09  Andreas Jaeger  <aj@suse.de>
54416         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
54417         definitions and declarations that are provided by
54418         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
54420 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54422         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
54423         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
54424         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
54425         definition.
54427 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54429         * elf/elf.h: Update comment before AArch64 relocations.
54431 2012-11-07  David S. Miller  <davem@davemloft.net>
54433         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
54434         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
54435         (__start_context): Declare.
54436         (__makecontext_ret): Delete.
54437         (__makecontext): Hook up __start_context instead of
54438         __makecontext_ret.
54439         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
54440         (sysdep_routines): Add __start_context when in stdlib.
54442 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
54444         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
54445         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
54446         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
54447         hardcoded "nm".
54448         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
54449         (READELF): New variable.  Use it instead of hardcoded "readelf".
54451 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
54453         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
54454         * sysdeps/x86/Makefile: Here.
54455         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
54456         * sysdeps/x86/tst-xmmymm.sh: This.
54458 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
54460         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
54461         expectations.
54462         [UNIX98] (pthread_barrier_t): Do not expect.
54463         [UNIX98] (pthread_barrierattr_t): Likewise.
54464         [UNIX98] (pthread_spinlock_t): Likewise.
54465         [UNIX98] (pthread_barrier_destroy): Likewise.
54466         [UNIX98] (pthread_barrier_init): Likewise.
54467         [UNIX98] (pthread_barrier_wait): Likewise.
54468         [UNIX98] (pthread_barrierattr_destroy): Likewise.
54469         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
54470         [UNIX98] (pthread_barrierattr_init): Likewise.
54471         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
54472         [UNIX98] (pthread_getcpuclockid): Likewise.
54473         [UNIX98] (pthread_mutex_timedlock): Likewise.
54474         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
54475         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
54476         [UNIX98] (pthread_sigmask): Likewise.
54477         [UNIX98] (pthread_spin_destroy): Likewise.
54478         [UNIX98] (pthread_spin_init): Likewise.
54479         [UNIX98] (pthread_spin_lock): Likewise.
54480         [UNIX98] (pthread_spin_trylock): Likewise.
54481         [UNIX98] (pthread_spin_unlock): Likewise.
54482         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
54483         Do not expect.
54484         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
54485         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
54486         [XPG3 || XPG4] (pthread_cond_t): Likewise.
54487         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
54488         [XPG3 || XPG4] (pthread_key_t): Likewise.
54489         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
54490         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
54491         [XPG3 || XPG4] (pthread_once_t): Likewise.
54492         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
54493         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
54494         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
54495         [XPG3 || XPG4] (pthread_t): Likewise.
54497         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
54498         not expect.
54499         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
54501         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
54502         Change function return type to int.
54504         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
54505         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
54506         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
54507         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
54508         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
54509         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
54510         [!POSIX] (posix_madvise): Likewise.
54511         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
54512         && !UNIX98].
54513         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
54514         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
54515         (mode_t): Likewise.
54516         (posix_mem_offset): Likewise.
54517         (posix_typed_mem_get_info): Likewise.
54518         (posix_typed_mem_open): Likewise.
54520         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
54521         Change condition to [XOPEN2K8].
54523         * conform/conformtest.pl: Preprocess allow-header data with -x c
54524         instead of from stdin.
54525         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
54526         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
54527         [C99-based standards] (cerfc): Likewise.
54528         [C99-based standards] (cexp2): Likewise.
54529         [C99-based standards] (cexpm1): Likewise.
54530         [C99-based standards] (clog10): Likewise.
54531         [C99-based standards] (clog1p): Likewise.
54532         [C99-based standards] (clog2): Likewise.
54533         [C99-based standards] (clgamma): Likewise.
54534         [C99-based standards] (ctgamma): Likewise.
54535         [C99-based standards] (cerff): Likewise.
54536         [C99-based standards] (cerfcf): Likewise.
54537         [C99-based standards] (cexp2f): Likewise.
54538         [C99-based standards] (cexpm1f): Likewise.
54539         [C99-based standards] (clog10f): Likewise.
54540         [C99-based standards] (clog1pf): Likewise.
54541         [C99-based standards] (clog2f): Likewise.
54542         [C99-based standards] (clgammaf): Likewise.
54543         [C99-based standards] (ctgammaf): Likewise.
54544         [C99-based standards] (cerfl): Likewise.
54545         [C99-based standards] (cerfcl): Likewise.
54546         [C99-based standards] (cexp2l): Likewise.
54547         [C99-based standards] (cexpm1l): Likewise.
54548         [C99-based standards] (clog10l): Likewise.
54549         [C99-based standards] (clog1pl): Likewise.
54550         [C99-based standards] (clog2l): Likewise.
54551         [C99-based standards] (clgammal): Likewise.
54552         [C99-based standards] (ctgammal): Likewise.
54553         * conform/data/inttypes.h-data [C99-based standards]: Include
54554         stdint.h-data.  Remove all expectations for stdint.h contents.
54555         [C99-based standards] (PRI*): Do not allow.
54556         [C99-based standards] (SCN*): Likewise.
54557         [C99-based standards] (*_t): Likewise.
54558         [C99-based-standards] (PRId8): Expect macro.
54559         [C99-based-standards] (PRIi8): Likewise.
54560         [C99-based-standards] (PRIo8): Likewise.
54561         [C99-based-standards] (PRIu8): Likewise.
54562         [C99-based-standards] (PRIx8): Likewise.
54563         [C99-based-standards] (PRIX8): Likewise.
54564         [C99-based-standards] (SCNd8): Likewise.
54565         [C99-based-standards] (SCNi8): Likewise.
54566         [C99-based-standards] (SCNo8): Likewise.
54567         [C99-based-standards] (SCNu8): Likewise.
54568         [C99-based-standards] (SCNx8): Likewise.
54569         [C99-based-standards] (PRIdLEAST8): Likewise.
54570         [C99-based-standards] (PRIiLEAST8): Likewise.
54571         [C99-based-standards] (PRIoLEAST8): Likewise.
54572         [C99-based-standards] (PRIuLEAST8): Likewise.
54573         [C99-based-standards] (PRIxLEAST8): Likewise.
54574         [C99-based-standards] (PRIXLEAST8): Likewise.
54575         [C99-based-standards] (SCNdLEAST8): Likewise.
54576         [C99-based-standards] (SCNiLEAST8): Likewise.
54577         [C99-based-standards] (SCNoLEAST8): Likewise.
54578         [C99-based-standards] (SCNuLEAST8): Likewise.
54579         [C99-based-standards] (SCNxLEAST8): Likewise.
54580         [C99-based-standards] (PRIdFAST8): Likewise.
54581         [C99-based-standards] (PRIiFAST8): Likewise.
54582         [C99-based-standards] (PRIoFAST8): Likewise.
54583         [C99-based-standards] (PRIuFAST8): Likewise.
54584         [C99-based-standards] (PRIxFAST8): Likewise.
54585         [C99-based-standards] (PRIXFAST8): Likewise.
54586         [C99-based-standards] (SCNdFAST8): Likewise.
54587         [C99-based-standards] (SCNiFAST8): Likewise.
54588         [C99-based-standards] (SCNoFAST8): Likewise.
54589         [C99-based-standards] (SCNuFAST8): Likewise.
54590         [C99-based-standards] (SCNxFAST8): Likewise.
54591         [C99-based-standards] (PRId16): Likewise.
54592         [C99-based-standards] (PRIi16): Likewise.
54593         [C99-based-standards] (PRIo16): Likewise.
54594         [C99-based-standards] (PRIu16): Likewise.
54595         [C99-based-standards] (PRIx16): Likewise.
54596         [C99-based-standards] (PRIX16): Likewise.
54597         [C99-based-standards] (SCNd16): Likewise.
54598         [C99-based-standards] (SCNi16): Likewise.
54599         [C99-based-standards] (SCNo16): Likewise.
54600         [C99-based-standards] (SCNu16): Likewise.
54601         [C99-based-standards] (SCNx16): Likewise.
54602         [C99-based-standards] (PRIdLEAST16): Likewise.
54603         [C99-based-standards] (PRIiLEAST16): Likewise.
54604         [C99-based-standards] (PRIoLEAST16): Likewise.
54605         [C99-based-standards] (PRIuLEAST16): Likewise.
54606         [C99-based-standards] (PRIxLEAST16): Likewise.
54607         [C99-based-standards] (PRIXLEAST16): Likewise.
54608         [C99-based-standards] (SCNdLEAST16): Likewise.
54609         [C99-based-standards] (SCNiLEAST16): Likewise.
54610         [C99-based-standards] (SCNoLEAST16): Likewise.
54611         [C99-based-standards] (SCNuLEAST16): Likewise.
54612         [C99-based-standards] (SCNxLEAST16): Likewise.
54613         [C99-based-standards] (PRIdFAST16): Likewise.
54614         [C99-based-standards] (PRIiFAST16): Likewise.
54615         [C99-based-standards] (PRIoFAST16): Likewise.
54616         [C99-based-standards] (PRIuFAST16): Likewise.
54617         [C99-based-standards] (PRIxFAST16): Likewise.
54618         [C99-based-standards] (PRIXFAST16): Likewise.
54619         [C99-based-standards] (SCNdFAST16): Likewise.
54620         [C99-based-standards] (SCNiFAST16): Likewise.
54621         [C99-based-standards] (SCNoFAST16): Likewise.
54622         [C99-based-standards] (SCNuFAST16): Likewise.
54623         [C99-based-standards] (SCNxFAST16): Likewise.
54624         [C99-based-standards] (PRId32): Likewise.
54625         [C99-based-standards] (PRIi32): Likewise.
54626         [C99-based-standards] (PRIo32): Likewise.
54627         [C99-based-standards] (PRIu32): Likewise.
54628         [C99-based-standards] (PRIx32): Likewise.
54629         [C99-based-standards] (PRIX32): Likewise.
54630         [C99-based-standards] (SCNd32): Likewise.
54631         [C99-based-standards] (SCNi32): Likewise.
54632         [C99-based-standards] (SCNo32): Likewise.
54633         [C99-based-standards] (SCNu32): Likewise.
54634         [C99-based-standards] (SCNx32): Likewise.
54635         [C99-based-standards] (PRIdLEAST32): Likewise.
54636         [C99-based-standards] (PRIiLEAST32): Likewise.
54637         [C99-based-standards] (PRIoLEAST32): Likewise.
54638         [C99-based-standards] (PRIuLEAST32): Likewise.
54639         [C99-based-standards] (PRIxLEAST32): Likewise.
54640         [C99-based-standards] (PRIXLEAST32): Likewise.
54641         [C99-based-standards] (SCNdLEAST32): Likewise.
54642         [C99-based-standards] (SCNiLEAST32): Likewise.
54643         [C99-based-standards] (SCNoLEAST32): Likewise.
54644         [C99-based-standards] (SCNuLEAST32): Likewise.
54645         [C99-based-standards] (SCNxLEAST32): Likewise.
54646         [C99-based-standards] (PRIdFAST32): Likewise.
54647         [C99-based-standards] (PRIiFAST32): Likewise.
54648         [C99-based-standards] (PRIoFAST32): Likewise.
54649         [C99-based-standards] (PRIuFAST32): Likewise.
54650         [C99-based-standards] (PRIxFAST32): Likewise.
54651         [C99-based-standards] (PRIXFAST32): Likewise.
54652         [C99-based-standards] (SCNdFAST32): Likewise.
54653         [C99-based-standards] (SCNiFAST32): Likewise.
54654         [C99-based-standards] (SCNoFAST32): Likewise.
54655         [C99-based-standards] (SCNuFAST32): Likewise.
54656         [C99-based-standards] (SCNxFAST32): Likewise.
54657         [C99-based-standards] (PRId64): Likewise.
54658         [C99-based-standards] (PRIi64): Likewise.
54659         [C99-based-standards] (PRIo64): Likewise.
54660         [C99-based-standards] (PRIu64): Likewise.
54661         [C99-based-standards] (PRIx64): Likewise.
54662         [C99-based-standards] (PRIX64): Likewise.
54663         [C99-based-standards] (SCNd64): Likewise.
54664         [C99-based-standards] (SCNi64): Likewise.
54665         [C99-based-standards] (SCNo64): Likewise.
54666         [C99-based-standards] (SCNu64): Likewise.
54667         [C99-based-standards] (SCNx64): Likewise.
54668         [C99-based-standards] (PRIdLEAST64): Likewise.
54669         [C99-based-standards] (PRIiLEAST64): Likewise.
54670         [C99-based-standards] (PRIoLEAST64): Likewise.
54671         [C99-based-standards] (PRIuLEAST64): Likewise.
54672         [C99-based-standards] (PRIxLEAST64): Likewise.
54673         [C99-based-standards] (PRIXLEAST64): Likewise.
54674         [C99-based-standards] (SCNdLEAST64): Likewise.
54675         [C99-based-standards] (SCNiLEAST64): Likewise.
54676         [C99-based-standards] (SCNoLEAST64): Likewise.
54677         [C99-based-standards] (SCNuLEAST64): Likewise.
54678         [C99-based-standards] (SCNxLEAST64): Likewise.
54679         [C99-based-standards] (PRIdFAST64): Likewise.
54680         [C99-based-standards] (PRIiFAST64): Likewise.
54681         [C99-based-standards] (PRIoFAST64): Likewise.
54682         [C99-based-standards] (PRIuFAST64): Likewise.
54683         [C99-based-standards] (PRIxFAST64): Likewise.
54684         [C99-based-standards] (PRIXFAST64): Likewise.
54685         [C99-based-standards] (SCNdFAST64): Likewise.
54686         [C99-based-standards] (SCNiFAST64): Likewise.
54687         [C99-based-standards] (SCNoFAST64): Likewise.
54688         [C99-based-standards] (SCNuFAST64): Likewise.
54689         [C99-based-standards] (SCNxFAST64): Likewise.
54690         [C99-based-standards] (PRIdMAX): Likewise.
54691         [C99-based-standards] (PRIiMAX): Likewise.
54692         [C99-based-standards] (PRIoMAX): Likewise.
54693         [C99-based-standards] (PRIuMAX): Likewise.
54694         [C99-based-standards] (PRIxMAX): Likewise.
54695         [C99-based-standards] (PRIXMAX): Likewise.
54696         [C99-based-standards] (SCNdMAX): Likewise.
54697         [C99-based-standards] (SCNiMAX): Likewise.
54698         [C99-based-standards] (SCNoMAX): Likewise.
54699         [C99-based-standards] (SCNuMAX): Likewise.
54700         [C99-based-standards] (SCNxMAX): Likewise.
54701         [C99-based-standards] (PRIdPTR): Likewise.
54702         [C99-based-standards] (PRIiPTR): Likewise.
54703         [C99-based-standards] (PRIoPTR): Likewise.
54704         [C99-based-standards] (PRIuPTR): Likewise.
54705         [C99-based-standards] (PRIxPTR): Likewise.
54706         [C99-based-standards] (PRIXPTR): Likewise.
54707         [C99-based-standards] (SCNdPTR): Likewise.
54708         [C99-based-standards] (SCNiPTR): Likewise.
54709         [C99-based-standards] (SCNoPTR): Likewise.
54710         [C99-based-standards] (SCNuPTR): Likewise.
54711         [C99-based-standards] (SCNxPTR): Likewise.
54712         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
54713         allow.
54714         * conform/data/stdint.h-data: Update comments to clarify
54715         requirements.
54716         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
54717         type.
54718         [C99-based standards] (INT8_MAX): Likewise.
54719         [C99-based standards] (INT16_MIN): Likewise.
54720         [C99-based standards] (INT16_MAX): Likewise.
54721         [C99-based standards] (INT32_MIN): Likewise.
54722         [C99-based standards] (INT32_MAX): Likewise.
54723         [C99-based standards] (INT64_MIN): Likewise.
54724         [C99-based standards] (INT64_MAX): Likewise.
54725         [C99-based standards] (UINT8_MAX): Likewise.
54726         [C99-based standards] (UINT16_MAX): Likewise.
54727         [C99-based standards] (UINT32_MAX): Likewise.
54728         [C99-based standards] (UINT64_MAX): Likewise.
54729         [C99-based standards] (INT_LEAST8_MIN): Likewise.
54730         [C99-based standards] (INT_LEAST8_MAX): Likewise.
54731         [C99-based standards] (INT_LEAST16_MIN): Likewise.
54732         [C99-based standards] (INT_LEAST16_MAX): Likewise.
54733         [C99-based standards] (INT_LEAST32_MIN): Likewise.
54734         [C99-based standards] (INT_LEAST32_MAX): Likewise.
54735         [C99-based standards] (INT_LEAST64_MIN): Likewise.
54736         [C99-based standards] (INT_LEAST64_MAX): Likewise.
54737         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
54738         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
54739         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
54740         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
54741         [C99-based standards] (INT_FAST8_MIN): Likewise.
54742         [C99-based standards] (INT_FAST8_MAX): Likewise.
54743         [C99-based standards] (INT_FAST16_MIN): Likewise.
54744         [C99-based standards] (INT_FAST16_MAX): Likewise.
54745         [C99-based standards] (INT_FAST32_MIN): Likewise.
54746         [C99-based standards] (INT_FAST32_MAX): Likewise.
54747         [C99-based standards] (INT_FAST64_MIN): Likewise.
54748         [C99-based standards] (INT_FAST64_MAX): Likewise.
54749         [C99-based standards] (UINT_FAST8_MAX): Likewise.
54750         [C99-based standards] (UINT_FAST16_MAX): Likewise.
54751         [C99-based standards] (UINT_FAST32_MAX): Likewise.
54752         [C99-based standards] (UINT_FAST64_MAX): Likewise.
54753         [C99-based standards] (INTPTR_MIN): Likewise.
54754         [C99-based standards] (INTPTR_MAX): Likewise.
54755         [C99-based standards] (UINTPTR_MAX): Likewise.
54756         [C99-based standards] (INTMAX_MIN): Likewise.
54757         [C99-based standards] (INTMAX_MAX): Likewise.
54758         [C99-based standards] (UINTMAX_MAX): Likewise.
54759         [C99-based standards] (PTRDIFF_MIN): Likewise.
54760         [C99-based standards] (PTRDIFF_MAX): Likewise.
54761         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
54762         [C99-based standards] (SIZE_MAX): Likewise.
54763         [C99-based standards] (WCHAR_MAX): Likewise.
54764         [C99-based standards] (WINT_MAX): Likewise.
54765         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
54766         constraint on value.
54767         [C99-based standards] (WCHAR_MIN): Likewise.
54768         [C99-based standards] (WINT_MIN): Likewise.
54769         [C99-based standards] (*_t): Allow.
54770         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
54771         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
54772         Include math.h-data and complex.h-data.  Remove all expectations
54773         of math.h and complex.h contents.
54774         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
54775         at end of line.
54776         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
54777         (struct tm): Expect tag.
54778         [C99-based-standards] (wcstof): Expect function.
54779         [C99-based-standards] (wcstold): Likewise.
54780         [C99-based-standards] (wcstoll): Likewise.
54781         [C99-based-standards] (wcstoull): Likewise.
54782         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
54783         macro-int-constant.  Specify type.
54784         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
54785         constraint on value.
54786         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
54787         Specify type.
54788         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
54789         Specify value.
54790         [ISO C standards]: Do not allow headers.
54791         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
54792         wcs[abcdefghijklmnopqrstuvwxyz]*.
54793         [ISO C standards] (*_t): Do not allow.
54794         * conform/data/wctype.h-data [C99-based standards] (iswblank):
54795         Expect function.
54796         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
54797         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
54798         Specify type.
54799         [ISO C standards]: Do not allow headers.
54800         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
54801         is[abcdefghijklmnopqrstuvwxyz]*.
54802         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
54803         to[abcdefghijklmnopqrstuvwxyz]*.
54804         [ISO C standards] (*_t): Do not allow.
54805         * conform/data/stdalign.h-data: New file.
54806         * conform/data/stdbool.h-data: Likewise.
54807         * conform/data/stdnoreturn.h-data: Likewise.
54809 2012-11-07  Roland McGrath  <roland@hack.frob.com>
54811         [BZ #14815]
54812         * manual/filesys.texi (Directory Entries): Typo fix.
54813         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
54815 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54817         * elf/elf.h (EM_AARCH64): New macro.
54818         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
54819         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
54820         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
54821         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
54822         (R_AARCH64_TLSDESC): Likewise.
54823         (NT_ARM_TLS): Likewise.
54824         (NT_ARM_HW_BREAK): Likewise.
54825         (NT_ARM_HW_WATCH): Likewise.
54827 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
54829         [BZ #14811]
54830         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
54831         (__ieee754_powl): Saturate nonzero exponents with absolute value
54832         below 0x1p-79 to +/- 0x1p-79.
54833         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
54834         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
54835         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
54836         nonzero exponents with absolute value below 0x1p-32 to +/-
54837         0x1p-32.
54838         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
54839         (__ieee754_powl): Saturate nonzero exponents with absolute value
54840         below 0x1p-79 to +/- 0x1p-79.
54841         * math/libm-test.inc (pow_test): Add more tests.
54843 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54845         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
54846         _dl_s390_cap_flags with kernel. Increase string length.
54847         (_dl_s390_platforms): Add z196 and zEC12.
54849 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
54851         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
54852         Change XOPEN21K to XOPEN2K.
54854 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
54856         * string/memmove.c: Use memcpy when possible.
54858 2012-11-06  Andreas Jaeger  <aj@suse.de>
54860         * po/eo.po: Update from translation team.
54862 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
54864         [BZ #14793]
54865         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
54866         exponent and small x and y exponents, scale x or y up.  Increase
54867         by 2 the exponent used in scaling up.
54868         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54869         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54870         * math/libm-test.inc (fma_test): Add more tests.
54871         (fma_test_towardzero): Likewise.
54872         (fma_test_downward): Likewise.
54873         (fma_test_upward): Likewise.
54875 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
54877         [BZ #14805]
54878         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
54879         fenv_t *.
54881         [BZ #14801]
54882         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
54883         namespace for names of struct fields.
54884         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
54885         fenv_t fields.
54886         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
54887         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
54889 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54891         [BZ #3665]
54892         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
54894 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
54896         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
54897         PTR_DEMANGLE.
54899         [BZ #5246]
54900         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
54901         PTR_DEMANGLE.
54903 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
54905         [BZ #14797]
54906         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
54907         definitely overflow as x * y not x * y + z.
54908         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54909         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54910         * math/libm-test.inc (fma_test): Add more tests.
54911         (fma_test_towardzero): Likewise.
54912         (fma_test_downward): Likewise.
54913         (fma_test_upward): Likewise.
54915 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
54917         [BZ #157]
54919         * include/stub-tag.h: Remove file.
54920         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
54921         '#include' of it.
54922         * manual/maint.texi (Porting): Don't reference it.
54923         * Makerules ($(objpfx)stubs): Likewise.
54924         * dirent/closedir.c: Don't include <stub-tag.h>.
54925         * dirent/dirfd.c: Likewise.
54926         * dirent/fdopendir.c: Likewise.
54927         * dirent/getdents.c: Likewise.
54928         * dirent/getdents64.c: Likewise.
54929         * dirent/opendir.c: Likewise.
54930         * dirent/readdir.c: Likewise.
54931         * dirent/readdir64.c: Likewise.
54932         * dirent/readdir64_r.c: Likewise.
54933         * dirent/readdir_r.c: Likewise.
54934         * dirent/rewinddir.c: Likewise.
54935         * dirent/seekdir.c: Likewise.
54936         * dirent/telldir.c: Likewise.
54937         * gmon/profil.c: Likewise.
54938         * grp/setgroups.c: Likewise.
54939         * inet/if_index.c: Likewise.
54940         * io/access.c: Likewise.
54941         * io/chdir.c: Likewise.
54942         * io/chmod.c: Likewise.
54943         * io/chown.c: Likewise.
54944         * io/close.c: Likewise.
54945         * io/dup.c: Likewise.
54946         * io/dup2.c: Likewise.
54947         * io/dup3.c: Likewise.
54948         * io/euidaccess.c: Likewise.
54949         * io/faccessat.c: Likewise.
54950         * io/fchdir.c: Likewise.
54951         * io/fchmod.c: Likewise.
54952         * io/fchmodat.c: Likewise.
54953         * io/fchown.c: Likewise.
54954         * io/fchownat.c: Likewise.
54955         * io/fcntl.c: Likewise.
54956         * io/flock.c: Likewise.
54957         * io/fstatfs.c: Likewise.
54958         * io/fstatfs64.c: Likewise.
54959         * io/fstatvfs.c: Likewise.
54960         * io/fstatvfs64.c: Likewise.
54961         * io/futimens.c: Likewise.
54962         * io/fxstat.c: Likewise.
54963         * io/fxstat64.c: Likewise.
54964         * io/fxstatat.c: Likewise.
54965         * io/fxstatat64.c: Likewise.
54966         * io/getcwd.c: Likewise.
54967         * io/isatty.c: Likewise.
54968         * io/lchmod.c: Likewise.
54969         * io/lchown.c: Likewise.
54970         * io/link.c: Likewise.
54971         * io/linkat.c: Likewise.
54972         * io/lseek.c: Likewise.
54973         * io/lseek64.c: Likewise.
54974         * io/lxstat64.c: Likewise.
54975         * io/mkdir.c: Likewise.
54976         * io/mkdirat.c: Likewise.
54977         * io/mkfifo.c: Likewise.
54978         * io/mkfifoat.c: Likewise.
54979         * io/open.c: Likewise.
54980         * io/open64.c: Likewise.
54981         * io/openat.c: Likewise.
54982         * io/openat64.c: Likewise.
54983         * io/pipe.c: Likewise.
54984         * io/pipe2.c: Likewise.
54985         * io/poll.c: Likewise.
54986         * io/posix_fadvise.c: Likewise.
54987         * io/posix_fadvise64.c: Likewise.
54988         * io/posix_fallocate.c: Likewise.
54989         * io/posix_fallocate64.c: Likewise.
54990         * io/read.c: Likewise.
54991         * io/readlink.c: Likewise.
54992         * io/readlinkat.c: Likewise.
54993         * io/rmdir.c: Likewise.
54994         * io/sendfile.c: Likewise.
54995         * io/sendfile64.c: Likewise.
54996         * io/statfs.c: Likewise.
54997         * io/statfs64.c: Likewise.
54998         * io/statvfs.c: Likewise.
54999         * io/statvfs64.c: Likewise.
55000         * io/symlink.c: Likewise.
55001         * io/symlinkat.c: Likewise.
55002         * io/ttyname.c: Likewise.
55003         * io/ttyname_r.c: Likewise.
55004         * io/umask.c: Likewise.
55005         * io/unlink.c: Likewise.
55006         * io/unlinkat.c: Likewise.
55007         * io/utime.c: Likewise.
55008         * io/utimensat.c: Likewise.
55009         * io/write.c: Likewise.
55010         * io/xmknod.c: Likewise.
55011         * io/xmknodat.c: Likewise.
55012         * io/xstat.c: Likewise.
55013         * io/xstat64.c: Likewise.
55014         * login/getpt.c: Likewise.
55015         * login/grantpt.c: Likewise.
55016         * login/unlockpt.c: Likewise.
55017         * math/e_acoshl.c: Likewise.
55018         * math/e_acosl.c: Likewise.
55019         * math/e_asinl.c: Likewise.
55020         * math/e_atan2l.c: Likewise.
55021         * math/e_atanhl.c: Likewise.
55022         * math/e_coshl.c: Likewise.
55023         * math/e_expl.c: Likewise.
55024         * math/e_fmodl.c: Likewise.
55025         * math/e_gammal_r.c: Likewise.
55026         * math/e_hypotl.c: Likewise.
55027         * math/e_j0l.c: Likewise.
55028         * math/e_j1l.c: Likewise.
55029         * math/e_jnl.c: Likewise.
55030         * math/e_lgammal_r.c: Likewise.
55031         * math/e_log10l.c: Likewise.
55032         * math/e_log2l.c: Likewise.
55033         * math/e_logl.c: Likewise.
55034         * math/e_powl.c: Likewise.
55035         * math/e_rem_pio2l.c: Likewise.
55036         * math/e_sinhl.c: Likewise.
55037         * math/e_sqrtl.c: Likewise.
55038         * math/fclrexcpt.c: Likewise.
55039         * math/fedisblxcpt.c: Likewise.
55040         * math/feenablxcpt.c: Likewise.
55041         * math/fegetenv.c: Likewise.
55042         * math/fegetexcept.c: Likewise.
55043         * math/fegetround.c: Likewise.
55044         * math/feholdexcpt.c: Likewise.
55045         * math/fesetenv.c: Likewise.
55046         * math/fesetround.c: Likewise.
55047         * math/feupdateenv.c: Likewise.
55048         * math/fgetexcptflg.c: Likewise.
55049         * math/fraiseexcpt.c: Likewise.
55050         * math/fsetexcptflg.c: Likewise.
55051         * math/ftestexcept.c: Likewise.
55052         * math/k_cosl.c: Likewise.
55053         * math/k_rem_pio2l.c: Likewise.
55054         * math/k_sinl.c: Likewise.
55055         * math/k_tanl.c: Likewise.
55056         * math/s_asinhl.c: Likewise.
55057         * math/s_atanl.c: Likewise.
55058         * math/s_cbrtl.c: Likewise.
55059         * math/s_erfl.c: Likewise.
55060         * math/s_expm1l.c: Likewise.
55061         * math/s_log1pl.c: Likewise.
55062         * math/s_tanhl.c: Likewise.
55063         * misc/acct.c: Likewise.
55064         * misc/brk.c: Likewise.
55065         * misc/chflags.c: Likewise.
55066         * misc/chroot.c: Likewise.
55067         * misc/fchflags.c: Likewise.
55068         * misc/fgetxattr.c: Likewise.
55069         * misc/flistxattr.c: Likewise.
55070         * misc/fremovexattr.c: Likewise.
55071         * misc/fsetxattr.c: Likewise.
55072         * misc/fsync.c: Likewise.
55073         * misc/ftruncate.c: Likewise.
55074         * misc/futimes.c: Likewise.
55075         * misc/futimesat.c: Likewise.
55076         * misc/getdomain.c: Likewise.
55077         * misc/getdtsz.c: Likewise.
55078         * misc/gethostid.c: Likewise.
55079         * misc/gethostname.c: Likewise.
55080         * misc/getloadavg.c: Likewise.
55081         * misc/getpagesize.c: Likewise.
55082         * misc/getsysstats.c: Likewise.
55083         * misc/getxattr.c: Likewise.
55084         * misc/gtty.c: Likewise.
55085         * misc/ioctl.c: Likewise.
55086         * misc/lgetxattr.c: Likewise.
55087         * misc/listxattr.c: Likewise.
55088         * misc/llistxattr.c: Likewise.
55089         * misc/lremovexattr.c: Likewise.
55090         * misc/lsetxattr.c: Likewise.
55091         * misc/lutimes.c: Likewise.
55092         * misc/madvise.c: Likewise.
55093         * misc/mincore.c: Likewise.
55094         * misc/mlock.c: Likewise.
55095         * misc/mlockall.c: Likewise.
55096         * misc/mmap.c: Likewise.
55097         * misc/mprotect.c: Likewise.
55098         * misc/msync.c: Likewise.
55099         * misc/munlock.c: Likewise.
55100         * misc/munlockall.c: Likewise.
55101         * misc/munmap.c: Likewise.
55102         * misc/preadv.c: Likewise.
55103         * misc/preadv64.c: Likewise.
55104         * misc/ptrace.c: Likewise.
55105         * misc/pwritev.c: Likewise.
55106         * misc/pwritev64.c: Likewise.
55107         * misc/readv.c: Likewise.
55108         * misc/reboot.c: Likewise.
55109         * misc/remap_file_pages.c: Likewise.
55110         * misc/removexattr.c: Likewise.
55111         * misc/revoke.c: Likewise.
55112         * misc/select.c: Likewise.
55113         * misc/setdomain.c: Likewise.
55114         * misc/setegid.c: Likewise.
55115         * misc/seteuid.c: Likewise.
55116         * misc/sethostid.c: Likewise.
55117         * misc/sethostname.c: Likewise.
55118         * misc/setregid.c: Likewise.
55119         * misc/setreuid.c: Likewise.
55120         * misc/setxattr.c: Likewise.
55121         * misc/sstk.c: Likewise.
55122         * misc/stty.c: Likewise.
55123         * misc/swapoff.c: Likewise.
55124         * misc/swapon.c: Likewise.
55125         * misc/sync.c: Likewise.
55126         * misc/syncfs.c: Likewise.
55127         * misc/syscall.c: Likewise.
55128         * misc/truncate.c: Likewise.
55129         * misc/ualarm.c: Likewise.
55130         * misc/usleep.c: Likewise.
55131         * misc/ustat.c: Likewise.
55132         * misc/utimes.c: Likewise.
55133         * misc/vhangup.c: Likewise.
55134         * misc/writev.c: Likewise.
55135         * posix/_exit.c: Likewise.
55136         * posix/alarm.c: Likewise.
55137         * posix/execve.c: Likewise.
55138         * posix/fexecve.c: Likewise.
55139         * posix/fork.c: Likewise.
55140         * posix/fpathconf.c: Likewise.
55141         * posix/getaddrinfo.c: Likewise.
55142         * posix/getegid.c: Likewise.
55143         * posix/geteuid.c: Likewise.
55144         * posix/getgid.c: Likewise.
55145         * posix/getgroups.c: Likewise.
55146         * posix/getlogin.c: Likewise.
55147         * posix/getlogin_r.c: Likewise.
55148         * posix/getpgid.c: Likewise.
55149         * posix/getpid.c: Likewise.
55150         * posix/getppid.c: Likewise.
55151         * posix/getresgid.c: Likewise.
55152         * posix/getresuid.c: Likewise.
55153         * posix/getsid.c: Likewise.
55154         * posix/getuid.c: Likewise.
55155         * posix/glob64.c: Likewise.
55156         * posix/nanosleep.c: Likewise.
55157         * posix/pathconf.c: Likewise.
55158         * posix/pause.c: Likewise.
55159         * posix/posix_madvise.c: Likewise.
55160         * posix/pread.c: Likewise.
55161         * posix/pread64.c: Likewise.
55162         * posix/pwrite.c: Likewise.
55163         * posix/pwrite64.c: Likewise.
55164         * posix/sched_getaffinity.c: Likewise.
55165         * posix/sched_getp.c: Likewise.
55166         * posix/sched_gets.c: Likewise.
55167         * posix/sched_primax.c: Likewise.
55168         * posix/sched_primin.c: Likewise.
55169         * posix/sched_rr_gi.c: Likewise.
55170         * posix/sched_setaffinity.c: Likewise.
55171         * posix/sched_setp.c: Likewise.
55172         * posix/sched_sets.c: Likewise.
55173         * posix/sched_yield.c: Likewise.
55174         * posix/setgid.c: Likewise.
55175         * posix/setlogin.c: Likewise.
55176         * posix/setpgid.c: Likewise.
55177         * posix/setresgid.c: Likewise.
55178         * posix/setresuid.c: Likewise.
55179         * posix/setsid.c: Likewise.
55180         * posix/setuid.c: Likewise.
55181         * posix/sleep.c: Likewise.
55182         * posix/spawni.c: Likewise.
55183         * posix/sysconf.c: Likewise.
55184         * posix/times.c: Likewise.
55185         * posix/wait.c: Likewise.
55186         * posix/wait3.c: Likewise.
55187         * posix/wait4.c: Likewise.
55188         * posix/waitpid.c: Likewise.
55189         * resolv/gai_sigqueue.c: Likewise.
55190         * resource/getpriority.c: Likewise.
55191         * resource/getrlimit.c: Likewise.
55192         * resource/getrusage.c: Likewise.
55193         * resource/nice.c: Likewise.
55194         * resource/setpriority.c: Likewise.
55195         * resource/setrlimit.c: Likewise.
55196         * resource/ulimit.c: Likewise.
55197         * rt/aio_cancel.c: Likewise.
55198         * rt/aio_fsync.c: Likewise.
55199         * rt/aio_read.c: Likewise.
55200         * rt/aio_sigqueue.c: Likewise.
55201         * rt/aio_suspend.c: Likewise.
55202         * rt/aio_write.c: Likewise.
55203         * rt/clock_getres.c: Likewise.
55204         * rt/clock_gettime.c: Likewise.
55205         * rt/clock_nanosleep.c: Likewise.
55206         * rt/clock_settime.c: Likewise.
55207         * rt/lio_listio.c: Likewise.
55208         * rt/mq_close.c: Likewise.
55209         * rt/mq_getattr.c: Likewise.
55210         * rt/mq_notify.c: Likewise.
55211         * rt/mq_open.c: Likewise.
55212         * rt/mq_receive.c: Likewise.
55213         * rt/mq_send.c: Likewise.
55214         * rt/mq_setattr.c: Likewise.
55215         * rt/mq_timedreceive.c: Likewise.
55216         * rt/mq_timedsend.c: Likewise.
55217         * rt/mq_unlink.c: Likewise.
55218         * rt/shm_open.c: Likewise.
55219         * rt/shm_unlink.c: Likewise.
55220         * rt/timer_create.c: Likewise.
55221         * rt/timer_delete.c: Likewise.
55222         * rt/timer_getoverr.c: Likewise.
55223         * rt/timer_gettime.c: Likewise.
55224         * rt/timer_settime.c: Likewise.
55225         * setjmp/__longjmp.c: Likewise.
55226         * setjmp/setjmp.c: Likewise.
55227         * signal/kill.c: Likewise.
55228         * signal/killpg.c: Likewise.
55229         * signal/raise.c: Likewise.
55230         * signal/sigaction.c: Likewise.
55231         * signal/sigaltstack.c: Likewise.
55232         * signal/sigblock.c: Likewise.
55233         * signal/sigignore.c: Likewise.
55234         * signal/sigintr.c: Likewise.
55235         * signal/signal.c: Likewise.
55236         * signal/sigpause.c: Likewise.
55237         * signal/sigpending.c: Likewise.
55238         * signal/sigqueue.c: Likewise.
55239         * signal/sigreturn.c: Likewise.
55240         * signal/sigset.c: Likewise.
55241         * signal/sigsetmask.c: Likewise.
55242         * signal/sigstack.c: Likewise.
55243         * signal/sigsuspend.c: Likewise.
55244         * signal/sigtimedwait.c: Likewise.
55245         * signal/sigvec.c: Likewise.
55246         * signal/sigwait.c: Likewise.
55247         * signal/sigwaitinfo.c: Likewise.
55248         * signal/sysv_signal.c: Likewise.
55249         * socket/accept.c: Likewise.
55250         * socket/accept4.c: Likewise.
55251         * socket/bind.c: Likewise.
55252         * socket/connect.c: Likewise.
55253         * socket/getpeername.c: Likewise.
55254         * socket/getsockname.c: Likewise.
55255         * socket/getsockopt.c: Likewise.
55256         * socket/isfdtype.c: Likewise.
55257         * socket/listen.c: Likewise.
55258         * socket/recv.c: Likewise.
55259         * socket/recvfrom.c: Likewise.
55260         * socket/recvmsg.c: Likewise.
55261         * socket/send.c: Likewise.
55262         * socket/sendmsg.c: Likewise.
55263         * socket/sendto.c: Likewise.
55264         * socket/setsockopt.c: Likewise.
55265         * socket/shutdown.c: Likewise.
55266         * socket/sockatmark.c: Likewise.
55267         * socket/socket.c: Likewise.
55268         * socket/socketpair.c: Likewise.
55269         * stdio-common/ctermid.c: Likewise.
55270         * stdio-common/cuserid.c: Likewise.
55271         * stdio-common/remove.c: Likewise.
55272         * stdio-common/rename.c: Likewise.
55273         * stdio-common/renameat.c: Likewise.
55274         * stdio-common/tempname.c: Likewise.
55275         * stdlib/getcontext.c: Likewise.
55276         * stdlib/makecontext.c: Likewise.
55277         * stdlib/setcontext.c: Likewise.
55278         * stdlib/swapcontext.c: Likewise.
55279         * stdlib/system.c: Likewise.
55280         * streams/fattach.c: Likewise.
55281         * streams/fdetach.c: Likewise.
55282         * streams/getmsg.c: Likewise.
55283         * streams/getpmsg.c: Likewise.
55284         * streams/putmsg.c: Likewise.
55285         * streams/putpmsg.c: Likewise.
55286         * sysdeps/unix/bsd/getpt.c: Likewise.
55287         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
55288         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
55289         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
55290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
55291         Likewise.
55292         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
55293         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
55294         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
55295         * sysvipc/msgctl.c: Likewise.
55296         * sysvipc/msgget.c: Likewise.
55297         * sysvipc/msgrcv.c: Likewise.
55298         * sysvipc/msgsnd.c: Likewise.
55299         * sysvipc/semctl.c: Likewise.
55300         * sysvipc/semget.c: Likewise.
55301         * sysvipc/semop.c: Likewise.
55302         * sysvipc/semtimedop.c: Likewise.
55303         * sysvipc/shmat.c: Likewise.
55304         * sysvipc/shmctl.c: Likewise.
55305         * sysvipc/shmdt.c: Likewise.
55306         * sysvipc/shmget.c: Likewise.
55307         * termios/tcdrain.c: Likewise.
55308         * termios/tcflow.c: Likewise.
55309         * termios/tcflush.c: Likewise.
55310         * termios/tcgetattr.c: Likewise.
55311         * termios/tcgetpgrp.c: Likewise.
55312         * termios/tcsendbrk.c: Likewise.
55313         * termios/tcsetattr.c: Likewise.
55314         * termios/tcsetpgrp.c: Likewise.
55315         * time/adjtime.c: Likewise.
55316         * time/clock.c: Likewise.
55317         * time/getitimer.c: Likewise.
55318         * time/gettimeofday.c: Likewise.
55319         * time/setitimer.c: Likewise.
55320         * time/settimeofday.c: Likewise.
55321         * time/stime.c: Likewise.
55322         * time/time.c: Likewise.
55324 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
55326         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
55327         /usr/old/bin.
55329         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
55330         instead of spaces.
55331         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
55333 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
55335         [BZ #14796]
55336         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
55337         FE_TONEAREST before applying Dekker multiplication and Knuth
55338         addition.  Clear inexact exceptions and check for exact zero
55339         results afterwards.
55340         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55341         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
55342         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55343         * math/libm-test.inc (fma_test): Add more tests.
55344         (fma_test_towardzero): Likewise.
55345         (fma_test_downward): Likewise.
55346         (fma_test_upward): Likewise.
55347         * sysdeps/generic/math_private.h (default_libc_fesetround): New
55348         function.
55349         (libc_fesetround): New macro.
55350         (libc_fesetroundf): Likewise.
55351         (libc_fesetroundl): Likewise.
55352         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
55353         function.
55354         (libc_fesetround_387): Likewise.
55355         (libc_fesetroundf): New macro.
55356         (libc_fesetround): Likewise.
55357         (libc_fesetroundl): Likewise.
55358         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
55359         function.
55360         (libc_fesetroundf): New macro.
55361         (libc_fesetround): Likewise.
55362         (libc_fesetroundl): Likewise.
55363         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
55364         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
55365         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
55366         libm_hidden_ver.
55367         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
55368         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
55369         libm_hidden_def.
55370         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
55371         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
55372         libm_hidden_ver.
55373         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
55374         libm_hidden_def.
55376         [BZ #3439]
55377         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
55378         integer constant usable in #if and use that to give value to enum
55379         constant.
55380         (FE_DIVBYZERO): Likewise.
55381         (FE_UNDERFLOW): Likewise.
55382         (FE_OVERFLOW): Likewise.
55383         (FE_INVALID): Likewise.
55384         (FE_INVALID_SNAN): Likewise.
55385         (FE_INVALID_ISI): Likewise.
55386         (FE_INVALID_IDI): Likewise.
55387         (FE_INVALID_ZDZ): Likewise.
55388         (FE_INVALID_IMZ): Likewise.
55389         (FE_INVALID_COMPARE): Likewise.
55390         (FE_INVALID_SOFTWARE): Likewise.
55391         (FE_INVALID_SQRT): Likewise.
55392         (FE_INVALID_INTEGER_CONVERSION): Likewise.
55393         (FE_TONEAREST): Likewise.
55394         (FE_TOWARDZERO): Likewise.
55395         (FE_UPWARD): Likewise.
55396         (FE_DOWNWARD): Likewise.
55397         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
55398         (FE_DIVBYZERO): Likewise.
55399         (FE_OVERFLOW): Likewise.
55400         (FE_UNDERFLOW): Likewise.
55401         (FE_INEXACT): Likewise.
55402         (FE_TONEAREST): Likewise.
55403         (FE_DOWNWARD): Likewise.
55404         (FE_UPWARD): Likewise.
55405         (FE_TOWARDZERO): Likewise.
55406         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
55407         (FE_UNDERFLOW): Likewise.
55408         (FE_OVERFLOW): Likewise.
55409         (FE_DIVBYZERO): Likewise.
55410         (FE_INVALID): Likewise.
55411         (FE_TONEAREST): Likewise.
55412         (FE_TOWARDZERO): Likewise.
55413         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
55414         (FE_OVERFLOW): Likewise.
55415         (FE_UNDERFLOW): Likewise.
55416         (FE_DIVBYZERO): Likewise.
55417         (FE_INEXACT): Likewise.
55418         (FE_TONEAREST): Likewise.
55419         (FE_TOWARDZERO): Likewise.
55420         (FE_UPWARD): Likewise.
55421         (FE_DOWNWARD): Likewise.
55422         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
55423         (FE_DIVBYZERO): Likewise.
55424         (FE_OVERFLOW): Likewise.
55425         (FE_UNDERFLOW): Likewise.
55426         (FE_INEXACT): Likewise.
55427         (FE_TONEAREST): Likewise.
55428         (FE_DOWNWARD): Likewise.
55429         (FE_UPWARD): Likewise.
55430         (FE_TOWARDZERO): Likewise.
55432 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
55434         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
55436 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
55438         * scripts/cross-test-ssh.sh (command): Use newlines to separate
55439         commands.  Quote $PWD.
55440         (blacklist_exports): Don't use remove_newlines.  Replace "declare
55441         -x" by "export".
55442         (remove_newlines): Remove.
55444 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
55446         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
55447         * stdlib/stdlib.h (atof): Moved to ...
55448         * include/bits/stdlib-float.h: Here.  New file.
55449         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
55450         * stdlib/bits/stdlib-float.h: New file.
55451         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
55452         -mno-sse -mno-mmx.
55453         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
55454         <xmmintrin.h>.
55456 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
55458         * conform/conformtest.pl (@headers): Add fenv.h.
55459         * conform/data/fenv.h-data: New file.
55460         * include/fenv.h [_ISOMAC]: Disable all contents of file except
55461         include of <math/fenv.h>.
55463         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
55464         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
55465         && !UNIX98].  Enables tests for XOPEN2K8.
55466         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
55467         POSIX2008]: Likewise.
55469         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
55470         (struct rusage): Do not expect type or its members.
55472         [BZ #3439]
55473         * math/math.h (FP_NAN): Define macro to integer constant usable in
55474         #if and use that to give value to enum constant.
55475         (FP_INFINITE): Likewise.
55476         (FP_ZERO): Likewise.
55477         (FP_SUBNORMAL): Likewise.
55478         (FP_NORMAL): Likewise.
55480 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
55482         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
55483         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
55484         arguments.
55486 2012-11-02  Roland McGrath  <roland@hack.frob.com>
55488         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
55489         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
55490         autoconf-time if not.
55491         * configure.in: Remove AC_PREREQ.
55493 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55495         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
55496         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
55497         of the internal implementation.
55499 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
55501         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
55502         except include of <misc/sys/syslog.h>.
55504 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
55506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
55507         function returns with a NULL context exit with zero.
55509 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55511         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
55513 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
55515         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
55516         (run_program_cmd): This.
55517         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
55518         (tst_langinfo): New variable.  Use it.
55520 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
55522         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
55523         floating point opcodes.
55525 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
55527         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
55528         variable.
55530         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
55532         * sysdeps/mach/hurd/powerpc: Remove directory.
55533         * sysdeps/mach/powerpc: Likewise.
55535 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
55537         * scripts/check-local-headers.sh: Ignore c++ headers.
55539 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
55541         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
55542         __libc_cleanup_region_start argument.
55544 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
55546         [BZ #14784]
55547         [BZ #14785]
55548         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
55549         x * y using scaling, not as x * y + z.
55550         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55551         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55552         * math/libm-test.inc (fma_test): Add more tests.
55553         (fma_test_towardzero): Likewise.
55554         (fma_test_downward): Likewise.
55555         (fma_test_upward): Likewise.
55557 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
55559         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
55561 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
55563         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
55564         New variable.
55566 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
55568         * rt/tst-shm.c (worker): Correct checking for mmap failure.
55570 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
55572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55573         Fix sort order.
55574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55575         Likewise.
55577 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55580         Fix the order of the list for glibc 2.17.
55581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55582         Likewise.
55584 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
55586         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55588 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
55590         [BZ #14610]
55591         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
55592         for low part of x being zero before using __atanl (y).
55593         * math/libm-test.inc (atan2_test): Add another test.
55595         * manual/install.texi (Configuring and compiling): Document
55596         general use of test-wrapper and test-wrapper-env.
55597         * INSTALL: Regenerated.
55599         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
55600         (__fma): Do not extract and scale down low bits on after-rounding
55601         systems when result rounded to normal precision would have normal
55602         exponent.
55603         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
55604         (__fmal): Do not extract and scale down low bits on after-rounding
55605         systems when result rounded to normal precision would have normal
55606         exponent.
55607         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
55608         (__fmal): Do not extract and scale down low bits on after-rounding
55609         systems when result rounded to normal precision would have normal
55610         exponent.
55611         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
55612         macro.
55613         (fma_test): Add more tests.
55614         (fma_test_towardzero): Likewise.
55615         (fma_test_downward): Likewise.
55616         (fma_test_upward): Likewise.
55618 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
55620         * sysdeps/i386/tininess.h: Renamed to ...
55621         * sysdeps/x86/tininess.h: This.
55622         * sysdeps/x86_64/tininess.h: Removed.
55624 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
55626         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
55627         input.  Use $(build-program-cmd).
55628         ($(objpfx)tst-array1-static.out): Likewise.
55629         ($(objpfx)tst-array2.out): Likewise.
55630         ($(objpfx)tst-array3.out): Likewise.
55631         ($(objpfx)tst-array4.out): Likewise.
55632         ($(objpfx)tst-array5.out): Likewise.
55633         ($(objpfx)tst-array5-static.out): Likewise.
55635 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
55637         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
55638         if defined.
55640         * nss/nsswitch.h (nss_interface_function): Provide new
55641         macro for use with NSS functions.
55642         * grp/initgroups.c: Use new macro.
55643         * nss/getXXbyYY.c: Likewise.
55644         * nss/getXXbyYY_r.c: Likewise.
55645         * nss/getXXent.c: Likewise.
55646         * nss/getXXent_r.c: Likewise.
55647         * sysdeps/posix/getaddrinfo.c: Likewise.
55649 2012-10-30  Andreas Jaeger  <aj@suse.de>
55651         * po/ru.po: Update Russion translation from translation project.
55653 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
55655         [BZ #14152]
55656         [BZ #14783]
55657         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
55658         result and shift together with sticky bit instead of replicating
55659         round-to-nearest rounding.
55660         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55661         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55662         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
55663         missing underflow exceptions.
55664         (fma_test_towardzero): Add more tests.
55665         (fma_test_downward): Likewise.
55666         (fma_test_upward): Likewise.
55668         [BZ #14047]
55669         * sysdeps/generic/tininess.h: New file.
55670         * sysdeps/i386/tininess.h: Likewise.
55671         * sysdeps/sh/tininess.h: Likewise.
55672         * sysdeps/x86_64/tininess.h: Likewise.
55673         * stdlib/tst-strtod-underflow.c: Likewise.
55674         * stdlib/tst-tininess.c: Likewise.
55675         * stdlib/strtod_l.c: Include <tininess.h>.
55676         (round_and_return): Do not set errno for exact underflow cases.
55677         Force an underflow exception when setting errno for underflow.
55678         Determine underflow based on rounding to normal precision if
55679         TININESS_AFTER_ROUNDING.
55680         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
55681         ERANGE for exact underflow cases.
55682         * stdlib/Makefile (tests): Add tst-tininess and
55683         tst-strtod-underflow.
55684         ($(objpfx)tst-tininess): Use $(link-libm).
55685         ($(objpfx)tst-strtod-underflow): Likewise.
55687 2012-10-30  Andreas Jaeger  <aj@suse.de>
55689         [BZ#14767]
55690         * elf/Makefile (tests): Remove conditional for have-initfini-array
55691         since this is now always required and the variable does not exist
55692         anymore.
55693         (tests-static): Likewise.
55694         (modules-names): Likewise.
55696         * po/eo.po: Add Esperanto translation from translation project.
55698         * elf/tst-array1.c (fini_array): Make writeable so that it can be
55699         merged with constructor/destructor.
55700         (init_array): Likewise.
55701         * elf/tst-array2dep.c (fini_array): Likewise.
55702         (init_array): Likewise.
55704 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
55706         * manual/message.texi: Delete @cartouche tags.
55708 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
55710         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
55711         EOPNOTSUPP.
55712         * sysdeps/mach/hurd/fsync.c: Likewise.
55714         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
55715         [_POSIX_REALTIME_SIGNALS]: Change condition to
55716         [_POSIX_REALTIME_SIGNALS > 0].
55718 2012-10-27  Andreas Jaeger  <aj@suse.de>
55720         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
55721         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
55722         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
55723         [__WORDSIZE != 64]: Likewise.
55725 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
55727         *  iconvdata/tst-table.sh: Remove ${SHELL}.
55728         *  iconvdata/tst-tables.sh: Likewise.
55730 2012-10-25  David S. Miller  <davem@davemloft.net>
55732         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55733         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
55734         of strtoull.
55736         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
55737         ifunc-impl-list.c
55738         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55739         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
55740         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
55741         file.
55743 2012-10-25  Roland McGrath  <roland@hack.frob.com>
55745         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55746         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
55747         __getdirentries.
55749 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
55750             Jim Blandy  <jimb@codesourcery.com>
55752         * scripts/cross-test-ssh.sh: New file.
55753         * manual/install.texi (Configuring and compiling): Document use of
55754         cross-test-ssh.sh.
55755         * INSTALL: Regenerated.
55757 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
55759         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
55760         EOPNOTSUPP.
55762 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
55764         * Makeconfig (run-program-prefix): Fix comment.
55766 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
55767             Jim Blandy  <jimb@codesourcery.com>
55769         * Makeconfig (test-wrapper): New variable,
55770         (test-wrapper-env): Likewise.
55771         [$(cross-compiling) = yes && $(test-wrapper) != ""]
55772         (run-built-tests): Define to yes.
55773         (run-program-prefix): Use $(test-wrapper).
55774         (built-program-cmd): Likewise.
55775         * Rules (make-test-out): Use $(test-wrapper-env) and
55776         $(host-built-program-cmd).
55777         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
55778         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
55779         tst-pathopt.sh.
55780         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
55781         $(test-wrapper-env) to tst-rtld-load-self.sh.
55782         ($(objpfx)order2.out): Use $(test-wrapper).
55783         ($(objpfx)tst-initorder.out): Likewise.
55784         ($(objpfx)tst-initorder2.out): Likewise.
55785         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
55786         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
55787         (test_wrapper_env): New variable.  Use it to run ld.so.
55788         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
55789         Use it to run ld.so.
55790         (test_wrapper_env): Likewise.
55791         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
55792         $(test-wrapper) to run-iconv-test.sh.
55793         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
55794         (ICONV): Use $test_wrapper.
55795         * posix/Makefile ($(objpfx)globtest.out): Pass
55796         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
55797         globtest.sh, not $(run-program-prefix).
55798         * posix/globtest.sh (run_via_rtld_prefix): New variable.
55799         (test_wrapper): Likewise.
55800         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
55801         set together with run_via_rtld_prefix.
55802         (run_program_prefix): Define in terms of test_wrapper and
55803         run_via_rtld_prefix.
55805 2012-10-24  Roland McGrath  <roland@hack.frob.com>
55807         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
55808         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
55809         Targets removed.
55811         [BZ #14743]
55812         * include/time.h: Remove librt_hidden_proto (clock_gettime).
55813         Declare __clock_getres, __clock_gettime, __clock_settime,
55814         __clock_nanosleep, and __clock_getcpuclockid.
55815         * rt/clock_gettime.c: Define __clock_gettime as an alias.
55816         Remove librt_hidden_def (clock_gettime).
55817         * sysdeps/unix/clock_gettime.c: Likewise.
55818         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
55819         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
55820         * rt/clock_getres.c: Define __clock_getres as an alias.
55821         * sysdeps/posix/clock_getres.c: Likewise.
55822         * rt/clock_settime.c: Define __clock_settime as an alias.
55823         * sysdeps/unix/clock_settime.c: Likewise.
55824         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
55825         * sysdeps/unix/clock_nanosleep.c: Likewise.
55826         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
55827         * rt/clock-compat.c: New file.
55828         * rt/Makefile (librt-routines): Add clock-compat and move
55829         $(clock-routines) to ...
55830         (routines): ... here, new variable.
55831         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
55832         Don't add get_clockfreq here.
55833         * rt/Versions (libc: GLIBC_2.17): New version set.
55834         Add clock_* symbols here.
55835         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
55836         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
55837         (GLIBC_2.17): Add clock_* symbols.
55838         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
55839         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
55840         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
55841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55842         Likewise.
55843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55844         Likewise.
55845         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
55846         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
55847         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
55848         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
55849         * NEWS: Mention the move.
55851         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
55852         Use __open, __read, __close rather than their public counterparts.
55853         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55854         (__get_clockfreq_via_cpuinfo): Likewise.
55855         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
55856         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
55858         * config.h.in (HAVE_IFUNC): New #undef.
55859         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
55860         was successful.
55861         * configure: Regenerated.
55863 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
55865         * configure.in: Move READELF check to start of file.
55866         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
55867         libc_cv_asm_gnu_indirect_function in the process.
55868         * configure: Regenerated.
55870 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
55872         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
55873         send the output to /dev/null.
55874         (libc_cv_cc_with_libunwind): Likewise.
55875         (libc_cv_as_noexecstack): Likewise.
55876         * configure: Regenerate.
55878 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
55880         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
55882         * posix/globtest.sh (TMPDIR): Do not set.
55883         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
55884         (testout): Likewise.
55886 2012-10-24  Andreas Jaeger  <aj@suse.de>
55888         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
55889         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
55890         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
55891         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
55892         posix_fadvise64, posix_fallocate64.
55894         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
55895         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
55896         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
55897         Likewise.
55898         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
55899         Likewise.
55900         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
55902         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
55903         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
55904         <bits/fcntl-linux.h>.
55905         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
55907         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
55908         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
55909         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
55910         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
55911         [__WORDSIZE != 64]: Likewise.
55913 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
55915         * Makeconfig (run-built-tests): New variable.
55916         * Rules [$(cross-compiling) = yes]: Change condition to
55917         [$(run-built-tests) = no].
55918         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
55919         to [$(run-built-tests) = yes].
55920         * elf/Makefile [$(cross-compiling) = no]: Likewise.
55921         * grp/Makefile [$(cross-compiling) = no]: Likewise.
55922         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
55923         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
55924         * intl/Makefile [$(cross-compiling) = no]: Likewise.
55925         * io/Makefile [$(cross-compiling) = no]: Likewise.
55926         * libio/Makefile [$(cross-compiling) = no]: Likewise.
55927         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
55928         * misc/Makefile [$(cross-compiling) = no]: Likewise.
55929         * posix/Makefile [$(cross-compiling) = no]: Likewise.
55930         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
55931         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
55932         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
55933         * string/Makefile [$(cross-compiling) = no]: Likewise.
55935         * posix/Makefile ($(objpfx)globtest.out): Pass
55936         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
55937         $(rtld-installed-name).
55938         * posix/globtest.sh (elf_objpfx): Remove variable.
55939         (rtld_installed_name): Likewise.
55940         (library_path): Likewise.
55941         (run_program_prefix): New variable.  Use for running globtest
55942         binary.
55944 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
55945             Joseph Myers  <joseph@codesourcery.com>
55947         * Makeconfig (host-built-program-cmd): New variable.
55948         * elf/Makefile (tst-stackguard1-ARGS): Use
55949         $(host-built-program-cmd).
55950         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
55951         (tst-spawn-ARGS): Likewise.
55952         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
55954 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
55955             Jim Blandy  <jimb@codesourcery.com>
55957         * Makeconfig (run-via-rtld-prefix): New variable.
55958         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
55959         (built-program-cmd): Likewise.
55961 2012-10-22  Andreas Jaeger  <aj@suse.de>
55963         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
55964         __O_RSYNC if it exists, otherwise to O_SYNC.
55966 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
55967             Joseph Myers  <joseph@codesourcery.com>
55969         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
55970         /dev/null.
55971         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
55972         from /dev/null
55973         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
55974         /dev/null.
55976 2012-10-22  Andreas Jaeger  <aj@suse.de>
55978         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
55979         Define always.
55980         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
55982         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55983         bits/fcntl-linux.h.
55985         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
55986         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
55988         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
55989         to __O_LARGEFILE.
55990         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
55991         to __O_LARGEFILE.
55993 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
55994             Joseph Myers  <joseph@codesourcery.com>
55996         * config.make.in (NM): New variable.
55998 2012-10-21  Andreas Jaeger  <aj@suse.de>
56000         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
56001         definitions and declarations that are provided by
56002         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
56004 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
56006         [BZ #14683]
56007         * elf/Makefile (tests-static): Add tst-leaks1-static.
56008         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
56009         ($(objpfx)tst-leaks1-static): New rule.
56010         ($(objpfx)tst-leaks1-static-mem): Likewise.
56011         (tst-leaks1-static-ENV): New macro.
56012         * elf/dl-open.c (dl_open_worker): Check the main application
56013         only if SHARED is defined.
56014         * elf/tst-leaks1-static.c: New file.
56016 2012-10-20  Andreas Jaeger  <aj@suse.de>
56018         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
56019         generic values for Linux.
56020         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
56021         and declarations that are provided by <bits/fcntl-linux.h> and
56022         include <bits/fcntl-linux.h>.
56023         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56024         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56026 2012-10-20  Roland McGrath  <roland@hack.frob.com>
56028         * io/fcntl.h: Move include of <bits/types.h> to the top and
56029         include it unconditionally.
56031 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
56033         * wcsmbs/Makefile (tests-ifunc): New variable.
56034         (tests): Add $(tests-ifunc).
56035         * wcsmbs/test-wcschr-ifunc.c: New file.
56036         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
56037         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
56038         * wcsmbs/test-wcslen-ifunc.c: Likewise.
56039         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
56040         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
56042         * string/Makefile (tests-ifunc): New variable.
56043         (tests): Add $(tests-ifunc).
56044         * string/test-memccpy.c (TEST_NAME): New macro.
56045         * string/test-memchr.c (TEST_NAME): Likewise.
56046         * string/test-memcmp.c (TEST_NAME): Likewise.
56047         * string/test-memcpy.c (TEST_NAME): Likewise.
56048         * string/test-memmem.c (TEST_NAME): Likewise.
56049         * string/test-memmove.c (TEST_NAME): Likewise.
56050         * string/test-memset.c (TEST_NAME): Likewise.
56051         * string/test-rawmemchr.c (TEST_NAME): Likewise.
56052         * string/test-stpcpy.c (TEST_NAME): Likewise.
56053         * string/test-stpncpy.c (TEST_NAME): Likewise.
56054         * string/test-strcasecmp.c (TEST_NAME): Likewise.
56055         * string/test-strcasestr.c (TEST_NAME): Likewise.
56056         * string/test-strcat.c (TEST_NAME): Likewise.
56057         * string/test-strchr.c (TEST_NAME): Likewise.
56058         * string/test-strcmp.c(TEST_NAME): Likewise.
56059         * string/test-strcpy.c (TEST_NAME): Likewise.
56060         * string/test-strcspn.c (TEST_NAME): Likewise.
56061         * string/test-strlen.c (TEST_NAME): Likewise.
56062         * string/test-strncasecmp.c (TEST_NAME): Likewise.
56063         * string/test-strncmp.c (TEST_NAME): Likewise.
56064         * string/test-strncpy.c (TEST_NAME): Likewise.
56065         * string/test-strnlen.c (TEST_NAME): Likewise.
56066         * string/test-strpbrk.c (TEST_NAME): Likewise.
56067         * string/test-strrchr.c (TEST_NAME): Likewise.
56068         * string/test-strspn.c (TEST_NAME): Likewise.
56069         * string/test-strstr.c (TEST_NAME): Likewise.
56070         * string/test-bcopy-ifunc.c: New file.
56071         * string/test-bzero-ifunc.c: Likewise.
56072         * string/test-memccpy-ifunc.c: Likewise.
56073         * string/test-memchr-ifunc.c: Likewise.
56074         * string/test-memcmp-ifunc.c: Likewise.
56075         * string/test-memcpy-ifunc.c: Likewise.
56076         * string/test-memmem-ifunc.c: Likewise.
56077         * string/test-memmove-ifunc.c: Likewise.
56078         * string/test-mempcpy-ifunc.c: Likewise.
56079         * string/test-memset-ifunc.c: Likewise.
56080         * string/test-rawmemchr-ifunc.c: Likewise.
56081         * string/test-stpcpy-ifunc.c: Likewise.
56082         * string/test-stpncpy-ifunc.c: Likewise.
56083         * string/test-strcasecmp-ifunc.c: Likewise.
56084         * string/test-strcasestr-ifunc.c: Likewise.
56085         * string/test-strcat-ifunc.c: Likewise.
56086         * string/test-strchr-ifunc.c: Likewise.
56087         * string/test-strchrnul-ifunc.c: Likewise.
56088         * string/test-strcmp-ifunc.c: Likewise.
56089         * string/test-strcpy-ifunc.c: Likewise.
56090         * string/test-strcspn-ifunc.c: Likewise.
56091         * string/test-strlen-ifunc.c: Likewise.
56092         * string/test-strncasecmp-ifunc.c: Likewise.
56093         * string/test-strncat-ifunc.c: Likewise.
56094         * string/test-strncmp-ifunc.c: Likewise.
56095         * string/test-strncpy-ifunc.c: Likewise.
56096         * string/test-strnlen-ifunc.c: Likewise.
56097         * string/test-strpbrk-ifunc.c: Likewise.
56098         * string/test-strrchr-ifunc.c: Likewise.
56099         * string/test-strspn-ifunc.c: Likewise.
56100         * string/test-strstr-ifunc.c: Likewise.
56102         * debug/Makefile (tests-ifunc): New variable.
56103         (tests): Add $(tests-ifunc).
56104         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
56105         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
56106         * debug/test-stpcpy_chk-ifunc.c: New file.
56107         * debug/test-strcpy_chk-ifunc.c: Likewise.
56109 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
56111         [BZ #13601]
56112         * elf/dl-load.c (open_verify): Retry read if the entire ELF
56113         header is not read in.
56115 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
56117         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
56118         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
56119         directly.  Pass built executable to script as
56120         $(built-program-cmd).
56121         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
56122         $testprogram without using LD_LIBRARY_PATH and $ldso.
56124         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
56125         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
56126         $(rtld-installed-name).
56127         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
56128         (rtld_installed_name): Likewise.
56129         (library_path): Likewise.
56130         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
56131         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
56132         $(run-program-prefix) to tst-tables.sh.
56133         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
56134         it to run tst-table-from and tst-table-to.
56135         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
56136         Pass it to tst-table.sh.
56137         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
56138         $(run-program-prefix) to tst-gettext.sh.
56139         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
56140         tst-translit.sh.
56141         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
56142         tst-gettext2.sh.
56143         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
56144         to run tst-gettext.
56145         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
56146         to run tst-gettext2.
56147         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
56148         to run tst-translit.
56149         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
56150         $(run-program-prefix) to tst-mtrace.sh.
56151         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
56152         to run tst-mtrace.
56153         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
56154         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
56155         $(rtld-installed-name).
56156         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
56157         (rtld_installed_name): Likewise.
56158         (run_program_prefix): New variable.  Use it to run wordexp-test.
56160         * Makeconfig (ARCH): Remove all definitions.
56161         (machine): Likewise.
56162         [ARCH]: Remove conditional code.
56163         [!objdir]: Give error.
56164         [!objdir] (objpfx): Remove.
56165         [!objdir] (common-objpfx): Likewise.
56166         [!objdir] (common-objdir): Likewise.
56167         * configure.in (config_makefile): Remove.  Hardcode Makefile in
56168         AC_CONFIG_FILES call.
56169         * configure: Regenerated.
56171         [BZ #13888]
56172         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
56173         or TMPDIR.
56174         (testout): Likewise.
56176         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
56177         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
56178         $(rtld-installed-name).
56179         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
56180         (rtld_installed_name): Likwise.
56181         (runit): Remove function.
56182         (run_getconf): New variable,  Use it for running getconf binary.
56184 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
56186         [BZ #14716]
56187         * string/test-memmem.c (check_result): New function.
56188         (do_one_test): Use it.
56189         (check1): New function.
56190         (test_main): Use it.
56192 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
56194         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
56196 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
56198         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
56199         (_G_LSEEK64): Likewise.
56200         (_G_MMAP64): Likewise.
56201         (_G_FSTAT64): Likewise.
56202         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
56203         (_G_LSEEK64): Likewise.
56204         (_G_MMAP64): Likewise.
56205         (_G_FSTAT64): Likewise.
56206         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
56207         unconditional.  Call __mmap64 directly.
56208         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
56209         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
56210         __lseek64 directly.
56211         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
56212         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
56213         __mmap64 directly.
56214         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
56215         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
56216         __lseek64 directly.
56217         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
56218         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
56219         __lseek64 directly.
56220         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
56221         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
56222         __lseek64 directly.
56223         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
56224         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
56225         __fxstat64 directly.
56226         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
56227         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
56228         unconditional.
56229         (freopen64) [!_G_OPEN64]: Remove conditional code.
56230         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
56231         unconditional.
56232         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
56233         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
56234         unconditional.
56235         (ftello64) [!_G_LSEEK64]: Remove conditional code.
56236         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
56237         unconditional.
56238         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
56239         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
56240         unconditional.
56241         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
56242         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
56243         unconditional.
56244         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
56245         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
56246         unconditional.
56247         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
56248         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
56249         unconditional.
56250         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
56252 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56254         [BZ #12140]
56255         * manual/memory.texi (Malloc Tunable Parameters): Add note
56256         about free list pointers overwriting some perturb bytes.
56257         Wording suggested by Roland McGrath.
56259 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
56261         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
56262         (lgamma_test): Likewise.
56263         (tgamma_test): Likewise.
56265 2012-10-16  Florian Weimer  <fweimer@redhat.com>
56267         [BZ #14700]
56268         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
56269         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
56271 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
56273         * NEWS: Mention BZ #14716.
56274         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
56275         when removing AVAILABLE1_USES_J macro.
56277 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
56279         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
56280         (__bswap_64): __uint64_t for unsigned 64-bit int.
56282 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
56284         * include/string.h (memmem): Declare libc hidden alias.
56285         * string/memmem.c (memmem): Define libc hidden alias.
56286         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
56287         __read, __close instead of open, read, close.
56289 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
56291         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
56292         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
56293         global and hidden.
56294         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
56295         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
56296         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
56297         Likewise.
56298         (__rawmemchr_sse2): Likewise.
56299         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
56300         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
56301         (__strchr_sse2): Likewise.
56302         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
56303         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
56304         (__strcasecmp_sse2): Likewise.
56305         (__strncasecmp_sse2): Likewise.
56306         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
56307         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
56308         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
56309         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
56310         (__strrchr_sse2): Likewise.
56311         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
56312         ifunc-impl-list.c.
56313         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
56314         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
56315         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
56316         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
56317         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
56318         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
56319         * sysdeps/x86_64/multiarch/memset.S: Likewise.
56320         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
56321         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
56322         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
56323         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
56324         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
56325         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
56326         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
56327         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
56328         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
56329         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
56330         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
56331         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
56332         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
56333         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
56334         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
56335         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
56336         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
56337         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
56338         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
56339         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
56340         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
56341         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
56342         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
56344         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
56345         global and hidden.
56346         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
56347         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
56348         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
56349         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
56350         Likewise.
56351         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
56352         Likewise.
56353         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
56354         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
56355         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
56356         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
56357         ifunc-impl-list.c.
56358         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
56359         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
56360         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
56361         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
56362         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
56363         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
56364         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
56365         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
56366         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
56367         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
56368         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
56369         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
56370         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
56371         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
56372         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
56373         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56374         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
56375         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
56376         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
56377         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
56378         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56379         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
56380         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
56381         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
56382         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56383         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
56384         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
56385         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
56386         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
56387         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
56388         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
56389         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
56390         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
56391         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
56392         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
56393         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
56394         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
56395         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
56396         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
56397         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
56398         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
56400         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
56401         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
56402         * include/ifunc-impl-list.h: New file.
56403         * misc/ifunc-impl-list.c: Likewise.
56404         * misc/Makefile (routines): Add ifunc-impl-list.
56405         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
56406         * string/test-string.h: Include <ifunc-impl-list.h>.
56407         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
56408         TEST_NAME]: New variables.
56409         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
56410         are defined.
56411         (test_init): Call __libc_ifunc_impl_list to initialize
56412         func_list if TEST_IFUNC and TEST_NAME are defined.
56414         * string/Makefile (strop-tests): Add bcopy and bzero.
56415         * string/test-bcopy.c: New file.
56416         * string/test-bzero.c: Likewise.
56417         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
56418         defined.
56419         * string/test-memset.c: Support bzero test if TEST_BZERO is
56420         defined.
56421         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
56422         __libc_memmove.
56423         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
56424         __libc_memset.
56425         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
56426         of memset.
56428 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
56430         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
56431         * configure: Regenerated.
56433         * Makeconfig (+link-static-before-libc): Don't include
56434         $(link-static-libc).
56436         * libio/libio.h (_IO_pos_t): Remove.
56438 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
56440         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
56441         McGrath.
56443 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
56445         * crypt/crypt-entry.c: Include fips-private.h.
56446         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
56447         * crypt/md5c-test.c (main): Tolerate disabled MD5.
56448         * sysdeps/unix/sysv/linux/fips-private.h: New file.
56449         * sysdeps/generic/fips-private.h: New file, dummy fallback.
56451 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
56453         * crypt/crypt-private.h: Include stdbool.h.
56454         (_ufc_setup_salt_r): Return bool.
56455         * crypt/crypt-entry.c: Include errno.h.
56456         (__crypt_r): Return NULL with EINVAL for bad salt.
56457         * crypt/crypt_util.c (bad_for_salt): New.
56458         (_ufc_setup_salt_r): Check that salt is long enough and within
56459         the specified alphabet.
56460         * crypt/badsalttest.c: New file.
56461         * crypt/Makefile (tests): Add it.
56462         ($(objpfx)badsalttest): New.
56464 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
56466         * NEWS: Add entry for BZ #14602.
56468 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
56470         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
56471         type-generic.
56472         * math/libm-test.inc: Update comment listing what functions and
56473         macros are tested.
56474         (isgreater_test): New function.
56475         (isgreaterequal_test): Likewise.
56476         (isless_test): Likewise.
56477         (islessequal_test): Likewise.
56478         (islessgreater_test): Likewise.
56479         (isunordered_test): Likewise.
56480         (main): Call the new functions.
56482 2012-10-09  Roland McGrath  <roland@hack.frob.com>
56484         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
56485         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
56486         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
56487         * sysdeps/i386/configure: Regenerated.
56488         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
56489         * sysdeps/mach/configure: Regenerated.
56490         * sysdeps/mach/hurd/configure: Regenerated.
56491         * sysdeps/powerpc/configure: Regenerated.
56492         * sysdeps/powerpc/powerpc32/configure: Regenerated.
56493         * sysdeps/powerpc/powerpc64/configure: Regenerated.
56494         * sysdeps/s390/s390-32/configure: Regenerated.
56495         * sysdeps/s390/s390-64/configure: Regenerated.
56496         * sysdeps/sh/configure: Regenerated.
56497         * sysdeps/sparc/configure: Regenerated.
56498         * sysdeps/unix/sysv/linux/configure: Regenerated.
56499         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
56500         * sysdeps/x86_64/configure: Regenerated.
56502         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
56503         defined.  Don't check if MAP is NULL.
56505 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
56507         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
56508         (_G_stat64): Likewise.
56509         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
56510         (_G_stat64): Likewise.
56511         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
56512         instead of struct _G_stat64.
56513         * libio/fileops.c (mmap_remap_check): Likewise.
56514         (decide_maybe_mmap): Likewise.
56515         (_IO_new_file_seekoff): Likewise.
56516         (_IO_file_stat): Likewise.
56517         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
56518         _G_off64_t.
56519         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
56520         instead of struct _G_stat64.
56521         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
56523 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
56525         [BZ #14602]
56526         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
56527         Replace with ...
56528         (CHECK_EOL): New macro.
56529         (two_way_short_needle): Check beginning of haystack for EOL.  Use
56530         CHECK_EOL.
56531         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
56532         Replace with CHECK_EOL.
56533         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
56534         Replace with CHECK_EOL.
56536 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
56538         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
56539         type-generic.
56540         * math/libm-test.inc: Update comment listing what functions and
56541         macros are tested.
56542         (finite_test): New function.
56543         (isinf_test): Likewise.
56544         (isnan_test): Likewise.
56545         (fpclassify_test): Test subnormal input.
56546         (isfinite_test): Likewise.
56547         (isnormal_test): Likewise.
56548         (main): Call the new functions.
56550 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
56552         [BZ #14660]
56553         * Makerules (%.dynsym): Force C locale when running
56554         $(OBJDUMP) --dynamic-syms.
56556 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
56558         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
56559         <stdint.h>.
56561 2012-10-06  David S. Miller  <davem@davemloft.net>
56563         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
56564         upper 32-bits of the length value in %o2 since we use branch-on-register
56565         tests which consider the entire 64-bit register.
56567 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
56569         * string/test-strstr.c (check2): Add a test for page boundary.
56571 2012-10-05  David S. Miller  <davem@davemloft.net>
56573         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
56574         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
56575         file.
56576         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
56577         sysdep_routines.
56578         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
56579         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
56580         and bzero when HWCAP_SPARC_CRYPTO is present.
56582 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
56584         [BZ #14602]
56585         * string/test-strstr.c (check2): New function.
56586         (test_main): Call check2.
56588         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
56589         and bug-strchr1.
56590         * string/bug-strcasestr1.c (do_test): Moved to ...
56591         * string/test-strcasestr.c (check1): Here.  New function.
56592         (do_one_test): Break out result checking code into ...
56593         (check_result): This.  New function.
56594         (do_one_test): Call check_result.
56595         (test_main): Call check1.
56596         * string/bug-strchr1.c (do_test): Moved to ...
56597         * string/test-strchr.c (check1): Here.  New function.
56598         (do_one_test): Break out result checking code into ...
56599         (check_result): This.  New function.
56600         (do_one_test): Call check_result.
56601         (test_main): Call check1.
56602         * string/bug-strstr1.c (main): Moved to ...
56603         * string/test-strstr.c (check1): Here.  New function.
56604         (do_one_test): Break out result checking code into ...
56605         (check_result): This.  New function.
56606         (do_one_test): Call check_result.
56607         (test_main): Call check1.
56608         * string/bug-strcasestr1.c: Removed.
56609         * string/bug-strchr1.c: Likewise.
56610         * string/bug-strstr1.c: Likewise.
56612         * elf/Makefile (dl-routines): Add hwcaps.
56613         * elf/dl-support.c (_dl_important_hwcaps): Removed.
56614         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
56615         (_dl_important_hwcaps): Moved to ...
56616         * elf/dl-hwcaps.c: Here.  New file.
56617         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
56619         [BZ #14557]
56620         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
56621         if IS_IN_rtld isn't defined.
56623         * elf/dl-support.c (_dl_sysinfo_map): New.
56624         Include "get-dynamic-info.h" and "setup-vdso.h".
56625         (_dl_non_dynamic_init): Call setup_vdso.
56626         * elf/dynamic-link.h: Don't include <assert.h>.
56627         (elf_get_dynamic_info): Moved to ...
56628         * elf/get-dynamic-info.h: Here.  New file.
56629         * elf/dynamic-link.h: Include "get-dynamic-info.h".
56630         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
56631         * elf/setup-vdso.h: Here.  New file.
56632         * elf/rtld.c: Include "setup-vdso.h".
56633         (dl_main): Call setup_vdso.
56635 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
56637         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
56638         creal in comment listing functions tested.  List finite, isinf,
56639         isnan, isless, islessequal, isgreater, isgreaterequal,
56640         islessgreater, isunordered, lgamma_r and pow10 as functions and
56641         macros not tested.  Mention which functions not tested are aliases
56642         for other functions.  Fix typo.  Note that signs of NaNs are not
56643         tested.
56645         * scripts/config.guess: Update from config.git.
56646         * scripts/config.sub: Likewise.
56648 2012-10-04  Roland McGrath  <roland@hack.frob.com>
56650         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
56651         * misc/madvise.c (madvise): Renamed to __madvise.
56652         Make madvise a weak alias.
56653         * include/sys/mman.h: Declare __madvise.
56654         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
56655         * sysdeps/unix/syscalls.list
56656         (madvise): Make __madvise the strong name, and madvise a weak alias.
56657         * sysdeps/unix/sysv/linux/syscalls.list
56658         (madvise, mmap): Remove redundant entries.
56659         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
56660         * malloc/malloc.c (mtrim): Likewise.
56661         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
56663 2012-10-03  Roland McGrath  <roland@hack.frob.com>
56665         * sysdeps/mach/hurd/dl-cache.c: File removed.
56666         * config.h.in (USE_LDCONFIG): New #undef.
56667         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
56668         * configure: Regenerated.
56669         * elf/Makefile (dl-routines): Add dl-cache only under
56670         [$(use-ldconfig) = yes].
56671         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
56672         cache on [USE_LDCONFIG].
56673         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
56674         [USE_LDCONFIG].
56675         * elf/rtld.c (dl_main): Likewise.
56677 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
56679         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
56680         _SC_LEVEL4_CACHE_LINESIZE.
56682 2012-10-03  Roland McGrath  <roland@hack.frob.com>
56684         * sysdeps/unix/bsd/confstr.h: File removed.
56686 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
56688         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
56689         sys/sdt-config.h.
56691 2012-10-02  Roland McGrath  <roland@hack.frob.com>
56693         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
56694         Make 'mapoff' field ElfW(Off) rather than off_t.
56696 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
56698         * nscd/Makefile: Remove nscd-cflags and all its users.
56699         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
56700         (CFLAGS-nonlib): Add compiler flags for nscd modules.
56702         [BZ #10631]
56703         * malloc.c (malloc_printerr): Clarify error message.
56705 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
56707         [BZ #14648]
56708         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56709         Set bit_FMA_Usable if FMA is supported.
56710         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
56711         macro.
56712         (bit_FMA4_Usable): Updated.
56713         (index_FMA_Usable): New macro.
56714         (CPUID_FMA): Likewise.
56715         (HAS_FMA): Defined with bit_FMA_Usable.
56717 2012-10-01  Roland McGrath  <roland@hack.frob.com>
56719         * bits/types.h (__swblk_t): Type removed.
56720         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
56721         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
56722         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56723         (__SWBLK_T_TYPE): Likewise.
56724         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
56725         (__SWBLK_T_TYPE): Likewise.
56726         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56727         (__SWBLK_T_TYPE): Likewise.
56728         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56729         (__SWBLK_T_TYPE): Likewise.
56731 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
56732             Honza Horak <hhorak@redhat.com>
56734         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
56735         (xdr_mapname): Use YPMAXMAP as maxsize.
56736         (xdr_peername): Use YPMAXPEER as maxsize.
56737         (xdr_keydat): Use YPAXRECORD as maxsize.
56738         (xdr_valdat): Use YPMAXRECORD as maxsize.
56740 2012-10-01  Roland McGrath  <roland@hack.frob.com>
56742         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
56744         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
56745         * csu/init-first.c: ... here.
56746         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
56747         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
56748         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
56749         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
56750         * sysdeps/i386/init-first.c: File removed.
56751         * sysdeps/sh/init-first.c: File removed.
56753 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
56755         [BZ #14645]
56756         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
56757         if x * y might underflow to zero and z is zero.
56758         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56759         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56760         * math/libm-test.inc (min_subnorm_value): New variable.
56761         (fma_test): Add more tests.
56762         (fma_test_towardzero): Likewise.
56763         (fma_test_downward): Likewise.
56764         (fma_test_upward): Likewise.
56765         (initialize): Set min_subnorm_value.
56767 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
56769         [BZ #14638]
56770         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
56771         0 + 0.
56772         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
56773         mode for addition resulting in exact zero.
56774         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
56775         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
56776         exact 0 + 0.
56777         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
56778         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56779         * math/libm-test.inc (fma_test): Add more tests.
56780         (fma_test_towardzero): New function.
56781         (fma_test_downward): Likewise.
56782         (fma_test_upward): Likewise.
56783         (main): Call the new functions.
56785 2012-09-28  David S. Miller  <davem@davemloft.net>
56787         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
56789 2012-09-28  Roland McGrath  <roland@hack.frob.com>
56791         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
56792         instead of SIGALRM.
56794         * sysdeps/gnu/_G_config.h: Moved to ...
56795         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
56796         * sysdeps/mach/hurd/_G_config.h: Moved to ...
56797         * sysdeps/generic/_G_config.h: ... here.
56799         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
56801         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
56803         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
56804         Conditionalize target on [libnss_test1.so-version].
56806         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
56808         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
56809         (elfobjdir): Move out of conditionals.
56811         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
56812         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
56813         (__nss_lookup_function): Conditionalize label remove_from_tree on
56814         [!DO_STATIC_NSS || SHARED], matching its only use.
56816 2012-09-28  David S. Miller  <davem@davemloft.net>
56818         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
56819         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
56820         file.
56821         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
56822         sysdep_routines.
56823         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
56824         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
56825         when HWCAP_SPARC_CRYPTO is present.
56827 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
56829         * io/tst-mknodat.c: Create a FIFO instead of a socket.
56831 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
56833         [BZ #6530]
56834         * stdio-common/vfprintf.c (process_string_arg): Revert
56835         2000-07-22 change.
56837 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
56839         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
56840         for testcase.
56841         * stdio-common/tst-sprintf.c: Include <locale.h>
56842         (main): Test sprintf's handling of incomplete multibyte
56843         characters.
56845 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
56847         * elf/dl-runtime.c (VERSYMIDX): Removed.
56848         * elf/dl-version.c (VERSYMIDX): Likewise.
56849         * elf/do-rel.h (VERSYMIDX): Likewise.
56850         (VALIDX): Likewise.
56851         * elf/dynamic-link.h (VERSYMIDX): Likewise.
56852         * elf/rtld.c (VALIDX): Likewise.
56853         (ADDRIDX): Likewise.
56854         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
56855         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
56856         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
56857         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
56858         (VALIDX): Likewise.
56859         (ADDRIDX): Likewise.
56861 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
56863         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
56865 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
56867         [BZ #11438]
56868         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
56869         to global scope.
56870         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
56871         addresses are in the same scope as 192.0.2/24.
56872         * posix/gai.conf: Document new scope table defaults.
56874 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56876         [BZ #5298]
56877         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
56878         for ftell.  Compute offsets from write pointers instead.
56879         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
56881 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56883         [BZ #14543]
56884         * libio/Makefile (tests): New test case tst-fseek.
56885         * libio/tst-fseek.c: New test case to verify that fseek/ftell
56886         combination works in wide mode.
56887         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
56888         state when the external buffer state changes.
56890 2012-09-27  David S. Miller  <davem@davemloft.net>
56892         [BZ #14376]
56893         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
56894         pass reloc->r_addend in as the 'high' argument to
56895         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
56897         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56899 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
56901         * rt/tst-aio2.c: Include <pthread.h>.
56902         * rt/tst-aio3.c: Likewise.
56904 2012-09-27  Steve Ellcey  <sellcey@mips.com>
56906         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
56908 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
56910         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
56911         contents on [SHARED].
56913 2012-09-26  Marek Polacek  <polacek@redhat.com>
56915         [BZ #14530]
56916         [BZ #13741]
56917         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
56918         for C++ and GCC <4.3 as well as for non GCC compilers.
56920 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
56922         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56924 2012-09-25  Roland McGrath  <roland@hack.frob.com>
56926         * Makefile.in (all, install): Declare with .PHONY.
56927         Reported by Michael Hope <michael.hope@linaro.org>.
56929 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56931         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
56932         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
56933         system header.
56934         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
56935         Likewise.
56936         (sydep_routines): Add the new and the internal functions.
56937         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
56938         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
56939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
56940         (GLIBC_2.17): Add the new function.
56941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
56942         (GLIBC_2.17): Likewise.
56943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
56944         (GLIBC_2.17): Likewise.
56945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
56946         (GLIBC_2.17): Likewise.
56947         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
56949 2012-09-25  Alan Modra  <amodra@gmail.com>
56951         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
56952         Add release barrier before setting once_control to say
56953         initialisation is done.  Add hints on lwarx.  Use macro in
56954         place of isync.
56955         (clear_once_control): Add release barrier.
56957 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
56959         [BZ #13629]
56960         * math/s_clog.c (__clog): Handle more values close to |z| = 1
56961         specially.
56962         * math/s_clog10.c (__clog10): Likewise.
56963         * math/s_clog10f.c (__clog10f): Likewise.
56964         * math/s_clog10l.c (__clog10l): Likewise.
56965         * math/s_clogf.c (__clogf): Likewise.
56966         * math/s_clogl.c (__clogl): Likewise.
56967         * math/Makefile (libm-calls): Add x2y2m1.
56968         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
56969         (__x2y2m1): Likewise.
56970         (__x2y2m1l): Likewise.
56971         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
56972         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
56973         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
56974         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
56975         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
56976         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
56977         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
56978         * sysdeps/i386/fpu/libm-test-ulps: Update.
56979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56981         [BZ #14621]
56982         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
56983         int as type of variable DEPTH.
56984         (glob): Use size_t instead of int as type of variables NEWCOUNT
56985         and OLD_PATHC.
56987 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56989         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
56990         Add s_sincosf-sse2.
56991         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
56992         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
56993         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
56994         macros for using routine as __sincosf_ia32.
56995         Use macro for function declaration and weak_alias.
56996         * sysdeps/i386/fpu/libm-test-ulps: Update.
56998         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
56999         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57001         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
57002         subnormal argument.
57003         * math/s_cexpf.c (__cexpf): Likewise.
57004         * math/s_csinf.c (__csinf): Likewise.
57005         * math/s_csinhf.c (__csinhf): Likewise.
57006         * math/s_ctanf.c (__ctanf): Likewise.
57007         * math/s_ctanhf.c (__ctanhf): Likewise.
57008         * math/s_ccosh.c (__ccoshf): Likewise.
57009         * math/s_cexp.c (__cexpl): Likewise.
57010         * math/s_csin.c (__csin): Likewise.
57011         * math/s_csinh.c (__csinh): Likewise.
57012         * math/s_ctan.c (__ctan): Likewise.
57013         * math/s_ctanh.c (ctanh): Likewise.
57014         * math/s_ccoshl.c (__ccoshl): Likewise.
57015         * math/s_cexpl.c (__cexpl): Likewise.
57016         * math/s_csinl.c (__csinl): Likewise.
57017         * math/s_csinhl.c (__csinhl): Likewise.
57018         * math/s_ctanl.c (__ctanl): Likewise.
57019         * math/s_ctanhl.c (__ctanhl): Likewise.
57021 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
57023         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
57024         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
57025         (_IO_off_t): Define to __off_t, not _G_off_t.
57026         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
57027         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
57028         (_IO_wint_t): Define to wint_t, not _G_wint_t.
57029         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
57030         type of __dummy and __dummy2 fields.
57031         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
57032         (_G_ssize_t): Likewise.
57033         (_G_off_t): Likewise.
57034         (_G_pid_t): Likewise.
57035         (_G_uid_t): Likewise.
57036         (_G_wchar_t): Likewise.
57037         (_G_wint_t): Likewise.
57038         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
57039         (_G_ssize_t): Likewise.
57040         (_G_off_t): Likewise.
57041         (_G_pid_t): Likewise.
57042         (_G_uid_t): Likewise.
57043         (_G_wchar_t): Likewise.
57044         (_G_wint_t): Likewise.
57045         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
57046         (_G_ssize_t): Likewise.
57047         (_G_off_t): Likewise.
57048         (_G_pid_t): Likewise.
57049         (_G_uid_t): Likewise.
57050         (_G_wchar_t): Likewise.
57051         (_G_wint_t): Likewise.
57053 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57055         * malloc/arena.c: Include malloc-sysdep.h.
57056         (shrink_heap): Use check_may_shrink_heap to decide if madvise
57057         is sufficient to shrink the heap or an unmap is needed.
57058         * sysdeps/generic/malloc-sysdep.h: New file.  Define
57059         new function check_may_shrink_heap.
57060         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
57061         new function check_may_shrink_heap.
57063 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57065         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
57066         comments.
57068 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
57070         * catgets/test-gencat.sh: Add "set -e".
57071         * elf/tst-pathopt.sh: Likewise.
57072         * grp/tst_fgetgrent.sh: Likewise.
57073         * iconvdata/run-iconv-test.sh: Likewise.
57074         * intl/tst-gettext.sh: Likewise.
57075         * intl/tst-gettext2.sh: Likewise.
57076         * intl/tst-gettext4.sh: Likewise.
57077         * intl/tst-gettext6.sh: Likewise.
57078         * intl/tst-translit.sh: Likewise.
57079         * io/ftwtest-sh: Likewise.
57080         * libio/test-freopen.sh: Likewise.
57081         * malloc/tst-mtrace.sh: Likewise.
57082         * posix/globtest.sh: Likewise.
57083         * posix/tst-getconf.sh: Likewise.
57084         * posix/wordexp-tst.sh: Likewise.
57085         * stdio-common/tst-printf.sh: Likewise.
57086         * stdio-common/tst-unbputc.sh: Likewise.
57087         * stdlib/tst-fmtmsg.sh: Likewise.
57088         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
57089         * catgets/Makefile: Do not specify -e option when running
57090         testsuite shell scripts.
57091         * elf/Makefile: Likewise.
57092         * grp/Makefile: Likewise.
57093         * iconvdata/Makefile: Likewise.
57094         * intl/Makefile: Likewise.
57095         * io/Makefile: Likewise.
57096         * libio/Makefile: Likewise.
57097         * malloc/Makefile: Likewise.
57098         * posix/Makefile: Likewise.
57099         * stdio-common/Makefile: Likewise.
57100         * stdlib/Makefile: Likewise.
57101         * sysdeps/x86_64/Makefile: Likewise.
57103         * io/ftwtest-sh: Add copyright header.
57104         * posix/globtest.sh: Likewise.
57105         * posix/tst-getconf.sh: Likewise.
57106         * posix/wordexp-tst.sh: Likewise.
57107         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
57109 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
57111         [BZ #13679]
57112         * Makeconfig (+link): Defined as $(+link-static) if
57113         $(build-shared) isn't yes.
57114         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
57115         isn't yes.
57116         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
57118         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
57120         [BZ #14562]
57121         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
57122         new chunk size with MALLOC_ALIGN_MASK.
57124 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
57126         [BZ #5044]
57127         * stdio-common/printf_fphex.c: Include <stdbool.h> and
57128         <rounding-mode.h>.
57129         (__printf_fphex): Determine rounding using get_rounding_mode and
57130         round_away.
57131         * stdio-common/tst-printf-round.c (struct hex_test): New
57132         structure.
57133         (hex_tests): New variable.
57134         (test_hex_in_one_mode): New function.
57135         (do_test): Also run tests for hex float output.
57137 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
57139         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
57140         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
57141         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
57142         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
57143         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
57144         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
57145         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
57146         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
57148 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
57150         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
57151         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
57152         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
57153         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
57155 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
57157         [BZ #14579]
57158         * elf/rtld.c (dl_main): Limit the check for self loading to normal
57159         mode only.
57160         * elf/tst-rtld-load-self.sh: New test.
57161         * elf/Makefile: Run it.
57163 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
57165         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
57166         (tst-writev-ENV): Remove.
57167         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
57169 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
57171         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
57173 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
57175         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
57176         unconditional.
57177         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
57178         Likewise.
57179         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
57180         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
57181         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
57182         Likewise.
57184 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
57186         [BZ #14587]
57187         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
57188         * config.make.in (have-cpp-asm-debuginfo): Removed.
57189         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
57190         * configure: Regenerated.
57192 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
57194         [BZ #5044]
57195         * stdio-common/printf_fp.c: Include <stdbool.h> and
57196         <rounding-mode.h>.
57197         (___printf_fp): Determine rounding using get_rounding_mode and
57198         round_away.
57199         * stdio-common/tst-printf-round.c: New file.
57200         * stdio-common/Makefile (tests): Add tst-printf-round.
57201         (link-libm): New variable.
57202         ($(objpfx)tst-printf-round): Depend in $(link-libm).
57204 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
57206         [BZ #14576]
57207         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
57208         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
57209         Likewise.
57210         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
57211         Likewise.
57213 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
57215         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
57216         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
57217         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
57218         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
57220 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
57222         [BZ #14518]
57223         * include/rounding-mode.h: New file.
57224         * sysdeps/generic/get-rounding-mode.h: Likewise.
57225         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
57226         * stdlib/strtod_l.c: Include <rounding-mode.h>.
57227         (MAX_VALUE): New macro.
57228         (MIN_VALUE): Likewise.
57229         (overflow_value): New function.
57230         (underflow_value): Likewise.
57231         (round_and_return): Use overflow_value and underflow_value to
57232         determine return values in overflow and underflow cases.  Use
57233         round_away to determine rounding depending on rounding mode.
57234         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
57235         determine return values in overflow and underflow cases.
57236         * stdlib/tst-strtod-round.c: Include <fenv.h>.
57237         (struct test_results): New structure.
57238         (struct test): Use struct test_results to store expected results
57239         for all rounding modes.
57240         (TEST): Include expected results for all rounding modes.
57241         (test_in_one_mode): New function.
57242         (do_test): Use test_in_one_mode to compute and check results.
57243         Check results for all rounding modes.
57244         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
57245         $(link-libm).
57247 2012-12-09  Allan McRae  <allan@archlinux.org>
57249         * sysdeps/i386/fpu/libm-test-ulps: Update
57251 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
57253         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
57254         (_G_int32_t): Likewise.
57255         (_G_uint16_t): Likewise.
57256         (_G_uint32_t): Likewise.
57257         (_G_HAVE_BOOL): Likewise.
57258         (_G_HAVE_ATEXIT): Likewise.
57259         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
57260         (_G_HAVE_IO_FILE_OPEN): Likewise.
57261         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
57262         (_G_int32_t): Likewise.
57263         (_G_uint16_t): Likewise.
57264         (_G_uint32_t): Likewise.
57265         (_G_HAVE_BOOL): Likewise.
57266         (_G_HAVE_ATEXIT): Likewise.
57267         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
57268         (_G_HAVE_IO_FILE_OPEN): Likewise.
57269         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
57270         (_G_int32_t): Likewise.
57271         (_G_uint16_t): Likewise.
57272         (_G_uint32_t): Likewise.
57273         (_G_HAVE_BOOL): Likewise.
57274         (_G_HAVE_ATEXIT): Likewise.
57275         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
57276         (_G_HAVE_IO_FILE_OPEN): Likewise.
57278 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
57280         * csu/libc-tls.c: Update copyright years.
57282 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
57284         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
57285         [!_G_USING_THUNKS]: Remove conditional code.
57286         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
57287         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
57289         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
57290         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
57291         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
57292         (_G_VTABLE_LABEL_PREFIX): Likewise.
57293         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
57294         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
57295         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
57296         (_G_VTABLE_LABEL_PREFIX): Likewise.
57297         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
57298         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
57299         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
57300         (_G_VTABLE_LABEL_PREFIX): Likewise.
57301         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
57303 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
57305         * libio/Makefile: Include ../Makeconfig before tests.
57306         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
57307         only if $(build-shared) is yes.
57309         * iconv/gconv_db.c: Update copyright years.
57311 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57313         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
57314         unwind info if defined PIC. Fix special cases description.
57315         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
57317         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
57318         DP_HI_MASK entry.
57319         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
57321 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
57323         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
57325         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
57326         is NULL.
57328         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
57329         (LDLIBS-tst-chk4): This.
57330         (LDFLAGS-tst-chk5): Renamed to ...
57331         (LDLIBS-tst-chk5): This.
57332         (LDFLAGS-tst-chk6): Renamed to ...
57333         (LDLIBS-tst-chk6): This.
57334         (LDFLAGS-tst-lfschk4): Renamed to ...
57335         (LDLIBS-tst-lfschk4): This.
57336         (LDFLAGS-tst-lfschk5): Renamed to ...
57337         (LDLIBS-tst-lfschk5): This.
57338         (LDFLAGS-tst-lfschk6): Renamed to ...
57339         (LDLIBS-tst-lfschk6): This.
57341         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
57342         on $(common-objpfx)soversions.mk.
57344 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
57346         [BZ #10014]
57347         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
57348         example host name.
57350 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
57352         * malloc/arena.c (arena_get_retry): New function that gets
57353         another arena for the caller to try its request on.
57354         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
57355         current arena cannot fulfill the request.
57356         (__libc_memalign): Likewise.
57357         (__libc_memalign): Likewise.
57358         (__libc_pvalloc): Likewise.
57359         (__libc_calloc): Likewise.
57361 2012-09-05  John Tobey  <john.tobey@gmail.com>
57363         [BZ #13542]
57364         * manual/arith.texi (Operations on Complex): Fix description
57365         of carg branch cut.
57367 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
57369         [BZ #10014]
57370         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
57371         host name.
57373         [BZ #10038]
57374         * manual/memory.texi (Memory): Make order of menu items match
57375         order of sections.
57377 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57379         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
57380         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
57381         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
57383 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57385         * csu/libc-tls.c (static_dtv): Renamed to ...
57386         (_dl_static_dtv): This.  Make it global.
57387         (_dl_initial_dtv): Removed.
57388         (__libc_setup_tls): Updated.
57389         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
57390         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
57391         DL_INITIAL_DTV.
57393 2012-09-06  Petr Machata  <pmachata@redhat.com>
57395         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
57396         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
57397         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
57398         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
57400 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57402         [BZ #14545]
57403         * csu/libc-tls.c (_dl_initial_dtv): New variable.
57404         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
57405         freeing dtv[-1].
57407 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
57409         [BZ #14544]
57410         * Makeconfig (link-static-before-libc): Replace $(+prector)
57411         with $(+prectorT).
57412         (link-static-after-libc): Replace $(+postctor) with
57413         $(+postctorT).
57414         (link-bounded): Replace $(+prector)/$(+postctor) with
57415         $(+prectorT)/$(+postctorT).
57416         (+prectorT): New macro.
57417         (+postctorT): Likewise.
57419 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
57421         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
57422         (round_str): Handle values above the maximum for IBM long double
57423         as inexact.
57424         * stdlib/tst-strtod-round.c (tests): Regenerated.
57426 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57428         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
57429         assembler flag.
57430         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
57431         zarch_nohighgprs around the zarch optimized routines.
57432         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
57433         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
57434         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
57435         for zarch.
57437 2012-09-05  David S. Miller  <davem@davemloft.net>
57439         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57441         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
57442         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
57443         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
57444         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
57445         entries.
57447 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57449         * malloc/arena.c: Fold copyright years.
57450         * malloc/mcheck.c, malloc/memusage.c: Likewise.
57452 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57454         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
57456 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57458         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
57460 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57462         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
57463         change internal state upon failure.
57465 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
57467         * malloc/mcheck.c (mcheck_check_all): Fix typo.
57468         * malloc/memusage.c (mmap): Likewise.
57469         (mmap64, mremap): Likewise.  Adjust name in comment.
57471 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
57473         * libio/fileops.c: Fix typos in comments.
57474         * libio/oldfileops.c: Likewise.
57475         * libio/wfileops.c: Likewise.
57477 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
57479         [BZ #1349]
57480         * malloc/Makefile (tests): Add tst-malloc-usable test case.
57481         (tst-malloc-usable-ENV): Set environment for test case.
57482         * malloc/hooks.c (malloc_check_get_size): New function to get
57483         requested size.
57484         * malloc/malloc.c (musable): Use malloc_check_get_size.
57485         * malloc/tst-malloc-usable.c: New test case.
57487 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
57489         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
57491 2012-09-05  Allan McRae  <allan@archlinux.org>
57493         [BZ #13966]
57494         * configure.in (CXX_SYSINCLUDES): Use compiler output to
57495         determine header location.
57496         * configure: Regenerated.
57498 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
57500         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
57501         float format.
57502         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
57503         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
57504         format.
57505         (test): Regenerate.
57507 2012-09-04  David S. Miller  <davem@davemloft.net>
57509         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
57510         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
57511         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
57513 2012-09-04  Florian Weimer  <fweimer@redhat.com>
57515         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
57516         failures.
57518         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
57520 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
57522         [BZ #9914]
57523         * libio/iogetdelim.c: Include <limits.h>.
57524         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
57525         + len + 1 would overflow.
57527 2012-09-03  Andreas Jaeger  <aj@suse.de>
57529         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57530         * sysdeps/i386/fpu/libm-test-ulps: Update.
57532 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57534         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
57535         Add s_sinf-sse2, s_conf-sse2.
57537         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
57538         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
57539         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
57540         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
57542         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
57543         for using routine as __sinf_ia32.
57544         Use macro for function declaration and weak_alias.
57545         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
57546         for using routine as __cosf_ia32.
57547         Use macro for function declaration and weak_alias.
57549         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
57550         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
57552         * sysdeps/x86_64/fpu/s_sinf.S: New file.
57553         * sysdeps/x86_64/fpu/s_cosf.S: New file.
57554         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57556         * math/libm-test.inc (cos_test): Add more test cases.
57557         (sin_test): Likewise.
57558         (sincos_test): Likewise.
57560 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57562         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
57563         (IFUNC_RESOLVE): Make pointers to the specialized implementations
57564         hidden.
57565         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
57567 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
57569         [BZ #14538]
57570         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
57571         first element of the GOT.
57572         (elf_machine_load_address): Return the difference between
57573         the runtime address of _DYNAMIC and elf_machine_dynamic ().
57575 2012-09-01  Allan McRae  <allan@archlinux.org>
57577         [BZ #13412]
57578         * configure.in (AWK): Require gawk version 3.0 or later.
57579         * configure: Regenerated.
57581 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
57583         * sysdeps/unix/sysv/linux/kernel-features.h
57584         (__ASSUME_POSIX_CPU_TIMERS): Remove.
57585         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
57586         [__NR_clock_getres]: Make code unconditional.
57587         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
57588         (clock_getcpuclockid): Remove code left unreachable by removal of
57589         conditionals.
57590         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
57591         code unconditional.
57592         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
57593         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
57594         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
57595         Make code unconditional.
57596         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
57597         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
57598         * sysdeps/unix/sysv/linux/clock_settime.c
57599         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
57600         conditional code.
57601         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
57602         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
57604 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
57606         [BZ #14476]
57607         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
57608         scripts/test-installation.pl.
57610         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
57611         and $ld_so_version if it is set.
57613 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
57615         [BZ #14516]
57616         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
57617         failure if reading from procfs failed.
57618         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
57620 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
57622         * sysdeps/unix/sysv/linux/kernel-features.h
57623         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
57624         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
57625         Remove conditional code.
57626         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57627         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
57628         Remove conditional code.
57629         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57630         * sysdeps/unix/sysv/linux/i386/fxstat.c
57631         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
57632         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57633         * sysdeps/unix/sysv/linux/i386/fxstatat.c
57634         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
57635         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57636         * sysdeps/unix/sysv/linux/i386/lxstat.c
57637         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
57638         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57639         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
57640         Remove conditional code.
57641         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57642         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
57643         Remove conditional code.
57644         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57645         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
57646         <kernel-features.h>.
57647         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
57648         Remove.
57649         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
57650         Remove conditional code.
57651         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
57652         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
57653         Remove conditional.
57655 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
57657         [BZ #5400]
57658         * NEWS: Add fixed bug number.
57660 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
57662         [BZ #14519]
57663         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
57664         underflowing exponent in case of negative sign.
57665         * stdlib/tst-strtod-round-data: Add more tests.
57666         * stdlib/tst-strtod-round.c (tests): Regenerated.
57668         [BZ #3479]
57669         * stdlib/strtod_l.c (NDIG): Remove.
57670         (HEXNDIG): Likewise.
57671         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
57672         smallest representable value.
57673         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
57674         lie within an exact representation of 1/2 ulp of the result.
57675         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
57676         unconditionally.
57677         (TENS_P9_IDX): Define unconditionally.
57678         (TENS_P9_SIZE): Likewise.
57679         (TENS_P10_IDX): Likewise.
57680         (TENS_P10_SIZE): Likewise.
57681         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
57682         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
57683         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
57684         entries for 10^2^13 and 10^2^14.
57685         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
57686         (TENS_P13_IDX): Define.
57687         (TENS_P13_SIZE): Likewise.
57688         (TENS_P14_IDX): Likewise.
57689         (TENS_P14_SIZE): Likewise.
57690         (_fpioconst_pow10): Change array size to
57691         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
57692         unconditional.
57693         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
57694         1024]: Add entries for 10^2^13 and 10^2^14.
57695         [LAST_POW10 > _LAST_POW10]: Remove #error.
57696         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
57697         (_fpioconst_pow10): Change array size to
57698         FPIOCONST_POW10_ARRAY_SIZE.
57699         * stdlib/gen-fpioconst.c: New file.
57700         * stdlib/gen-tst-strtod-round.c: Likewise.
57701         * stdlib/tst-strtod-round-data: Likewise.
57702         * stdlib/tst-strtod-round.c: Likewise.
57703         * stdlib/Makefile (tests): Add tst-strtod-round.
57705         [BZ #14459]
57706         * stdlib/strtod_l.c: Include <stdint.h>.
57707         (NDEBUG): Do not define.
57708         (round_and_return): Change EXPONENT parameter to type intmax_t.
57709         Rearrange calculations to avoid internal overflow possibilities.
57710         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
57711         Rearrange calculations to avoid internal overflow possibilities.
57712         Assert that number fits inside MPNSIZE limbs.
57713         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
57714         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
57715         calculations and add assertions to avoid internal overflow
57716         possibilities.  Add casts to avoid signed/unsigned operations.
57717         * stdlib/tst-strtod-overflow.c: New file.
57718         * stdlib/Makefile (tests): Add tst-strtod-overflow.
57720 2012-08-25  Marek Polacek  <polacek@redhat.com>
57722         * time/time.h: Fix some typos in comments.
57724 2012-08-23  Roland McGrath  <roland@hack.frob.com>
57726         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
57727         * posix/tst-rfc3484-2.c: Likewise.
57728         * posix/tst-rfc3484-3.c: Likewise.
57730 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
57732         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
57733         (EF_ARM_ABI_FLOAT_HARD): Likewise.
57735 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
57737         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
57738         #include of fxstatat64.c.
57740 2012-08-22  Roland McGrath  <roland@hack.frob.com>
57742         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
57743         * shadow/getspent_r.c: Likewise.
57744         * shadow/getspnam.c: Likewise.
57745         * shadow/getspnam_r.c: Likewise.
57746         * gshadow/getsgent.c: Likewise.
57747         * gshadow/getsgent_r.c: Likewise.
57748         * gshadow/getsgnam.c: Likewise.
57749         * gshadow/getsgnam_r.c: Likewise.
57750         * inet/getnetbyad.c: Likewise.
57751         * inet/getnetbyad_r.c: Likewise.
57752         * inet/getnetbynm.c: Likewise.
57753         * inet/getnetbynm_r.c: Likewise.
57754         * inet/getnetent.c: Likewise.
57755         * inet/getnetent_r.c: Likewise.
57756         * inet/getproto.c: Likewise.
57757         * inet/getproto_r.c: Likewise.
57758         * inet/getprtent.c: Likewise.
57759         * inet/getprtent_r.c: Likewise.
57760         * inet/getprtname.c: Likewise.
57761         * inet/getprtname_r.c: Likewise.
57762         * inet/getrpcbyname.c: Likewise.
57763         * inet/getrpcbyname_r.c: Likewise.
57764         * inet/getrpcbynumber.c: Likewise.
57765         * inet/getrpcbynumber_r.c: Likewise.
57766         * inet/getrpcent.c: Likewise.
57767         * inet/getrpcent_r.c: Likewise.
57768         * inet/getaliasent.c: Likewise.
57769         * inet/getaliasent_r.c: Likewise.
57770         * inet/getaliasname.c: Likewise.
57771         * inet/getaliasname_r.c: Likewise.
57772         * nscd/getgrgid_r.c: Likewise.
57773         * nscd/getgrnam_r.c: Likewise.
57774         * nscd/gethstbyad_r.c: Likewise.
57775         * nscd/gethstbynm3_r.c: Likewise.
57776         * nscd/getpwnam_r.c: Likewise.
57777         * nscd/getpwuid_r.c: Likewise.
57778         * nscd/getsrvbynm_r.c: Likewise.
57779         * nscd/getsrvbypt_r.c: Likewise.
57780         * nscd/gai.c: Likewise.
57782         * configure.in (build_nscd): New substituted variable, set
57783         by --disable-build-nscd and defaults to $use_nscd.
57784         * configure: Regenerated.
57785         * config.make.in (build-nscd): New substituted variable.
57786         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
57787         Change conditional to require [$(build-nscd) = yes] as well.
57788         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
57790         [BZ# 13696]
57791         * configure.in (use_nscd): New substituted variable, set by
57792         --disable-nscd.  If enabled, define USE_NSCD.
57793         * configure: Regenerated.
57794         * config.h.in: Add USE_NSCD.
57795         * config.make.in (use-nscd): New substituted variable.
57796         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
57797         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
57798         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
57799         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
57800         (CFLAGS-getgrnam_r.c): Likewise.
57801         (CFLAGS-initgroups.c): Likewise.
57802         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
57803         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
57804         Variables removed.
57805         * inet/getnetgrent_r.c
57806         (nscd_setnetgrent): New function, broken out of ...
57807         (setnetgrent): ... here.  Call it.
57808         (innetgr): Conditionalize nscd bits on [USE_NSCD].
57809         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
57810         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
57811         * nscd/Makefile (routines, aux): Move definitions after include of
57812         Makeconfig.  Conditionalize on [$(use-nscd) != no].
57813         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
57814         Conditionalize on [USE_NSCD].
57815         (is_nscd, nscd_init_cb): Likewise.
57816         (nss_load_library): Conditionalize init callback on [USE_NSCD].
57817         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
57818         * nss/nss_db/db-init.c: Likewise.
57819         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
57820         [USE_NSCD].
57821         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
57822         (make_request): Use it.
57823         (cache_valid_p): New function.
57824         (__check_pf): Use it.
57825         * NEWS: Add item for --disable-nscd.
57827 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
57829         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
57830         to support sed >= 4.2.1-20-ga9bf076.
57831         * configure: Regenerated.
57833 2012-08-22  Roland McGrath  <roland@hack.frob.com>
57835         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
57836         Conditionalize whole body on [IREL].
57838 2012-08-22  Jeff Law <law@redhat.com>
57840         [BZ #14505]
57841         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
57842         if the family is PF_UNSPEC.
57844 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
57846         * Makerules (lib-version): Rename from V.
57847         (install-lib-nosubdir): Change V to lib-version.
57849 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
57851         [BZ #14252]
57852         * powerpc32/power6/wcschr.c: New file.
57853         * powerpc32/power6/wcscpy.c: New file.
57854         * powerpc32/power6/wcsrchr.c: New file.
57855         * powerpc64/power6/wcschr.c: New file.
57856         * powerpc64/power6/wcscpy.c: New file.
57857         * powerpc64/power6/wcsrchr.c: New file.
57859 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
57861         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
57862         (two_way_short_needle): Use it.
57863         * string/strstr.c (AVAILABLE1_USES_J): Define.
57864         * string/strcasestr.c: Likewise.
57866         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
57867         array references.
57868         * string/strcasestr.c (TOLOWER): Make side-effect safe.
57870         [BZ #11607]
57871         * NEWS: Add an entry.
57872         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
57873         define their defaults.
57874         (two_way_short_needle): Detect end-of-string on-the-fly.
57875         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
57876         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
57877         * string/bug-strcasestr1.c: New test.
57878         * string/Makefile: Run it.
57880 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
57882         [BZ #11607]
57883         * string/str-two-way.h (two_way_short_needle): Optimize matching of
57884         the first character.
57886 2012-08-21  Roland McGrath  <roland@hack.frob.com>
57888         * csu/elf-init.c (__libc_csu_irel): Function removed.
57889         * csu/libc-start.c (apply_irel): New function.
57890         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
57892 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
57894         * sysdeps/unix/sysv/linux/kernel-features.h
57895         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
57896         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
57897         <kernel-features.h>.
57898         [__NR_fadvise64_64]: Make code unconditional.
57899         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
57900         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
57901         !__NR_fadvise64_64)]: Likewise.
57902         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
57903         !__NR_fadvise64_64))]: Likewise.
57904         [__NR_fadvise64]: Make code unconditional.
57905         [!__NR_fadvise64]: Remove conditional code.
57906         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
57907         <kernel-features.h>.
57908         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
57909         unconditional.
57910         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
57911         conditional code.
57912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
57913         not include <kernel-features.h>.
57914         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
57915         unconditional.
57916         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
57917         conditional code.
57918         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
57919         include <kernel-features.h>.
57920         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
57921         unconditional.
57922         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
57923         conditional code.
57925 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
57927         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
57928         slight instruction rearrangements per scrollpipe analysis.
57929         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
57931 2012-08-20  Roland McGrath  <roland@hack.frob.com>
57933         * manual/syslog.texi (syslog; vsyslog, closelog):
57934         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
57935         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
57937         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
57938         DSOCAPS to match condition on defining it.
57940 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
57942         * sysdeps/unix/sysv/linux/kernel-features.h
57943         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
57944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
57945         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
57946         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
57947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
57948         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
57949         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
57950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
57951         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
57952         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
57954         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
57955         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
57957         * sysdeps/unix/sysv/linux/kernel-features.h
57958         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
57959         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
57960         unconditional.
57961         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57962         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
57963         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
57964         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57965         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
57966         Make code unconditional.
57967         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57968         (__mmap64) [!__NR_mmap2]: Likewise.
57969         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
57970         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
57971         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57972         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
57973         [__NR_mmap2]: Make code unconditional.
57974         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57975         (__mmap64) [!__NR_mmap2]: Likewise.
57977 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57979         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
57981 2012-08-18  Andreas Jaeger  <aj@suse.de>
57983         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
57985 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
57987         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
57988         * include/unistd.h (__have_sock_cloexec): Likewise.
57989         (__have_pipe2): Likewise.
57990         (__have_dup3): Likewise.
57992 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
57994         [BZ #9685]
57995         * include/unistd.h (__have_pipe2): Change define into an extern int.
57996         (__have_dup3): Likewise.
57997         * socket/have_sock_cloexec.c: Include fcntl.h.
57998         (__have_pipe2): New variable.
57999         (__have_dup3): Likewise.
58001 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
58003         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
58005 2012-08-17  Marek Polacek  <polacek@redhat.com>
58007         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
58008         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
58010 2012-08-17  Roland McGrath  <roland@hack.frob.com>
58012         * configure.in: Add AC_SUBST for sysheaders.
58013         * configure: Regenerated.
58014         * config.make.in (sysheaders): New substituted variable.
58016         * sysdeps/unix/mkfifo.c: Moved ...
58017         * sysdeps/posix/mkfifo.c: ... here.
58018         * sysdeps/unix/mkfifoat.c: Moved ...
58019         * sysdeps/posix/mkfifoat.c: ... here.
58021         * sysdeps/unix/utime.c: Moved ...
58022         * sysdeps/posix/utime.c: ... here.
58024         * sysdeps/unix/time.c: Moved ...
58025         * sysdeps/posix/time.c: ... here.
58026         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
58027         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
58029         * sysdeps/unix/nice.c: Moved ...
58030         * sysdeps/posix/nice.c: ... here.
58032         * sysdeps/unix/alarm.c: Moved ...
58033         * sysdeps/posix/alarm.c: ... here.
58035         * intl/Makefile ($(codeset_mo)): Depend on the input file.
58037 2012-08-17  Jeff Law <law@redhat.com>
58039         * intl/Makefile (codeset_mo): New variable.
58040         ($(codeset_mo)): New target.
58041         (tst-codeset.out): Depend on that.  Remove explicit rule.
58042         (tst-gettext3.out, tst-gettext5.out): Likewise.
58043         (LOCPATH-ENV, tst-codeset-ENV): New variables.
58044         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
58045         * intl/tst-codeset.sh: Remove.
58046         * intl/tst-gettext3.sh: Likewise.
58047         * intl/tst-gettext5.sh: Likewise.
58049 2012-08-17  Roland McGrath  <roland@hack.frob.com>
58051         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
58052         * sysdeps/unix/syscalls.list: ... here.
58054         * sysdeps/posix/getaddrinfo.c
58055         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
58056         (gaiconf_init, gaiconf_reload): Use them.
58057         [!_STATBUF_ST_NSEC]
58058         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
58059         Define using time_t rather than struct timespec.
58061         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
58062         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
58063         Macros removed.
58064         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
58065         [!NO_THREADS].
58066         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
58067         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
58068         Likewise.
58070         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
58071         __libc_cleanup_push argument.
58073         * bits/param.h: New file.
58074         * misc/sys/param.h: New file.
58075         * include/sys/param.h: New file.
58076         * misc/Makefile (headers): Add bits/param.h.
58077         * sysdeps/generic/sys/param.h: File removed.
58078         * sysdeps/unix/sysv/linux/bits/param.h: New file.
58079         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
58080         * sysdeps/mach/hurd/bits/param.h: New file.
58081         * sysdeps/mach/hurd/sys/param.h: File removed.
58083         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
58084         last change.
58086         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
58087         [_IO_MTSAFE_IO].
58088         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
58089         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
58090         New macros.
58092         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
58093         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
58094         rather than -D_IO_MTSAFE_IO conditionally.
58095         * stdio-common/Makefile (CPPFLAGS): Likewise.
58096         * wcsmbs/Makefile (CPPFLAGS): Likewise.
58097         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
58098         Use $(libio-mtsafe).
58099         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
58100         of -D_IO_MTSAFE_IO.
58101         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
58102         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
58103         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
58104         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
58105         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
58106         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
58107         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
58108         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
58109         (CFLAGS-fread_u_chk.c): Likewise.
58110         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
58111         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
58112         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
58113         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
58114         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
58115         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
58116         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
58117         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
58118         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
58120         * libio/Makefile: Test [$(libc-reentrant) = yes]
58121         instead of [$(filter %REENTRANT, $(defines)) nonempty].
58123         * Makeconfig
58124         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
58125         * sysdeps/pthread/configure: File removed.
58126         * sysdeps/pthread/Makeconfig: New file.
58127         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
58128         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
58130 2012-08-16  Gary Benson  <gbenson@redhat.com>
58132         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
58133         unmapping the first object in a namespace.
58135 2012-08-16  Roland McGrath  <roland@hack.frob.com>
58137         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
58138         (__internal_setnetgrent): ... this.  Add internal_function to
58139         definition.  Add libc_hidden_def.
58140         (setnetgrent): Update caller.
58141         (internal_endnetgrent): Renamed to ...
58142         (__internal_endnetgrent): ... this.  Add internal_function to
58143         definition.  Add libc_hidden_def.
58144         (endnetgrent): Update caller.
58145         (internal_getnetgrent_r): Renamed to ...
58146         (__internal_getnetgrent_r): ... this.  Add internal_function to
58147         definition.  Add libc_hidden_def.
58148         (__getnetgrent_r): Update caller.
58149         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
58151 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
58153         * stdlib/longlong.h: Update from GCC.
58155 2012-08-16  Roland McGrath  <roland@hack.frob.com>
58157         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
58158         on _QL, which is set by umul_ppmm but never used.
58159         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
58160         variables, which are set by GMP macros but never used.
58161         * stdio-common/_itowa.c (_itowa): Likewise.
58162         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
58163         * stdlib/mod_1.c (mpn_mod_1): Likewise.
58165 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
58167         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
58168         struct La_sh_regs is not constant.
58169         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
58170         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
58171         and struct La_sparc64_regs are not constant.
58173 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
58175         * sysdeps/unix/sysv/linux/kernel-features.h
58176         (__ASSUME_POSIX_TIMERS): Remove.
58177         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
58178         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58179         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
58180         Make code unconditional.
58181         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58182         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
58183         Make code unconditional.
58184         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58185         * sysdeps/unix/sysv/linux/clock_nanosleep.c
58186         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
58187         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58188         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
58189         Make code unconditional.
58190         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
58191         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
58192         (__libc_missing_posix_timers): Remove.
58194 2012-08-15  Roland McGrath  <roland@hack.frob.com>
58196         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
58197         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
58199         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
58201         * elf/dl-sym.c: Include <stdlib.h>.
58203         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
58204         constants, which avoids warnings in 32-bit builds.
58206         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
58207         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
58209         * misc/lseek.c: File moved to ...
58210         * io/lseek.c: ... here.
58212         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
58214         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
58215         shifting LEN more than 31 bits at once.
58217 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58219         [BZ #14195]
58220         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
58221         segmentation fault for a case of two empty input strings.
58222         * string/test-strncasecmp.c (check1): Renamed to...
58223         (bz12205): ...this.
58224         (bz14195): Add new testcase for two empty input strings and N > 0.
58225         (test_main): Call new testcase, adapt for renamed function.
58227 2012-08-15  Andreas Jaeger  <aj@suse.de>
58229         [BZ #14090]
58230         * crypt/md5test2.c: New test, based on test supplied by Serge
58231         Belyshev <belyshev@depni.sinp.msu.ru>.
58232         * crypt/Makefile (xtests): Add md5test-giant..
58233         * crypt/Makefile ($(objpfx)md5test-giant): Add.
58235 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
58237         [BZ #14090]
58238         * crypt/md5.c (md5_process_block): Don't assume the buffer
58239         length is less than 2**32.
58240         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
58241         length is less than 2**64.
58243 2012-08-15  Roland McGrath  <roland@hack.frob.com>
58245         * string/str-two-way.h: Include <sys/param.h>.
58246         (MAX): Macro removed.
58248         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
58249         Move #define and #undef of memmove to just before and after
58250         including <string.h>.
58252         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
58253         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
58254         and after including <string.h>.  Move declarations of
58255         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
58256         to before #include "string/memmove.c".
58258         * include/dirent.h: Declare __getdirentries.
58260         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
58261         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
58263 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
58265         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
58266         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
58267         * sysdeps/i386/configure: Regenerated.
58268         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
58269         STABS_CURRENT_FILE, and STABS_FUN.
58270         (END): Remove call to STABS_FUN_END.
58271         (STABS_CURRENT_FILE1): Delete.
58272         (STABS_CURRENT_FILE): Likewise.
58273         (STABS_FUN): Likewise.
58274         (STABS_FUN_END): Likewise.
58275         (STABS_FUN2): Likewise.
58276         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
58277         * sysdeps/x86_64/configure: Regenerated.
58279 2012-08-14  Roland McGrath  <roland@hack.frob.com>
58281         * elf/dl-open.c: Include <atomic.h>.
58282         * elf/dl-lookup.c: Likewise.
58284 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
58286         * sysdeps/unix/sysv/linux/kernel-features.h
58287         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
58288         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
58289         unconditionally.
58290         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
58291         unconditionally.
58292         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
58293         condition on __ASSUME_CLONE_THREAD_FLAGS.
58295 2012-08-14  Andreas Jaeger  <aj@suse.de>
58297         * sysdeps/i386/fpu/libm-test-ulps: Update.
58299 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
58301         * include/atomic.h (atomic_exchange_and_add): Split into ...
58302         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
58303         New atomic macros.
58305 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
58307         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58309 2012-08-13  Jeff Law <law@redhat.com>
58311         * manual/stdio.texi (snprintf): Clarify handling of the trailing
58312         null byte in the output string.
58314 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
58316         * sysdeps/unix/sysv/linux/kernel-features.h
58317         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
58318         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
58319         (__ASSUME_ARG_MAX_STACK_BASED): Define.
58320         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
58321         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
58322         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
58323         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
58325 2012-08-09  Jeff Law <law@redhat.com>
58327         [BZ #13939]
58328         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
58329         When avoid_arena is set, don't retry in the that arena.  Pick the
58330         next one, whatever it might be.
58331         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
58332         (arena_lock): Pass in new parameter to arena_get2.
58333         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
58334         arena_get2.
58335         (__libc_malloc): Unify retrying after main arena failure with
58336         __libc_memalign version.
58337         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
58339 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
58341         [BZ #14166]
58342         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
58343         to __redirect_strstr.
58344         (__strstr_sse42): Use typeof __redirect_strstr.
58345         (__strstr_ia32): Likewise.
58346         (__libc_strstr): New prototype.
58347         (strstr): Renamed to ...
58348         (__libc_strstr): This.
58349         (strstr): New strong alias of __libc_strstr.
58350         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
58351         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
58352         __redirect_time.
58353         Include <time.h>.
58354         (__libc_time): New prototype.
58355         (time_ifunc): Replace time with __libc_time.
58356         (time): New strong alias and hidden definition of __libc_time.
58357         (__GI_time): Remove strong alias.
58358         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
58359         Include <stddef.h>.
58360         (memmove): Redefined to __redirect_memmove.
58361         (__memmove_sse2): Use typeof __redirect_memmove.
58362         (__memmove_ssse3): Likewise.
58363         (__memmove_ssse3_back): Likewise.
58364         (__libc_memmove): New prototype.
58365         (memmove): Renamed to ...
58366         (__libc_memmove): This.
58367         (memmove): New strong alias of __libc_memmove.
58369 2012-08-08  Mark Salter  <msalter@redhat.com>
58371         * elf/elf.h
58372         (R_MN10300_TLS_GD): Define.
58373         (R_MN10300_TLS_LD): Likewise.
58374         (R_MN10300_TLS_LDO): Likewise.
58375         (R_MN10300_TLS_GOTIE): Likewise.
58376         (R_MN10300_TLS_IE): Likewise.
58377         (R_MN10300_TLS_LE): Likewise.
58378         (R_MN10300_TLS_DTPMOD): Likewise.
58379         (R_MN10300_TLS_DTPOFF): Likewise.
58380         (R_MN10300_TLS_TPOFF): Likewise.
58381         (R_MN10300_SYM_DIFF): Likewise.
58382         (R_MN10300_ALIGN): Likewise.
58383         (R_MN10300_NUM): Update.
58385 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
58387         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
58388         Remove.
58390 2012-08-08  Roland McGrath  <roland@hack.frob.com>
58392         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
58394         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
58395         sysdeps/unix -> sysdeps/posix move.
58396         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
58398 2012-08-07      Allan McRae     <allan@archlinux.org>
58400         [BZ #14303]
58401         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
58402         (SUNOS_CPP): Likewise.
58403         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
58404         not found.
58405         (open_input): Call CPP using execvp.
58407 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
58409         * sysdeps/unix/sysv/linux/kernel-features.h
58410         (__ASSUME_PROT_GROWSUPDOWN): Remove.
58411         (__ASSUME_NO_CLONE_DETACHED): Likewise.
58412         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
58413         (__ASSUME_WAITID_SYSCALL): Likewise.
58414         * sysdeps/unix/sysv/linux/dl-execstack.c
58415         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
58416         code unconditional.
58417         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
58418         conditional code.
58419         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
58420         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
58421         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
58422         code.
58423         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
58424         unconditional.
58425         [__ASSUME_WAITID_SYSCALL]: Likewise.
58426         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
58428 2012-08-07  Roland McGrath  <roland@hack.frob.com>
58430         * sysdeps/unix/closedir.c: Renamed to ...
58431         * sysdeps/posix/closedir.c: ... here.
58432         * sysdeps/unix/dirfd.c: Renamed to ...
58433         * sysdeps/posix/dirfd.c: ... here.
58434         * sysdeps/unix/dirstream.h: Renamed to ...
58435         * sysdeps/posix/dirstream.h: ... here.
58436         * sysdeps/unix/fdopendir.c: Renamed to ...
58437         * sysdeps/posix/fdopendir.c: ... here.
58438         * sysdeps/unix/opendir.c: Renamed to ...
58439         * sysdeps/posix/opendir.c: ... here.
58440         * sysdeps/unix/readdir.c: Renamed to ...
58441         * sysdeps/posix/readdir.c: ... here.
58442         * sysdeps/unix/readdir_r.c: Renamed to ...
58443         * sysdeps/posix/readdir_r.c: ... here.
58444         * sysdeps/unix/rewinddir.c: Renamed to ...
58445         * sysdeps/posix/rewinddir.c: ... here.
58446         * sysdeps/unix/seekdir.c: Renamed to ...
58447         * sysdeps/posix/seekdir.c: ... here.
58448         * sysdeps/unix/telldir.c: Renamed to ...
58449         * sysdeps/posix/telldir.c: ... here.
58450         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
58451         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
58452         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
58453         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
58455         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
58456         * bits/fcntl.h: ... here.
58458         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
58459         not 0.
58460         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
58461         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
58462         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
58463         (struct flock): Move l_start, l_len to the beginning.
58464         Use __pid_t for l_pid.
58465         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
58466         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
58467         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
58468         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
58469         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
58470         [__USE_LARGEFILE64] (struct flock64): New type.
58471         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
58473         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
58474         * bits/dirent.h: ... here.
58476         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
58477         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
58479 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
58481         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
58482         Change from 2.6.0 to 2.6.16.
58483         * sysdeps/unix/sysv/linux/configure: Regenerated.
58484         * sysdeps/unix/sysv/linux/kernel-features.h
58485         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
58486         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
58487         version.
58488         (__ASSUME_UTIMES): Likewise.
58489         (__ASSUME_CLONE_STOPPED): Remove.
58490         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
58491         architectures, not kernel version.
58492         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
58493         (__ASSUME_NO_CLONE_DETACHED): Likewise.
58494         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
58495         (__ASSUME_WAITID_SYSCALL): Likewise.
58496         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
58497         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
58498         * README: State 2.6.16 as minimum Linux kernel version.  Do not
58499         refer to older versions.
58501 2012-08-06  Roland McGrath  <roland@hack.frob.com>
58503         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
58504         Define alphasort64 as an alias.
58505         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
58506         Define versionsort64 as an alias.
58507         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
58508         Define scandir64 as an alias.
58509         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
58510         Define scandirat64 as an alias.
58511         * dirent/alphasort64.c (alphasort64):
58512         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
58513         * dirent/versionsort64.c: Likewise.
58514         * dirent/scandir64.c: Likewise.
58515         * dirent/scandirat64.c: Likewise.
58516         * sysdeps/wordsize-64/alphasort.c: File removed.
58517         * sysdeps/wordsize-64/alphasort64.c: File removed.
58518         * sysdeps/wordsize-64/scandir.c: File removed.
58519         * sysdeps/wordsize-64/scandir64.c: File removed.
58520         * sysdeps/wordsize-64/scandirat.c: File removed.
58521         * sysdeps/wordsize-64/scandirat64.c: File removed.
58522         * sysdeps/wordsize-64/versionsort.c: File removed.
58523         * sysdeps/wordsize-64/versionsort64.c: File removed.
58524         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
58525         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
58526         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
58527         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
58528         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
58529         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
58530         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
58531         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
58533         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
58534         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
58535         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
58536         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58537         [defined __arch64__ || defined __sparcv9]
58538         (__INO_T_MATCHES_INO64_T): New macro.
58539         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
58540         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
58541         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
58542         * sysdeps/unix/sysv/linux/bits/dirent.h
58543         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
58544         (_DIRENT_MATCHES_DIRENT64): New macro.
58546         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
58547         Define lockf64 as an alias.
58548         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
58549         Define fseeko64 as an alias.
58550         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
58551         Define ftello64 as an alias.
58552         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
58553         Define _IO_fgetpos64 and fgetpos64 as aliases.
58554         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
58555         Define _IO_fsetpos64 and fsetpos64 as aliases.
58556         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
58557         Conditionalize body on this.
58558         * libio/fseeko64.c: Likewise.
58559         * libio/ftello64.c: Likewise.
58560         * libio/iofgetpos64.c: Likewise.
58561         * libio/iofsetpos64.c: Likewise.
58562         * sysdeps/wordsize-64/lockf.c: File removed.
58563         * sysdeps/wordsize-64/lockf64.c: File removed.
58564         * sysdeps/wordsize-64/fseeko.c: File removed.
58565         * sysdeps/wordsize-64/fseeko64.c: File removed.
58566         * sysdeps/wordsize-64/ftello.c: File removed.
58567         * sysdeps/wordsize-64/ftello64.c: File removed.
58568         * sysdeps/wordsize-64/iofgetpos.c: File removed.
58569         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
58570         * sysdeps/wordsize-64/iofsetpos.c: File removed.
58571         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
58572         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
58573         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
58574         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
58575         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
58576         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
58577         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
58578         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
58579         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
58580         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
58581         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
58583         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
58584         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
58585         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
58586         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58587         [defined __arch64__ || defined __sparcv9]
58588         (__OFF_T_MATCHES_OFF64_T): New macro.
58589         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
58590         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
58591         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58592         (__OFF_T_MATCHES_OFF64_T): New macro.
58594 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
58596         * stdlib/secure-getenv.c (__secure_getenv): Replace
58597         GLIBC_2_16 with GLIBC_2_17.
58599 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
58601         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
58602         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
58604 2012-08-03  David S. Miller  <davem@davemloft.net>
58606         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58608 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
58610         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
58611         Remove.
58612         (__ASSUME_CORRECT_SI_PID): Likewise.
58613         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
58614         (__ASSUME_TMPFS_NAME): Likewise.
58615         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
58616         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
58617         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
58618         (HAVE_AUX_SECURE): Make definition unconditional.
58619         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
58620         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
58622 2012-08-03  Roland McGrath  <roland@hack.frob.com>
58624         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
58625         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
58626         * sysdeps/mach/hurd/eloop-threshold.h: New file.
58627         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
58628         __eloop_threshold instead of SYMLOOP_MAX.
58630         * sysdeps/generic/eloop-threshold.h: New file.
58631         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
58632         of MAXSYMLINKS.
58633         * elf/chroot_canon.c (chroot_canon): Likewise.
58635 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
58637         [BZ #13717]
58638         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
58639         Change to 2.6.0 everywhere.
58640         * sysdeps/unix/sysv/linux/configure: Regenerated.
58641         * sysdeps/unix/sysv/linux/kernel-features.h
58642         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
58643         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
58644         kernel versions.
58645         (__ASSUME_POSIX_TIMERS): Define unconditionally.
58646         (__ASSUME_FUTEX_REQUEUE): Remove.
58647         (__ASSUME_STATFS64): Define unconditionally.
58648         (__ASSUME_AT_SECURE): Likewise.
58649         (__ASSUME_CORRECT_SI_PID): Likewise.
58650         (__ASSUME_TGKILL): Define without depending on kernel version for
58651         i386.
58652         (__ASSUME_UTIMES): Likewise.
58653         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
58654         kernel version.
58655         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
58656         (__ASSUME_TMPFS_NAME): Likewise.
58657         * README: Update reference to Linux kernel versions.
58659 2012-08-02  Marek Polacek  <polacek@redhat.com>
58661         [BZ# 14150]
58662         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
58663         libc_cv_asm_type_prefix with %.
58664         * configure: Regenerated.
58665         * include/libc-symbols.h: Remove comment about
58666         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
58667         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
58668         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
58669         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
58670         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
58671         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
58672         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
58673         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
58674         * elf/tst-unique2mod1.c: Likewise.
58675         * elf/tst-unique1mod2.c: Likewise.
58676         * elf/tst-unique1mod1.c: Likewise.
58677         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
58678         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
58679         Replace ASM_TYPE_DIRECTIVE with .type.
58680         * sysdeps/s390/s390-64/sysdep.h: Likewise.
58681         * sysdeps/i386/sysdep.h: Likewise.
58682         * sysdeps/x86_64/sysdep.h: Likewise.
58683         * sysdeps/sh/sysdep.h: Likewise.
58684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
58685         Do not define ASM_TYPE_DIRECTIVE.
58686         * sysdeps/powerpc/sysdep.h: Likewise.
58687         * sysdeps/powerpc/powerpc32/sysdep.h:
58688         Replace ASM_TYPE_DIRECTIVE with .type.
58689         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
58690         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
58691         * sysdeps/i386/fpu/e_powf.S: Likewise.
58692         * sysdeps/i386/fpu/e_expl.S: Likewise.
58693         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
58694         * sysdeps/i386/fpu/e_acosh.S: Likewise.
58695         * sysdeps/i386/fpu/e_pow.S: Likewise.
58696         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
58697         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
58698         * sysdeps/i386/fpu/s_expm1.S: Likewise.
58699         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
58700         * sysdeps/i386/fpu/e_log2.S: Likewise.
58701         * sysdeps/i386/fpu/e_log2l.S: Likewise.
58702         * sysdeps/i386/fpu/e_scalb.S: Likewise.
58703         * sysdeps/i386/fpu/e_powl.S: Likewise.
58704         * sysdeps/i386/fpu/e_log10f.S: Likewise.
58705         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
58706         * sysdeps/i386/fpu/e_logl.S: Likewise.
58707         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
58708         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
58709         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
58710         * sysdeps/i386/fpu/e_log2f.S: Likewise.
58711         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
58712         * sysdeps/i386/fpu/e_log.S: Likewise.
58713         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58714         * sysdeps/i386/fpu/e_logf.S: Likewise.
58715         * sysdeps/i386/fpu/e_log10l.S: Likewise.
58716         * sysdeps/i386/fpu/e_atanh.S: Likewise.
58717         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
58718         * sysdeps/i386/fpu/e_log10.S: Likewise.
58719         * sysdeps/i386/fpu/s_frexp.S: Likewise.
58720         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
58721         * sysdeps/i386/fpu/s_asinh.S: Likewise.
58722         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
58723         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58724         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
58725         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
58726         * sysdeps/i386/i686/strtok.S: Likewise.
58727         * sysdeps/i386/i386-mcount.S: Likewise.
58728         * sysdeps/i386/strtok.S: Likewise.
58729         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
58730         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58731         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58732         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58733         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
58734         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58735         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
58736         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
58737         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58738         * sysdeps/x86_64/_mcount.S: Likewise.
58739         * sysdeps/x86_64/strtok.S: Likewise.
58740         * sysdeps/sh/_mcount.S: Likewise.
58742 2012-08-01  Roland McGrath  <roland@hack.frob.com>
58744         * libio/iofopen.c: Include <fcntl.h>.
58745         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
58746         (_IO_fopen64, fopen64): Define as aliases.
58747         * libio/iofopen64.c: Include <fcntl.h>.
58748         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
58749         Conditionalize body on this.
58750         * sysdeps/wordsize-64/iofopen.c: File removed.
58751         * sysdeps/wordsize-64/iofopen64.c: File removed.
58753 2012-08-01  Marek Polacek  <polacek@redhat.com>
58755         * libc/Makeconfig: Use elf in place of binfmt-subdir.
58756         Use dlfcn directly instead of a variable.
58757         (binfmt-subdir): Do not define.
58758         (dlfcn): Likewise.
58760 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
58762         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
58763         Remove all definitions.
58764         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
58765         <kernel-features.h>.
58766         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
58767         (miss_F_GETOWN_EX): Remove all definitions.
58768         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
58769         macro definition.
58770         [!__ASSUME_FCNTL64]: Remove conditional code.
58771         [__ASSUME_FCNTL64]: Make code unconditional.
58772         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
58773         <kernel-features.h>.
58774         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
58775         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
58776         (lockf64) [__NR_fcntl64]: Make code unconditional.
58777         (lockf64) [__ASSUME_FCNTL64]: Likewise.
58779         * sysdeps/unix/sysv/linux/kernel-features.h
58780         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
58781         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
58782         Make code unconditional.
58783         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
58784         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
58785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
58786         [__NR_vfork]: Make code unconditional.
58787         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
58788         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
58789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
58790         [__NR_vfork]: Make code unconditional.
58791         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
58792         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
58794 2012-08-01  Roland McGrath  <roland@hack.frob.com>
58796         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
58797         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
58799         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
58800         Define mkstemp64 as an alias.
58801         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
58802         Define mkstemps64 as an alias.
58803         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
58804         Define mkostemp64 as an alias.
58805         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
58806         Define mkostemps64 as an alias.
58807         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
58808         Conditionalize body on this.
58809         * misc/mkostemp64.c: Likewise.
58810         * misc/mkostemps64.c: Likewise.
58811         * misc/mkstemps64.c: Likewise.
58812         * sysdeps/wordsize-64/mkstemp64.c: File removed.
58813         * sysdeps/wordsize-64/mkostemp64.c: File removed.
58814         * sysdeps/wordsize-64/mkostemp.c: File removed.
58815         * sysdeps/wordsize-64/mkstemp.c: File removed.
58816         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
58817         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
58818         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
58819         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
58821         [BZ #14138]
58822         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
58823         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
58824         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
58825         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
58827         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
58828         compat_symbol macros from <shlib-compat.h> rather than the underlying
58829         default_symbol_version and symbol_version macros, so that DEFAULT
58830         lines in shlib-versions are respected.
58831         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
58833 2012-08-01  Florian Weimer  <fweimer@redhat.com>
58835         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
58836         Declare with warn_unused_result.
58837         (setgid, setregid, setegid, setresgid): Likewise.
58838         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
58839         Likewise.
58840         * WUR-REPORT: Remove set*id functions.
58842 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
58844         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
58846 2012-07-31  Roland McGrath  <roland@hack.frob.com>
58848         [BZ #10191]
58849         * include/sys/socket.h (__libc_accept, __libc_accept4):
58850         Add attribute_hidden.
58851         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
58853         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
58854         use of PTR_MANGLE.
58855         * inet/getnetgrent_r.c (setup): Likewise.
58857         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
58859 2012-07-31  David S. Miller  <davem@davemloft.net>
58861         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58863 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
58865         [BZ #13629]
58866         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
58867         value between 1.0 and 2.0 and smaller part has absolute value less
58868         than 1.0.
58869         * math/s_clog10.c (__clog10): Likewise.
58870         * math/s_clog10f.c (__clog10f): Likewise.
58871         * math/s_clog10l.c (__clog10l): Likewise.
58872         * math/s_clogf.c (__clogf): Likewise.
58873         * math/s_clogl.c (__clogl): Likewise.
58874         * math/libm-test.inc (clog_test): Add more tests.
58875         (clog10_test): Likewise.
58876         * sysdeps/i386/fpu/libm-test-ulps: Update.
58877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58879 2012-07-31  Florian Weimer  <fweimer@redhat.com>
58881         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
58882         Exit with zero in case no suitable GID is found, and write a
58883         message to standard error.
58885 2012-07-30  Roland McGrath  <roland@hack.frob.com>
58887         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
58888         rather than to 1.
58889         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
58890         (MAXPATHLEN): Removed.
58891         (NOGROUP, NODEV): New macros.
58892         (setbit, clrbit, isset, isclr): New macros.
58893         (howmany, roundup, powerof2): New macros.
58894         (DEV_BSIZE): New macro.
58896         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
58897         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
58899         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
58900         definition on [!__NO_LONG_DOUBLE_MATH].
58902         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
58903         PTR_MANGLE and PTR_DEMANGLE.
58905         * socket/accept4.c (accept4): Rename to __libc_accept4.
58906         Define accept4 as a weak alias.
58908         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
58909         on [_DIRENT_HAVE_D_TYPE].
58910         * io/ftw.c (ftw_dir): Likewise.
58912         * io/xmknod.c (__xmknod): Don't check PATH for being null.
58914         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
58916         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
58917         Use the BSD numbers rather than the arbitrary ones we had.
58918         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
58919         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
58920         (SIGXCPU, SIGXFSZ): New macros.
58921         (_NSIG): Now 32.
58923         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
58924         initializer on [_LIBC_REENTRANT].
58926         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
58927         definitions inside [_POSIX_MAPPED_FILES].
58929         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
58931         * dirent/opendir.c: Include <fcntl.h>.
58933         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
58934         (__libc_getspecific): Likewise.
58935         (__libc_key_create): Likewise.
58937         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
58938         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
58939         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
58940         (tmpfile64): Define as alias.
58941         * sysdeps/wordsize-64/tmpfile.c: File removed.
58942         * sysdeps/wordsize-64/tmpfile64.c: File removed.
58943         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
58944         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
58946         * stdio-common/vfscanf.c: Include <stdbool.h>.
58947         * nss/makedb.c: Likewise.
58948         * stdio-common/_i18n_number.h: Likewise.
58949         * argp/argp-help.c: Likewise.
58950         * posix/wordexp.c: Likewise.
58951         * sysdeps/posix/spawni.c: Likewise.
58952         * nss/nss_files/files-initgroups.c: Likewise.
58953         * stdio-common/reg-modifier.c: Include <stdlib.h>.
58954         * nss/nss_files/files-initgroups.c: Likewise.
58955         * nss/nss_db/db-netgrp.c: Likewise.
58956         * nss/nss_db/db-initgroups.c: Likewise.
58957         * io/fchmodat.c: Include <sys/stat.h>.
58959         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
58960         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
58962         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
58963         [HAVE_MMAP].
58965         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
58966         Add multiple inclusion protection.
58968 2012-07-27  David S. Miller  <davem@davemloft.net>
58970         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58972 2012-07-27  Gary Benson  <gbenson@redhat.com>
58974         [BZ #14298]
58975         * elf/rtld.c: Include <stap-probe.h>.
58976         (dl_main): Added static probes "init_start" and "init_complete".
58977         * elf/dl-load.c: Include <stap-probe.h>.
58978         (lose): Take new parameter "nsid".
58979         Added static probe "map_failed".
58980         (_dl_map_object_from_fd): Pass namespace id to lose.
58981         Added static probe "map_start".
58982         (open_verify): Pass namespace id to lose.
58983         * elf/dl-open.c: Include <stap-probe.h>.
58984         (dl_open_worker) Added static probes "map_complete", "reloc_start"
58985         and "reloc_complete".
58986         * elf/dl-close.c: Include <stap-probe.h>.
58987         (_dl_close_worker): Added static probes "unmap_start" and
58988         "unmap_complete".
58989         * elf/rtld-debugger-interface.txt: New file documenting the above.
58991 2012-07-26  Roland McGrath  <roland@hack.frob.com>
58993         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
58994         rather than a string variable.
58995         * sunrpc/rpc_main.c (h_output): Likewise.
58996         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
58998 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
59000         * inet/check_native.c: New file.
59002 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
59004         [BZ #13629]
59005         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
59006         if larger part has absolute value 1.0.
59007         * math/s_clog10.c (__clog10): Likewise.
59008         * math/s_clog10f.c (__clog10f): Likewise.
59009         * math/s_clog10l.c (__clog10l): Likewise.
59010         * math/s_clogf.c (__clogf): Likewise.
59011         * math/s_clogl.c (__clogl): Likewise.
59012         * math/libm-test.inc (clog_test): Add more tests.
59013         (clog10_test): Likewise.
59014         * sysdeps/i386/fpu/libm-test-ulps: Update.
59015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59017         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
59018         (pltexit): Likewise.
59019         (La_regs): Likewise.
59020         (La_retval): Likewise.
59021         (int_retval): Likewise.
59022         Update #error for removed macros to refer only to definitions in
59023         tst-audit.h.
59024         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
59025         macro.
59026         (pltexit): Likewise.
59027         (La_regs): Likewise.
59028         (La_retval): Likewise.
59029         (int_retval): Likewise.
59030         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
59031         macro.
59032         (pltexit): Likewise.
59033         (La_regs): Likewise.
59034         (La_retval): Likewise.
59035         (int_retval): Likewise.
59036         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
59037         macro.
59038         (pltexit): Likewise.
59039         (La_regs): Likewise.
59040         (La_retval): Likewise.
59041         (int_retval): Likewise.
59042         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
59043         macro.
59044         (pltexit): Likewise.
59045         (La_regs): Likewise.
59046         (La_retval): Likewise.
59047         (int_retval): Likewise.
59048         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
59049         macro.
59050         (pltexit): Likewise.
59051         (La_regs): Likewise.
59052         (La_retval): Likewise.
59053         (int_retval): Likewise.
59054         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
59055         macro.
59056         (pltexit): Likewise.
59057         (La_regs): Likewise.
59058         (La_retval): Likewise.
59059         (int_retval): Likewise.
59060         * sysdeps/generic/tst-audit.h: Update comment to refer only to
59061         macro definitions in tst-audit.h.
59062         * sysdeps/i386/tst-audit.h: New file.
59063         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
59064         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
59065         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
59066         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
59067         * sysdeps/sh/tst-audit.h: Likewise.
59068         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
59069         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
59070         * sysdeps/x86_64/tst-audit.h: Likewise.
59072 2012-07-26  Andreas Jaeger  <aj@suse.de>
59074         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
59075         ptrace.
59077         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
59078         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
59079         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
59080         PTRACE_O_MASK.
59081         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
59082         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
59083         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
59085         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
59086         value.
59088         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
59089         _sigsys.
59090         (si_call_addr, si_syscall, si_arch): Define new macro.
59091         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
59092         _sigsys.
59093         (si_call_addr, si_syscall, si_arch): Define new marcro.
59094         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
59095         _sigsys.
59096         (si_call_addr, si_syscall, si_arch): Define new macro.
59097         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
59098         _sigsys.
59099         (si_call_addr, si_syscall, si_arch): Define new macro.
59101 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
59103         [BZ #13717]
59104         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59105         Change to 2.4.21 where previously 2.4.1.
59106         * sysdeps/unix/sysv/linux/configure: Regenerated.
59107         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
59108         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
59109         Linux kernel version.
59110         (__ASSUME_STD_AUXV): Remove.
59111         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
59112         kernel version.
59113         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
59114         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
59115         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
59116         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
59117         (__ASSUME_NETLINK_SUPPORT): Likewise.
59118         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
59119         (__no_netlink_support): Remove conditional definition.
59120         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
59121         Remove.
59122         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
59123         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
59124         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
59125         (if_nameindex_ioctl): Remove.
59126         (if_nameindex_netlink): Do not handle __no_netlink_support.
59127         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
59128         code.
59129         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
59130         Remove conditional code.
59131         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
59132         code.
59133         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
59134         unconditional.
59135         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
59136         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
59137         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
59138         Remove.
59139         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
59140         [!__ASSUME_STD_AUXV]: Remove conditional code.
59141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
59142         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
59143         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
59144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
59145         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
59146         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
59147         code.
59148         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
59149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
59150         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
59151         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
59152         conditional code.
59153         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
59154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
59155         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
59156         code.
59157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
59158         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
59159         conditional code.
59160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
59161         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
59162         code unconditional.
59163         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59164         conditional code.
59165         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59166         unconditional.
59167         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59168         conditional code.
59169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59170         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59171         unconditional.
59172         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59173         conditional code.
59174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
59175         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
59176         code unconditional.
59177         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59178         conditional code.
59179         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59180         unconditional.
59181         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59182         conditional code.
59183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
59184         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
59185         code unconditional.
59186         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59187         conditional code.
59188         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
59189         unconditional.
59190         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
59191         conditional code.
59193 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
59195         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
59196         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
59197         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
59198         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
59199         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
59200         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
59201         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
59202         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
59203         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
59204         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
59205         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
59206         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
59207         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
59208         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
59209         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
59210         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
59211         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
59212         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
59213         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
59214         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
59215         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
59216         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
59217         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
59219 2012-07-25  Florian Weimer  <fweimer@redhat.com>
59221         * Versions.def: Add GLIBC_2.17.
59222         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
59223         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
59224         Introduce __libc_secure_getenv.
59225         * stdlib/Versions (2.17): Add secure_getenv
59226         (GLIBC_PRIVATE): Add __libc_secure_getenv.
59227         * stdlib/secure-getenv.c: Rename __secure_getenv to
59228         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
59229         symbol __secure_getenv for GLIBC_2.0.
59230         * stdlib/tst-secure-getenv.c: New.
59231         * stdlib/Makefile (tests): Add testcase.
59232         * manual/startup.texi (Environment Access): Document
59233         secure_getenv.
59234         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
59235         __libc_secure_getenv.
59236         * inet/ruserpass.c (ruserpass): Likewise.
59237         * malloc/mtrace.c (mtrace): Likewise.
59238         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
59239         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
59240         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
59241         * sysdeps/posix/tempname.c: Likewise.  Evaluate
59242         HAVE_SECURE_GETENV.
59243         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
59244         __secure_getenv to __libc_secure_getenv.
59245         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
59246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59247         Likewise.
59248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59249         Likewise.
59250         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
59251         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
59252         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
59253         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
59254         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
59255         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
59256         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
59258 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
59260         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
59261         (struct La_i86_retval): Likewise.
59262         (struct La_x86_64_regs): Likewise.
59263         (struct La_x86_64_retval): Likewise.
59264         (struct La_x32_regs): Likewise.
59265         (struct La_x32_retval): Likewise.
59266         (struct La_ppc32_regs): Likewise.
59267         (struct La_ppc32_retval): Likewise.
59268         (struct La_ppc64_regs): Likewise.
59269         (struct La_ppc64_retval): Likewise.
59270         (struct La_sh_regs): Likewise.
59271         (struct La_sh_retval): Likewise.
59272         (struct La_s390_32_regs): Likewise.
59273         (struct La_s390_32_retval): Likewise.
59274         (struct La_s390_64_regs): Likewise.
59275         (struct La_s390_64_retval): Likewise.
59276         (struct La_sparc32_regs): Likewise.
59277         (struct La_sparc32_retval): Likewise.
59278         (struct La_sparc64_regs): Likewise.
59279         (struct La_sparc64_retval): Likewise.
59280         (struct audit_ifaces): Remove architecture-specific pltenter and
59281         pltexit members.
59282         * sysdeps/i386/ldsodefs.h: New file.
59283         * sysdeps/powerpc/ldsodefs.h: Likewise.
59284         * sysdeps/s390/ldsodefs.h: Likewise.
59285         * sysdeps/sh/ldsodefs.h: Likewise.
59286         * sysdeps/sparc/ldsodefs.h: Likewise.
59287         * sysdeps/x86_64/ldsodefs.h: Likewise.
59289 2012-07-25  Marek Polacek  <polacek@redhat.com>
59291         [BZ #6808]
59292         * math/libm-test.inc (yn_test): Add another test.
59293         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
59294         to ERANGE when the result is +-Inf.
59295         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
59296         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
59297         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
59298         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
59300 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
59302         * conform/data/time.h-data (NULL): Use macro-constant.  Require
59303         equal to 0.
59304         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
59305         clock_t.
59306         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
59308 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
59310         * configure.in <sysdeps resolving>: Correct printing
59311         Implies_before.
59312         * configure: Regenerate.
59314 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
59316         * math/w_ilogb.c: Include <limits.h>.
59317         * math/w_ilogbl.c: Likewise.
59319 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
59321         * manual/lang.texi (__va_copy): Document primarily as ISO C99
59322         va_copy.  Document allowing for unavailable va_copy only as
59323         pre-C99 compatibility.
59324         * manual/string.texi (Copying and Concatenation): Use va_copy
59325         instead of __va_copy in concat example.
59327 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
59329         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
59330         (__sendto): Use create_address_port.  Initialize APORT and deallocate
59331         it if not null.
59333         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
59334         with O_NOLINK passed to __file_name_lookup.
59336         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
59337         with O_NOLINK passed to __file_name_lookup.
59339         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
59340         negative N or less than NGIDS.
59342         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
59343         type to string_t.  Set ERANGE as errno and return it if NAME is not big
59344         enough.  Use memcpy instead of strncpy.
59346 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
59348         * elf/Makefile (check-data): Remove.
59349         (localplt.data): New vpath directive.
59350         ($(objpfx)check-localplt.out): Use localplt.data from vpath
59351         instead of $(check-data).
59352         * scripts/data/localplt-generic.data: Move to ...
59353         * sysdeps/generic/localplt.data: ... here.
59354         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
59355         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
59356         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
59357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
59358         ... here.
59359         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
59360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
59361         ... here.
59362         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
59363         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
59364         ... here.
59365         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
59366         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
59367         ... here.
59368         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
59369         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
59370         ... here.
59371         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
59372         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
59373         ... here.
59375 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59377         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
59378         PPC32 and PPC64 files.
59379         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
59380         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
59382 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59384         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
59385         __makecontext_ret to ...
59386         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
59387         ... here and call exit if uc_link is NULL.  New file.
59388         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
59389         __makecontext_ret.S.
59390         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
59391         __makecontext_ret to ...
59392         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
59393         ... here and call exit if uc_link is NULL.  New file.
59394         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
59395         __makecontext_ret.S.
59397 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59399         * elf/elf.h (R_390_IRELATIVE): New definition.
59400         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
59401         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
59402         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
59403         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
59404         (elf_machine_lazy_rel): Likewise.
59405         * sysdeps/s390/dl-irel.h: New file.
59406         * sysdeps/s390/s390-64/memcpy.S: New asm code.
59407         * sysdeps/s390/s390-64/memset.S: New asm code.
59408         * sysdeps/s390/s390-64/memcmp.S: New asm code.
59409         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
59410         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
59411         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
59412         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
59413         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
59414         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
59415         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
59416         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
59417         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
59418         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
59419         * sysdeps/s390/s390-32/memcpy.S: New asm code.
59420         * sysdeps/s390/s390-32/memset.S: New asm code.
59421         * sysdeps/s390/s390-32/memcmp.S: New asm code.
59423 2012-07-17  Marek Polacek  <polacek@redhat.com>
59425         [BZ #14349]
59426         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
59427         * sysdeps/s390/s390-64/configure.in: Likewise.
59428         * sysdeps/sparc/configure.in: Likewise.
59429         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
59430         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
59431         * sysdeps/i386/configure.in: Likewise.
59432         * sysdeps/x86_64/configure.in: Likewise.
59433         * sysdeps/sh/configure.in: Likewise.
59434         * sysdeps/s390/s390-32/configure: Regenerated.
59435         * sysdeps/s390/s390-64/configure: Likewise.
59436         * sysdeps/x86_64/configure: Likewise.
59437         * sysdeps/sh/configure: Likewise.
59438         * sysdeps/powerpc/powerpc64/configure: Likewise.
59439         * sysdeps/powerpc/powerpc32/configure: Likewise.
59440         * sysdeps/sparc/configure: Likwise.
59441         * sysdeps/i386/configure: Likewise.
59443         * elf/dl-open.c: Comment fixes.
59445 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
59447         * Makefile [CXX] (check-data): Remove.
59448         [CXX] (c++-types.data): New vpath directive.
59449         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
59450         vpath.  Do not allow for C++ type data being missing.
59451         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
59452         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
59453         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
59454         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
59455         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
59456         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
59457         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
59458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
59459         ... here.
59460         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
59461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
59462         ... here.
59463         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
59464         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
59465         ... here.
59466         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
59467         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
59468         ... here.
59469         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
59470         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
59471         ... here.
59472         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
59473         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
59474         ... here.
59475         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
59476         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
59477         ... here.
59478         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
59479         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
59481         * elf/tls-macros.h (TLS_LE): Move architecture-specific
59482         definitions to architecture-specific files.
59483         (TLS_IE): Likewise.
59484         (TLS_LD): Likewise.
59485         (TLS_GD): Likewise.
59486         * sysdeps/i386/tls-macros.h: New file.
59487         * sysdeps/powerpc/tls-macros.h: Likewise.
59488         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
59489         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
59490         * sysdeps/sh/tls-macros.h: Likewise.
59491         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
59492         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
59493         * sysdeps/x86_64/tls-macros.h: Likewise.
59495 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
59497         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
59498         zero value for regular exit case.
59500         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
59501         (__start_context): Preserve zero value for regular exit case.
59503 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
59504             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59506         * manual/setjmp.texi (setcontext): Clarify normal process
59507         termination when uc_link is the null pointer.
59508         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
59509         exit call.
59511 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
59513         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
59514         preprocessor.  Test for each exception mask separately.
59516 2012-07-16  Andreas Jaeger  <aj@suse.de>
59518         * po/ru.po: Update from translation team.
59520 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
59522         * conform/data/string.h-data (NULL): Use macro-constant.  Require
59523         equal to 0.
59524         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
59525         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
59526         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
59527         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
59528         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59530 2012-07-13  Andreas Jaeger  <aj@suse.de>
59532         * po/fr.po: Update from translation team.
59534 2012-07-12  Marek Polacek  <polacek@redhat.com>
59536         [BZ #14173]
59537         * math/libm-test.inc (yn_test): Add test for BZ #14173.
59538         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
59539         loop condition.
59541 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
59543         [BZ #13717]
59544         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59545         Change to 2.4.1 where previously 2.4.0.
59546         * sysdeps/unix/sysv/linux/configure: Regenerated.
59547         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
59548         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
59549         version.
59550         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
59551         (__ASSUME_AT_CLKTCK): Remove.
59552         (__ASSUME_AT_PAGESIZE): Likewise.
59553         (__ASSUME_AT_XID): Likewise.
59554         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
59555         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
59556         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
59557         unconditionally.
59558         (HAVE_AUX_PAGESIZE): Likewise.
59559         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
59560         [__ASSUME_AT_CLKTCK]: Make code unconditional.
59561         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
59563 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
59565         [BZ #14307]
59566         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
59567         the temporary buffer used to invoke __gethostbyname2_r,
59568         __gethostbyaddr_r and gethostbyname4_r to make room for struct
59569         host_data / struct gaih_addrtuple.
59570         * resolv/nss_dns/dns-host.c (global scope): Move definition of
59571         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
59572         header file nss/nsswitch.h.
59573         * nss/nsswitch.h (global scope): Add definition of implementation
59574         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
59575         resolv/nss_dns/dns-host.c).
59577 2012-07-11  Andreas Jaeger  <aj@suse.de>
59579         * po/fr.po: Update from translation team.
59581         * po/sv.po: Update from translation team
59582         * po/fr.po: Another update from translation team.
59584 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59586         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
59587         for subnormals or multiply small sinh result by itself.
59588         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
59589         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59591 2012-07-11  David S. Miller  <davem@davemloft.net>
59593         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59595 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
59597         [BZ #14347]
59598         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
59599         (INTERNAL_MARK): Shift it here.
59601 2012-07-10  Marek Polacek  <polacek@redhat.com>
59603         [BZ #14151]
59604         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
59605         libc_cv_asm_global_directive with .globl.
59606         * configure: Regenerated.
59607         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
59608         with .globl.
59609         * sysdeps/i386/configure: Regenerated.
59610         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
59611         with .globl.
59612         * sysdeps/x86_64/configure: Regenerated.
59613         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
59614         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
59615         * elf/tst-unique2mod2.c: Likewise.
59616         * elf/tst-unique2mod1.c: Likewise.
59617         * elf/tst-unique1mod2.c: Likewise.
59618         * elf/tst-unique1mod1.c: Likewise.
59619         * sysdeps/s390/s390-32/sysdep.h: Likewise.
59620         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
59621         * sysdeps/s390/s390-64/sysdep.h: Likewise.
59622         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
59623         * sysdeps/mach/sysdep.h: Likewise.
59624         * sysdeps/i386/sysdep.h: Likewise.
59625         * sysdeps/i386/i386-mcount.S: Likewise.
59626         * sysdeps/x86_64/_mcount.S: Likewise.
59627         * sysdeps/x86_64/sysdep.h: Likewise.
59628         * sysdeps/sh/_mcount.S: Likewise.
59629         * sysdeps/sh/sysdep.h: Likewise.
59630         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
59631         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
59632         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
59633         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
59634         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
59635         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
59636         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
59637         * locale/localeinfo.h: Likewise.
59638         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
59639         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
59641 2012-07-09  Roland McGrath  <roland@hack.frob.com>
59643         [BZ #14336]
59644         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
59645         system".
59646         * manual/message.texi (The Uniforum approach): Likewise.
59647         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
59648         (glibc iconv Implementation): Likewise.
59650 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
59652         [BZ #14337]
59653         * math/s_clog.c (__clog): Avoid scaling a value down where that
59654         could result in underflow.
59655         * math/s_clog10.c (__clog10): Likewise.
59656         * math/s_clog10f.c (__clog10f): Likewise.
59657         * math/s_clog10l.c (__clog10l): Likewise.
59658         * math/s_clogf.c (__clogf): Likewise.
59659         * math/s_clogl.c (__clogl): Likewise.
59660         * math/libm-test.inc (clog_test): Add more tests.
59661         (clog10_test): Likewise.
59662         * sysdeps/i386/fpu/libm-test-ulps: Update.
59663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59665 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
59667         [BZ #14283]
59668         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
59669         by 7 not 8 to examine high bit of fractional part.
59671         [BZ #14042]
59672         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
59673         for call to __mcount_internal.
59674         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
59675         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
59676         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
59678 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
59680         [BZ #14154]
59681         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
59682         approximation for values within 0x1p-13f of an odd multiple of
59683         pi/4.
59684         * math/libm-test.inc (tan_test): Do not allow spurious underflow
59685         exception.  Add more tests.
59686         * sysdeps/i386/fpu/libm-test-ulps: Update.
59688         [BZ #6778]
59689         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
59690         inputs and return -1 for them.  Do not check for +Inf in case not
59691         reachable for +Inf.
59692         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
59693         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
59694         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
59695         and return -1 for them.  Do not check for +Inf in case not
59696         reachable for +Inf.
59697         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
59698         define.
59699         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
59700         and return -1 for them.  Do not check for +Inf in case not
59701         reachable for +Inf.
59702         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
59703         spurious underflow.
59704         * sysdeps/i386/fpu/libm-test-ulps: Update.
59705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59707 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
59709         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
59711 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
59713         [BZ #14157]
59714         [BZ #14331]
59715         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
59716         could result in spurious underflow.  Scale down values above
59717         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
59718         * math/s_csqrtf.c (__csqrtf): Likewise.
59719         * math/s_csqrtl.c (__csqrtl): Likewise.
59720         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
59721         spurious underflow.
59722         * sysdeps/i386/fpu/libm-test-ulps: Update.
59723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59725 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
59727         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
59728         xopen-msg.sed.
59729         * catgets/xopen-msg.awk: New file.
59730         * catgets/xopen-msg.sed: Removed.
59732         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
59733         po2text.sed.
59734         * intl/po2test.awk: New file.
59735         * intl/po2test.sed: Removed.
59737 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
59739         [BZ #14328]
59740         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
59741         or multiply small sinh result by itself.
59742         * math/s_ctanf.c (__ctanf): Likewise.
59743         * math/s_ctanh.c (__ctanh): Likewise.
59744         * math/s_ctanhf.c (__ctanhf): Likewise.
59745         * math/s_ctanhl.c (__ctanhl): Likewise.
59746         * math/s_ctanl.c (__ctanl): Likewise.
59747         * math/libm-test.inc (ctan_test_tonearest): New function.
59748         (ctan_test_towardzero): Likewise.
59749         (ctan_test_downward): Likewise.
59750         (ctan_test_upward): Likewise.
59751         (ctanh_test_tonearest): Likewise.
59752         (ctanh_test_towardzero): Likewise.
59753         (ctanh_test_downward): Likewise.
59754         (ctanh_test_upward): Likewise.
59755         (main): Call these new functions.
59756         * sysdeps/i386/fpu/libm-test-ulps: Update.
59757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59759 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
59761         * .gitignore: Delete /ports entry.
59763 2012-07-03  Andreas Jaeger  <aj@suse.de>
59765         * po/bg.po: Update from translation team.
59766         * po/cs.po: Likewise.
59767         * po/de.po: Likewise.
59768         * po/hr.po: Likewise.
59769         * po/nl.pl: Likewise.
59770         * po/pl.po: Likewise.
59771         * po/vi.po: Likewise.
59773 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
59775         * Makeconfig [!+link] (+link-before-libc): New variable.
59776         [!+link] (+link-after-libc): Likewise.
59777         [!+link] (+link-tests): Likewise.
59778         [!+link] (+link): Define in terms of $(+link-before-libc) and
59779         $(+link-after-libc).
59780         [!+link-static] (+link-static-before-libc): New variable.
59781         [!+link-static] (+link-static-after-libc): Likewise.
59782         [!+link-static] (+link-static-tests): Likewise.
59783         [!+link-static] (+link-static): Define in terms of
59784         $(+link-static-before-libc) and $(+link-static-after-libc).
59785         [build-shared] (link-libc-before-gnulib): New variable.
59786         [build-shared] (link-libc-tests): Likewise.
59787         [build-shared] (link-libc): Define in terms of
59788         $(link-libc-before-gnulib).
59789         [!build-shared] (link-libc-tests): New variable.
59790         (link-libc-static-tests): New variable.
59791         [!gnulib] (gnulib-arch): New variable.
59792         [!gnulib] (gnulib-tests): Likewise.
59793         [!gnulib] (static-gnulib-arch): Likewise.
59794         [!gnulib] (static-gnulib-tests): Likewise.
59795         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
59796         Define with "=" instead of ":=".
59797         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
59798         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
59799         * Rules (binaries-all-notests): New variable.
59800         (binaries-all-tests): Likewise.
59801         (binaries-static-notests): Likewise.
59802         (binaries-static-tests): Likewise.
59803         (binaries-all): Define using $(binaries-all-notests) and
59804         $(binaries-all-tests).
59805         (binaries-static): Define using $(binaries-static-notests) and
59806         $(binaries-static-tests).
59807         (binaries-shared-tests): New variable.
59808         (binaries-shared-notests): Likewise.
59809         (binaries-shared): Remove variable.
59810         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
59811         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
59812         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
59813         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
59814         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
59815         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
59816         * elf/Makefile (sln-modules): New variable.
59817         (extra-objs): Add $(sln-modules:=.o).
59818         (ldconfig-modules): Add static-stubs.
59819         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
59820         * elf/static-stubs.c: New file.
59822         [BZ #14283]
59823         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
59824         by 7 not 8 to examine high bit of fractional part.  Use volatile
59825         variables when splitting into final array of floats if
59826         __FLT_EVAL_METHOD__ != 0.
59827         * math/libm-test.inc (cos_test): Add another test.
59828         (sin_test): Likewise.
59829         * sysdeps/i386/fpu/libm-test-ulps: Update.
59831         [BZ #14273]
59832         * math/libm-test.inc (cosh_test): Add more tests.
59834         * version.h (RELEASE): Set to "development".
59835         (VERSION): Set to "2.16.90".
59837 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
59839         * NEWS: Update copyright. Remove last-updated date.
59840         Mention math library bug fixes and timezone data changes.
59841         * README: Mention GNU/Hurd, x32, and HPPA support status.
59843 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
59845         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
59847 2012-06-27  Andreas Jaeger  <aj@suse.de>
59849         * manual/contrib.texi (Contributors): Add Samuel Thibault.
59851 2012-06-25  Andreas Jaeger  <aj@suse.de>
59853         * sysdeps/s390/fpu/libm-test-ulps: Update.
59855 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
59856             Thomas Schwinge  <thomas@codesourcery.com>
59858         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
59859         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
59860         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
59861         fanotify_mark.
59863 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
59865         * sysdeps/mach/start.c: Remove file.
59866         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
59867         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
59868         * sysdeps/sh/init-first.c: Likewise.
59870         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
59871         registers for frame unwinding purposes, add CFI directives.
59872         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
59873         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
59874         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
59875         Likewise.
59877         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
59878         __fortify_fail returning.
59879         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
59881         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
59882         sysdeps/sh/____longjmp_chk.S.
59883         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
59884         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
59885         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
59886         (gen-as-const-headers): Append sigaltstack-offsets.sym.
59888         * sysdeps/sh/abort-instr.h: New file.
59889         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
59890         process in case exit returns.
59892         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
59893         initialize the GOT register before use.
59895         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
59896         calculation of ARGC > 4.
59898         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
59899         meaningful names to some local labels.
59901 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59902             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59904         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
59905         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
59906         (__arch_compare_and_exchange_val_16_acq): Likewise.
59907         (__arch_compare_and_exchange_val_32_acq): Likewise.
59908         (atomic_exchange_and_add): Fix gUSA sequence.
59909         (atomic_add): Likewise.
59910         (atomic_add_negative): Likewise.
59911         (atomic_add_zero): Likewise.
59912         (atomic_bit_test_set): Likewise.
59914 2012-06-22  Andreas Schwab  <schwab@redhat.com>
59916         [BZ #13579]
59917         * include/link.h (struct link_map): Add l_free_initfini.
59918         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
59919         l_initfini.
59920         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
59921         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
59922         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
59923         set.
59925 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
59927         * configure.in: Use AC_LANG_SOURCE.
59928         * configure: Regenerate.
59930 2012-06-22  Roland McGrath  <roland@hack.frob.com>
59932         * configure.in (libc_cv_localstatedir): New substituted variable.
59933         * configure: Regenerated.
59934         * config.make.in (localstatedir): New variable, substituted from
59935         libc_cv_localstatedir.
59936         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
59937         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
59938         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
59939         * sysdeps/gnu/configure: Regenerated.
59941 2012-06-21  Jeff Law  <law@redhat.com>
59943         [BZ #14277]
59944         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
59945         free.  Simplify list management for _LIBC case.
59947 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
59949         [BZ #14273]
59950         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
59951         Clear sign bit of 64-bit integer value before comparing against
59952         overflow value.
59954         * sysdeps/mach/configure: Regenerated.
59956 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
59958         [BZ #14278]
59959         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
59961 2012-06-21  Jeff Law  <law@redhat.com>
59963         [BZ #13882]
59964         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
59965         uint16_t for elements in the "seen" array to avoid char overflows.
59966         * elf/dl-fini.c (_dl_sort_fini): Likewise.
59967         * elf/dl-open.c (dl_open_worker): Likewise.
59969 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
59971         * scripts/list-sources.sh: Scan PORTS for translations.
59972         * po/libc.pot: Regenerated.
59974 2012-06-21  Andreas Jaeger  <aj@suse.de>
59976         [BZ #12194]
59977         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
59978         warning.
59979         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
59980         * bits/byteswap-16.h (__bswap_16): Likewise.
59981         * bits/byteswap.h (__bswap_constant_16): Likewise.
59983 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
59985         [BZ #14117]
59986         * sysdeps/i386/fpu_control.h: Removed.
59987         * sysdeps/x86_64/fpu_control.h: Moved to ...
59988         * sysdeps/x86/fpu_control.h: Here.
59990         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
59991         (_FPU_SETCW): Likewise.
59993 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
59995         [BZ #14117]
59996         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
59997         * sysdeps/x86/fpu/bits/mathinline.h: This.
59998         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
60000         [BZ #14050]
60001         [BZ #14117]
60002         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
60003         functions if __x86_64__ is defined.
60005 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
60007         * string/endian.h: Add !__ASSEMBLER__ condition for including
60008         conversion interfaces.
60010 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
60012         [BZ #14241]
60013         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
60014         of ABS(x) in calculating zero to negative powers other than odd
60015         integers.
60016         * math/libm-test.inc (pow_test): Add more tests.
60018 2012-06-15  Andreas Jaeger  <aj@suse.de>
60020         * manual/contrib.texi (Contributors): Update entry of Liubov
60021         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
60022         Machado Filho.
60024 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
60026         * string/string.h: Add __wur to GNU version of strerror_r.
60028 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
60030         [BZ #14229]
60031         * string/Makefile (tests): Add tst-strtok_r.
60032         * string/tst-strtok_r.c: New file.
60033         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
60034         RAX_LP/RDX_LP on SAVE_PTR.
60036 2012-06-14  Roland McGrath  <roland@hack.frob.com>
60038         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
60040 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
60042         * libm_test.inc (csqrt_test): Allow more spurious underflow
60043         exceptions.
60044         (j0_test): Likewise.
60045         (j1_test): Likewise.
60046         (y0_test): Likewise.
60047         (y1_test): Likewise.
60049 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
60051         * po/Makefile (libc.pot): Use UTF-8 charset.
60053 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
60055         [BZ #14210]
60056         Suppress sign-conversion warning from FD_SET.
60057         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
60058         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
60059         not unsigned long int.
60060         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
60062 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
60064         [BZ #14050]
60065         [BZ #14117]
60066         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
60067         __extern_always_inline instead of __extern_inline.
60068         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
60069         (__signbit): Likewise.
60070         (__signbitl): Support C++ namespace.
60071         (lrintf): New inline function.
60072         (lrint): Likewise.
60073         (llrintf): Likewise.
60074         (llrint): Likewise.
60075         (fmaxf): Likewise.
60076         (fmax): Likewise.
60077         (fminf): Likewise.
60078         (fmin): Likewise.
60079         (rint): Likewise.
60080         (rintf): Likewise.
60081         (ceil): Likewise.
60082         (ceilf): Likewise.
60083         (floor): Likewise.
60084         (floorf): Likewise.
60085         (nearbyint): Likewise.
60086         (nearbyintf): Likewise.
60088 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
60090         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
60091         non-default versions.
60093 2012-06-11  Roland McGrath  <roland@hack.frob.com>
60095         [BZ #14218]
60096         * manual/argp.texi (Argp): Reword argp_parse description slightly.
60098 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
60100         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
60101         (FE_UPWARD, FE_DOWNWARD): Don't define.
60102         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
60103         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
60105         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
60106         reading it.
60107         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
60108         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60110 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60112         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
60113         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
60114         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
60115         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
60117 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
60119         [BZ #14117]
60120         * sysdeps/i386/fpu/bits/fenv.h: Removed.
60121         * sysdeps/i386/fpu/Implies: New file.
60122         * sysdeps/x86_64/fpu/Implies: Likewise.
60123         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
60124         * sysdeps/x86/fpu/bits/fenv.h: This.
60126         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
60127         __SSE_MATH__.
60129 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
60131         [BZ #14134]
60132         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
60133         character 0xffff that matches the last element of the
60134         conversion table.
60136 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60138         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
60139         fmodl commit.
60141 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60143         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
60144         values higher than 25.6283.
60146 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60148         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
60149         subnormal exponent extraction and add some __builtin_expect.
60150         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
60151         Fix for subnormal mantissa calculation.
60153 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
60155         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
60156         cpu2 is -1 and errno is not ENOSYS.
60158 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
60160         [BZ #14117]
60161         * sysdeps/i386/i486/bits/string.h: Renamed to ...
60162         * sysdeps/x86/bits/string.h: This.
60163         * sysdeps/x86_64/bits/string.h: Removed.
60165         * sysdeps/i386/i486/bits/string.h: Define inline functions only
60166         if not compiling for x86-64, but compiling for >= i486.
60168         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
60169         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
60171         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
60172         New macro from Linux kernel 3.4.0.
60173         (FP_XSTATE_MAGIC2): Likewise.
60174         (FP_XSTATE_MAGIC2_SIZE): Likewise.
60175         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
60176         (struct _fpx_sw_bytes): New struct.
60177         (struct _xsave_hdr): Likewise.
60178         (struct _ymmh_state): Likewise.
60179         (struct _xstate): Likewise.
60181         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
60182         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
60183         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
60184         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
60185         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
60186         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
60188         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
60189         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
60190         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
60191         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
60192         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
60193         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
60195 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60197         [BZ #13743]
60198         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
60199         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
60200         (sysdep_headers): Include sys/platform/ppc.h.
60201         * sysdeps/powerpc/test-gettimebase.c: Test for
60202         __ppc_get_timebase() to catch future ISA opcode/insn changes.
60203         * manual/Makefile (appendices): Include platform.texi.
60204         * manual/contrib.texi (Contributors): Update @node pointers.
60205         * manual/maint.texi (Maintenance): Likewise.
60206         (Platform): New node.
60207         * manual/platform.texi: New file.  Document the new features.
60209 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
60210             Jakub Jelinek  <jakub@redhat.com>
60212         [BZ #14188]
60213         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
60214         where __builtin_expect is unavailable.
60216 2012-06-03  David S. Miller  <davem@davemloft.net>
60218         * stdlib/longlong.h: Updated from GCC.
60220 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
60222         [BZ #14042]
60223         * sysdeps/powerpc/powerpc32/mcount.c: New file.
60224         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
60225         __mcount_internal.
60226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
60227         (GLIBC_2.16): Likewise.
60229 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
60231         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
60233 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
60235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
60236         (default-abi): New variable.
60237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
60238         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
60239         variable.
60240         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
60241         Likewise.
60242         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
60243         Likewise.
60244         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
60245         Likewise.
60247         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
60248         definition.  Document in comment.
60250 2012-06-01  David S. Miller  <davem@davemloft.net>
60252         * stdlib/longlong.h: Updated from GCC.
60254 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
60256         [BZ #14117]
60257         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
60258         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
60259         sys/debugreg.h sys/io.h here.
60260         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
60261         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
60262         sys/io.h.
60263         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
60264         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
60265         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
60266         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
60267         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
60268         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
60270         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
60271         Define only if __x86_64__ is defined.
60273 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
60275         [BZ #14048]
60276         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
60277         Use int64_t for variable i.
60278         * math/libm-test.inc (fmod_test): Add more tests.
60280         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
60281         z computation is not scheduled after fetestexcept.
60282         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
60283         Use math_force_eval instead of asm to ensure calculation scheduled
60284         before exception test.
60285         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
60286         Ensure a1 + u.d computation is not scheduled after fetestexcept.
60288 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
60290         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
60291         computation is not scheduled after fetestexcept.
60293 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
60295         [BZ #14117]
60296         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
60297         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
60299 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60301         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
60302         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
60304 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
60306         [BZ #14117]
60307         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
60308         <bits/wordsize.h>.
60309         (__WCHAR_MIN): Support __WORDSIZE == 64.
60310         (__WCHAR_MAX): Likewise.
60312         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
60313         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
60315         [BZ #14183]
60316         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
60317         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
60319         [BZ #14117]
60320         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
60321         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
60323         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
60324         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
60326         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
60327         Defined to 1 if __x86_64__ isn't defined.
60328         (_STAT_VER_LINUX_OLD): New.
60329         (st_atime): Remove duplicate.
60330         (st_mtime): Likewise.
60331         (st_ctime): Likewise.
60333 2012-05-31  David S. Miller  <davem@davemloft.net>
60335         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
60336         entries.
60338 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
60340         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
60341         gen-libm-test.pl.
60343         [BZ #14132]
60344         * elf/dl-reloc.c: Include <_itoa.h>.
60345         (_dl_reloc_bad_type): Remove use of INTUSE.
60346         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
60347         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
60348         * stdio-common/psiginfo.c (psiginfo): Likewise.
60349         * stdio-common/psignal.c (psignal): Likewise.
60350         * string/strsignal.c (strsignal): Likewise.
60351         * include/signal.h (_sys_siglist): Declare hidden proto.
60352         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
60353         INTVARDEF with libc_hidden_data_def.
60354         * stdio-common/itoa-udigits.c: Likewise.
60355         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
60356         (_itoa_lower_digits_internal): Remove declaration.
60357         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
60358         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
60359         (_sys_sigabbrev_internal): Remove aliases.
60360         (_sys_siglist): Define hidden alias.
60362 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
60364         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60365         bits/sysctl.h.
60367 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
60369         [BZ #14117]
60370         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
60371         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
60373         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
60374         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
60375         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
60376         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
60377         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
60378         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
60380         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
60381         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
60382         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
60384         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
60385         with __addr.
60386         (insw): Likewise.
60387         (insl): Likewise.
60388         (outsb): Likewise.
60389         (outsw): Likewise.
60390         (outsl): Likewise.
60392         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
60393         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
60394         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
60396         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
60397         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
60398         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
60399         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
60400         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
60401         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
60403         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
60404         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
60406         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
60407         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
60409         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
60410         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
60411         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
60413         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
60414         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
60415         to ...
60416         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
60418         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
60419         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
60420         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
60422         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
60423         for x86-64.
60424         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
60426 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
60428         * math/math.h (M_El): Use two more decimal places.
60429         (M_LOG2El): Likewise.
60430         (M_LOG10El): Likewise.
60431         (M_LN2l): Likewise.
60432         (M_LN10l): Likewise.
60433         (M_PIl): Likewise.
60434         (M_PI_2l): Likewise.
60435         (M_PI_4l): Likewise.
60436         (M_1_PIl): Likewise.
60437         (M_2_PIl): Likewise.
60438         (M_2_SQRTPIl): Likewise.
60439         (M_SQRT2l): Likewise.
60440         (M_SQRT1_2l): Likewise.
60442 2012-05-31  David S. Miller  <davem@davemloft.net>
60444         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
60445         values between float registers.
60446         * sysdeps/sparc/sparc64/memset.S: Likewise.
60447         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
60449 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
60451         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
60452         -D_FORTIFY_SOURCE=1.
60453         (CPPFLAGS-tst-longjmp_chk.c): Define.
60454         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
60455         (CPPFLAGS-tst-longjmp_chk2.c): Define.
60456         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
60457         CFLAGS-tst-wchar-h.c.
60459 2012-05-31  Marek Polacek  <polacek@redhat.com>
60461         [BZ #14132]
60462         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
60463         __endmntent_internal): Remove declaration.
60464         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
60465         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
60466         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
60468 2012-05-30  David S. Miller  <davem@davemloft.net>
60470         * sysdeps/sparc/sparc32/soft-fp/q_util.c
60471         (___Q_simulate_exceptions): Use real FP ops rather than writing
60472         into the %fsr.
60473         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
60474         Likewise.
60476 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
60478         [BZ #14117]
60479         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
60480         * sysdeps/x86/bits/xtitypes.h: This.
60482         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
60483         * sysdeps/x86/bits/wordsize.h: This.
60485         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
60486         * sysdeps/x86/bits/huge_vall.h: This.
60488         * sysdeps/i386/bits/select.h: Removed.
60489         * sysdeps/x86_64/bits/select.h: Renamed to ...
60490         * sysdeps/x86/bits/select.h: This.
60492         * sysdeps/i386/bits/setjmp.h: Removed.
60493         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
60494         * sysdeps/x86/bits/setjmp.h: This.
60496         * sysdeps/i386/bits/mathdef.h: Removed.
60497         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
60498         * sysdeps/x86/bits/mathdef.h: This.
60500 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
60502         [BZ #14132]
60503         * include/sys/socket.h (__connect_internal)
60504         (__libc_sa_len_internal): Remove declaration.
60505         (__connect, __libc_sa_len): Declare hidden_proto.
60506         (SA_LEN): Remove use of INTUSE.
60507         * socket/connect.c: Add libc_hidden_def.
60508         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
60509         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
60510         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
60511         alias.
60512         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
60513         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
60514         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
60515         of adding _internal alias.
60517 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
60519         [BZ #14117]
60520         * sysdeps/i386/bits/link.h: Removed.
60521         * sysdeps/i386/bits/linkmap.h: Likewise.
60522         * sysdeps/x86_64/bits/link.h: Renamed to ...
60523         * sysdeps/x86/bits/link.h: This.
60524         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
60525         * sysdeps/x86/bits/linkmap.h: This.
60527         * sysdeps/i386/bits/endian.h: Removed.
60528         * sysdeps/x86_64/bits/endian.h: Renamed to ...
60529         * sysdeps/x86/bits/endian.h: This.
60531         * sysdeps/i386/bits/byteswap.h: Removed.
60532         * sysdeps/i386/bits/byteswap-16.h: Likewise.
60533         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
60534         * sysdeps/x86/bits/byteswap.h: This.
60535         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
60536         * sysdeps/x86/bits/byteswap-16.h: This.
60537         * sysdeps/i386/Implies: Add x86.
60538         * sysdeps/x86_64/Implies: Likewise.
60540 2012-05-30  David S. Miller  <davem@davemloft.net>
60542         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
60543         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
60544         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
60545         (FP_TRAPPING_EXCEPTIONS): Define.
60546         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
60547         (FP_TRAPPING_EXCEPTIONS): Define.
60548         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
60549         subnormals only when inexact has been signalled or underflow
60550         exceptions are enabled.
60551         (_FP_PACK_CANONICAL): Likewise.
60553 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
60555         [BZ #14183]
60556         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
60557         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
60559 2012-05-30  Richard Henderson  <rth@twiddle.net>
60561         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
60562         with #ifndef NOT_IN_libc.
60564         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
60565         marked to avoid plt entry.
60567 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
60569         [BZ #14112]
60570         * Makeconfig (default-abi): New macro.
60571         (abi-includes): Likewise.
60572         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
60573         $(abi-$(default-abi)-lib-soname) for soname if defined.
60574         ($(common-objpfx)gnu/lib-names.stmp): Generate from
60575         abi-variants.
60576         * Makefile (installed-stubs): Likewise.
60577         * include/stubs-biarch.h: Removed.
60578         * scripts/lib-names.awk: Only handle one library at a time.
60579         * scripts/soversions.awk: Remove WORDSIZE support.
60580         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
60581         entries.
60582         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
60583         Removed.
60584         (syscall-list-default-condition): Likewise.
60585         (syscall-list-default-condition): Likewise.
60586         (syscall-list-includes): Likewise.
60587         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
60588         syscall-list-* with abi-*.  Handle undefined abi-variants.
60589         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
60590         * sysdeps/unix/sysv/linux/i386/Implies: New file.
60591         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
60592         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
60593         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
60594         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
60595         Removed.
60596         (syscall-list-32-options): Likewise.
60597         (syscall-list-32-condition): Likewise.
60598         (syscall-list-64-options): Likewise.
60599         (syscall-list-64-condition): Likewise.
60600         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
60601         macro.
60602         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
60603         Renamed to ...
60604         (abi-*): This.
60605         (abi-64-ld-soname): New macro.
60606         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
60607         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
60608         Renamed to ...
60609         (abi-*): This.
60610         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
60611         * sysdeps/x86_64/x32/shlib-versions: Likewise.
60613 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
60615         * sysdeps/unix/sysv/linux/kernel-features.h
60616         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
60617         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
60618         include <kernel-features.h>.
60619         [!__NR_ftruncate64]: Remove conditional code.
60620         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60621         [__NR_ftruncate64]: Make code unconditional.
60622         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60623         * sysdeps/unix/sysv/linux/truncate64.c: Do not
60624         include <kernel-features.h>.
60625         [!__NR_ftruncate64]: Remove conditional code.
60626         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60627         [__NR_ftruncate64]: Make code unconditional.
60628         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
60630         include <kernel-features.h>.
60631         [!__NR_ftruncate64]: Remove conditional code.
60632         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60633         [__NR_ftruncate64]: Make code unconditional.
60634         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
60636         include <kernel-features.h>.
60637         [!__NR_ftruncate64]: Remove conditional code.
60638         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60639         [__NR_ftruncate64]: Make code unconditional.
60640         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
60642         * configure.in (libc_cv_fpie): Weaken to a compile test using
60643         LIBC_TRY_CC_OPTION.
60644         * configure: Regenerated.
60646 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60648         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
60649         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
60650         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
60651         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
60652         Refreshed.
60653         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
60654         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
60655         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
60656         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
60657         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
60658         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
60659         Refreshed.
60661 2012-05-27  David S. Miller  <davem@davemloft.net>
60663         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
60664         (___Q_zero): New.
60665         (__Q_simulate_exceptions): Return void.  Change to simulate
60666         exceptions by writing into the %fsr.
60667         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
60668         (__Qp_handle_exceptions): Likewise.
60669         (numbers): Delete.
60670         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
60671         __Qp_handle_exceptions.
60672         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
60673         __Qp_handle_exceptions.
60674         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
60675         as unused and give dummy FP_RND_NEAREST initializer.
60676         (FP_INHIBIT_RESULTS): Define.
60677         (___Q_simulate_exceptions): Update declaration.
60678         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
60679         formatting.
60680         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
60681         as unused and give dummy FP_RND_NEAREST initializer.
60682         (__Qp_handle_exceptions): Update declaration.
60683         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
60684         formatting.
60686 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
60688         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
60689         the temporary FPU control word.
60690         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
60691         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
60692         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
60693         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
60694         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
60695         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
60696         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
60697         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
60698         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
60699         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
60700         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60702 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60704         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
60705         fields.
60707 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
60709         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
60710         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
60711         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
60712         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
60713         Likewise.
60714         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
60715         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
60716         Likewise.
60718 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
60720         * po/h.po: Update from translation team.
60722 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
60724         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
60726         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
60727         handling of denormals.
60728         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
60729         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
60730         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
60731         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
60732         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
60733         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
60734         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
60735         Likewise.
60737 2012-05-26  Marek Polacek  <polacek@redhat.com>
60739         [BZ #14152]
60740         * math/libm-test.inc (fma_test): Don't always expect underflow
60741         exception.
60743 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60745         [BZ #12416]
60746         * elf/tst-execstack.c: Include stackinfo.h.
60747         (do_test): Adjust test case to ensure that pthread_getattr_np
60748         behaviour remains the same after marking stack executable.
60750 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
60752         * sysdeps/unix/sysv/linux/kernel-features.h
60753         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
60754         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
60755         kernel-features.h.
60756         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
60757         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
60758         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
60759         kernel-features.h.
60760         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
60761         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
60763 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
60765         * configure.in: Define the default includes to being none.
60766         * configure: Regenerated.
60768 2012-05-25  Roland McGrath  <roland@hack.frob.com>
60770         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
60771         * sysdeps/x86_64/setjmp.S: Likewise.
60772         * sysdeps/i386/bsd-setjmp.S: Likewise.
60773         * sysdeps/i386/bsd-_setjmp.S: Likewise.
60774         * sysdeps/i386/setjmp.S: Likewise.
60775         * sysdeps/i386/__longjmp.S: Likewise.
60776         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
60777         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
60779         * include/stap-probe.h: New file.
60780         * configure.in: Handle --enable-systemtap.
60781         * configure: Regenerated.
60782         * config.h.in (USE_STAP_PROBE): New #undef.
60783         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
60784         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
60785         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
60787 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
60789         [BZ #13717]
60790         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
60791         to 2.4.0 where earlier.
60792         * sysdeps/unix/sysv/linux/configure: Regenerated.
60793         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
60794         <kernel-features.h>.
60795         [__ASSUME_32BITUIDS]: Make code unconditional.
60796         [!__ASSUME_32BITUIDS]: Remove conditional code.
60797         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
60798         <kernel-features.h>.
60799         [__ASSUME_32BITUIDS]: Make code unconditional.
60800         [!__ASSUME_32BITUIDS]: Remove conditional code.
60801         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
60802         [__ASSUME_32BITUIDS]: Make code unconditional.
60803         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
60804         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
60805         <kernel-features.h>.
60806         [__ASSUME_32BITUIDS]: Make code unconditional.
60807         [!__ASSUME_32BITUIDS]: Remove conditional code.
60808         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
60809         <kernel-features.h>.
60810         [__ASSUME_32BITUIDS]: Make code unconditional.
60811         [!__ASSUME_32BITUIDS]: Remove conditional code.
60812         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
60813         <kernel-features.h>.
60814         [__ASSUME_32BITUIDS]: Make code unconditional.
60815         [!__ASSUME_32BITUIDS]: Remove conditional code.
60816         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
60817         <kernel-features.h>.
60818         [__ASSUME_32BITUIDS]: Make code unconditional.
60819         [!__ASSUME_32BITUIDS]: Remove conditional code.
60820         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
60821         <kernel-features.h>.
60822         [__ASSUME_32BITUIDS]: Make code unconditional.
60823         [!__ASSUME_32BITUIDS]: Remove conditional code.
60824         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
60825         <kernel-features.h>.
60826         [__ASSUME_32BITUIDS]: Make code unconditional.
60827         [!__ASSUME_32BITUIDS]: Remove conditional code.
60828         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
60829         <kernel-features.h>.
60830         [__ASSUME_32BITUIDS]: Make code unconditional.
60831         [!__ASSUME_32BITUIDS]: Remove conditional code.
60832         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
60833         <kernel-features.h>.
60834         [__ASSUME_32BITUIDS]: Make code unconditional.
60835         [!__ASSUME_32BITUIDS]: Remove conditional code.
60836         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
60837         <kernel-features.h>.
60838         [__ASSUME_32BITUIDS]: Make code unconditional.
60839         [!__ASSUME_32BITUIDS]: Remove conditional code.
60840         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
60841         <kernel-features.h>.
60842         [__ASSUME_32BITUIDS]: Make code unconditional.
60843         [!__ASSUME_32BITUIDS]: Remove conditional code.
60844         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
60845         <kernel-features.h>.
60846         [__NR_setresgid] (__setresgid): Do not declare.
60847         [__ASSUME_32BITUIDS]: Make code unconditional.
60848         [!__ASSUME_32BITUIDS]: Remove conditional code.
60849         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
60850         <kernel-features.h>.
60851         [__NR_setresuid] (__setresuid): Do not declare.
60852         [__ASSUME_32BITUIDS]: Make code unconditional.
60853         [!__ASSUME_32BITUIDS]: Remove conditional code.
60854         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
60855         <kernel-features.h>.
60856         [__ASSUME_32BITUIDS]: Make code unconditional.
60857         [!__ASSUME_32BITUIDS]: Remove conditional code.
60858         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
60859         <kernel-features.h>.
60860         [__ASSUME_32BITUIDS]: Make code unconditional.
60861         [!__ASSUME_32BITUIDS]: Remove conditional code.
60862         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
60863         <kernel-features.h>.
60864         [__ASSUME_32BITUIDS]: Make code unconditional.
60865         [!__ASSUME_32BITUIDS]: Remove conditional code.
60866         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
60867         <kernel-features.h>.
60868         [__ASSUME_32BITUIDS]: Make code unconditional.
60869         [!__ASSUME_32BITUIDS]: Remove conditional code.
60870         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
60871         <kernel-features.h>.
60872         [__ASSUME_32BITUIDS]: Make code unconditional.
60873         [!__ASSUME_32BITUIDS]: Remove conditional code.
60874         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
60875         <kernel-features.h>.
60876         [__ASSUME_32BITUIDS]: Make code unconditional.
60877         [!__ASSUME_32BITUIDS]: Remove conditional code.
60878         * sysdeps/unix/sysv/linux/i386/setresuid.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/i386/setreuid.c: Do not include
60883         <kernel-features.h>.
60884         [__ASSUME_32BITUIDS]: Make code unconditional.
60885         [!__ASSUME_32BITUIDS]: Remove conditional code.
60886         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
60887         <kernel-features.h>.
60888         [__ASSUME_32BITUIDS]: Make code unconditional.
60889         [!__ASSUME_32BITUIDS]: Remove conditional code.
60890         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
60891         <kernel-features.h>.
60892         [__ASSUME_32BITUIDS]: Make code unconditional.
60893         [!__ASSUME_32BITUIDS]: Remove conditional code.
60894         * sysdeps/unix/sysv/linux/kernel-features.h
60895         (__ASSUME_SETRESUID_SYSCALL): Remove.
60896         (__ASSUME_SETRESGID_SYSCALL): Likewise.
60897         (__ASSUME_32BITUIDS): Likewise.
60898         (__ASSUME_LDT_WORKS): Likewise.
60899         (__ASSUME_O_DIRECTORY): Likewise.
60900         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
60901         architecture but not kernel version.
60902         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
60903         (__ASSUME_MMAP2_SYSCALL): Likewise.
60904         (__ASSUME_STAT64_SYSCALL): Likewise.
60905         (__ASSUME_IPC64): Likewise.
60906         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
60907         <kernel-features.h>.
60908         [__ASSUME_32BITUIDS]: Make code unconditional.
60909         [!__ASSUME_32BITUIDS]: Remove conditional code.
60910         * sysdeps/unix/sysv/linux/opendir.c: Do not include
60911         <kernel-features.h>.
60912         [__ASSUME_O_DIRECTORY]: Make code unconditional.
60913         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
60914         132096]: Remove conditional code.
60915         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
60916         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
60917         <kernel-features.h>.
60918         [__ASSUME_32BITUIDS]: Make code unconditional.
60919         [!__ASSUME_32BITUIDS]: Remove conditional code.
60920         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
60921         <kernel-features.h>.
60922         [__ASSUME_32BITUIDS]: Make code unconditional.
60923         [!__ASSUME_32BITUIDS]: Remove conditional code.
60924         * sysdeps/unix/sysv/linux/setegid.c: Do not include
60925         <kernel-features.h>.
60926         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
60927         unconditional.
60928         (__setresgid): Do not declare.
60929         [__ASSUME_32BITUIDS]: Make code unconditional.
60930         [!__ASSUME_32BITUIDS]: Remove conditional code.
60931         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
60932         <kernel-features.h>.
60933         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
60934         unconditional.
60935         (__setresuid): Do not declare.
60936         [__ASSUME_32BITUIDS]: Make code unconditional.
60937         [!__ASSUME_32BITUIDS]: Remove conditional code.
60938         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
60939         <kernel-features.h>.
60940         [__ASSUME_32BITUIDS]: Make code unconditional.
60941         [!__ASSUME_32BITUIDS]: Remove conditional code.
60942         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
60943         <kernel-features.h>.
60944         [__ASSUME_32BITUIDS]: Make code unconditional.
60945         [!__ASSUME_32BITUIDS]: Remove conditional code.
60947 2012-05-25  Richard Henderson  <rth@twiddle.net>
60949         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
60950         dl_hwcap to ifunc resolver.
60951         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
60952         elf_ifunc_invoke.
60953         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
60954         dl_hwcap to ifunc resolver.
60955         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
60957 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
60959         [BZ #14153]
60960         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
60961         for |x| <= 2**-26, not 2**-57.
60962         * math/libm-test.inc (acos_test): Do not allow spurious underflow
60963         exception.
60965 2012-05-24  Jeff Law  <law@redhat.com>
60967         * stdio-common/Makefile (tests): Add bug25.
60968         * stdio-common/bug25.c: New test.
60970 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
60972         [BZ #13576]
60973         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
60974         multiple of MALLOC_ALIGNMENT in size.
60975         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
60977 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
60979         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
60980         Require >= 256.
60981         (FILENAME_MAX): Use macro-int-constant.
60982         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
60983         (_IOFBF): Use macro-int-constant.
60984         (_IOLBF): Likewise.
60985         (_IONBF): Likewise.
60986         (SEEK_CUR): Likewise.
60987         (SEEK_END): Likewise.
60988         (SEEK_SET): Likewise.
60989         (TMP_MAX): Likewise.
60990         (EOF): Use macro-int-constant.  Require < 0.
60991         (NULL): Use macro-constant.  Require == 0.
60992         (stdin): Require type to be FILE *.
60993         (stdout): Likewise.
60994         (stderr): Likewise.
60995         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
60996         macro-int-constant.
60997         (EXIT_SUCCESS): Likewise.
60998         (NULL): Use macro-constant.  Require == 0.
60999         (RAND_MAX): Use macro-int-constant.
61000         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
61001         [C99-based standards] (strtof): Require function.
61002         [C99-based standards] (strtold): Likewise.
61003         [C99-based standards] (strtoll): Likewise.
61004         [C99-based standards] (strtoull): Likewise.
61005         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
61006         [ISO || ISO99 || ISO11] (limits.h): Likewise.
61007         [ISO || ISO99 || ISO11] (math.h): Likewise.
61008         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
61009         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
61010         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61012 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
61014         [BZ #14132]
61015         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
61016         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
61017         * intl/dgettext.c (DCGETTEXT): Likewise.
61018         * intl/gettext.c (DCGETTEXT): Likewise.
61019         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
61020         * posix/regex_internal.h (gettext): Likewise.
61021         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
61022         Remove declaration.
61023         * include/argz.h (__argz_count_internal)
61024         (__argz_stringify_internal): Remove declaration.
61025         (__argz_count, __argz_stringify): Declare hidden proto.
61026         * intl/dcgettext.c: Remove use of INTDEF.
61027         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
61028         * string/argz-stringify.c: Likewise.
61029         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
61030         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
61031         Declare hidden proto.
61032         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
61033         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
61034         Declare hidden proto.
61035         * include/stdio.h (__asprintf_internal): Don't declare.
61036         (__asprintf): Don't define as macro.  Declare hidden proto.
61037         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
61038         (__fsetlocking): Declare hidden proto.
61039         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
61040         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
61041         hidden proto.
61042         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
61043         (_IO_setlinebuf): Remove use of INTUSE.
61044         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
61045         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
61046         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
61047         Remove declaration.
61048         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
61049         (_IO_do_flush): Remove use of INTUSE.
61050         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
61051         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
61052         (_IO_adjust_column, _IO_least_wmarker)
61053         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
61054         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
61055         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
61056         (_IO_default_doallocate, _IO_wdefault_doallocate)
61057         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
61058         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
61059         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
61060         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
61061         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
61062         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
61063         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
61064         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
61065         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
61066         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
61067         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
61068         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
61069         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
61070         proto.
61071         (_IO_flush_all_internal, _IO_adjust_column_internal)
61072         (_IO_default_uflow_internal, _IO_default_finish_internal)
61073         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
61074         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
61075         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
61076         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
61077         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
61078         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
61079         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
61080         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
61081         (_IO_file_close_internal, _IO_file_close_it_internal)
61082         (_IO_file_underflow_internal, _IO_file_overflow_internal)
61083         (_IO_file_init_internal, _IO_file_attach_internal)
61084         (_IO_file_fopen_internal, _IO_file_read_internal)
61085         (_IO_file_sync_internal, _IO_file_seek_internal)
61086         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
61087         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
61088         (_IO_str_underflow_internal, _IO_str_overflow_internal)
61089         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
61090         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
61091         (_IO_list_all_internal, _IO_link_in_internal)
61092         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
61093         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
61094         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
61095         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
61096         (_IO_do_write_internal, _IO_padn_internal)
61097         (_IO_getline_info_internal, _IO_getline_internal)
61098         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
61099         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
61100         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
61101         (_IO_vfscanf_internal, _IO_vfprintf_internal)
61102         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
61103         (_IO_init_internal, _IO_un_link_internal): Don't declare.
61104         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
61105         with libc_hidden_ver, remove use of INTUSE.
61106         * libio/genops.c: Likewise.
61107         * libio/freopen.c: Likewise.
61108         * libio/freopen64.c: Likewise.
61109         * libio/iofclose.c: Likewise.
61110         * libio/iofdopen.c: Likewise.
61111         * libio/iofflush.c: Likewise.
61112         * libio/iofflush_u.c: Likewise.
61113         * libio/iofgets.c: Likewise.
61114         * libio/iofgets_u.c: Likewise.
61115         * libio/iofopen.c: Likewise.
61116         * libio/iofopncook.c: Likewise.
61117         * libio/iofread.c: Likewise.
61118         * libio/iofread_u.c: Likewise.
61119         * libio/ioftell.c: Likewise.
61120         * libio/iofwrite.c: Likewise.
61121         * libio/iogetline.c: Likewise.
61122         * libio/iogets.c: Likewise.
61123         * libio/iogetwline.c: Likewise.
61124         * libio/iopadn.c: Likewise.
61125         * libio/iopopen.c: Likewise.
61126         * libio/ioseekoff.c: Likewise.
61127         * libio/ioseekpos.c: Likewise.
61128         * libio/iosetbuffer.c: Likewise.
61129         * libio/iosetvbuf.c: Likewise.
61130         * libio/ioungetc.c: Likewise.
61131         * libio/ioungetwc.c: Likewise.
61132         * libio/iovdprintf.c: Likewise.
61133         * libio/iovsprintf.c: Likewise.
61134         * libio/iovsscanf.c: Likewise.
61135         * libio/memstream.c: Likewise.
61136         * libio/obprintf.c: Likewise.
61137         * libio/oldfileops.c: Likewise.
61138         * libio/oldiofclose.c: Likewise.
61139         * libio/oldiofdopen.c: Likewise.
61140         * libio/oldiofopen.c: Likewise.
61141         * libio/oldiopopen.c: Likewise.
61142         * libio/oldstdfiles.c: Likewise.
61143         * libio/putc.c: Likewise.
61144         * libio/setbuf.c: Likewise.
61145         * libio/setlinebuf.c: Likewise.
61146         * libio/stdfiles.c: Likewise.
61147         * libio/strops.c: Likewise.
61148         * libio/vasprintf.c: Likewise.
61149         * libio/vscanf.c: Likewise.
61150         * libio/vsnprintf.c: Likewise.
61151         * libio/vswprintf.c: Likewise.
61152         * libio/wfiledoalloc.c: Likewise.
61153         * libio/wfileops.c: Likewise.
61154         * libio/wgenops.c: Likewise.
61155         * libio/wmemstream.c: Likewise.
61156         * libio/wstrops.c: Likewise.
61157         * libio/__fpurge.c: Likewise.
61158         * libio/__fsetlocking.c: Likewise.
61159         * assert/assert.c: Likewise.
61160         * debug/fgets_chk.c: Likewise.
61161         * debug/fgets_u_chk.c: Likewise.
61162         * debug/fread_chk.c: Likewise.
61163         * debug/fread_u_chk.c: Likewise.
61164         * debug/gets_chk.c: Likewise.
61165         * debug/obprintf_chk.c: Likewise.
61166         * debug/vasprintf_chk.c: Likewise.
61167         * debug/vdprintf_chk.c: Likewise.
61168         * debug/vsnprintf_chk.c: Likewise.
61169         * debug/vsprintf_chk.c: Likewise.
61170         * malloc/mtrace.c: Likewise.
61171         * misc/error.c: Likewise.
61172         * misc/syslog.c: Likewise.
61173         * stdio-common/asprintf.c: Likewise.
61174         * stdio-common/fxprintf.c: Likewise.
61175         * stdio-common/getw.c: Likewise.
61176         * stdio-common/isoc99_fscanf.c: Likewise.
61177         * stdio-common/isoc99_scanf.c: Likewise.
61178         * stdio-common/isoc99_vfscanf.c: Likewise.
61179         * stdio-common/isoc99_vscanf.c: Likewise.
61180         * stdio-common/isoc99_vsscanf.c: Likewise.
61181         * stdio-common/printf-prs.c: Likewise.
61182         * stdio-common/printf_fp.c: Likewise.
61183         * stdio-common/printf_fphex.c: Likewise.
61184         * stdio-common/printf_size.c: Likewise.
61185         * stdio-common/putw.c: Likewise.
61186         * stdio-common/scanf.c: Likewise.
61187         * stdio-common/sprintf.c: Likewise.
61188         * stdio-common/tmpfile.c: Likewise.
61189         * stdio-common/vfprintf.c: Likewise.
61190         * stdio-common/vfscanf.c: Likewise.
61191         * stdlib/strfmon_l.c: Likewise.
61192         * sunrpc/openchild.c: Likewise.
61193         * sunrpc/xdr_stdio.c: Likewise.
61194         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
61195         * sysdeps/mach/hurd/tmpfile.c: Likewise.
61197 2012-05-24  Roland McGrath  <roland@hack.frob.com>
61199         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
61201         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
61202         in the third column, to generate for the shared library an IFUNC
61203         that uses _dl_vdso_vsym.
61204         * Makerules (COMPILE.c, compile-stdin.c): New variables.
61205         * Makeconfig (object-suffixes-noshared): New variable.
61207         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
61208         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
61209         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
61210         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
61212         [BZ #14132]
61213         * include/sys/time.h (__gettimeofday): Remove macro.
61214         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
61215         * time/gettimeofday.c (__gettimeofday): Remove #undef.
61216         Remove INTDEF.
61217         (__gettimeofday): Add libc_hidden_def.
61218         (gettimeofday): Add libc_hidden_weak.
61219         * sysdeps/mach/gettimeofday.c: Likewise.
61220         * sysdeps/posix/gettimeofday.c: Likewise.
61221         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
61222         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
61223         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
61224         (__gettimeofday_internal): Remove strong_alias.
61225         (__gettimeofday): Add libc_hidden_def.
61226         (gettimeofday): Add libc_hidden_weak.
61227         * sysdeps/unix/syscalls.list (gettimeofday):
61228         Remove __gettimeofday_internal alias.
61230 2012-05-24  Daniel Jacobowitz  <drow@false.org>
61231             H.J. Lu  <hongjiu.lu@intel.com>
61233         [BZ #12495]
61234         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
61235         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
61236         (largebin_index_32_big): New.
61237         (largebin_index): Use it for 16-byte alignment.
61238         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
61239         correction with front_misalign.
61241 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
61243         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
61244         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
61245         Likewise.
61246         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
61247         Likewise.
61248         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
61249         Likewise.
61250         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
61251         Likewise.
61252         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
61253         Likewise.
61254         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
61255         Likewise.
61256         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
61257         Likewise.
61258         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
61259         Likewise.
61260         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
61261         Likewise.
61262         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
61263         Likewise.
61264         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
61265         Likewise.
61266         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
61267         Likewise.
61269         * scripts/data/c++-types-x32-linux-gnu.data: New file.
61270         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
61272 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
61274         [BZ #10846]
61275         [BZ #14036]
61276         * math/libm-test.inc (exp_test): Add test from bug 14036.
61277         (pow_test): Add test from bug 10846.
61279         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
61280         and other flags.
61281         (special_function): Do not include flags in test name.
61282         (parse_args): Likewise.
61283         * sysdeps/i386/fpu/libm-test-ulps: Update.
61284         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
61285         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
61286         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
61287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61289         * math/gen-libm-test.pl (%beautify): Add entries for underflow
61290         exceptions.
61291         * math/libm-test.inc ("Philosophy"): Update comment about
61292         exception testing.
61293         (UNDERFLOW_EXCEPTION): New macro.
61294         (UNDERFLOW_EXCEPTION_OK): Likewise.
61295         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
61296         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
61297         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
61298         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
61299         (INVALID_EXCEPTION_OK): Update value.
61300         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
61301         (OVERFLOW_EXCEPTION_OK): Likewise.
61302         (IGNORE_ZERO_INF_SIGN): Likewise.
61303         (test_exceptions): Handle underflow exceptions.
61304         (acos_test): Update for underflow exception expectations.
61305         (cexp_test): Likewise.
61306         (clog_test): Likewise.
61307         (clog10_test): Likewise.
61308         (csqrt_test): Likewise.
61309         (ctan_test): Likewise.
61310         (ctanh_test): Likewise.
61311         (exp_test): Likewise.
61312         (exp10_test): Likewise.
61313         (exp2_test): Likewise.
61314         (expm1_test): Likewise.
61315         (fma_test): Likewise.
61316         (j0_test): Likewise.
61317         (jn_test): Likewise.
61318         (nexttoward_test): Likewise.
61319         (pow_test): Likewise.
61320         (scalbn_test): Likewise.
61321         (scalbln_test): Likewise.
61322         (tan_test): Likewise.
61323         (y1_test): Likewise.
61324         * sysdeps/i386/fpu/libm-test-ulps: Update.
61325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61327 2012-05-23  David S. Miller  <davem@davemloft.net>
61329         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
61330         (__libc_sigaction): Remove unused local variables.
61332 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
61334         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
61336 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
61338         mktime: avoid signed integer overflow
61339         * time/mktime.c (__mktime_internal): Do not mishandle the case
61340         where diff == INT_MIN.
61342         mktime: simplify computation of average
61343         * time/mktime.c (ranged_convert): Use new time_t_avg function
61344         instead of rolling our own (probably-slower) code.
61346         mktime: do not assume signed right shift propagates sign bit
61347         * time/mktime.c (isdst_differ): New static function.
61348         (__mktime_internal): No need to normalize tm_isdst now.
61349         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
61350         tm_isdst values.
61352         mktime: merge another wrapv change from gnulib
61353         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
61354         from some compilers.
61356         mktime: remove incorrect attempt at unusual arithmetics
61357         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
61358         The code didn't really work on such machines anyway.
61359         (TYPE_MINIMUM): Assume two's complement.
61360         (twos_complement_arithmetic): Verify that long_int and time_t
61361         are two's complement (or unsigned, in the latter case).
61363         mktime: check signed shifts on long_int and time_t, too
61364         * time/mktime.c (SHR): Check that shifts work as desired
61365         on the types long_int and time_t too, as SHR is used on
61366         such types.
61368         mktime: do not assume 'long' is wide enough
61369         * time/mktime.c (verify): Move decl up.
61370         (long_int): New type.
61371         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
61372         to remove assumption in the code that 'long' is wide enough to
61373         store year values.  This assumption is not true on x32 and on
61374         some non-glibc platforms.
61376         mktime: merge wrapv change from gnulib
61377         * time/mktime.c (WRAPV): New macro.
61378         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
61379         (guess_time_tm, __mktime_internal): Do not assume that signed
61380         integer overflow wraps around; modern compilers generate code
61381         where this assumption is no longer valid.
61383 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
61385         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
61386         Replace "jmp L(pseudo_end)" with "ret".
61387         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
61388         Likewise.
61390 2012-05-23  Andreas Jaeger  <aj@suse.de>
61392         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
61393         * sysdeps/unix/sysv/linux/poll.c: Remove file.
61395 2012-05-23  Andreas Jaeger  <aj@suse.de>
61396             Maximilian Attems  <max@stro.at>
61398         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
61399         New macros.
61401 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
61403         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
61404         code so that pseudo_end is just ret and the stack pointer is
61405         correct also for static library in error case.
61407 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
61409         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
61410         move to syscalls.list.
61411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
61412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
61413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
61414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
61416         * manual/install.texi (Running make install): Do not mention Linux
61417         kernel version for which pt_chown is not needed.
61418         (Linux): Do not mention problems with nscd with 2.0 kernels.
61419         * INSTALL: Regenerated.
61421 2012-05-23  Andreas Jaeger  <aj@suse.de>
61423         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
61424         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
61425         macro.
61426         * sysdeps/unix/sysv/linux/s390/bits/mman.h
61427         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61428         * sysdeps/unix/sysv/linux/sh/bits/mman.h
61429         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61430         * sysdeps/unix/sysv/linux/i386/bits/mman.h
61431         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61432         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
61433         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61434         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
61435         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
61436         * sysdeps/unix/sysv/linux/bits/in.h
61437         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
61439 2012-05-22  Roland McGrath  <roland@hack.frob.com>
61441         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
61442         (PREPARE_VERSION): Just use assert instead, it will be elided
61443         under [NDEBUG] anyway.
61445 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
61447         * sysdeps/unix/sysv/linux/Makefile: Include
61448         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
61449         (sysdep_routines): Remove sysctl.
61450         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
61451         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
61452         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
61453         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
61454         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
61456 2012-05-22  Andreas Jaeger  <aj@suse.de>
61458         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
61459         that pseudo_end is just ret and the stack pointer is correct also
61460         for static library in error case.
61462 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
61464         [BZ #14122]
61465         * nss/nsswitch.c (defconfig_entries): New variable.
61466         (__nss_database_lookup): Don't leak defconfig entries.
61467         (nss_parse_service_list): Don't leak on error paths.
61468         (free_database_entries): New function.
61469         (free_defconfig): New function.
61470         (free_mem): Move common code to free_database_entries.
61472 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
61474         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
61475         Add arch_prctl.
61476         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
61478         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
61479         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
61480         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
61481         New macro.
61482         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
61483         (INTERNAL_SYSCALL_TYPES): Likewise.
61484         (LOAD_ARGS_TYPES_[1-6]): Likewise.
61485         (LOAD_REGS_TYPES_[1-6]): Likewise.
61486         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
61487         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
61489 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61491         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
61492         copysignl for GLIBC_2_0.
61493         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
61494         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
61495         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
61496         logbl for GLIBC_2_0.
61497         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
61498         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
61500 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
61502         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
61503         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
61505         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
61506         Use "neg %eax".
61508         * time/mktime.c: Update copyright years.
61510 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
61512         mktime: merge comment-quoting-style change from gnulib
61513         * time/mktime.c: Quote 'like this' in comments.
61514         The GNU coding standards suggest that we no longer quote `like this',
61515         as "`" and "'" are typically rendered asymmetrically nowadays.
61516         The typical gnulib style is to quote 'like this' when quoting
61517         code, and "like this" when quoting English.
61519         * time/mktime.c (compile-command): Add "-I.".
61521         mktime: merge mktime-internal.h change from gnulib
61522         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
61524         mktime: merge time_r change from gnulib
61525         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
61527         mktime: merge DEBUG change from gnulib
61528         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
61529         case system <time.h> has a #define.
61531         mktime: merge <sys/types.h> change from gnulib
61532         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
61533         since <time.t> is now guaranteed to define time_t.
61535         mktime: merge HAVE_CONFIG_H change from gnulib
61536         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
61538 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
61540         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
61541         Use "neg %eax".
61543         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
61544         __rlim_t cast.
61545         (struct rusage): Use anonymous union to pad each field to
61546         __syscall_slong_t.
61548 2012-05-21  David S. Miller  <davem@davemloft.net>
61550         * Makefules (o-iterator): Remove .s cases.
61551         (compile-command.s): Delete.
61552         (COMPILE.s): Delete.
61553         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
61555 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
61557         * configure.in (libc_cv_predef_stack_protector): Only consider
61558         "foobar" and "__stack_chk_fail" lines in libc_undefs.
61559         * configure: Regenerated.
61561 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
61563         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
61564         New macro.  Use R*LP on int and pointer.
61565         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
61566         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
61567         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
61568         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
61570         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
61571         [__WORDSIZE_TIME64_COMPAT32] instead of
61572         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
61573         (struct utmp): Likewise.
61574         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
61575         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
61576         Renamed to ...
61577         (__WORDSIZE_TIME64_COMPAT32): This.
61578         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
61579         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
61580         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
61581         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
61582         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
61583         (__WORDSIZE_TIME64_COMPAT32): New macro.
61585 2012-05-21  Andreas Jaeger  <aj@suse.de>
61587         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
61588         only if [SHARED]. Add prototype for __wcschr_ia32.
61590 2012-05-21  Roland McGrath  <roland@hack.frob.com>
61592         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
61593         of %rbp unmolested in the jmp_buf while mangling the low bits.
61594         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
61595         unmolested high bits of %rbp while demangling the low bits.
61596         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
61598 2012-05-21  Andreas Jaeger  <aj@suse.de>
61600         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
61601         * sunrpc/svc_simple.c: Use it for registerrpc.
61602         * sunrpc/xcrypt.c: Use it for passwd2des.
61604         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
61606 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
61608         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
61609         Don't define if [__SYSCALL_WORDSIZE != 32].
61610         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
61611         New macro.
61613 2012-05-21  Bruno Haible  <bruno@clisp.org>
61614             Andreas Jaeger  <aj@suse.de>
61616         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
61617         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
61618         inptr and inend for must_buffer_ch.
61619         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
61620         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
61621         * stdio-common/Makefile (tests): Remove bug15.
61622         (bug15-ENV): Remove macro.
61623         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
61624         anymore.
61626 2012-05-19  Andreas Jaeger  <aj@suse.de>
61627             Roland McGrath  <roland@hack.frob.com>
61629         * manual/contrib.texi: Completely rewritten. It contains now an
61630         alphabetical list of contributors and their contributions.
61632 2012-05-21  Richard Henderson  <rth@twiddle.net>
61634         * misc/getauxval.c (__getauxval): Use unsigned long int.
61635         * misc/sys/auxv.h: Include <sys/cdefs.h>.
61636         (getauxval): Use unsigned long int.
61638 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
61640         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
61642 2012-05-21  Roland McGrath  <roland@hack.frob.com>
61644         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
61645         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
61646         __alignof__ (long double).
61648 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61650         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61652 2012-05-20  Richard Henderson  <rth@twiddle.net>
61654         * misc/getauxval.c: New file.
61655         * misc/sys/auxv.h: New file.
61656         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
61657         (routines): Add getauxval.
61658         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
61659         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
61660         * elf/dl-sysdep.c (_dl_auxv): Remove.
61661         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
61662         * elf/dl-support.c (_dl_auxv): New variable.
61663         (_dl_aux_init): Initialize it.
61664         * manual/startup.texi (Auxiliary Vector): New node.
61665         * sysdeps/generic/bits/hwcap.h: New file.
61666         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
61667         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
61668         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
61669         * sysdeps/sparc/sysdep.h: ... here.  Include it.
61670         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
61671         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
61672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61673         Update.
61674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
61675         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
61676         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
61677         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
61678         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
61679         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
61680         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
61681         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
61683 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61685         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61687 2012-05-19  David S. Miller  <davem@davemloft.net>
61689         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61691 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
61693         [BZ #14123]
61694         * math/s_ccosh.c: Include <float.h>
61695         (__ccosh): Avoid internal overflow calculating sinh and cosh
61696         values before multiplying by sin and cos values.
61697         * math/s_ccoshf.c: Likewise.
61698         * math/s_ccoshl.c: Likewise.
61699         * math/s_csin.c: Likewise.
61700         * math/s_csinf.c: Likewise.
61701         * math/s_csinl.c: Likewise.
61702         * math/s_csinh.c: Likewise.
61703         * math/s_csinhf.c: Likewise.
61704         * math/s_csinhl.c: Likewise.
61705         * math/libm-test.inc (ccos_test): Add more tests.
61706         (ccosh_test): Likewise.
61707         (csin_test): Likewise.
61708         (csinh_test): Likewise.
61709         * sysdeps/i386/fpu/libm-test-ulps: Update.
61710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61712 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
61714         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
61715         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
61717         * sysdeps/x86_64/x32/_itoa.h: Add comment.
61719 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
61721         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
61722         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
61723         * sysdeps/powerpc/soft-fp/Versions: Likewise.
61724         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
61725         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
61726         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
61727         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
61728         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
61729         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
61730         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
61731         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
61732         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
61733         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
61734         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
61735         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
61736         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
61737         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
61738         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
61739         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
61740         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
61741         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
61742         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
61743         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
61744         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
61745         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
61746         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
61747         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
61748         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
61749         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
61750         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
61751         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
61753 2012-05-18  Andreas Jaeger  <aj@suse.de>
61755         * csu/.gitignore: Delete.
61757 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
61759         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
61760         (timex): Use __syscall_slong_t.
61762 2012-05-18  Andreas Jaeger  <aj@suse.de>
61763             Carlos O'Donell  <carlos_odonell@mentor.com>
61765         * manual/install.texi (Configuring and compiling): Update
61766         description about files modified in the source directory.
61767         * INSTALL: Regenerated.
61769 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
61771         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
61772         value.  Use "or" to set return value to -1.
61773         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
61774         negate return value.
61776 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61778         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
61779         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
61780         failure if the compiler has Graphite support disabled.
61781         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
61782         Likewise.
61783         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
61784         (CFLAGS-memmove.c): Likewise.
61785         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
61786         Likewise.
61788 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
61790         * sysdeps/x86_64/x32/_itoa.h: New file.
61792         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
61793         getdents system call only if kernel and user dirents have the
61794         same d_ino and d_off.
61796         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
61797         LLONG_MAX != LONG_MAX.
61798         (_itoa_word): Use _ITOA_WORD_TYPE on value.
61799         (_fitoa_word): Likewise.
61801         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
61802         years.
61803         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
61804         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
61805         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
61807         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
61808         include <bits/wordsize.h>.  Check __x86_64__ instead of
61809         __WORDSIZE.
61810         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
61811         if __x86_64__ is defined.  Use anonymous union on fpstate.
61813         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
61814         anonymous union.
61816 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
61818         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
61819         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
61820         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
61821         Refer to _rtld_local_ro instead of _rtld_global_ro.
61822         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
61823         Likewise.
61824         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
61825         Likewise.
61826         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
61827         Likewise.
61828         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
61829         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
61830         of _rtld_global, and rtld_progname instead of _dl_argv[0].
61832         [BZ #10882]
61833         * sysdeps/powerpc/powerpc32/dl-machine.c
61834         (__elf_machine_runtime_setup) [PROF]: Don't reference
61835         _dl_prof_resolve.
61837 2012-05-18  Andreas Jaeger  <aj@suse.de>
61839         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
61840         function only available for GCCs before 3.4 since GCC 3.4
61841         introduced a builtin.
61842         (lrint): Likewise.
61843         (llrintf): Likewise.
61844         (llrint): Likewise.
61845         (fmaxf): Likewise.
61846         (fmax): Likewise.
61847         (fminf): Likewise.
61848         (fmin): Likewise.
61849         (rint): Likewise.
61850         (rintf): Likewise.
61851         (nearbyint): Likewise.
61852         (nearbyintf): Likewise.
61853         (ceil): Likewise.
61854         (ceilf): Likewise.
61855         (floor): Likewise.
61856         (floorf): Likewise.
61858 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61860         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
61861         on both fields and cast pointer to __syscall_ulong_t.
61863         * bits/types.h (__fsword_t): New type.
61864         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
61865         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
61866         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61867         (__FSWORD_T_TYPE): Likewise.
61868         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61869         (__FSWORD_T_TYPE): Likewise.
61870         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61871         (__FSWORD_T_TYPE): Likewise.
61872         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
61873         (__FSWORD_T_TYPE): Likewise.
61874         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
61875         __SWORD_TYPE with __fsword_t.
61876         (statfs64): Likewise.
61878 2012-05-17  David S. Miller  <davem@davemloft.net>
61880         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
61882 2012-05-17  Andreas Jaeger  <aj@suse.de>
61884         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
61885         warning.
61887 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61889         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
61891 2012-05-17  Andreas Jaeger  <aj@suse.de>
61893         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
61894         when it is used.
61896 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
61898         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
61900 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61902         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
61903         * sysdeps/x86_64/tst-mallocalign1.c: New file.
61905 2012-05-17  Andreas Jaeger  <aj@suse.de>
61906             Carlos O'Donell  <carlos_odonell@mentor.com>
61908         [BZ #14059]
61909         * sysdeps/x86_64/multiarch/init-arch.h
61910         (bit_YMM_Usable): Rename to...
61911         (bit_AVX_Usable): ... this.
61912         (bit_FMA4_Usable): New macro.
61913         (bit_XMM_state): New macro.
61914         (bit_YMM_state): New macro.
61915         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
61916         [__ASSEMBLER__] (index_AVX_Usable): ... this.
61917         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
61918         (CPUID_OSXSAVE): New macro.
61919         (CPUID_AVX): New macro.
61920         (CPUID_FMA4): New macro.
61921         (index_YMM_Usable): Rename to...
61922         (index_AVX_Usable): ... this.
61923         (HAS_AVX): Use HAS_ARCH_FEATURE.
61924         (HAS_FMA4): Likewise.
61925         (HAS_YMM_USABLE): Remove.
61926         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61927         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
61928         are present.
61929         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
61930         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
61931         * sysdeps/x86_64/multiarch/Makefile: Likewise.
61932         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
61933         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
61935 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
61937         * math/libm-test.c: Support platforms without multiple rounding modes.
61938         * math/bug-nextafter.c: Support platforms without FP exceptions.
61939         * math/bug-nexttoward.c: Likewise.
61940         * math/test-fenv.c: Likewise.
61941         * math/test-misc.c: Likewise.
61942         * stdlib/bug-getcontext.c: Likewise.
61944 2012-05-17  Andreas Jaeger  <aj@suse.de>
61946         * manual/examples/search.c (critter_cmp): Change signature to
61947         avoid warnings.
61948         * manual/string.texi (Collation Functions): Likewise.
61950 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61952         * bits/types.h: Fold copyright years.
61953         * bits/typesizes.h: Likewise.
61954         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
61955         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
61956         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
61957         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
61958         * time/time.h: Likewise.
61960 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
61962         [BZ #208]
61963         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
61964         in instead of returning them.  Return void.
61965         (__libc_mallinfo): Accumulate over all arenas.
61966         (__malloc_stats): Adjust for change in int_mallinfo interface.
61968 2012-05-16  Roland McGrath  <roland@hack.frob.com>
61970         [BZ #10375]
61971         * configure.in (NM): Add AC_CHECK_TOOL for it.
61972         (libc_extra_cflags): New substituted variable.
61973         Check for -fstack-protector being used implicitly.
61974         * configure: Regenerated.
61975         * config.make.in (config-extra-cflags): New variable,
61976         gets @libc_extra_cflags@.
61977         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
61979         [BZ #10375]
61980         * configure.in: Check for _FORTIFY_SOURCE being predefined.
61981         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
61982         * configure: Regenerated.
61983         * config.make.in (CPPUNDEFS): New substituted variable.
61984         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
61985         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
61986         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
61988 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61990         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
61991         (mq_attr): Use __syscall_slong_t.
61993 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61995         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
61996         Check __x86_64__ instead of __WORDSIZE.
61997         (_STAT_VER_LINUX): Likewise.
61998         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
61999         __syscall_ulong_t and __syscall_slong_t.
62000         (stat64): Likewise.
62002 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62004         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
62006 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62008         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
62010 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62012         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
62013         __syscall_ulong_t.
62015         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
62016         include <bits/wordsize.h>.  Check __x86_64__ instead of
62017         __WORDSIZE.
62018         (greg_t): Use "__extension__ long long int" if __x86_64__ is
62019         defined.
62020         (mcontext_t): Replace "unsigned long" with "unsigned long long".
62022         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
62023         include <bits/wordsize.h>.  Check __x86_64__ instead of
62024         __WORDSIZE.
62025         (user_regs_struct): Use "__extension__ unsigned long long"
62026         instead of "unsigned long" if __x86_64__ is defined.
62027         (user): Likewise.  Pad after pointer field if __ILP32__ is
62028         defined.
62030 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
62032         * configure.in (makeinfo): Require version 4.5 or later.  Allow
62033         versions 5 to 9.
62034         * configure: Regenerated.
62035         * manual/install.texi (texinfo): Increase version requirement to
62036         4.5 or later.
62037         * INSTALL: Regenerated.
62039         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
62041 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62043         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
62045         * sysdeps/x86_64/x32/ffs.c: New file.
62047         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
62048         __syscall_ulong_t.
62049         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
62050         defined.  Use __syscall_ulong_t.
62051         (shminfo): Use __syscall_ulong_t.
62052         (shm_info): Likewise.
62054         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
62055         __syscall_ulong_t.
62057         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
62058         <bits/wordsize.h>.
62059         (msgqnum_t): Use __syscall_ulong_t.
62060         (msglen_t): Likewise.
62061         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
62062         __syscall_ulong_t.
62064         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
62065         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
62067         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
62069         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
62070         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
62072         * sysvipc/sys/msg.h (msgbuf): Replace long int with
62073         __syscall_slong_t.
62075         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
62076         include <bits/wordsize.h>.  Check __x86_64__ instead of
62077         __WORDSIZE.
62079         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
62080         "unsigned long long int" if __x86_64__ is defined.
62081         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
62083         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
62084         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
62085         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
62087         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
62088         <stdint.h>.
62089         (GET_PC): Cast to uintptr_t first.
62090         (GET_FRAME): Likewise.
62091         (GET_STACK): Likewise.
62093         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
62094         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
62095         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
62096         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
62097         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
62098         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
62099         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
62100         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
62101         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
62102         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
62103         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
62104         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
62105         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
62106         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
62107         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
62108         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
62109         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
62110         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
62111         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
62112         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
62113         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
62114         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
62115         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
62116         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
62117         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
62118         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
62119         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
62120         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
62121         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
62123 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
62125         * Makerules (+depfiles): Also collect depfiles from .oS in
62126         $(extra-objs).
62127         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
62128         .oS, $(libnldbl-routines)).
62130         * Makerules (native-compile-mkdep-flags): Define.
62131         * sunrpc/Makefile (extra-objs): Add $(addprefix
62132         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
62133         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
62134         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
62135         calling $(make-target-directory).
62137 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62139         * bits/types.h (__snseconds_t): Removed.
62140         * time/time.h (struct timespec): Replace __snseconds_t with
62141         __syscall_slong_t.
62142         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
62143         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
62144         Likewise.
62145         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62146         (__SNSECONDS_T_TYPE): Likewise.
62147         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62148         (__SNSECONDS_T_TYPE): Likewise.
62149         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62150         (__SNSECONDS_T_TYPE): Likewise.
62152 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62154         * sysdeps/mach/hurd/bits/typesizes.h
62155         (__SYSCALL_SLONG_TYPE): New macro.
62156         (__SYSCALL_ULONG_TYPE): Likewise.
62158 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62160         * bits/types.h (__syscall_slong_t): New type.
62161         (__syscall_ulong_t): Likewise.
62163         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
62164         (__SYSCALL_ULONG_TYPE): Likewise.
62165         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62166         (__SYSCALL_SLONG_TYPE): Likewise.
62167         (__SYSCALL_ULONG_TYPE): Likewise.
62168         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62169         (__SYSCALL_SLONG_TYPE): Likewise.
62170         (__SYSCALL_ULONG_TYPE): Likewise.
62171         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62172         (__SYSCALL_SLONG_TYPE): Likewise.
62173         (__SYSCALL_ULONG_TYPE): Likewise.
62175 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62177         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
62178         Add sigaltstack-offsets.sym.
62179         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
62180         <sigaltstack-offsets.h>.
62181         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
62182         longjmp_msg pointer.
62183         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
62184         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
62185         signal stack.
62186         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
62188 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
62190         * elf/stackguard-macros.h: Remove file.
62191         * sysdeps/generic/stackguard-macros.h: New file.
62192         * sysdeps/i386/stackguard-macros.h: Likewise.
62193         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
62194         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
62195         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
62196         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
62197         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
62198         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
62199         * sysdeps/x86_64/stackguard-macros.h: Likewise.
62200         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
62201         <elf/stackguard-macros.h>.
62203         [BZ #14109]
62204         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
62205         __aligned__ in attribute.
62206         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
62207         (gregset_t): Likewise.
62209 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62211         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
62212         * sysdeps/x86_64/64/Implies-after: Here.  New file.
62213         * sysdeps/x86_64/x32/Implies-after: New file.
62215 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62217         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
62218         and access return value for _dl_profile_fixup.  Use R10_LP to
62219         load frame size.
62221 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62223         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
62225 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62227         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
62228         * sysdeps/x86_64/x32/sysdep.h: New file.
62230 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62232         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
62233         * sysdeps/x86_64/setjmp.S: Likewise.
62235 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62237         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
62238         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
62239         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
62240         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
62241         remove unused global constant.
62243 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
62245         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
62246         include of <not-cancel.h>.
62248 2012-05-15  Roland McGrath  <roland@hack.frob.com>
62250         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
62252 2012-05-15  Jeff Law  <law@redhat.com>
62253             Andreas Jaeger  <aj@suse.de>
62255         [BZ #13594]
62256         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
62257         out from...
62258         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
62259         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
62260         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
62261         code changing __hst_map_handle.map.
62263 2012-05-15  Roland McGrath  <roland@hack.frob.com>
62265         * configure.in (sysnames): Look for Implies-before and Implies-after
62266         files.
62267         * configure: Regenerated.
62269 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62271         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
62272         8-byte data alignment with LP_SIZE alignment.
62274 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62276         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
62277         into R10_LP.
62279 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62281         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
62283 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62285         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
62286         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
62287         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
62288         Likewise.
62289         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
62291 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62293         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
62294         (stackinfo_sub_sp): Likewise.
62296 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62298         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
62299         RAX_LP.
62301 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62303         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
62304         into R*_LP.
62306 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62308         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
62309         sizes into R*_LP.
62311 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62313         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
62315 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62317         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
62318         into R11_LP and load __x86_64_shared_cache_size_half into
62319         R8_LP.
62321 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
62323         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
62324         R8_LP.
62326 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62328         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
62329         logb for POWER7.
62330         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
62331         logbf for POWER7.
62332         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
62333         logbl for POWER7.
62334         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
62335         powerpc32/power7/fpu/s_logb.c via #include.
62336         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
62337         powerpc32/power7/fpu/s_logbf.c via #include.
62338         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
62339         powerpc32/power7/fpu/s_logbl.c via #include.
62341 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
62343         * README.libm: Remove file.
62345 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62347         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
62348         count for x32.  Use R*_LP and omit operand-size suffix.
62350 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62352         * shlib-versions: Move x86_64-.*-linux.* entries to ...
62353         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
62354         * sysdeps/x86_64/x32/shlib-versions: New file.
62356 2012-05-14  Roland McGrath  <roland@hack.frob.com>
62358         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
62359         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
62360         Use _dl_fatal_printf instead.
62362 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
62364         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
62365         set if not set by the user.  Do not allow for being unset.
62366         * sysdeps/unix/sysv/linux/configure: Regenerated.
62368 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62370         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
62371         the `q' suffix from lea and replace .quad with ASM_ADDR.
62373 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62375         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
62376         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
62377         instead of $17.
62378         (PTR_DEMANGLE): Likewise.
62380 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62382         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
62383         (LP_OP): Likewise.
62384         (ASM_ADDR): Likewise.
62385         (RAX_LP): Likewise.
62386         (RBP_LP): Likewise.
62387         (RBX_LP): Likewise.
62388         (RCX_LP): Likewise.
62389         (RDI_LP): Likewise.
62390         (RSI_LP): Likewise.
62391         (RSP_LP): Likewise.
62392         (R8_LP): Likewise.
62393         (R9_LP): Likewise.
62394         (R10_LP): Likewise.
62395         (R10_LP): Likewise.
62396         (R11_LP): Likewise.
62397         (R12_LP): Likewise.
62398         (R13_LP): Likewise.
62399         (R14_LP): Likewise.
62400         (R15_LP): Likewise.
62402 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62404         * sysdeps/x86_64/x32/dl-machine.h: New file.
62406 2012-05-14  Andreas Jaeger  <aj@suse.de>
62408         * manual/Makefile (subdir): Remove export of subdir.
62409         (all): Remove target.
62410         (.PHONY): Remove all from list.
62411         (mkinstalldirs): Remove.
62412         (.PHONY): Remove installdirs from list.
62413         ($(inst_infodir)/libc.info): Use make-target-directory.
62414         (installdirs): Remove.
62415         (subdir_%): Remove.
62416         (glibc-targets): Remove.
62417         (lib): Remove.
62418         (stubs): Remove.
62419         ($(objpfx)stubs ../po/manual.pot): Remove.
62420         ($(objpfx)stamp%): Remove.
62421         (make-target-directory): Remove.
62422         (subdir_install): Remove.
62423         (routines): Remove.
62424         (aux): Remove.
62425         (sources): Remove.
62426         (objects): Remove.
62427         (headers): Remove.
62429         [BZ #13750]
62430         * manual/.gitignore: Remove, it's not needed anymore.
62431         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
62432         all files in it.
62433         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
62434         directory.
62435         (texis): Renamed to $(objpfx)texis.
62436         (texis-path): New, contains path to generated files.
62437         (chapters.%): Use texis-path for complete path, add extra argument
62438         libc-texinfo.sh.
62439         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
62440         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
62441         (summary,texi, stamp-summary): Use complete path of
62442         files. Generate files in build dir.
62443         (dir-add.texi): Build in build dir.
62444         (libm-err.texi,stamp-libm-err): Likewise.
62445         (version.texi, stamp-version): Likewise.
62446         (.%c.texi): Likewise.
62447         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
62448         (mostlyclean): Remove target.
62449         (realclean): Remove target.
62450         (generated): Add new variable with contents from mostlyclean and
62451         realclean, remove entries duplicated in common-mostlyclean, add
62452         stamp-libm-err and stamp-version.
62453         (generated-dirs): Add libc directory.
62454         ($(inst_infodir)/libc.info): Install files from build dir.
62456         * manual/install.texi (Configuring and compiling): Adjust since
62457         the info files are not part of the tar ball anymore.
62459 2012-05-14  Andreas Jaeger  <aj@suse.de>
62461         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
62462         variable.
62464 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
62466         [BZ #13717]
62467         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
62468         to 2.2.0 where earlier.
62469         * sysdeps/unix/sysv/linux/configure: Regenerated.
62470         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
62471         Remove conditional code.
62472         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
62473         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
62474         Remove conditional code.
62475         [!__NR_lchown]: Likewise.
62476         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
62477         [__NR_lchown]: Likewise.
62478         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
62479         comment referencing __ASSUME_LCHOWN_SYSCALL.
62480         * sysdeps/unix/sysv/linux/i386/sigaction.c
62481         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62482         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62483         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
62484         Remove conditional code.
62485         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
62486         (__protocol_available): Remove #if 0 code.
62487         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
62488         conditional code.
62489         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
62490         * sysdeps/unix/sysv/linux/kernel-features.h
62491         (__ASSUME_GETCWD_SYSCALL): Don't define.
62492         (__ASSUME_REALTIME_SIGNALS): Likewise.
62493         (__ASSUME_PREAD_SYSCALL): Likewise.
62494         (__ASSUME_PWRITE_SYSCALL): Likewise.
62495         (__ASSUME_POLL_SYSCALL): Likewise.
62496         (__ASSUME_LCHOWN_SYSCALL): Likewise.
62497         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
62498         non-SPARC.
62499         (__ASSUME_SIOCGIFNAME): Don't define.
62500         (__ASSUME_MSG_NOSIGNAL): Likewise.
62501         (__ASSUME_SENDFILE): Define unconditionally.
62502         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
62503         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
62504         conditional code.
62505         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
62506         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
62507         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
62508         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
62509         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
62510         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
62511         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
62512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
62513         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
62514         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
62516         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
62517         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
62519         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62520         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
62522         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62523         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
62525         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
62526         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
62528         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
62529         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
62531         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62532         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
62534         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62535         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62536         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
62537         Remove conditional code.
62538         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62539         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
62540         Remove conditional code.
62541         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62542         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
62543         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
62544         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
62545         Remove conditional code.
62546         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62547         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
62548         Remove conditional code.
62549         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62550         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
62551         Remove conditional code.
62552         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62553         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
62554         Remove conditional code.
62555         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
62556         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
62557         Remove conditional code.
62558         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62559         * sysdeps/unix/sysv/linux/sh/pwrite64.c
62560         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
62561         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
62562         * sysdeps/unix/sysv/linux/sigaction.c
62563         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62564         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62565         * sysdeps/unix/sysv/linux/sigpending.c
62566         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62567         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62568         * sysdeps/unix/sysv/linux/sigprocmask.c
62569         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62570         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62571         * sysdeps/unix/sysv/linux/sigsuspend.c
62572         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
62573         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
62574         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
62575         (__libc_missing_rt_sigs): Remove.
62576         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
62577         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
62578         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
62579         Remove conditional code.
62580         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
62581         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
62582         return 1.
62583         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
62584         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
62585         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
62586         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
62588 2012-05-14  Andreas Jaeger  <aj@suse.de>
62590         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
62591         it's not used in glibc.
62592         (__coshm1): Likewise.
62593         (__acosh1p): Likewise.
62594         (__sgn): Likewise.
62596         * manual/string.texi (Copying and Concatenation): Add missing
62597         variable in concat example.
62598         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
62600 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62602         [BZ #14103]
62603         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
62604         __builtin_clzl with __builtin_clzll.
62606 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
62608         [BZ #14104]
62609         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
62610         libc_freeres_ptr.
62612 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62614         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
62615         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
62616         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
62617         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
62619 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
62621         * NEWS: Update ia64 info.
62623 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
62625         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
62626         used as bcopy.
62628 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
62630         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
62631         * sysdeps/unix/syscalls.list (dup3): Likewise.
62632         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
62633         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
62635 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
62637         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
62638         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
62640 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
62642         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
62643         thread pointer.
62644         (TLS_IE): Use mov/add instead of movq/addq to load thread
62645         pointer.
62646         (TLS_GD_PREFIX): New.
62647         (TLS_GD): Use it.
62649 2012-05-11  David S. Miller  <davem@davemloft.net>
62651         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
62652         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
62653         (_FPU_SETCW): Likewise.
62655 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
62657         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
62658         is 32-byte aligned.
62660 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
62662         [BZ #11837]
62663         * iconvdata/gb18030.c: Update tables.
62664         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
62665         characters specially.
62666         (BODY for TO_LOOP): Add encoding of missing ranges.
62668 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
62670         [BZ #13673]
62671         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
62672         * sysdeps/mach/hurd/dup3.c: Likewise.
62673         * sysdeps/mach/hurd/readlinkat.c: Likewise.
62674         * sysdeps/powerpc/memmove.c:: Likewise.
62676 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
62678         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
62679         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
62681 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
62683         * elf/elf.h (R_X86_64_RELATIVE64): New.
62684         (R_X86_64_NUM): Updated.
62685         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
62686         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
62687         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
62688         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
62689         tst-quad1pie tst-quad2pie
62690         (modules-names): Add tst-quadmod1 tst-quadmod2.
62691         ($(objpfx)tst-quad1): New dependency.
62692         ($(objpfx)tst-quad2): Likewise.
62693         ($(objpfx)tst-quad1pie): Likewise.
62694         ($(objpfx)tst-quad2pie): Likewise.
62695         * sysdeps/x86_64/tst-quad1.c: New file.
62696         * sysdeps/x86_64/tst-quad1pie.c: New file.
62697         * sysdeps/x86_64/tst-quad2.c: Likewise.
62698         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
62699         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
62700         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
62701         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
62702         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
62704 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62706         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
62707         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
62708         * streams/stropts.h (t_scalar_t): Define type.
62710         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
62711         (_PATH_PRESERVE): Set to "/var/lib".
62712         (_PATH_RWHODIR): Set to "/var/spool/rwho".
62714         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
62715         instead of int.
62717         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
62718         if __dir_mkfile succeeded.
62720         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
62721         checking for _hurd_dtablesize.  Unlock it right after having
62722         finished _hurd_dtable allocation.
62724 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62726         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
62727         * sysdeps/mach/hurd/configure: Regenerated.
62728         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
62729         special-casing to...
62730         * sysdeps/gnu/configure.in: ... this new file.
62731         * sysdeps/unix/sysv/linux/configure: Regenerated.
62732         * sysdeps/gnu/configure: New generated file.
62734         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
62735         for Linux: use nsec instead of usec, as well as:
62736         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
62737         members of type struct timespec.
62738         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
62739         New macros.
62740         (struct stat64): Likewise.
62741         (_STATBUF_ST_NSEC): New macro.
62742         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
62744         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
62745         __strtoul_internal rather than strtoul.
62747 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62749         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
62750         and reject them.
62752 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62754         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
62755         which preserves existing values.
62756         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
62758 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62760         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
62761         TIMEOUT values.  Return EINVAL for NFDS values either negative or
62762         greater than FD_SETSIZE.
62764 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62766         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
62767         allocated, call __vm_protect to finish enabling the existing space, and
62768         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
62769         allocate the remainder.
62771 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62773         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
62774         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
62776 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62778         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
62779         sysdeps/mach/hurd/readlink.c.
62781         * posix/tst-sysconf.c (posix_options): Only use
62782         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
62783         _POSIX_SYNCHRONIZED_IO when they are defined
62784         * sysdeps/mach/hurd/bits/posix_opt.h:
62785         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
62786         (_XOPEN_REALTIME): Undefine macro.
62787         (_XOPEN_REALTIME_THREADS): Undefine macro.
62788         (_XOPEN_SHM): Undefine macro.
62789         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
62790         macro to -1.
62791         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
62792         macro to -1.
62793         (_POSIX_ASYNC_IO): Undefine macro.
62794         (_POSIX_PRIORITIZED_IO): Undefine macro.
62795         (_POSIX_SPIN_LOCKS): Define macro to -1.
62797         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
62798         SA_NODEFER, SA_RESETHAND.
62799         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
62800         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
62801         F_DUPFD_CLOEXEC.
62803 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62805         * elf/Makefile (pldd-modules): Define unconditionally.
62807 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62809         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
62811 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62813         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
62814         Return ENOENT when name is empty.
62815         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
62817 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62819         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
62821         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
62823 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62825         Fix mlock in all cases except non-readable pages.
62826         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
62827         instead of VM_PROT_ALL as parameter to __vm_wire function.
62829         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
62830         (__mkdir): When path is `/', just fail with EEXIST.
62831         * sysdeps/mach/hurd/mkdirat.c: Likewise.
62833 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62835         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
62836         <sys/uio.h> (for writev).
62837         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
62838         and <sys/param.h> (for MIN).
62840 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62842         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
62843         REQUESTED_TIME.  Properly set the remaining time and return EINTR
62844         if interrupted.
62846 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62848         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
62849         Depend on against $(link-rpcuserlibs).
62851 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62853         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
62854         (__libc_stack_end): Do not use attribute_relro.
62855         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
62856         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
62857         to libthread-provided value.
62858         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
62859         attribute_relro.
62861 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62863         [BZ #3748]
62864         * bits/libc-lock.h (__libc_once_get): New macro.
62865         * sysdeps/mach/bits/libc-lock.h: Likewise.
62866         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
62867         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
62868         instead of using implementation details.
62870         * libio/fileops.c: Unconditionally include <kernel-features.h>.
62871         * libio/freopen.c: Likewise.
62872         * libio/freopen64.c: Likewise.
62873         * misc/syslog.c: Likewise.
62874         * nscd/connections.c: Likewise.
62875         * nscd/netgroupcache.c: Likewise.
62876         * sysdeps/posix/getcwd.c: Likewise.
62878 2012-05-10  Roland McGrath  <roland@hack.frob.com>
62880         * math/w_ilogbf.c: Add #include <limits.h>.
62882 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62884         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
62885         path instead of returning without unlocking.
62887         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
62888         immediate-write ioctls.
62889         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
62891 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62893         * sysdeps/mach/hurd/i386/init-first.c (init): Use
62894         __builtin_frame_address instead of making assumptions about the
62895         location of the return address relative to DATA.  Force early load of
62896         the return address.
62897         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
62898         __builtin_frame_address.
62900         dup3 for GNU Hurd.
62901         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
62902         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
62903         implement dup3 and do some further code clean-ups.
62904         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
62905         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
62907 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62909         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
62911         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
62912         HURD_CRITICAL_END around holding _hurd_dtable_lock.
62913         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
62914         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
62915         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
62916         d->port.lock.
62918         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
62919         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
62920         when handler == SIG_ERR, not when handler != SIG_ERR.
62922 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62924         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
62925         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
62926         definitions.
62928         accept4 for GNU Hurd.
62929         * include/sys/socket.h (__libc_accept4): New prototype.
62930         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
62931         to implement __libc_accept4.
62932         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
62933         __libc_accept4.
62934         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
62936         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
62937         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
62938         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
62939         signal-defines.sym.
62941 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62943         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
62945 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62947         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
62948         assertion on O_CLOEXEC flag.
62949         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
62950         * hurd/intern-fd.c: Likewise.
62951         * hurd/port2fd.c: Likewise.
62953 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62955         [BZ #3906]
62956         * bits/in.h (IPV6_PKTINFO): Define new macro.
62957         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
62959 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62961         [BZ #13954]
62962         [BZ #13955]
62963         [BZ #13956]
62964         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
62965         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
62966         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
62967         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
62968         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62969         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
62970         * math/libm-test.inc (logb_test) : Additional logb tests.
62972 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
62973             Andreas Jaeger  <aj@suse.de>
62975         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
62976         * configure: Regenerated.
62977         * config.h.in (LINK_OBSOLETE_RPC): New macro.
62978         * config.make.in (link-obsolete-rpc): New substituted variable.
62979         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
62980         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
62981         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
62982         (shared-only-routines): Don't set it under [link-obsolete-rpc],
62983         so that libc.a contains the symbols.
62984         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
62985         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
62986         * sunrpc/auth_none.c: Likewise.
62987         * sunrpc/auth_unix.c: Likewise.
62988         * sunrpc/authdes_prot.c: Likewise.
62989         * sunrpc/authuxprot.c: Likewise.
62990         * sunrpc/clnt_gen.c: Likewise.
62991         * sunrpc/clnt_perr.c: Likewise.
62992         * sunrpc/clnt_raw.c: Likewise.
62993         * sunrpc/clnt_simp.c: Likewise.
62994         * sunrpc/clnt_tcp.c: Likewise.
62995         * sunrpc/clnt_udp.c: Likewise.
62996         * sunrpc/clnt_unix.c: Likewise.
62997         * sunrpc/des_crypt.c: Likewise.
62998         * sunrpc/des_soft.c: Likewise.
62999         * sunrpc/get_myaddr.c: Likewise.
63000         * sunrpc/key_call.c: Likewise.
63001         * sunrpc/key_prot.c: Likewise.
63002         * sunrpc/netname.c: Likewise.
63003         * sunrpc/pm_getmaps.c: Likewise.
63004         * sunrpc/pm_getport.c: Likewise.
63005         * sunrpc/pmap_clnt.c: Likewise.
63006         * sunrpc/pmap_prot.c: Likewise.
63007         * sunrpc/pmap_prot2.c: Likewise.
63008         * sunrpc/pmap_rmt.c: Likewise.
63009         * sunrpc/publickey.c: Likewise.
63010         * sunrpc/rpc_cmsg.c: Likewise.
63011         * sunrpc/rpc_common.c: Likewise.
63012         * sunrpc/rpc_dtable.c: Likewise.
63013         * sunrpc/rpc_prot.c: Likewise.
63014         * sunrpc/rpc_thread.c: Likewise.
63015         * sunrpc/rtime.c: Likewise.
63016         * sunrpc/svc.c: Likewise.
63017         * sunrpc/svc_auth.c: Likewise.
63018         * sunrpc/svc_raw.c: Likewise.
63019         * sunrpc/svc_run.c: Likewise.
63020         * sunrpc/svc_tcp.c: Likewise.
63021         * sunrpc/svc_udp.c: Likewise.
63022         * sunrpc/svc_unix.c: Likewise.
63023         * sunrpc/svcauth_des.c: Likewise.
63024         * sunrpc/xcrypt.c: Likewise.
63025         * sunrpc/xdr.c: Likewise.
63026         * sunrpc/xdr_array.c: Likewise.
63027         * sunrpc/xdr_float.c: Likewise.
63028         * sunrpc/xdr_intXX_t.c: Likewise.
63029         * sunrpc/xdr_mem.c: Likewise.
63030         * sunrpc/xdr_rec.c: Likewise.
63031         * sunrpc/xdr_ref.c: Likewise.
63032         * sunrpc/xdr_sizeof.c: Likewise.
63033         * sunrpc/xdr_stdio.c: Likewise.
63035 2012-05-10  Roland McGrath  <roland@hack.frob.com>
63037         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
63038         change.  Update copyright years.
63040 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
63042         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
63044 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
63045             Joseph Myers  <joseph@codesourcery.com>
63046             Paul Pluzhnikov  <ppluzhnikov@google.com>
63048         [BZ #14012]
63049         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
63050         requiring rpcgen.
63051         [cross-compiling] (extra-libs): Likewise.
63052         [cross-compiling] (extra-libs-others): Likewise.
63053         [cross-compiling] (librpcsvc-routines): Likewise.
63054         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
63055         [cross-compiling] (omit-deps): Likewise.
63056         (sunrpc-CPPFLAGS): New variable.
63057         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
63058         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
63059         (cross-rpcgen-objs): New variable.
63060         (extra-objs): Append $(cross-rpcgen-objs).
63061         ($(cross-rpcgen-objs)): New rule.
63062         ($(objpfx)cross-rpcgen): Likewise.
63063         (rpcgen-cmd): Define to use $(built-program-file).  Expand
63064         comment.
63065         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
63066         ($(objpfx)x%.stmp): Likewise.
63067         * sunrpc/proto.h [IS_IN_build] (_): Define.
63068         [IS_IN_build] (_libc_intl_domainname): Likewise.
63070 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
63072         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
63073         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
63074         and R_X86_64_TPOFF64.
63076 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
63078         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
63079         sysdeps/unix/sysv/syscalls.list.
63080         (stime): Likewise.
63081         (utime): Likewise.
63082         * sysdeps/unix/sysv/syscalls.list: Remove file.
63084 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
63086         [BZ #3440]
63087         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
63088         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
63089         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
63090         (__LC_IDENTIFICATION): Make these macros useful in #if
63091         expressions, as required by C99.
63093 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
63095         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
63096         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
63097         after this.
63099 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
63101         * stdlib/longlong.h: Updated from GCC.
63103 2012-05-09  Andreas Jaeger  <aj@suse.de>
63105         * nscd/nscd.c (run_modes): Make named enum, reorder so that
63106         default is first entry.
63107         (run_mode): Set type.
63108         (main): Remove informal message about syslog.
63109         (options): Fix typo.
63111         [BZ #14053]
63112         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
63113         to asm.
63114         (lrint): Likewise.
63115         (llrintf): Likewise.
63116         (llrint): Likewise.
63117         (rint): Likewise.
63118         (rintf): Likewise.
63119         (nearbyint): Likewise.
63120         (nearbyintf): Likewise.
63122 2012-05-09  Andreas Jaeger  <aj@suse.de>
63123             Pedro Alves  <palves@redhat.com>
63125         * nscd/nscd.c (run_mode): Use enum.
63126         (main): Cleanup coding style issue.
63128 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
63129             Andreas Jaeger  <aj@suse.de>
63131         * nscd/nscd.c (go_background): Replaced with...
63132         (run_mode): ... this.
63133         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
63134         (options): Add -F --foreground.
63135         (main): Implement it.
63136         (parse_opt): Parse it.
63138 2012-05-09  Andreas Jaeger  <aj@suse.de>
63140         [BZ #14083]
63141         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
63142         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
63143         -Wconversion warning.
63144         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
63145         Likewise.
63147 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
63149         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
63150         == 0.
63151         (LC_ALL): Use macro-int-constant.
63152         (LC_COLLATE): Likewise.
63153         (LC_CTYPE): Likewise.
63154         (LC_MESSAGES): Likewise.
63155         (LC_MONETARY): Likewise.
63156         (LC_NUMERIC): Likewise.
63157         (LC_TIME): Likewise.
63158         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
63159         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
63160         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63161         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
63162         Specify type.
63163         [C99-based standards] (float_t): Expect type.
63164         [C99-based standards] (double_t): Expect type.
63165         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
63166         type.
63167         [C99-based standards] (HUGE_VALL): Likewise.
63168         [C99-based standards] (INFINITY): Likewise.
63169         [C99-based standards] (NAN): Likewise.
63170         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
63171         [C99-based standards] (FP_NAN): Likewise.
63172         [C99-based standards] (FP_NORMAL): Likewise.
63173         [C99-based standards] (FP_SUBNORMAL): Likewise.
63174         [C99-based standards] (FP_ZERO): Likewise.
63175         [C99-based standards] (FP_FAST_FMA): Use
63176         optional-macro-int-constant.  Specify type.  Require == 1.
63177         [C99-based standards] (FP_FAST_FMAF): Likewise.
63178         [C99-based standards] (FP_FAST_FMAL): Likewise.
63179         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
63180         [C99-based standards] (FP_ILOGBNAN): Likewise.
63181         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
63182         Specify type.
63183         [C99-based standards] (MATH_ERREXCEPT): Likewise.
63184         [C99-based standards] (math_errhandling): Specify type.
63185         [ISO99 || ISO11] (signgam): Do not allow.
63186         [non-C99-based standards] (copysignf): Do not allow.
63187         [non-C99-based standards] (exp2f): Likewise.
63188         [non-C99-based standards] (log2f): Likewise.
63189         [non-C99-based standards] (modff): Allow.
63190         [non-C99-based standards] (erff): Do not allow.
63191         [non-C99-based standards] (erfcf): Likewise.
63192         [non-C99-based standards] (gammaf): Likewise.
63193         [non-C99-based standards] (hypotf): Likewise.
63194         [non-C99-based standards] (j0f): Likewise.
63195         [non-C99-based standards] (j1f): Likewise.
63196         [non-C99-based standards] (jnf): Likewise.
63197         [non-C99-based standards] (lgammaf): Likewise.
63198         [non-C99-based standards] (tgammaf): Likewise.
63199         [non-C99-based standards] (y0f): Likewise.
63200         [non-C99-based standards] (y1f): Likewise.
63201         [non-C99-based standards] (ynf): Likewise.
63202         [non-C99-based standards] (isnanf): Likewise.
63203         [non-C99-based standards] (acoshf): Likewise.
63204         [non-C99-based standards] (asinhf): Likewise.
63205         [non-C99-based standards] (atanhf): Likewise.
63206         [non-C99-based standards] (cbrtf): Likewise.
63207         [non-C99-based standards] (expm1f): Likewise.
63208         [non-C99-based standards] (ilogbf): Likewise.
63209         [non-C99-based standards] (log1pf): Likewise.
63210         [non-C99-based standards] (logbf): Likewise.
63211         [non-C99-based standards] (nextafterf): Likewise.
63212         [non-C99-based standards] (remainderf): Likewise.
63213         [non-C99-based standards] (rintf): Likewise.
63214         [non-C99-based standards] (scalbf): Likewise.
63215         [non-C99-based standards] (copysignl): Likewise.
63216         [non-C99-based standards] (exp2l): Likewise.
63217         [non-C99-based standards] (log2l): Likewise.
63218         [non-C99-based standards] (modfl): Allow.
63219         [non-C99-based standards] (erfl): Do not allow.
63220         [non-C99-based standards] (erfcl): Likewise.
63221         [non-C99-based standards] (gammal): Likewise.
63222         [non-C99-based standards] (hypotl): Likewise.
63223         [non-C99-based standards] (j0l): Likewise.
63224         [non-C99-based standards] (j1l): Likewise.
63225         [non-C99-based standards] (jnl): Likewise.
63226         [non-C99-based standards] (lgammal): Likewise.
63227         [non-C99-based standards] (tgammal): Likewise.
63228         [non-C99-based standards] (y0l): Likewise.
63229         [non-C99-based standards] (y1l): Likewise.
63230         [non-C99-based standards] (ynl): Likewise.
63231         [non-C99-based standards] (isnanl): Likewise.
63232         [non-C99-based standards] (acoshl): Likewise.
63233         [non-C99-based standards] (asinhl): Likewise.
63234         [non-C99-based standards] (atanhl): Likewise.
63235         [non-C99-based standards] (cbrtl): Likewise.
63236         [non-C99-based standards] (expm1l): Likewise.
63237         [non-C99-based standards] (ilogbl): Likewise.
63238         [non-C99-based standards] (log1pl): Likewise.
63239         [non-C99-based standards] (logbl): Likewise.
63240         [non-C99-based standards] (nextafterl): Likewise.
63241         [non-C99-based standards] (remainderl): Likewise.
63242         [non-C99-based standards] (rintl): Likewise.
63243         [non-C99-based standards] (scalbl): Likewise.
63244         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63245         [non-C99-based standards] (FP_*): Do not allow.
63246         [C99-based standards] (FP_*): Change to
63247         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
63248         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
63249         allow.
63250         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
63251         (SIG_ERR): Likewise.
63252         [X/Open-based standards] (SIG_HOLD): Likewise.
63253         (SIG_IGN): Likewise.
63254         (SIGABRT): Use macro-int-constant.  Specify type.  Require
63255         positive value.
63256         (SIGFPE): Likewise.
63257         (SIGILL): Likewise.
63258         (SIGINT): Likewise.
63259         (SIGSEGV): Likewise.
63260         (SIGTER): Likewise.
63261         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
63262         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
63263         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
63264         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
63265         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
63266         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
63267         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
63268         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
63269         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
63270         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
63271         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
63272         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
63273         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
63274         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
63275         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
63276         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
63277         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
63278         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
63279         [X/Open-based standards] (SIGTRAP): Likewise.
63280         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
63281         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
63282         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
63283         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
63284         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
63285         allow.
63287 2012-05-08  Ian Wienand  <ianw@vmware.com>
63289         [BZ #14080]
63290         * time/tzset.c (__tzset_parse_tz): Update default rules for
63291         daylight time changes in the Energy Policy Act of 2005.
63293 2012-05-09  Andreas Jaeger  <aj@suse.de>
63295         [BZ #13983]
63296         * elf/ldconfig.c (parse_conf): Change string to make clear that
63297         ldconfig only issued a warning if ld.so.conf does not exist.
63299 2012-05-08  David S. Miller  <davem@davemloft.net>
63301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
63302         movxtod instead of popping the value on the stack.
63304         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63306 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
63308         * config.h.in: Add HAVE_ARM_PCS_VFP.
63310 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
63312         [BZ #13979]
63313         * include/features.h: Warn if user requests __FORTIFY_SOURCE
63314         checking but the checks are disabled for any reason.
63316 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
63318         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
63319         and ELF64_R_TYPE with ELFW(R_TYPE).
63321 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
63323         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
63324         (ulimit): Likewise.
63326         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
63327         (settimeofday): Likewise.
63329 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
63331         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
63332         a struct th_u2 inside the union, and move tu_block/tu_code into
63333         a new th_u3 union of tu_block/tu_code inside of that.  Move
63334         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
63335         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
63336         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
63337         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
63338         (th_stuff): Change to th_u1.tu_stuff.
63339         (th_data): Define.
63340         (th_msg): Change to th_u1.th_u2.tu_data.
63342 2012-05-07  David S. Miller  <davem@davemloft.net>
63344         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63346         [BZ #14074]
63347         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
63348         (SETUP_PIC_REG): Use it.
63349         (SETUP_PIC_REG_LEAF): Use it.
63351 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
63353         [BZ #13885]
63354         [BZ #13923]
63355         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63356         USE_AS_EXPM1L.
63357         (EXPL_FINITE): Likewise.
63358         (FLDLOG): Likewise.
63359         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
63360         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
63361         e_expl.S.
63362         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63363         USE_AS_EXPM1L.
63364         (EXPL_FINITE): Likewise.
63365         (FLDLOG): Likewise.
63366         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
63367         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
63368         e_expl.S.
63369         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
63370         test of -max_value argument for long double.
63371         * sysdeps/i386/fpu/libm-test-ulps: Update.
63372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63374 2012-05-06  David S. Miller  <davem@davemloft.net>
63376         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
63377         quad soft-float symbols whose references which are compiler
63378         generated.
63379         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
63381 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
63383         [BZ #13884]
63384         [BZ #13914]
63385         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63386         USE_AS_EXP10L.
63387         (EXPL_FINITE): Likewise.
63388         (FLDLOG): Likewise.
63389         (c0): Likewise.
63390         (c1): Likewise.
63391         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
63392         Adjust comments for base varying.
63393         (__expl_finite): Change alias to EXPL_FINITE.
63394         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
63395         e_expl.S.
63396         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
63397         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
63398         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
63399         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
63400         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
63401         USE_AS_EXP10L.
63402         (EXPL_FINITE): Likewise.
63403         (FLDLOG): Likewise.
63404         (c0): Likewise.
63405         (c1): Likewise.
63406         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
63407         Adjust comments for base varying.
63408         (__expl_finite): Change alias to EXPL_FINITE.
63409         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
63410         tests for bugs.
63411         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63413         [BZ #14064]
63414         * math/libm-test.inc (check_float_internal): Correct ulp
63415         calculation for subnormal expected results.
63417 2012-05-06  Andreas Jaeger  <aj@suse.de>
63419         * Makeconfig (+math-flags): New, set to -frounding-math.
63420         (+cflags): Add +math-flags so that all of glibc gets compiled with
63421         it.
63423         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
63425 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
63427         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
63428         Disable one test.
63430         [BZ #13787]
63431         [BZ #13922]
63432         [BZ #14036]
63433         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
63434         (__ieee754_expl): Allow for and saturate large arguments.
63435         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
63436         (u_threshold): Likewise.
63437         (__exp): Call __ieee754_exp before checking for overflow and
63438         underflow.
63439         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
63440         (u_threshold): Likewise.
63441         (__expf): Call __ieee754_expf before checking for overflow and
63442         underflow.
63443         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
63444         (u_threshold): Likewise.
63445         (__expl): Call __ieee754_expl before checking for overflow and
63446         underflow.
63447         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
63448         (__ieee754_expl): Allow for and saturate large arguments.
63449         * math/libm-test.inc (exp_test): Add another test.  Do not allow
63450         missing overflow exception on overflow.
63451         (expm1_test): Do not allow missing overflow exception on overflow.
63453         * sysdeps/i386/fpu/e_expl.c: Move to ...
63454         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
63455         rather than using inline asm.
63456         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
63457         * sysdeps/x86_64/fpu/e_expl.S: Copy from
63458         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
63460         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
63461         (nice): Likewise.
63462         (poll): Likewise.
63463         (signal): Likewise.
63464         (time): Likewise.
63465         (times): Likewise.
63467 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
63469         * sysdeps/unix/syscalls.list (adjtime): Add entry from
63470         sysdeps/unix/common/syscalls.list.
63471         (fchmod): Likewise.
63472         (fchown): Likewise.
63473         (ftruncate): Likewise.
63474         (getrusage): Likewise.
63475         (gettimeofday): Likewise.
63476         (setpgid): Likewise.
63477         (setregid): Likewise.
63478         (setreuid): Likewise.
63479         (sigaction): Likewise.
63480         (truncate): Likewise.
63481         (vhangup): Likewise.
63482         * sysdeps/unix/common/syscalls.list: Remove file.
63483         * sysdeps/unix/bsd/Implies: Don't include unix/common.
63484         * sysdeps/unix/sysv/linux/Implies: Likewise.
63486 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
63488         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
63489         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
63490         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
63491         Moved to ...
63492         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
63493         Here.
63494         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
63495         to ...
63496         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
63497         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
63498         to ...
63499         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
63500         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
63501         to ...
63502         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
63503         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
63504         to ...
63505         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
63506         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
63507         to ...
63508         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
63509         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
63510         to ...
63511         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
63512         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
63513         to ...
63514         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
63515         Here.
63516         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
63517         to ...
63518         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
63519         Here.
63520         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
63521         to ...
63522         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
63523         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
63524         Moved to ...
63525         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
63526         Here.
63527         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
63528         to ...
63529         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
63531 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
63533         * sysdeps/unix/common/bits/dirent.h: Remove file.
63534         * sysdeps/unix/common/bits/fcntl.h: Likewise.
63536         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
63537         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
63538         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
63539         * sysdeps/unix/bsd/isatty.c: Likewise.
63540         * sysdeps/unix/bsd/tcdrain.c: Likewise.
63541         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
63542         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
63544 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63546         [BZ #13563]
63547         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
63548         long double comparison inaccuracies.
63549         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
63550         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63552 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
63554         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
63555         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
63557 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
63559         [BZ #14049]
63560         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
63561         nonzero digits before rounding a hex value.
63562         * stdlib/tst-strtod.c (tests): Add another test.
63564 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63566         * sysdeps/s390/fpu/libm-test-ulps: Update.
63568 2012-05-03  Andreas Jaeger  <aj@suse.de>
63570         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
63571         does not get optimized out.
63572         (malloc_opt_barrier): New.
63574 2012-05-03  Andreas Jaeger  <aj@suse.de>
63575             Roland McGrath  <roland@hack.frob.com>
63577         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
63578         intermediate file deletion.
63579         (generated): Add .symlist files.
63581 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
63583         [BZ #13775]
63584         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
63585         Redirect under this condition.
63586         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
63587         [__USE_GNU] (__dprintf_chk): Not under this condition.
63588         [__USE_GNU] (__vdprintf_chk): Likewise.
63589         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
63590         under this condition.
63591         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
63592         [__USE_XOPEN2K8] (dprintf): Define under this condition.
63593         [__USE_XOPEN2K8] (vdprintf): Likewise.
63594         [__USE_GNU] (__dprintf_chk): Not under this condition.
63595         [__USE_GNU] (__vdprintf_chk): Likewise.
63596         [__USE_GNU] (dprintf): Likewise.
63597         [__USE_GNU] (vdprintf): Likewise.
63599 2012-05-03  Roland McGrath  <roland@hack.frob.com>
63601         * elf/Makefile (common-generated): Set this instead of generated for
63602         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
63603         $(all-built-dso)-derived lists.
63605 2012-05-03  Andreas Jaeger  <aj@suse.de>
63607         * sysdeps/i386/fpu/libm-test-ulps: Update.
63609         * FAQ: Removed.
63610         * FAQ.in: Likewise.
63611         * scripts/gen-FAQ.pl: Likewise.
63612         * manual/install.texi (Installation): Point to online location of
63613         FAQ.
63614         * Makefile (files-for-dist): Remove FAQ.
63615         (FAQ): Remove.
63617 2012-05-02  Allan McRae  <allan@archlinux.org>
63619         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
63620         (LDFLAGS-reldepmod5.so): Likewise.
63621         (LDFLAGS-reldep6mod1.so): Likewise.
63622         (LDFLAGS-reldep6mod4.so): Likewise.
63623         (LDFLAGS-reldep8mod3.so): Likewise.
63624         (LDFLAGS-unload4mod1.so): Likewise.
63625         (LDFLAGS-unload4mod2.so): Likewise.
63626         (LDFLAGS-tst-initorder): Likewise.
63627         (LDFLAGS-tst-initordera2.so): Likewise.
63628         (LDFLAGS-tst-initordera3.so): Likewise.
63629         (LDFLAGS-tst-initordera4.so): Likewise.
63630         (LDFLAGS-tst-initorderb2.so): Likewise.
63631         (LDFLAGS-noload): Likewise.
63632         (LDFLAGS-next): Likewise.
63633         (LDFLAGS-order2mod1.so): Likewise.
63634         (LDFLAGS-order2mod2.so): Likewise.
63635         (LDFLAGS-tst-initorder2): Likewise.
63636         (LDFLAGS-tst-initorder2a.so): Likewise.
63637         (LDFLAGS-tst-initorder2b.so): Likewise.
63638         (LDFLAGS-tst-initorder2c.so): Likewise.
63639         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
63641 2012-05-02  David S. Miller  <davem@davemloft.net>
63643         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63645 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
63647         [BZ #14055]
63648         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
63650 2012-05-02  Andreas Jaeger  <aj@suse.de>
63652         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
63653         since we manipulate rounding mode.
63654         (CPPFLAGS-test-idouble.c): Likewise.
63655         (CPPFLAGS-test-ifloat.c): Likewise.
63656         (CFLAGS-test-ldouble.c): Likewise.
63657         (CFLAGS-test-double.c): Likewise.
63658         (CFLAGS-test-float.c): Likewise.
63659         (CFLAGS-test-misc.c): Likewise.
63660         (CFLAGS-test-test-fenv.c): Likewise.
63662 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63664         [BZ #2550]
63665         [BZ #2570]
63666         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
63667         comparisons to determine direction to adjust input.
63669 2012-05-01  Roland McGrath  <roland@hack.frob.com>
63671         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
63672         output to the target.
63674         * scripts/localplt.awk: New file.
63675         * elf/Makefile ($(objpfx)check-localplt): Target removed.
63676         (check-localplt-CFLAGS): Variable removed.
63677         ($(all-built-dso:=.jmprel)): New static pattern rule.
63678         (generated): Add those targets.
63679         (localplt-built-dso): New variable.
63680         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
63682         * elf/check-localplt.c: File removed.
63684         * scripts/check-execstack.awk: New file.
63685         * elf/Makefile ($(objpfx)check-execstack): Target removed.
63686         (check-execstack-CFLAGS): Variable removed.
63687         ($(objpfx)check-execstack.h): Target removed.
63688         ($(objpfx)execstack-default): New target.
63689         (generated): Add that instead of check-execstack.h.
63690         ($(all-built-dso:=.phdr)): New static pattern rule.
63691         (generated): Add those targets.
63692         * elf/check-execstack.c: File removed.
63694         * scripts/check-textrel.awk: New file.
63695         * elf/Makefile ($(objpfx)check-textrel): Target removed.
63696         (check-textrel-CFLAGS): Variable removed.
63697         (all-built-dso): Use := to define.o
63698         ($(all-built-dso:=.dyn)): New static pattern rule.
63699         (generated): Add those targets.
63700         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
63701         * config.make.in (READELF): New substituted variable.
63702         * elf/check-textrel.c: File removed.
63704 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
63706         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
63707         allow.
63708         * conform/data/ctype.h-data [C99-based standards] (isblank):
63709         Expect function.
63710         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
63711         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
63712         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63713         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
63714         Specify type.  Require positive value.
63715         (EILSEQ): Likewise.
63716         (ERANGE): Likewise.
63717         [ISO || POSIX] (EILSEQ): Do not expect.
63718         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
63719         Specify type.  Require positive value.
63720         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
63721         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
63722         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
63723         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
63724         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
63725         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
63726         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
63727         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
63728         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
63729         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
63730         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
63731         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
63732         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
63733         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
63734         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
63735         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
63736         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
63737         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
63738         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
63739         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
63740         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
63741         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
63742         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
63743         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
63744         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
63745         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
63746         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
63747         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
63748         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
63749         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
63750         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
63751         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
63752         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
63753         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
63754         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
63755         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
63756         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
63757         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
63758         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
63759         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
63760         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
63761         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
63762         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
63763         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
63764         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
63765         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
63766         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
63767         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
63768         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
63769         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
63770         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
63771         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
63772         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
63773         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
63774         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
63775         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
63776         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
63777         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
63778         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
63779         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
63780         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
63781         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
63782         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
63783         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
63784         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
63785         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
63786         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
63787         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
63788         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
63789         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
63790         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
63791         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
63792         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
63793         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
63794         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
63795         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
63796         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
63797         Require >= 2.
63798         (FLT_ROUNDS): Expect as macro, not constant.
63799         (FLT_MANT_DIG): Use macro-int-constant.
63800         (DBL_MANT_DIG): Likewise.
63801         (LDBL_MANT_DIG): Likewise.
63802         (FLT_DIG): Likewise.
63803         (DBL_DIG): Likewise.
63804         (LDBL_DIG): Likewise.
63805         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
63806         (DBL_MIN_EXP): Likewise.
63807         (LDBL_MIN_EXP): Likewise.
63808         (FLT_MAX_EXP): Use macro-int-constant.
63809         (DBL_MAX_EXP): Likewise.
63810         (LDBL_MAX_EXP): Likewise.
63811         (FLT_MAX_10_EXP): Likewise.
63812         (DBL_MAX_10_EXP): Likewise.
63813         (LDBL_MAX_10_EXP): Likewise.
63814         (FLT_MAX): Use macro-constant.
63815         (DBL_MAX): Likewise.
63816         (LDBL_MAX): Likewise.
63817         (FLT_EPSILON): Use macro-constant.  Give upper bound.
63818         (DBL_EPSILON): Likewise.
63819         (LDBL_EPSILON): Likewise.
63820         (FLT_MIN): Likewise.
63821         (DBL_MIN): Likewise.
63822         (LDBL_MIN): Likewise.
63823         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
63824         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
63825         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
63826         [ISO11] (FLT_HAS_SUBNORM): Likewise.
63827         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
63828         [ISO11] (DBL_DECIMAL_DIG): Likewise.
63829         [ISO11] (FLT_DECIMAL_DIG): Likewise.
63830         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
63831         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
63832         [ISO11] (FLT_TRUE_MIN): Likewise.
63833         [ISO11] (LDBL_TRUE_MIN): Likewise.
63834         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63835         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
63836         (SCHAR_MIN): Use macro-int-constant.  Specify type.
63837         (SCHAR_MAX): Likewise.
63838         (UCHAR_MAX): Likewise.
63839         (CHAR_MIN): Likewise.
63840         (CHAR_MAX): Likewise.
63841         (MB_LEN_MAX): Use macro-int-constant.
63842         (SHRT_MIN): Use macro-int-constant.  Specify type.
63843         (SHRT_MAX): Likewise.
63844         (USHRT_MAX): Likewise.
63845         (INT_MAX): Likewise.
63846         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
63847         bound negative.
63848         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
63849         bound with "U".
63850         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
63851         bound with "L".
63852         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
63853         bound negative.  Suffix upper bound with "L".
63854         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
63855         bound with "UL".
63856         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
63857         Specify type.
63858         [C99-based standards] (LLONG_MAX): Likewise.
63859         [C99-based standards] (ULLONG_MAX): Likewise.
63860         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
63861         == 0.
63862         [ISO11] (max_align_t): Require type.
63863         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63865         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
63866         from $CFLAGS, without defining away __attribute__ calls.
63867         (checknamespace): Use $CFLAGS_namespace.
63869         * conform/conformtest.pl (@keywords): Only include C99 keywords
63870         for standards based on C99 or C11.
63872         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
63873         Disable tests.
63874         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
63875         UNIX98]: Likewise.
63877         * conform/conformtest.pl: Handle "macro-int-constant" and test for
63878         usability of symbols in #if.
63880         * conform/conformtest.pl: If macro or constant types start
63881         "promoted:", expect the symbol to be of the following type
63882         promoted by the integer promotions.
63884         * conform/conformtest.pl: Parse all "constant" and "macro" lines
63885         in one place.  Also handle "macro-constant".
63887         * conform/conformtest.pl: Only accept expected macro values with
63888         "==".  Parse all "macro" lines in one place.
63889         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
63891         * conform/conformtest.pl: Handle braced types on "constant" lines
63892         instead of handling "typed-constant".
63893         * conform/data/signal.h-data: Use "constant" instead of
63894         "typed-constant".
63896         * conform/conformtest.pl: Handle "optional-" at start of lines in
63897         one place rather than duplicating several cases.  Handle each
63898         format of "macro" line with initial "optional-".
63900         * conform/conformtest.pl: Only accept expected constant or
63901         optional-constant values with "==".  Parse all "constant" lines in
63902         one place.  Parse all "optional-constant" lines in one place.
63903         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
63904         * conform/data/fmtmsg.h-data: Likewise.
63905         * conform/data/netinet/in.h-data: Likewise.
63906         * conform/data/tar.h-data: Likewise.
63907         * conform/data/limits.h-data: Use "==" form on "constant" and
63908         "optional-constant" lines.
63910         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
63911         Use -std=c99 for XOPEN2K.
63912         (@knownproblems): Remove.
63913         (newtoken): Don't check %isknown.
63915         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
63916         Do not expect macro.
63917         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
63918         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
63919         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
63920         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
63921         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
63922         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
63923         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
63924         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
63925         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
63926         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
63927         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
63928         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
63929         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
63930         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
63931         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
63932         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
63933         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
63934         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
63935         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
63936         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
63937         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
63938         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
63939         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
63940         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
63941         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
63942         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
63943         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
63944         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
63945         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
63946         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
63947         [XPG3] (acosh): Likewise.
63948         [XPG3] (asinh): Likewise.
63949         [XPG3] (atanh): Likewise.
63950         [XPG3] (cbrt): Likewise.
63951         [XPG3] (expm1): Likewise.
63952         [XPG3] (ilogb): Likewise.
63953         [XPG3] (log1p): Likewise.
63954         [XPG3] (logb): Likewise.
63955         [XPG3] (nextafter): Likewise.
63956         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
63957         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
63958         [XPG3] (remainder): Likewise.
63959         [XPG3] (rint): Likewise.
63960         [XPG3 || XPG4 || UNIX98] (round): Likewise.
63961         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
63962         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
63963         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
63964         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
63965         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
63966         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
63967         [UNIX98 || XOPEN2K] (scalb): Expect.
63968         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
63969         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
63970         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
63971         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
63972         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
63973         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
63974         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
63975         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
63976         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
63977         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
63978         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
63979         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
63980         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
63981         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
63982         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
63983         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
63984         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
63985         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
63986         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
63987         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
63988         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
63989         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
63990         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
63991         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
63992         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
63993         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
63994         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
63995         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
63996         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
63997         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
63998         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
63999         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
64000         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
64001         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
64002         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
64003         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
64004         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
64005         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
64006         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
64007         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
64008         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
64009         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
64010         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
64011         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
64012         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
64013         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
64014         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
64015         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
64016         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
64017         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
64018         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
64019         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
64020         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
64021         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
64022         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
64023         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
64024         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
64025         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
64026         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
64027         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
64028         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
64029         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
64030         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
64031         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
64032         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
64033         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
64034         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
64035         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
64036         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
64037         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
64038         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
64039         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
64040         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
64041         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
64042         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
64043         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
64044         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
64045         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
64046         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
64047         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
64048         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
64049         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
64050         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
64051         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
64052         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
64053         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
64054         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
64055         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
64056         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
64057         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
64058         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
64059         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
64060         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
64061         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
64062         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
64063         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
64064         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
64065         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
64066         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
64067         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
64068         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
64069         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
64070         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
64071         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
64072         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
64073         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
64074         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
64075         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
64076         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
64077         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
64078         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
64079         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
64080         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
64081         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
64082         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
64083         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
64084         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
64085         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
64086         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
64087         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
64088         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
64089         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
64090         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
64091         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
64092         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
64093         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
64094         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
64095         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
64096         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
64097         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
64098         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
64099         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
64100         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
64101         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
64102         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
64103         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
64104         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
64106         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
64107         _XOPEN_SOURCE_EXTENDED for XPG4.
64109         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
64111         * Makeconfig (localtime): Remove variable.
64112         (inst_localtime-file): Likewise.
64114 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
64116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
64117         Update.
64118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64119         Update.
64120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
64121         Update.
64122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
64123         Update.
64124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
64125         Update.
64126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
64127         Update.
64128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64129         Update.
64130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
64131         Update.
64132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
64133         Update.
64135 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
64137         [BZ #2550]
64138         [BZ #2570]
64139         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
64140         comparisons to determine direction to adjust input.
64141         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
64142         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
64143         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
64144         Likewise.
64145         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
64146         Likewise.
64147         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
64148         Likewise.
64149         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
64150         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
64151         Likewise.
64152         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
64153         Likewise.
64154         * math/libm-test.inc (nexttoward_test): Add more tests.
64156 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
64158         [BZ #14040]
64159         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
64160         in version GLIBC_2.1, not GLIBC_2.0.
64161         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
64162         Likewise.
64164 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
64166         [BZ #13942]
64167         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
64168         (1 - x) * (1 + x).
64169         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
64170         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
64171         * math/libm-test.inc (acos_test): Add more tests.
64172         (asin_test): Likewise.
64173         * sysdeps/i386/fpu/libm-test-ulps: Update.
64174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64176         [BZ #14034]
64177         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
64178         of square root.
64179         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
64180         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
64181         * math/libm-test.inc (acos_test_tonearest): New function.
64182         (acos_test_towardzero): Likewise.
64183         (acos_test_downward): Likewise.
64184         (acos_test_upward): Likewise.
64185         (asin_test_tonearest): Likewise.
64186         (asin_test_towardzero): Likewise.
64187         (asin_test_downward): Likewise.
64188         (asin_test_upward): Likewise.
64189         (main): Call the new functions.
64190         * sysdeps/i386/fpu/libm-test-ulps: Update.
64191         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64193         [BZ #13884]
64194         [BZ #13924]
64195         * math/e_exp10.c: Include <float.h>.
64196         (__ieee754_exp10): Handle underflow here rather than multiplying
64197         large negative argument by M_LN10.
64198         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
64199         of __ieee754_expf.
64200         * math/e_exp10l.c: Include <float.h>.
64201         (__ieee754_exp10l): Handle underflow here rather than multiplying
64202         large negative argument by M_LN10l.
64203         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
64204         spurious overflow exception on underflow.
64206 2012-04-29  Marek Polacek  <polacek@redhat.com>
64208         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
64209         (__fortify_function): New macro.
64210         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
64211         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
64212         __extern_always_inline.
64213         * libio/bits/stdio2.h: Likewise.
64214         * libio/bits/stdio.h: Likewise.
64215         * string/string.h: Likewise.
64216         * string/bits/string3.h: Likewise.
64217         * include/stdio.h: Likewise.
64218         * stdlib/bits/stdlib.h: Likewise.
64219         * stdlib/stdlib.h: Likewise.
64220         * rt/bits/mqueue2.h: Likewise.
64221         * rt/mqueue.h: Likewise.
64222         * posix/bits/unistd.h: Likewise.
64223         * posix/unistd.h: Likewise.
64224         * io/bits/poll2.h: Likewise.
64225         * io/bits/fcntl2.h: Likewise.
64226         * io/fcntl.h: Likewise.
64227         * io/sys/poll.h: Likewise.
64228         * misc/bits/syslog.h: Likewise.
64229         * misc/bits/syslog-ldbl.h: Likewise.
64230         * misc/sys/syslog.h: Likewise.
64231         * socket/bits/socket2.h: Likewise.
64232         * socket/sys/socket.h: Likewise.
64233         * debug/tst-chk1.c: Likewise.
64234         * wcsmbs/bits/wchar2.h: Likewise.
64235         * wcsmbs/bits/wchar-ldbl.h: Likewise.
64236         * wcsmbs/wchar.h: Likewise.
64238 2012-04-29  Andreas Jaeger  <aj@suse.de>
64240         * Makerules (tests): Remove enable-check-abi protection.
64241         (check-abi-warn): Remove.
64242         (check-abi-%): Remove check-abi-warn usage.
64244         * configure.in: Remove check-abi configure option.
64245         * configure: Regenerated.
64246         * config.make.in (enable-check-abi): Remove.
64248 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
64250         [BZ #14033]
64251         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
64252         double functions to double *_finite functions.
64254         [BZ #13941]
64255         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
64256         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
64257         LDBL_MIN_EXP.
64258         * stdio-common/Makefile (tests): Add tst-sprintf3.
64259         * stdio-common/tst-sprintf3.c: New file.
64261         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
64262         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
64264 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
64266         * conform/conformtest.pl: Remove duplicate typed-constant
64267         handling.
64269 2012-04-28  David S. Miller  <davem@davemloft.net>
64271         * Makerules (%.abilist): Add vpath on sysdep_dirs.
64272         (check-abi-%): Remove AWK script prerequisite and explicit
64273         abilist directory.
64274         (check-abi): Rewrite to just diff the symlist with the abilist.
64275         (config-tls, config-abi-config): Delete, no longer used.
64276         (update-abi-%): Remove AWK script and explicit abilist directory.
64277         (update-abi): Rewrite to simply compare and conditionally copy the
64278         symlist and the sysdep abilist file.  Remove update-abi-config
64279         checks.
64280         * abilist/ld.abilist: Remove.
64281         * abilist/libBrokenLocale.abilist: Remove.
64282         * abilist/libanl.abilist: Remove.
64283         * abilist/libcrypt.abilist: Remove.
64284         * abilist/libdl.abilist: Remove.
64285         * abilist/librt.abilist: Remove.
64286         * abilist/libthread_db.abilist: Remove.
64287         * abilist/libutil.abilist: Remove.
64288         * scripts/extract-abilist.awk: Remove.
64289         * scripts/merge-abilist.awk: Remove.
64290         * sysdeps/generic/libcidn.abilist: New file.
64291         * sysdeps/generic/libnss_compat.abilist: New file.
64292         * sysdeps/generic/libnss_db.abilist: New file.
64293         * sysdeps/generic/libnss_dns.abilist: New file.
64294         * sysdeps/generic/libnss_files.abilist: New file.
64295         * sysdeps/generic/libnss_hesiod.abilist: New file.
64296         * sysdeps/generic/libnss_nis.abilist: New file.
64297         * sysdeps/generic/libnss_nisplus.abilist: New file.
64298         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
64299         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
64300         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
64301         file.
64302         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
64303         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
64304         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
64305         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
64306         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
64307         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
64308         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
64309         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
64310         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
64311         file.
64312         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
64313         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
64314         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
64315         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
64316         file.
64317         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
64318         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
64319         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
64320         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
64321         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
64322         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
64323         file.
64324         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
64325         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
64326         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
64327         file.
64328         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
64329         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
64330         New file.
64331         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
64332         New file.
64333         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
64334         New file.
64335         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
64336         New file.
64337         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
64338         New file.
64339         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
64340         New file.
64341         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
64342         New file.
64343         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
64344         New file.
64345         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
64346         New file.
64347         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
64348         New file.
64349         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
64350         New file.
64351         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
64352         New file.
64353         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
64354         New file.
64355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
64356         file.
64357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
64358         New file.
64359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
64360         New file.
64361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
64362         file.
64363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
64364         New file.
64365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
64366         New file.
64367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
64368         file.
64369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
64370         New file.
64371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
64372         New file.
64373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
64374         New file.
64375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
64376         New file.
64377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
64378         New file.
64379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
64380         New file.
64381         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
64382         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
64383         file.
64384         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
64385         New file.
64386         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
64387         file.
64388         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
64389         file.
64390         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
64391         file.
64392         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
64393         file.
64394         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
64395         file.
64396         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64397         New file.
64398         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
64399         file.
64400         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
64401         file.
64402         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
64403         New file.
64404         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
64405         file.
64406         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
64407         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
64408         file.
64409         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
64410         New file.
64411         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
64412         file.
64413         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
64414         file.
64415         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
64416         file.
64417         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
64418         file.
64419         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
64420         file.
64421         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64422         New file.
64423         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
64424         file.
64425         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
64426         file.
64427         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
64428         New file.
64429         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
64430         file.
64431         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
64432         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
64433         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
64434         file.
64435         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
64436         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
64437         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
64438         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
64439         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
64440         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
64441         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
64442         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
64443         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
64444         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
64445         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
64446         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
64447         file.
64448         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
64449         New file.
64450         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
64451         file.
64452         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
64453         file.
64454         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
64455         file.
64456         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
64457         file.
64458         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
64459         file.
64460         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
64461         New file.
64462         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
64463         New file.
64464         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
64465         file.
64466         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
64467         New file.
64468         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
64469         file.
64470         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
64471         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
64472         file.
64473         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
64474         New file.
64475         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
64476         file.
64477         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
64478         file.
64479         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
64480         file.
64481         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
64482         file.
64483         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
64484         file.
64485         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
64486         New file.
64487         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
64488         New file.
64489         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
64490         file.
64491         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
64492         New file.
64493         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
64494         file.
64496 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
64498         * conform/conformtest.pl: Fix typo in handling typed-constant from
64499         allow-header.
64501 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
64503         * README: Cut down references to pre-2.6 Linux kernels and
64504         Linuxthreads.  Update lists of configurations in libc and ports
64505         and sort alphabetically.  Say "or newer" with Linux kernel version
64506         requirements.
64508         * config.h.in [IS_IN_build]: Allow compiling without optimization.
64510 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64512         [BZ #887]
64513         * math/libm-test.inc (logb_test_downward): New test to expose
64514         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
64515         rounding mode.
64517 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
64519         [BZ #14027]
64520         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
64521         to be done.
64522         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
64523         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
64525 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
64527         * sysdeps/unix/i386/brk.S: Remove file.
64528         * sysdeps/unix/i386/dl-brk.S: Likewise.
64529         * sysdeps/unix/i386/pipe.S: Likewise.
64530         * sysdeps/unix/i386/sigreturn.S: Likewise.
64531         * sysdeps/unix/i386/syscall.S: Likewise.
64532         * sysdeps/unix/i386/vfork.S: Likewise.
64533         * sysdeps/unix/i386/wait.S: Likewise.
64535         * sysdeps/unix/common/tcsendbrk.c: Move to ...
64536         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
64538         * configure.in (arm*-none*): Do not allow without
64539         --enable-hacker-mode.
64540         (netbsd*): Remove case setting base_os.
64541         (386bsd*): Likewise.
64542         (freebsd*): Likewise.
64543         (bsdi*): Likewise.
64544         (osf*): Likewise.
64545         (sunos*): Likewise.
64546         (ultrix*): Likewise.
64547         (newsos*): Likewise.
64548         (dynix*): Likewise.
64549         (*bsd*): Likewise.
64550         (sysv*): Likewise.
64551         (isc*): Likewise.
64552         (esix*): Likewise.
64553         (sco*): Likewise.
64554         (minix*): Likewise.
64555         (irix4*): Likewise.
64556         (irix6*): Likewise.
64557         (solaris[2-9]*): Likewise.
64558         (none): Likewise.
64559         * configure: Regenerated.
64561 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64563         [BZ #11521]
64564         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
64565         overflow or cancellation in calculating denominator.
64566         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
64567         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
64568         down expression to avoid unexpected rounding in newer GCCs.
64569         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
64571 2012-04-26  David S. Miller  <davem@davemloft.net>
64573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
64574         long-double compat symbols.
64575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
64576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
64577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
64578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
64579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
64580         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
64581         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
64582         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
64583         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
64584         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
64585         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
64586         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
64587         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
64589 2012-04-25  David S. Miller  <davem@davemloft.net>
64591         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
64592         HWCAP_* values only after the memory barriers have been defined.
64593         (atomic_full_barrier): Define.
64594         (atomic_read_barrier): Define.
64595         (atomic_write_barrier): Define.
64597 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64599         * shlib-versions: Add libgcc_s version information.
64600         * sysdeps/generic/libgcc_s.h: Remove.
64601         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
64602         libgcc_s.h.
64603         * sysdeps/gnu/unwind-resume.c: Likewise.
64604         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
64606 2012-04-25  David S. Miller  <davem@davemloft.net>
64608         * sysdeps/unix/sparc/brk.S: Delete.
64609         * sysdeps/unix/sparc/dl-brk.S: Delete.
64610         * sysdeps/unix/sparc/pipe.S: Delete.
64611         * sysdeps/unix/sparc/sysdep.S: Delete.
64612         * sysdeps/unix/sparc/sysdep.h: Delete.
64613         * sysdeps/unix/sparc/vfork.S: Delete.
64614         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
64615         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
64616         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
64617         (ret_ERRVAL, r0, r1, MOVE): Define.
64618         (JUMPTARGET): Remove.
64619         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
64620         sysdeps/unix/sparc/sysdep.h
64621         (ENTRY, END): Remove.
64622         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
64624 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
64626         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
64627         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
64628         -DIS_IN_build.
64630         * timezone/README: Update upstream location and email address for
64631         tzcode and tzdata.
64632         * timezone/zdump.c: Update from tzcode 2012b.
64633         * timezone/zic.c: Likewise.
64635         * configure.in (libc_cv_as_needed): Remove test.
64636         * configure: Regenerated.
64637         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
64638         conditional definition.
64639         [$(have-as-needed) != yes] (no-as-needed): Likewise.
64640         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
64641         * config.make.in (have-as-needed): Remove variable.
64643 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
64644             Paul Pluzhnikov  <ppluzhnikov@google.com>
64646         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
64647         strings correctly.
64649 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
64651         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
64652         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
64653         * sysdeps/sh/strlen.S: Likewise.
64655 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
64657         * sysdeps/unix/fork.S: Remove file.
64658         * sysdeps/unix/i386/fork.S: Likewise.
64659         * sysdeps/unix/sparc/fork.S: Likewise.
64661         * sysdeps/unix/system.c: Remove file.
64662         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
64664         * sysdeps/unix/getegid.S: Remove file.
64665         * sysdeps/unix/geteuid.S: Likewise.
64667 2012-04-24  Roland McGrath  <roland@hack.frob.com>
64669         * scripts/check-localplt.awk: New file.
64670         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
64671         of diff.
64672         * scripts/data/localplt-generic.data: Add a comment.
64674         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
64675         NODE when __dir_mkfile failed.
64676         * sysdeps/mach/hurd/symlinkat.c: Likewise.
64677         Reported by Ludovic Courtès <ludo@gnu.org>.
64679 2012-04-24  Andreas Jaeger  <aj@suse.de>
64681         * Makerules (common-clean): Also remove gen-as-const-headers
64682         files.
64684 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
64686         * Makerules (native-compile): Do not change working directory for
64687         build.  Use $(OUTPUT_OPTION) in command.
64688         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
64690 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64692         [BZ #13886]
64693         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
64694         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
64695         * math/libm-test.inc (floor_test): Add more tests.
64696         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
64698 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
64700         * sysdeps/unix/getdents.c: Remove file.
64701         * sysdeps/unix/sysv/getdents.c: Likewise.
64702         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
64704         * sysdeps/unix/syscalls.list (madvise): Add syscall from
64705         sysdeps/unix/mman/syscalls.list.
64706         (mmap): Likewise.
64707         (mprotect): Likewise.
64708         (msync): Likewise.
64709         (munmap): Likewise.
64710         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
64711         * sysdeps/unix/mman/syscalls.list: Remove.
64712         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
64714         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
64715         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
64716         * configure: Regenerated.
64717         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
64718         $(libgcc_s_suffix).
64719         * config.make.in (libgcc_s_suffix): Remove variable.
64721 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
64723         * sysdeps/unix/sysv/gethostname.c: Move to ...
64724         * sysdeps/posix/gethostname.c: ... here.
64726         * sysdeps/unix/execve.S: Remove file.
64728         * sysdeps/unix/_exit.S: Remove file.
64730 2012-04-23  Andreas Jaeger  <aj@suse.de>
64732         [BZ #13739]
64733         * manual/Makefile: Remove make dist support, there's no
64734         need for a stand-alone documentation tar ball.
64735         (TEXI2DVI): Define always, it's not in Makeconfig.
64736         (dist): Removed.
64737         (tar-it): Removed.
64738         (edition): Removed.
64739         (glibc-doc-$(edition).tar): Removed
64740         (%.Z): Removed.
64741         (%.gz): Removed.
64742         (%.uu): Removed.
64743         (ETAGS): Remove, it's in Makeconfig.
64744         (move-if-change): Remove, it's in Makeconfig.
64746 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
64748         [BZ #13970]
64749         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
64750         (strtod, strtof, strtold, strtol, strtoul, strtoq)
64751         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
64752         (strtod_l, strtof_l, strtold_l): Remove __wur.
64753         It is not necessarily an error to ignore strtol's return value.
64754         One can reliably look at the stored endptr to decide whether
64755         the number had valid syntax.
64757 2012-04-21  Andreas Jaeger  <aj@suse.de>
64759         [BZ #13739]
64760         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
64762 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
64764         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
64765         * sysdeps/unix/sysv/Versions: Remove file.
64767 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
64769         [BZ #13927]
64770         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64772 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
64774         [BZ #7064]
64775         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
64776         version from __vm86.
64778 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
64780         * sysdeps/unix/common/lxstat.c: Remove file.
64781         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
64783         * sysdeps/unix/sysv/Makefile: Remove file.
64785         * sysdeps/unix/sysv/direct.h: Remove file.
64787         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
64788         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
64789         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
64790         * sysdeps/unix/sysv/bits/signum.h: Likewise.
64791         * sysdeps/unix/sysv/bits/stat.h: Likewise.
64792         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
64793         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
64795         * sysdeps/unix/sysv/setrlimit.c: Remove file.
64797         * sysdeps/unix/xmknod.c: Remove file.
64798         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
64800         * sysdeps/unix/sysv/settimeofday.c: Remove file.
64802         * sysdeps/unix/sysv/i386/time.S: Remove file.
64804         * sysdeps/unix/fxstat.c: Remove file.
64805         * sysdeps/unix/xstat.c: Likewise.
64806         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
64808         * sysdeps/unix/sysv/sigaction.c: Remove file.
64810         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
64811         (sysdep_headers): Remove variable.
64812         [termio.h not in sysdep_headers] (generated): Likewise.
64813         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
64814         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
64815         * sysdeps/unix/sysv/tcdrain.c: Likewise.
64816         * sysdeps/unix/sysv/tcflow.c: Likewise.
64817         * sysdeps/unix/sysv/tcflush.c: Likewise.
64818         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
64819         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
64820         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
64821         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
64822         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
64824         * sysdeps/unix/siglist.c: Remove file.
64826         * sysdeps/unix/getppid.S: Remove file.
64828         * sysdeps/unix/mkdir.c: Remove file.
64829         * sysdeps/unix/rmdir.c: Likewise.
64831 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
64833         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
64834         ERR_MAX value.
64835         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
64836         errlist-compat value.
64838 2012-04-18  David S. Miller  <davem@davemloft.net>
64840         * sysdeps/generic/memcopy.h (reg_char): Delete.
64841         * debug/strcat_chk.c: Use char, not reg_char.
64842         * debug/strcpy_chk.c: Likewise.
64843         * debug/strncat_chk.c: Likewise.
64844         * debug/strncpy_chk.c: Likewise.
64845         * string/memchr.c: Likewise.
64846         * string/memrchr.c: Likewise.
64847         * string/rawmemchr.c: Likewise.
64848         * string/strcat.c: Likewise.
64849         * string/strchr.c: Likewise.
64850         * string/strchrnul.c: Likewise.
64851         * string/strcmp.c: Likewise.
64852         * string/strcpy.c: Likewise.
64853         * string/strncat.c: Likewise.
64854         * string/strncmp.c: Likewise.
64855         * string/strncpy.c: Likewise.
64857 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
64859         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
64860         __builtin_memcopy is called when src and dest ranges are known to not
64861         overlap.
64863 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
64865         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
64866         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
64867         fwd_align_merge macro call.
64868         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
64869         bwd_align_merge macro call.
64870         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
64872 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
64874         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
64875         bwd_align_merge macros.
64876         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
64877         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
64878         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
64880 2012-04-18  David S. Miller  <davem@davemloft.net>
64882         * sysdeps/sparc/sparc64/memcopy.h: Delete.
64884 2012-04-18  Andreas Jaeger  <aj@suse.de>
64886         [BZ# 6794]
64887         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
64888         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
64889         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
64891         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
64892         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
64893         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
64895         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
64896         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
64897         Adjust for changed ldbl-128 files.
64899         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
64900         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
64901         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
64903 2012-04-17  David S. Miller  <davem@davemloft.net>
64905         * sysdeps/sparc/sparc32/memcopy.h: Delete.
64907 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
64909         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
64910         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
64911         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
64912         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
64913         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
64914         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
64916 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64918         [BZ #6794]
64919         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
64920         * math/libm-test.inc: Add ilogb errno and exception tests.
64921         * math/w_ilogb.c: New file: ilogb wrapper.
64922         * math/w_ilogbf.c: New file: ilogbf wrapper.
64923         * math/w_ilogbl.c: New file: ilogbl wrapper.
64924         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
64925         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
64926         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
64927         exception being thrown with 0.0 as argument.
64928         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
64929         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
64930         exception being thrown with 0.0 as argument.
64931         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
64932         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
64933         exception being thrown with 0.0 as argument.
64934         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
64935         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
64936         exception being thrown with 0.0 as argument.
64937         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
64938         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
64939         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
64940         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
64941         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
64942         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
64943         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
64944         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
64945         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
64947 2012-04-17  Petr Baudis  <pasky@ucw.cz>
64949         * include/sys/uio.h: Change __vector to __iovec to avoid clash
64950         with altivec.
64952 2012-04-16  Marek Polacek  <polacek@redhat.com>
64954         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
64956 2012-04-16  Marek Polacek  <polacek@redhat.com>
64958         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
64959         operands of fdivp instruction.
64961 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
64963         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
64964         * elf/tst-auditmod3b.c: Likewise.
64965         * elf/tst-auditmod4b.c: Likewise.
64966         * elf/tst-auditmod5b.c: Likewise.
64967         * elf/tst-auditmod6b.c: Likewise.
64968         * elf/tst-auditmod6c.c: Likewise.
64969         * elf/tst-auditmod7b.c: Likewise.
64970         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
64971         * sysdeps/x86_64/preconfigure.in: Likewise.
64972         * sysdeps/x86_64/preconfigure: Regenerated.
64974 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
64976         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
64977         __ILP32__.
64979 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
64981         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64982         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
64984 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
64986         [BZ #13973]
64987         * locale/iso-639.def: Fix gl language name. Spotted by
64988         Yaron Shahrabani.
64990 2012-04-12  Roland McGrath  <roland@hack.frob.com>
64992         [BZ #2074]
64993         * libio/libio.h (__io_write_fn): Update comment.
64995 2012-04-12  Petr Baudis  <pasky@ucw.cz>
64997         [BZ #2074]
64998         * stdio.texi (Hook Functions): The user provided writer function
64999         is not allowed to return -1.
65001 2012-04-11  David S. Miller  <davem@davemloft.net>
65003         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65005 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
65007         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
65008         Add a leading slash to rtkaio.
65010 2012-04-11  Jim Meyering  <meyering@redhat.com>
65012         [BZ #11959]
65013         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
65014         It is not necessarily an error to ignore fwrite's return
65015         value.  One can reliably use ferror to test for errors after
65016         the fact.
65018 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
65020         * bits/types.h (__snseconds_t): New type.
65021         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
65023         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
65024         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65025         (__SNSECONDS_T_TYPE): Likewise.
65026         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65027         (__SNSECONDS_T_TYPE): Likewise.
65028         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65029         (__SNSECONDS_T_TYPE): Likewise.
65031 2012-04-10  Andreas Jaeger  <aj@suse.de>
65033         [BZ #2636]
65034         * manual/time.texi (Processor Time): Return type of times is
65035         elapsed real time since an arbitrary point in the past.
65036         (CPU Time): Move CLK_TCK from here...
65037         (Processor Time): ...to here.  Correct description.
65038         * manual/conf.texi (Constants for Sysconf): Correct description of
65039         _SC_CLK_TCK.
65041 2012-04-10  David S. Miller  <davem@davemloft.net>
65043         [BZ #13967]
65044         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
65045         where the is a gap between DT_REL(A) and DT_JMPREL.
65047 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
65049         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
65050         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
65051         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
65053 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
65055         * elf/dl-support.c (_dl_inhibit_cache): New variable.
65056         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
65057         (dl_main): Handle --inhibit-cache.
65058         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
65059         _dl_inhibit_cache.
65060         * elf/dl-load.c (_dl_map_object): Use it.
65061         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
65063 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
65065         [BZ #13872]
65066         * sysdeps/i386/fpu/e_powl.S (p78): New object.
65067         (__ieee754_powl): Saturate large exponents rather than testing for
65068         overflow of y*log2(x).
65069         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65070         * math/libm-test.inc (pow_test): Do not permit spurious overflow
65071         exceptions.
65073         [BZ #11521]
65074         * math/s_ctan.c: Include <float.h>.
65075         (__ctan): Avoid internal overflow or cancellation in calculating
65076         denominator.
65077         * math/s_ctanf.c: Likewise.
65078         * math/s_ctanl.c: Likewise.
65079         * math/s_ctanh.c: Likewise.
65080         * math/s_ctanhf.c: Likewise.
65081         * math/s_ctanhl.c: Likewise.
65082         * math/libm-test.inc (ctan_test): Add more tests.
65083         (ctanh_test): Likewise.
65084         * sysdeps/i386/fpu/libm-test-ulps: Update.
65085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65087 2012-04-09  Andreas Jaeger  <aj@suse.de>
65089         [BZ #6894]
65090         * manual/filesys.texi (Directory Entries): Mention that d_namlen
65091         is an optional BSD extension.
65093         [BZ #10254]
65094         * manual/stdio.texi (Opening Streams): Document additional fopen
65095         parameters.
65097 2012-04-09  Roland McGrath  <roland@hack.frob.com>
65099         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
65100         %eax without telling the compiler.
65102 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
65104         [BZ # 13963]
65105         * manual/install.texi: Use sourceware.org.
65107 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
65109         [BZ #13873]
65110         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
65111         (__ieee754_pow): Generate overflow and underflow using huge*huge
65112         and tiny*tiny rather than just returning constant infinity or zero
65113         for large exponents.
65114         * math/libm-test.inc (pow_test): Require overflow exceptions for
65115         applicable cases of large exponents.
65117         [BZ #706]
65118         * sysdeps/i386/fpu/e_pow.S (p10): New object.
65119         (__ieee754_pow): Use iterative multiplication algorithm only for
65120         integer exponents with absolute value below 1024.  Check for odd
65121         integer exponents when using algorithm for real exponents.
65122         * math/libm-test.inc (pow_test): Add more tests.
65123         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65125 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
65127         [BZ #13705]
65128         * math/libm-test.inc (exp_test): Do not allow overflow exception
65129         on underflow test.
65131 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
65133         [BZ #13705]
65134         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
65135         instead of __kernel_standard_f.
65137 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
65139         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
65140         * sysdeps/x86_64/memset_chk.S: Likewise.
65142 2012-04-08  Andreas Jaeger  <aj@suse.de>
65144         [BZ #10153]
65145         * manual/startup.texi (Environment Access): Describe return value
65146         for putenv and setenv.
65148         [BZ #6895]
65149         * manual/filesys.texi (Directory Entries): Add description for
65150         DT_LNK.
65152         [BZ #6890]
65153         * manual/filesys.texi (Directory Entries): Clarify that it's file
65154         system not operating system in the description of DT_UNKNOWN.
65156         [BZ #6578]
65157         * manual/syslog.texi (closelog): Fix reference, it's openlog.
65159 2012-04-08  Stephen Compall  <s11@member.fsf.org>
65161         [BZ #6649]
65162         * manual/llio.texi (Opening and Closing Files): Add cross
65163         reference to explain mode argument.
65165 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
65167         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
65168         * sysdeps/x86_64/memset_chk.S: Likewise.
65170 2012-04-07  David S. Miller  <davem@davemloft.net>
65172         * elf/elf.h (R_SPARC_WDISP10): Define.
65173         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
65174         R_SPARC_SIZE32.
65175         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
65176         R_SPARC_SIZE64 and R_SPARC_H34.
65178 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
65180         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
65181         conditions and remove no longer applicable assertion.
65183 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
65185         * bits/byteswap.h: Include <features.h>.
65186         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
65187         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
65189 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
65191         * bits/byteswap.h (__bswap_16): Removed.
65192         Include <bits/byteswap-16.h> to get __bswap_16.
65193         * sysdeps/i386/bits/byteswap.h: Likewise.
65194         * sysdeps/s390/bits/byteswap.h: Likewise.
65195         * sysdeps/x86_64/bits/byteswap.h: Likewise.
65196         * bits/byteswap-16.h: New file.
65197         * sysdeps/i386/bits/byteswap-16.h: Likewise.
65198         * sysdeps/s390/bits/byteswap-16.h: Likewise.
65199         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
65200         * string/Makefile (headers): Add bits/byteswap-16.h.
65202 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
65204         [BZ #13895]
65205         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
65206         extra indirection.
65207         * nss/Makefile (tests-static, tests): Add tst-nss-static.
65208         * nss/tst-nss-static.c: New.
65210 2012-04-06  Robert Millan  <rmh@gnu.org>
65212         [BZ #6486]
65213         * manual/llio.texi (File Position Primitive): lseek
65214         refers to WHENCE when it really means OFFSET.
65216 2012-04-06  Andreas Jaeger  <aj@suse.de>
65218         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
65219         strncmp declarations.
65221         * abilist/libc.abilist: Add __poll and __ppoll.
65223 2012-04-05  David S. Miller  <davem@davemloft.net>
65225         * scripts/check-local-headers.sh: Accept a host triplet in the
65226         path matched by the exclude regexp.
65228         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
65229         definition.
65230         * sysdeps/powerpc/powerpc32/dl-machine.h
65231         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
65232         * sysdeps/s390/s390-32/dl-machine.h
65233         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
65234         * sysdeps/sparc/sparc32/dl-machine.h
65235         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
65236         * sysdeps/sparc/sparc64/dl-machine.h
65237         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
65239         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
65240         lazy binding.
65241         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
65242         undefined symbol errors.
65244         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
65245         DT_NEEDED entries.
65247 2012-04-05  Michael Matz  <matz@suse.de>
65249         [BZ #13592]
65250         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
65252 2012-04-05  Andreas Jaeger  <aj@suse.de>
65254         [BZ #13908]
65255         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
65256         comment.
65258 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65260         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
65261         which ROUND is no valid rounding mode.
65263 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65265         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
65266         read again.
65267         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
65269 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65271         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
65272         an exception using FPU order intentionally.
65274 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65276         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
65277         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
65278         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
65279         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
65281 2012-04-05  Simon Josefsson  <simon@josefsson.org>
65283         [BZ #12340]
65284         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
65285         EINVAL when BUFLEN is too smal.
65287 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
65289         [BZ #13553]
65290         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
65291         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
65293 2012-04-03  Andreas Jaeger  <aj@suse.de>
65295         [BZ #13938]
65296         * manual/setjmp.texi (System V contexts): Fix sentence.
65298         [BZ #13926]
65299         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
65300         New macro for this case.
65301         [!__GNUC__] (__bswap_64): New inline function for this case.
65302         * sysdeps/x86_64/bits/byteswap.h: Likewise.
65303         * bits/byteswap.h: Likewise.
65304         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
65305         ull, guard with __GLIBC_HAVE_LONG_LONG.
65307         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
65308         __GLIBC_HAVE_LONG_LONG.
65310         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
65311         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
65313 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
65315         [BZ #13691]
65316         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
65317         inptr and inend, rather than using last_ch.
65319 2012-04-02  David S. Miller  <davem@davemloft.net>
65321         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
65322         * stdio-common/printf-parse.h (read_int): Change return type to
65323         'int', return -1 on INT_MAX overflow.
65324         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
65325         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
65326         overflows INT_MAX.  Check for overflow of in-format-string precision
65327         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
65328         SIZE_MAX not INT_MAX for integer overflow test.
65329         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
65330         skip the construct in the format string but do not record anything.
65331         * stdio-common/bug22.c: Adjust to test both width/prevision
65332         INT_MAX overflow as well as total length INT_MAX overflow.  Check
65333         explicitly for proper errno values.
65335 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
65337         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
65338         CHAR_MAX.
65339         * string/test-strcmp.c [! WIDE]: Likewise.
65340         * time/tst-mktime2.c: Likewise for INT_MAX.
65341         * string/test-string.h: #include <sys/param.h> for MIN.
65343         * csu/init-first.c (__libc_init_first): Call __ctype_init.
65344         * sysdeps/i386/init-first.c (init): Likewise.
65345         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
65346         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
65347         * sysdeps/sh/init-first.c (init): Likewise.
65349 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
65351         * po/ru.po: Update from translation team.
65352         * po/vi.po: Likewise.
65354 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
65356         * resolv/nss_dns/dns-host.c: Merge copyright years.
65358 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65360         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
65361         Optimize memcpy with prefetch if
65362         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
65363         src, dst pointers have unequal 16 byte alignments.
65365 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
65367         [BZ #13928]
65368         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
65369         from a CNAME entry and return the minimum ttl for the query.
65370         (gaih_getanswer_slice): Likewise.
65372 2012-03-30  Jeff Law  <law@redhat.com>
65374         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
65375         due to long keys.
65376         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
65377         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
65379         * resolv/nss_dns/dns-host.c: Update copyright year.
65381 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
65383         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
65384         requests to save a system call.  Fix check that all bytes are sent.
65386         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
65387         comments for sendmmsg.
65389 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65391         [BZ #13691]
65392         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
65393         with only 1 character between 0x0041 and 0x01b0.
65394         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
65395         * wcsmbs/tst-mbsnrtowcs.c: New file.
65397 2012-03-29  David S. Miller  <davem@davemloft.net>
65399         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
65400         small copies by hand.
65402 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65404         [BZ #13761]
65405         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
65406         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
65407         group memberships.
65409 2012-03-28  David S. Miller  <davem@davemloft.net>
65411         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
65412         that branches into memcpy.
65413         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
65414         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
65415         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
65416         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
65417         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
65418         bits.
65419         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
65420         implementation too.
65421         * sysdeps/sparc/mempcpy.S: New file.
65423         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
65424         the IFUNC routine in the libc case.
65425         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
65427         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
65428         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
65429         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
65430         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
65431         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
65432         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
65433         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
65434         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
65436         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
65437         loop to 256 bytes instead of 64 bytes and fix test signedness.
65439         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
65440         * sysdeps/sparc/sparc32/Makefile: rather than here...
65441         * sysdeps/sparc/sparc64/Makefile: and here.
65443 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
65445         * malloc/mallocbug.c: Avoid warnings about unused variables.
65447 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
65449         [BZ #13760]
65450         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
65451         in the right place. Discard and retry query if response is
65452         larger than input buffer size.
65454 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
65456         [BZ #369]
65457         [BZ #2678]
65458         [BZ #3866]
65459         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
65460         x for large integer exponent.
65461         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
65462         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
65463         sign of result as needed afterwards.
65464         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
65465         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
65466         result for underflowing pow the same as for overflow.
65467         (__kernel_standard_l): Handle powl overflow and underflow here
65468         rather than calling __kernel_standard.
65469         * math/libm-test.inc (pow_test): Add more tests.
65471         [BZ #3868]
65472         [BZ #13879]
65473         [BZ #13910]
65474         [BZ #13911]
65475         [BZ #13912]
65476         [BZ #13913]
65477         [BZ #13915]
65478         [BZ #13916]
65479         [BZ #13917]
65480         [BZ #13918]
65481         [BZ #13919]
65482         [BZ #13920]
65483         [BZ #13921]
65484         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
65485         * sysdeps/ieee754/k_standard.c: Include <float.h>.
65486         (__kernel_standard_l): New function.
65487         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
65488         __kernel_standard.
65489         * math/w_acosl.c (__acosl): Likewise.
65490         * math/w_asinl.c (__asinl): Likewise.
65491         * math/w_atan2l.c (__atan2l): Likewise.
65492         * math/w_atanhl.c (__atanhl): Likewise.
65493         * math/w_coshl.c (__coshl): Likewise.
65494         * math/w_exp10l.c (__exp10l): Likewise.
65495         * math/w_exp2l.c (__exp2l): Likewise.
65496         * math/w_fmodl.c (__fmodl): Likewise.
65497         * math/w_hypotl.c (__hypotl): Likewise.
65498         * math/w_j0l.c (__j0l, __y0l): Likewise.
65499         * math/w_j1l.c (__j1l, __y1l): Likewise.
65500         * math/w_jnl.c (__jnl, __ynl): Likewise.
65501         * math/w_lgammal.c (__lgammal): Likewise.
65502         * math/w_log10l.c (__log10l): Likewise.
65503         * math/w_log2l.c (__log2l): Likewise.
65504         * math/w_logl.c (__logl): Likewise.
65505         * math/w_powl.c (__powl): Likewise.
65506         * math/w_remainderl.c (__remainderl): Likewise.
65507         * math/w_scalbl.c (sysv_scalbl): Likewise.
65508         * math/w_sinhl.c (__sinhl): Likewise.
65509         * math/w_sqrtl.c (__sqrtl): Likewise.
65510         * math/w_tgammal.c (__tgammal): Likewise.
65511         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
65512         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
65513         * math/libm-test.inc (acos_test): Add more tests.
65514         (acosh_test): Likewise.
65515         (asin_test): Likewise.
65516         (atanh_test): Likewise.
65517         (exp_test): Likewise.
65518         (exp10_test): Likewise.
65519         (exp2_test): Likewise.
65520         (expm1_test): Likewise.
65521         (lgamma_test): Likewise.
65522         (log_test): Likewise.
65523         (log10_test): Likewise.
65524         (log1p_test): Likewise.
65525         (log2_test): Likewise.
65526         (pow_test): Do not allow some spurious overflow exceptions.
65527         (sqrt_test): Add more tests.
65528         (tgamma_test): Likewise.
65529         (y0_test): Likewise.
65530         (y1_test): Likewise.
65531         (yn_test): Likewise.
65533 2012-03-27  Anton Blanchard  <anton@samba.org>
65535         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
65536         MAP_HUGETLB.
65537         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
65538         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
65539         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
65541 2012-03-27  David S. Miller  <davem@davemloft.net>
65543         * conform/Makefile: Run run-conformtest.sh using $(BASH).
65545         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
65546         have-as-vis3 check.
65548 2012-03-27  Andreas Jaeger  <aj@suse.de>
65550         * sysdeps/x86_64/elf/configure.in: Moved to ...
65551         * sysdeps/x86_64/configure.in: ... here.
65552         * sysdeps/x86_64/elf/start.S: Moved to ...
65553         * sysdeps/x86_64/start.S: ... here.
65554         * sysdeps/x86_64/elf/configure: Delete.
65556         * sysdeps/x86_64/configure.in: Merge contents from
65557         sysdeps/i386/configure.in (without i686 check).
65559         * sysdeps/i386/elf/Versions: Merge into ...
65560         * sysdeps/i386/Versions: ... this.
65561         * sysdeps/i386/elf/Versions: Delete file.
65562         * sysdeps/i386/elf/start.S: Moved to ...
65563         * sysdeps/i386/start.S: ...here.
65564         * sysdeps/i386/elf/configure.in: Merge into...
65565         * sysdeps/i386/configure.in: ...here.
65566         * sysdeps/i386/elf/configure.in: Delete file.
65567         * sysdeps/i386/elf/configure: Delete file.
65569         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
65570         * debug/backtracesyms.c: ... here.
65571         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
65572         * debug/backtracesymsfd.c: ... here.
65573         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
65574         * sysdeps/generic/ifunc-sel.h: ... here.
65576         * sysdeps/unix/i386/start.c: Delete file.
65577         * sysdeps/unix/sparc/start.c: Delete file.
65578         * sysdeps/unix/start.c: Delete file.
65580         * sysdeps/sh/elf/configure.in: Moved to ...
65581         * sysdeps/sh/configure.in: ... here.
65582         * sysdeps/sh/elf/start.S: Moved to ...
65583         * sysdeps/sh/start.S: ... here.
65584         * sysdeps/sh/elf/configure: Delete file.
65586         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
65587         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
65588         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
65589         * sysdeps/powerpc/powerpc64/entry.h: ... here.
65590         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
65591         * sysdeps/powerpc/powerpc64/start.S: here.
65592         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
65593         * sysdeps/powerpc/powerpc64/Makefile: ... this.
65594         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
65595         * sysdeps/powerpc/powerpc64/configure.in: ... this.
65596         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
65598         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
65599         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
65600         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
65601         * sysdeps/powerpc/powerpc32/start.S: ... here.
65602         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
65603         * sysdeps/powerpc/powerpc32/configure.in: ... this.
65604         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
65606         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
65607         * sysdeps/powerpc/ifunc-sel.h: ... here.
65608         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
65609         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
65611         * sysdeps/sparc/elf/configure.in: Moved to ...
65612         * sysdeps/sparc/configure.in: ... here.
65613         * sysdeps/sparc/elf/configure: Delete file.
65614         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
65615         * sysdeps/sparc/sparc32/start.S: ... here.
65616         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
65617         * sysdeps/sparc/sparc64/start.S: ... here.
65618         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
65619         * sysdeps/sparc/sparc32/Makefile: ... this.
65620         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
65621         * sysdeps/sparc/sparc64/Makefile: ... this.
65623         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
65624         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
65625         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
65626         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
65627         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
65628         * sysdeps/s390/s390-32/setjmp.S: ... here.
65629         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
65630         * sysdeps/s390/s390-32/configure.in: ... here.
65631         * sysdeps/s390/s390-32/elf/configure: Delete file.
65632         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
65633         * sysdeps/s390/s390-32/start.S: ... here.
65635         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
65636         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
65637         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
65638         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
65639         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
65640         * sysdeps/s390/s390-64/setjmp.S: ... here.
65641         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
65642         * sysdeps/s390/s390-64/configure.in: ... here
65643         * sysdeps/s390/s390-64/elf/configure: Delete file.
65644         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
65645         * sysdeps/s390/s390-64/start.S: ... here.
65646         * sysdeps/s390/s390-64/elf/configure: Delete.
65648         * configure.in: Remove support for elf directories in sysdeps.
65650         * configure: Regenerated.
65651         * sysdeps/i386/configure: Regenerated.
65652         * sysdeps/powerpc/powerpc32/configure: Regenerated.
65653         * sysdeps/powerpc/powerpc64/configure: Regenerated.
65654         * sysdeps/s390/s390-32/configure: Regenerated.
65655         * sysdeps/s390/s390-64/configure: Regenerated.
65656         * sysdeps/sh/configure: Regenerated.
65657         * sysdeps/sparc/configure: Regenerated.
65658         * sysdeps/x86_64/configure: Regenerated.
65660 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
65662         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65664         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
65665         denormal result into account.
65667 2012-03-25  Roland McGrath  <roland@hack.frob.com>
65669         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
65670         Reported by Allan McRae <allan@archlinux.org>.
65672 2012-03-23  Jeff Law  <law@redhat.com>
65674         * nss/getnssent.c (__nss_getent): Fix typo.
65676 2012-03-23  David S. Miller  <davem@davemloft.net>
65678         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65680 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
65682         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
65683         to pad to uint64_t for each field.
65684         (dl_tls_index): Replace unsigned long with uint64_t.
65686 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
65687         Paul Pluzhnikov  <ppluzhnikov@google.com>
65689         [BZ #6528]
65690         * grp/Makefile (otherlibs): Don't set it.
65691         * inet/Makefile (otherlibs): Likewise.
65692         * login/Makefile (otherlibs): Likewise.
65693         * nscd/Makefile (otherlibs): Likewise.
65694         * posix/Makefile (otherlibs): Likewise.
65695         * pwd/Makefile (otherlibs): Likewise.
65696         * rt/Makefile (otherlibs): Likewise.
65697         * sunrpc/Makefile (otherlibs): Likewise.
65698         * nss/Makefile (otherlibs): Likewise.
65699         Add libnss_files to routines and static-only-routines.
65700         ($(objpfx)getent): Remove rule.
65701         * resolv/Makefile: Add libnss_dns and libresolv to routines and
65702         static-only-routines.
65704 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
65706         [BZ #13892]
65707         * math/s_cexp.c: Include <float.h>.
65708         (__cexp): Handle exp result overflowing not necessarily
65709         overflowing both real and imaginary parts of result.
65710         * math/s_cexpf.c: Likewise.
65711         * math/s_cexpl.c: Likewise.
65712         * math/libm-test.inc (cexp_test): Add more tests.
65713         * sysdeps/i386/fpu/libm-test-ulps: Update.
65714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65716 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
65718         * include/link.h (ELFW): New macro.
65719         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
65720         Replace ELF64_R_TYPE with ELFW(R_TYPE).
65722 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
65724         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
65725         with uint64_t.
65727 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
65729         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
65730         declaration.
65731         (struct La_x32_retval): Likewise.
65733 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
65735         * sysdeps/x86_64/preconfigure.in: New file.
65736         * sysdeps/x86_64/preconfigure: New generated file.
65738 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
65740         [BZ #13824]
65741         * math/e_exp2l.c: Include <float.h>.
65742         (__ieee754_exp2l): Handle overflow and underflow cases
65743         separately.  Only pass fractional part of argument to
65744         __ieee754_expl.
65745         * math/libm-test.inc (exp2_test): Add more tests.
65747         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
65748         negating x to take absolute value.
65749         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
65750         Likewise.
65751         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
65752         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
65753         Likewise.
65754         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
65755         computing low part if x was negated.
65756         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
65758 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
65760         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
65761         la_x32_gnu_pltexit.
65762         (pltexit): Cast int_retval to ptrdiff_t.
65763         * elf/tst-auditmod3b.c: Likewise.
65764         * elf/tst-auditmod4b.c: Likewise.
65765         * elf/tst-auditmod5b.c: Likewise.
65766         * elf/tst-auditmod6b.c: Likewise.
65767         * elf/tst-auditmod6c.c: Likewise.
65768         * elf/tst-auditmod7b.c: Likewise.
65770         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
65771         and x32_gnu_pltexit.
65773         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
65774         __ELF_NATIVE_CLASS.
65775         (La_x32_regs): New macro.
65776         (La_x32_retval): Likewise.
65777         (la_x32_gnu_pltenter): New function prototype.
65778         (la_x32_gnu_pltexit): Likewise.
65780 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
65782         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
65783         exponent.
65785         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65787         * configure.in (libc_cv_cc_nofma): Check for option to disable
65788         generation of FMA instructions.
65789         * configure: Regenerate.
65790         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
65791         * sysdeps/ieee754/dbl-64/Makefile: New file.
65792         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
65793         Remove brandred-fma4.
65794         (CFLAGS-brandred-fma4.c): Remove.
65795         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
65796         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
65797         define.
65798         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
65799         define.
65801 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
65803         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
65804         LLONG_MAX != LONG_MAX.
65805         (_itoa_word): Use _ITOA_WORD_TYPE on value.
65806         (_fitoa_word): Likewise.
65807         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
65808         LLONG_MAX != LONG_MAX.
65809         * stdio-common/_itowa.h: Include <_itoa.h>.
65810         (_itowa_word): Use _ITOA_WORD_TYPE on value.
65811         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
65812         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
65813         only if not defined.
65814         (_ITOA_WORD_TYPE): Likewise.
65815         (_itoa_word): Use _ITOA_WORD_TYPE on value.
65816         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
65818 2012-03-21  David S. Miller  <davem@davemloft.net>
65820         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65822 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
65824         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
65825         of x86_64 when setting libc_cv_slibdir, libdir and
65826         libc_cv_localedir.
65827         * sysdeps/unix/sysv/linux/configure: Regenerated.
65829 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
65831         * manual/lang.texi (Old Varargs): Remove section.
65832         (How Variadic): Update menu.
65833         (va_start): Do not mention varargs.h.
65835 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
65836             Joseph Myers  <joseph@codesourcery.com>
65838         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
65839         link test.
65840         * configure: Regenerated.
65842 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
65844         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
65845         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
65846         conformtest.pl
65848 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
65850         * NOTES: Remove.
65851         * Makefile (files-for-dist): Remove NOTES.
65852         (NOTES): Remove rule.
65853         * README: Don't refer to NOTES.
65854         * manual/creature.texi: Don't include macros.texi.
65855         * manual/intro.texi (creature.texi): Remove comment referring to
65856         NOTES.
65858         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
65859         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
65860         * configure: Regenerated.
65861         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
65862         LIBC_TRY_CC_OPTION.
65863         (libc_cv_as_i686): Likewise.
65864         (libc_cv_cc_avx): Likewise.
65865         (libc_cv_cc_sse2avx): Likewise.
65866         (libc_cv_cc_fma4): Likewise.
65867         (libc_cv_cc_novzeroupper): Likewise.
65868         * sysdeps/i386/configure: Regenerated.
65870         [BZ #13883]
65871         * sysdeps/i386/fpu/s_cexp.S: Remove.
65872         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
65873         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
65874         * math/libm-test.inc (cexp_test): Add more tests.
65875         * sysdeps/i386/fpu/libm-test-ulps: Update.
65876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65878 2012-03-21  Allan McRae  <allan@archlinux.org>
65880         * timezone/Makefile: Do not install iso3166.tab and zone.tab
65882 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
65884         [BZ #13871]
65885         * math/w_exp2.c: Do not include <float.h>.
65886         (o_threshold, u_threshold): Remove.
65887         (__exp2): Calculate result before checking finiteness and calling
65888         __kernel_standard.
65889         * math/w_exp2f.c: Likewise.
65890         * math/w_exp2l.c: Likewise.
65891         * math/libm-test.inc (exp2_test): Require overflow exception for
65892         1e6 input.
65894         [BZ #3866]
65895         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
65896         range of signed 64-bit integers before using fistpll.  Remove
65897         checks for whether integers fit in mantissa bits.
65898         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
65899         the range of signed 32-bit integers before using fistpl.  Remove
65900         checks for whether integers fit in mantissa bits.
65901         * sysdeps/i386/fpu/e_powl.S (p64): New object.
65902         (__ieee754_powl): Test for y outside the range of signed 64-bit
65903         integers before using fistpll.  Reduce 64-bit values to 63-bit
65904         ones as needed.
65905         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
65906         divide-by-zero is raised for zero to large negative powers.
65907         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
65908         (__ieee754_powl): Test for y outside the range of signed 64-bit
65909         integers before using fistpll.  Reduce 64-bit values to 63-bit
65910         ones as needed.
65911         * math/libm-test.inc (pow_test): Add more tests.
65913 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65915         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
65916         <stdio-common/_itoa.h>.
65917         * debug/segfault.c: Likewise.
65918         * elf/dl-cache.c: Likewise.
65919         * elf/dl-minimal.c: Likewise.
65920         * elf/dl-misc.c: Likewise.
65921         * elf/dl-sysdep.c: Likewise.
65922         * elf/dl-version.c: Likewise.
65923         * elf/rtld.c: Likewise.
65924         * hurd/hurdsock.c: Likewise.
65925         * hurd/lookup-retry.c: Likewise.
65926         * malloc/malloc.c: Likewise.
65927         * malloc/mtrace.c: Likewise.
65928         * nscd/nscd_getgr_r.c: Likewise.
65929         * nscd/nscd_getpw_r.c: Likewise.
65930         * nscd/nscd_getserv_r.c: Likewise.
65931         * posix/getopt_init.c: Likewise.
65932         * posix/wordexp.c: Likewise.
65933         * stdio-common/_itoa.c: Likewise.
65934         * stdio-common/printf_fphex.c: Likewise.
65935         * stdio-common/vfprintf.c: Likewise.
65936         * string/_strerror.c: Likewise.
65937         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
65938         * sysdeps/i386/i686/hp-timing.h: Likewise.
65939         * sysdeps/mach/_strerror.c: Likewise.
65940         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
65941         * sysdeps/mach/hurd/sethostid.c: Likewise.
65942         * sysdeps/mach/hurd/xmknodat.c: Likewise.
65943         * sysdeps/mach/xpg-strerror.c: Likewise.
65944         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
65945         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
65946         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
65947         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
65948         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
65949         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
65950         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
65951         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
65952         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
65953         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
65954         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
65955         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
65956         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
65957         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
65958         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
65959         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
65960         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
65961         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
65962         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
65963         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
65964         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
65966         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
65968         * stdio-common/_itoa.h: Moved to ...
65969         * sysdeps/generic/_itoa.h: Here.
65971         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
65973         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
65974         instead of "_itoa.h" and "_itowa.h".
65975         * stdio-common/vfprintf.: Likewise.
65977 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65979         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
65980         <bits/wordsize.h>.
65981         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
65982         (__signbit): Likwise.
65983         (llrintf): Likwise.
65984         (llrint): Likwise.
65986 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65988         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
65989         __WORDSIZE != 64.
65991 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
65993         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
65994         OVERFLOW_EXCEPTION_OK.
65995         * math/libm-test.inc ("Philosophy"): Update comment about
65996         exception testing.
65997         (OVERFLOW_EXCEPTION): Define.
65998         (OVERFLOW_EXCEPTION_OK): Likewise.
65999         (INVALID_EXCEPTION_OK): Renumber.
66000         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
66001         (IGNORE_ZERO_INF_SIGN): Likewise.
66002         (test_exceptions): Handle FE_OVERFLOW.
66003         (exp10_test): Expect overflow exceptions.
66004         (exp2_test): Likewise.
66005         (expm1_test): Likewise.
66006         (nextafter_test): Likewise.
66007         (pow_test): Likewise.
66008         (scalbn_test): Likewise.
66009         (scalbln_test): Likewise.
66011 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66013         * sysdeps/x86_64/bits/atomic.h
66014         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
66015         64bit integer.
66016         (atomic_exchange_acq): Likewise.
66017         (__arch_exchange_and_add_body): Likewise.
66018         (__arch_add_body): Likewise.
66019         (atomic_add_negative): Likewise.
66020         (atomic_add_zero): Likewise.
66022 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66024         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
66025         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
66027 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66029         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
66030         Check __x86_64__ instead of __WORDSIZE.
66032 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66034         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
66036 2012-03-19  David S. Miller  <davem@davemloft.net>
66038         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66040         * sysdeps/sparc/fpu/fenv_private.h: New file.
66041         * sysdeps/sparc/fpu/math_private.h: Use it.
66042         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
66043         Remove.
66044         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
66045         (libc_feholdexcept_setroundl): Remove.
66046         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
66047         Remove.
66048         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
66049         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
66051 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66053         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
66054         int64_t instead of long int.
66055         (INSERT_WORDS64): Likwise.
66057 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
66059         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
66060         _Unwind_GetCFA return to _Unwind_Ptr first.
66062 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
66064         [BZ #13629]
66065         * math/s_clog.c: Include <float.h>.
66066         (__clog): Scale large or subnormal inputs.
66067         * math/s_clogf.c: Likewise.
66068         * math/s_clogl.c: Likewise.
66069         * math/s_clog10.c: Include <float.h>.
66070         (M_LOG10_2): Define.
66071         (__clog10): Scale large or subnormal inputs.
66072         * math/s_clog10f.c: Likewise.
66073         * math/s_clog10l.c: Likewise.
66074         * math/libm-test.inc (clog_test): Add more tests.
66075         (clog10_test): Likewise.
66076         * sysdeps/i386/fpu/libm-test-ulps: Update.
66077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66079         [BZ #11451]
66080         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
66081         x and y.
66082         * math/libm-test.inc (atan2_test): Add another test.
66084         * Makerules (common-objdir-compile): Remove.
66085         * sysdeps/unix/Makefile (config-generated): Do not add
66086         $(unix-generated) to variable.
66087         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
66088         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
66089         Remove rule.
66090         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
66091         Likewise.
66092         [generic bits/local_lim.h] (before-compile): Do not append to
66093         variable.
66094         [generic bits/local_lim.h] (common-generated): Likewise.
66095         [generic sys/param.h] (before-compile): Do not append to variable.
66096         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
66097         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
66098         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
66099         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
66100         include.
66101         [generic sys/param.h] (sys/param.h-includes): Remove variable.
66102         [generic sys/param.h] (sys/param.h-includes): Remove rule.
66103         [generic sys/param.h] ($(addprefix
66104         $(common-objpfx),$(sys/param.h-includes))): Likewise.
66105         [generic sys/param.h] (common-generated): Do not append to
66106         variable.
66107         [generic sys/param.h] (sysdep_headers): Likewise.
66108         [generic bits/errno.h] (before-compile): Do not append to
66109         variable.
66110         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
66111         rule.
66112         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
66113         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
66114         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
66115         [generic bits/errno.h] (common-generated): Do not append to
66116         variable.
66117         [generic bits/ioctls.h] (before-compile): Do not append to
66118         variable.
66119         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
66120         rule.
66121         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
66122         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
66123         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
66124         rule.
66125         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
66126         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
66127         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
66128         [generic bits/ioctls.h] (common-generated): Do not append to
66129         variable.
66130         [generic sys/syscall.h] (syscall.h): Remove variable.
66131         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
66132         rule.
66133         [generic sys/syscall.h] (before-compile): Do not append to
66134         variable.
66135         [generic sys/syscall.h] (common-generated): Likewise.
66136         * sysdeps/unix/errnos-tmpl.c: Remove file.
66137         * sysdeps/unix/errnos.awk: Likewise.
66138         * sysdeps/unix/ioctls-tmpl.c: Likewise.
66139         * sysdeps/unix/ioctls.awk: Likewise.
66140         * sysdeps/unix/mk-local_lim.c: Likewise.
66141         * sysdeps/unix/snarf-ioctls: Likewise.
66143 2012-03-19  Richard Henderson  <rth@twiddle.net>
66145         * sysdeps/i386/fpu/fenv_private.h: New file.
66146         * sysdeps/i386/fpu/math_private.h: Use it.
66147         (math_opt_barrier, math_force_eval): Remove.
66148         (libc_feholdexcept_setround_53bit): Remove.
66149         (libc_feupdateenv_53bit): Remove.
66150         * sysdeps/x86_64/fpu/math_private.h: Likewise.
66151         (math_opt_barrier, math_force_eval): Remove.
66152         (libc_feholdexcept): Remove.
66153         (libc_feholdexcept_setround): Remove.
66154         (libc_fetestexcept, libc_fesetenv): Remove.
66155         (libc_feupdateenv_test): Remove.
66156         (libc_feupdateenv, libc_feholdsetround): Remove.
66157         (libc_feresetround): Remove.
66159         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
66160         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
66162         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
66163         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
66164         (libc_feupdateenv_testl): New.
66165         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
66166         (libc_feupdateenv_testf): New.
66167         (libc_feupdateenv): Use libc_feupdateenv_test.
66168         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
66169         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
66171         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
66172         (libc_feholdsetroundf, libc_feholdsetroundl): New.
66173         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
66174         (libc_feresetround_noex): New.
66175         (libc_feresetround_noexf): New.
66176         (libc_feresetround_noexl): New.
66177         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
66178         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
66179         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
66180         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
66181         SET_RESTORE_ROUND.
66182         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
66183         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
66184         (__cos): Likewise.
66185         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
66186         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
66187         SET_RESTORE_ROUND_NOEX.
66188         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
66189         SET_RESTORE_ROUND_NOEXF.
66190         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
66191         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
66192         (libc_feholdsetroundf): New.
66193         (libc_feresetround, libc_feresetroundf): New.
66195         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
66196         (libc_feholdexcept_setround_53bit): Convert from macro to function.
66197         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
66199         * sysdeps/generic/math_private.h: Include <fenv.h>.
66200         (default_libc_feholdexcept): New.
66201         (default_libc_feholdexcept_setround): New.
66202         (default_libc_fesetenv, default_libc_feupdateenv): New.
66203         (libc_feholdexcept): Only define if undefined.
66204         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
66205         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
66206         (libc_feholdexcept_setroundl): Likewise.
66207         (libc_feholdexcept_setround_53bit): Likewise.
66208         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
66209         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
66210         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
66211         (libc_feupdateenv_53bit): Likewise.
66212         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
66213         (libc_feholdexcept): Convert from macro to inline function.
66214         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
66215         (libc_fesetenv, libc_feupdateenv): Likewise.
66217         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
66218         not previously defined.
66219         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
66220         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
66221         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
66222         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
66223         * sysdeps/ieee754/flt-32/math_private.h: New file.
66224         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
66225         math_private.h below SET_FLOAT_WORD.
66226         (__isnan, __isinf_ns, __finite): Remove.
66227         (__isnanf, __isinf_nsf, __finitef): Remove.
66229 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
66231         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66233 2012-03-17  David S. Miller  <davem@davemloft.net>
66235         [BZ #6471]
66236         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
66237         for 2.16.
66239 2012-03-16  David S. Miller  <davem@davemloft.net>
66241         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
66242         warnings.
66244         [BZ #6471]
66245         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
66246         properly.
66247         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
66248         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
66249         sysdep_routines when subdir is sysvipc.
66250         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
66251         __getshmlba helper.
66253         * sysdeps/sparc/fpu/libm-test/ulps: Update.
66255 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66257         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
66258         [__LP64__].
66260 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66262         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
66263         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
66264         (__lround): Renamed to ...
66265         (__llround): This.  Replace long int with long long int.
66266         Define lround functions as aliases of llround functions.
66267         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
66269 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66271         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
66272         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
66273         adresses to uintptr_t.  Replace "long int" and "unsigned long
66274         int" with "greg_t" on va_arg.
66276 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66278         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
66279         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
66281         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
66282         Move e_machine check before EI_CLASS check.  Handle x32
66283         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
66284         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
66285         SKIP_EM_IA_64 and include
66286         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
66288         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
66289         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
66290         (add_system_dir): New macro.
66292         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
66293         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
66295 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
66297         [BZ #2551]
66298         [BZ #2552]
66299         [BZ #2553]
66300         [BZ #2554]
66301         [BZ #2562]
66302         [BZ #2563]
66303         [BZ #2565]
66304         [BZ #2566]
66305         [BZ #2576]
66306         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
66307         (y0): Likewise.
66308         * math/w_j0f.c (j0f): Likewise.
66309         (y0f): Likewise.
66310         * math/w_j0l.c (__j0l): Likewise.
66311         (__y0l): Likewise.
66312         * math/w_j1.c (j1): Likewise.
66313         (y1): Likewise.
66314         * math/w_j1f.c (j1f): Likewise.
66315         (y1f): Likewise.
66316         * math/w_j1l.c (__j1l): Likewise.
66317         (__y1l): Likewise.
66318         * math/w_jn.c (jn): Likewise.
66319         (yn): Likewise.
66320         * math/w_jnf.c (jnf): Likewise.
66321         (ynf): Likewise.
66322         * math/w_jnl.c (__jnl): Likewise.
66323         (__ynl): Likewise.
66324         * math/libm-test.inc (j0_test): Add more tests.
66325         (j1_test): Likewise.
66326         (jn_test): Likewise.  Add trailing semicolon to existing test.
66327         (y0_test): Likewise.
66328         (y1_test): Likewise.
66329         * sysdeps/i386/fpu/libm-test-ulps: Update.
66330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66332         [BZ #13851]
66333         [BZ #13854]
66334         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
66335         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
66336         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
66337         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
66338         (__tanl): Set errno for infinite argument.
66339         * sysdeps/i386/fpu/mptan.c: Remove.
66340         * sysdeps/i386/fpu/s_tan.S: Likewise.
66341         * sysdeps/i386/fpu/s_tanl.S: Likewise.
66342         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
66343         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
66344         * math/libm-test.inc (tan_test): Add more tests and enable more
66345         tests for double and long double.
66346         * sysdeps/i386/fpu/libm-test-ulps: Update.
66347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66349 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
66351         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
66352         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
66354 2012-03-16  Roland McGrath  <roland@hack.frob.com>
66356         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
66357         * configure.in: Use it for both main tree and add-ons.
66358         * configure: Regenerated.
66360 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
66362         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
66364 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
66366         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
66367         in comment.
66369         [BZ #13851]
66370         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
66371         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
66372         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
66373         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
66374         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
66375         infinite argument.
66376         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
66377         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
66378         != 0 for prec == 2.
66379         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
66380         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
66381         * sysdeps/i386/fpu/s_cosl.S: Likewise.
66382         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
66383         * sysdeps/i386/fpu/s_sinl.S: Likewise.
66384         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
66385         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
66386         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
66387         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
66388         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
66389         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
66390         * math/libm-test.inc (cos_test): Add more tests and enable more
66391         tests for long double.
66392         (sin_test): Likewise.
66393         (sincos_test): Likewise.
66394         * sysdeps/i386/fpu/libm-test-ulps: Update.
66395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66397 2012-03-16  David S. Miller  <davem@davemloft.net>
66399         * sysdeps/sparc/fpu/math_private.h: New file.
66401 2012-03-15  David S. Miller  <davem@davemloft.net>
66403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
66404         file.
66405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
66406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
66407         file.
66408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
66409         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
66410         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
66411         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
66412         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
66413         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
66414         sysdep routines.
66415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
66417         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
66418         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
66420         * sysdeps/sparc/sparc-ifunc.h: New file.
66421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
66422         sparc-ifunc.h
66423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
66424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
66425         Likewise.
66426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
66427         Likewise.
66428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
66429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
66430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
66431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
66432         Likewise.
66433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
66434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
66435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
66436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
66437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
66438         Likewise.
66439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
66440         Likewise.
66441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
66442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
66443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
66444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
66445         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
66446         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
66447         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
66448         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
66449         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
66450         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
66451         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
66452         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
66453         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
66454         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
66455         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
66456         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
66457         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
66458         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
66459         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
66460         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
66461         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
66462         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
66463         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
66464         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
66466 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
66468         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
66469         scaling.
66470         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66472 2012-03-15  Andreas Jaeger  <aj@suse.de>
66474         [BZ #13852]
66475         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
66476         ieee754/flt-32 implementation for sin, cos and sincos.
66477         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
66478         * sysdeps/i386/fpu/s_cosf.S: Likewise.
66479         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
66480         * sysdeps/i386/fpu/s_sinf.S: Likewise.
66481         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
66482         ieee754/flt-32 implementation for tan.
66484         * math/libm-test.inc (cos_test): Enable some large input tests for
66485         float as well
66486         (sin_test): Likewise.
66487         (sincos_test): Likewise.
66488         (tan_test): Add tests for large input.
66490         * sysdeps/i386/fpu/libm-test-ulps: Update.
66492 2012-03-15  Andreas Jaeger  <aj@suse.de>
66494         [BZ #13658]
66495         * math/libm-test.inc (cos_test): Add more test cases.
66496         (sin_test): Likewise.
66497         (sincos_test): Likewise.
66499 2012-03-15  Andreas Jaeger  <aj@suse.de>
66501         [BZ #13837]
66502         * math/libm-test.inc (cos_test): Add a test case for large input
66503         value.
66504         (sin_test): Likewise.
66505         (sincos_test): Likewise.
66507 2012-03-15  Andreas Jaeger  <aj@suse.de>
66508             Joseph Myers  <joseph@codesourcery.com>
66510         [BZ #13658]
66511         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
66512         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
66513         * sysdeps/i386/fpu/branred.c: Likewise.
66514         * sysdeps/i386/fpu/dosincos.c: Likewise.
66515         * sysdeps/i386/fpu/mpa.c: Likewise.
66516         * sysdeps/i386/fpu/s_cos.S: Likewise.
66517         * sysdeps/i386/fpu/s_sin.S: Likewise.
66518         * sysdeps/i386/fpu/s_sincos.S: Likewise.
66519         * sysdeps/i386/fpu/sincos32.c: Likewise.
66521         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
66522         Define.
66523         (libc_feupdateenv_53bit): Define.
66524         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
66525         Define.
66526         (libc_feupdateenv_53bit): Define.
66528         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
66529         53 bit (without extend i386 double precision).
66531         * math/libm-test.inc (sincos_test): Add tests for large input.
66532         (sin): Likewise.
66533         (cos): Likewise.
66535         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
66537 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
66539         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66541 2012-03-15  David S. Miller  <davem@davemloft.net>
66543         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
66544         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
66545         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
66546         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
66547         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
66548         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
66549         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
66550         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
66551         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
66552         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
66553         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
66554         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
66555         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
66556         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
66557         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
66558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
66559         file.
66560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
66561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
66562         file.
66563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
66564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
66565         file.
66566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
66567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
66568         file.
66569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
66570         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
66571         fmin/fmax sysdep routines.
66572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
66574 2012-03-14  David S. Miller  <davem@davemloft.net>
66576         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
66577         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
66578         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
66579         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
66580         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
66581         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
66582         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
66583         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
66584         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
66585         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
66586         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
66587         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
66588         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
66589         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
66590         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
66591         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
66592         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
66593         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
66594         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
66595         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
66596         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
66597         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
66598         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
66599         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
66600         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
66601         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
66602         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
66603         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
66604         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
66605         routines.
66606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
66607         file.
66608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
66609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
66610         file.
66611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
66612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
66613         file.
66614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
66615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
66616         file.
66617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
66618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
66619         file.
66620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
66621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
66622         file.
66623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
66624         file.
66625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
66626         file.
66627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
66628         file.
66629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
66630         New file.
66631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
66632         file.
66633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
66634         file.
66635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
66636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
66637         file.
66638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
66639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
66640         file.
66641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
66642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
66643         file.
66644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
66645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
66646         VIS3 routines.
66648         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
66649         New file.
66651         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66653         * sysdeps/sparc/configure.in: New file.
66654         * sysdeps/sparc/configure: Generate.
66655         * configure.in (libc_cv_sparc_as_vis3): Substitute.
66656         * configure: Regenerate.
66657         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
66658         * config.make.in (have-as-vis3): New.
66659         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
66660         available use -Av9d instead of -Av9a.
66661         * sysdeps/sparc/sparc64/Makefile: Likewise.
66662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
66663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
66664         New file.
66665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
66666         file.
66667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
66668         New file.
66669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
66670         file.
66671         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
66672         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
66673         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
66674         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
66675         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
66677         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
66678         fzeros/fnegs to load 0x80000000 into a float register instead of
66679         using the stack.
66680         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
66682 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
66684         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66685         bits/syscall.h.
66686         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
66687         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
66688         ($(inst_includedir)/bits/syscall.h): Remove rule.
66689         ($(objpfx)bits/syscall.d): Include instead of
66690         $(objpfx)syscall-list.d.
66691         (generated): Change syscall-list.h and syscall-list.d to
66692         bits/syscall.h and bits/syscall.d.
66694 2012-03-14  Roland McGrath  <roland@hack.frob.com>
66696         [BZ #13846]
66697         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
66699 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
66701         [BZ #13841]
66702         * math/s_csqrt.c: Include <float.h>.
66703         (__csqrt): Scale large or subnormal inputs.
66704         * math/s_csqrtf.c: Likewise.
66705         * math/s_csqrtl.c: Likewise.
66706         * math/libm-test.inc (csqrt_test): Add more tests.
66707         * sysdeps/i386/fpu/libm-test-ulps: Update.
66708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66710         [BZ #13840]
66711         * math/libm-test.inc (hypot_test): Add more tests.
66713 2012-03-13  David S. Miller  <davem@davemloft.net>
66715         [BZ #13840]
66716         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
66717         double-precision for the calculation instead of scaling.
66719 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
66721         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
66722         manipulate bits before adding and subtracting TWO52[sx].
66723         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
66724         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
66725         Likewise.
66726         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
66728 2012-03-13  David S. Miller  <davem@davemloft.net>
66730         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
66731         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
66732         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
66733         rtld-global-offsets.h
66734         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
66736         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
66737         large parameters.
66739         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
66741         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
66742         'err' in the ifdef scope in which it is actually used.
66744         * nss/nss_db/db-init.c: Include string.h
66746 2012-03-12  David S. Miller  <davem@davemloft.net>
66748         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
66749         masking out of the most significant byte of random value used.
66750         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
66751         Fix coding style in previous change.
66753         * sysdeps/unix/sysv/linux/kernel-features.h
66754         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
66755         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
66756         expression.
66757         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
66758         later.
66760 2012-03-11  David S. Miller  <davem@davemloft.net>
66762         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
66763         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
66764         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
66765         for 'resultvar' otherwise things get truncated on 64-bit.
66767         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
66768         Fix masking out of the most significant byte of random value used.
66770         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66772 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
66774         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66776 2012-03-09  David S. Miller  <davem@davemloft.net>
66778         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
66779         variables with appropriate CPP guards.
66780         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
66781         from the frame pointer, not the stack pointer.  Correct layout
66782         comments.  Fix test on resulting framesize and the management of
66783         the outregs buffer for pltexit.  Preserve floating point return
66784         values across _dl_call_pltexit call.
66785         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
66786         framesize and the management of the outregs buffer for pltexit.
66787         Preserve floating point return values across _dl_call_pltexit
66788         call.
66789         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
66790         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
66791         (la_sparc64_gnu_pltexit): New functions.
66792         (print_exit): Fix format string for return register value.
66794 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
66796         * sunrpc/Makefile (others): Add rpcgen.
66797         ($(objpfx)rpcgen): Remove special build rule and dependency on
66798         libc.
66799         * sunrpc/rpcgen.c: New file.
66801 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
66803         [BZ #13673]
66804         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
66805         * stdio-common/bug-vfprintf-nargs.c: Likewise.
66806         * sysdeps/i386/crti.S: Likewise.
66807         * sysdeps/i386/crtn.S: Likewise.
66808         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
66809         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
66810         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
66811         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
66812         * sysdeps/sh/crti.S: Likewise.
66813         * sysdeps/sh/crtn.S: Likewise.
66814         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
66816         [BZ #13673]
66817         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
66818         with URL.
66819         * locale/programs/locfile-kw.gperf: Likewise.
66820         * locale/programs/charmap-kw.h: Regenerated.
66821         * locale/programs/locfile-kw.h: Likewise.
66823         [BZ #13673]
66824         * intl/plural.y: Replace FSF snail mail address with URL.
66825         * intl/plural.c: Regenerated.
66827 2012-03-09  Richard Henderson  <rth@twiddle.net>
66829         * include/math_private.h: Remove file.
66830         * math/math_private.h: Move file ...
66831         * sysdeps/generic/math_private.h: ... here.
66833         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
66834         * sysdeps/powerpc/fpu/math_private.h: Likewise.
66835         * sysdeps/x86_64/fpu/math_private.h: Likewise.
66837         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
66838         and <math_private.h>.
66839         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
66840         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
66841         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
66842         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
66843         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
66844         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
66845         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
66846         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66847         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
66848         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66849         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66850         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
66851         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
66852         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66853         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
66854         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
66855         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
66856         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
66857         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
66858         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
66859         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66860         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
66861         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
66862         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66863         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
66864         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
66865         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
66866         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
66867         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66868         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
66869         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
66870         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66871         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
66872         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
66873         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
66874         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
66875         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
66876         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
66877         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
66878         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66879         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
66880         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
66881         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
66882         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
66883         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
66884         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
66885         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
66886         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
66887         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
66888         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
66889         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
66890         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
66891         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
66892         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
66893         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
66894         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
66895         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
66896         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
66897         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
66898         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
66899         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
66900         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
66901         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66902         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
66903         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
66904         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
66905         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
66906         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
66907         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
66908         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
66909         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
66910         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
66911         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
66912         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66913         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
66914         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
66915         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
66916         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
66917         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
66918         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
66919         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
66920         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
66921         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
66922         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
66923         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
66924         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
66925         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
66926         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
66927         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
66928         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
66929         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
66930         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
66931         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66932         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
66933         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
66934         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
66935         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
66936         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
66937         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
66938         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
66939         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
66940         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
66941         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
66942         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
66943         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
66944         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
66945         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
66946         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
66947         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
66948         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
66949         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
66950         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
66951         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
66952         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
66953         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
66954         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
66955         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
66956         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
66957         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
66958         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
66959         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
66960         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
66961         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
66962         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
66963         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
66964         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
66965         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
66966         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
66967         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
66968         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
66969         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
66970         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
66971         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
66972         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
66973         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
66974         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
66975         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
66976         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
66977         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
66978         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
66979         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
66980         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
66981         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
66982         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
66983         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
66984         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
66985         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
66986         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
66987         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
66988         * sysdeps/ieee754/k_standard.c: Likewise.
66989         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
66990         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
66991         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
66992         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
66993         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
66994         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
66995         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
66996         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
66997         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
66998         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
66999         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
67000         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
67001         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
67002         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
67003         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
67004         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
67005         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
67006         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
67007         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
67008         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
67009         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
67010         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
67011         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
67012         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
67013         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
67014         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
67015         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
67016         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
67017         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
67018         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
67019         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
67020         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
67021         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
67022         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
67023         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
67024         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
67025         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
67026         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
67027         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
67028         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
67029         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
67030         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
67031         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
67032         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
67033         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
67034         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
67035         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
67036         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
67037         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
67038         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
67039         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
67040         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
67041         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
67042         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
67043         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
67044         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
67045         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
67046         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
67047         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
67048         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
67049         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
67050         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
67051         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
67052         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
67053         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
67054         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
67055         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
67056         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
67057         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
67058         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
67059         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
67060         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
67061         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
67062         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
67063         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
67064         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
67065         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
67066         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
67067         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
67068         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
67069         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
67070         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
67071         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
67072         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
67073         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
67074         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
67075         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
67076         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
67077         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
67078         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
67079         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
67080         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
67081         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
67082         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
67083         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
67084         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
67085         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
67086         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
67087         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
67088         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
67089         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
67090         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
67091         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
67092         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
67093         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
67094         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
67095         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
67096         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
67097         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
67098         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
67099         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
67100         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
67101         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
67102         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
67103         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
67104         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
67105         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
67106         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
67107         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
67108         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
67109         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
67110         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
67111         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
67112         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
67113         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
67114         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
67115         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
67116         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
67117         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
67118         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
67119         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
67120         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
67121         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
67122         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
67123         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
67124         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
67125         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
67126         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
67127         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
67128         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
67129         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
67130         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
67131         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
67132         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
67133         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
67134         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
67135         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
67136         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
67137         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
67138         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
67139         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
67140         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
67141         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
67142         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
67143         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
67144         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
67145         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
67146         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
67147         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
67148         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
67149         * sysdeps/ieee754/s_lib_version.c: Likewise.
67150         * sysdeps/ieee754/s_matherr.c: Likewise.
67151         * sysdeps/ieee754/s_signgam.c: Likewise.
67152         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
67153         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67154         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
67155         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
67156         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
67157         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
67158         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
67159         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
67160         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
67161         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
67162         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
67163         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
67164         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
67165         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
67166         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
67167         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
67168         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
67169         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
67170         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
67171         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
67172         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
67174 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
67176         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
67177         * sunrpc/rpc_main.c: Likewise.
67178         * sunrpc/rpc_svcout.c: Likewise.
67180 2012-03-09  David S. Miller  <davem@davemloft.net>
67182         * include/math_private.h: New file.
67184 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
67186         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
67187         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
67188         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
67189         from <bits/socket_type.h>.
67190         (enum __socket_type): Don't define here.
67191         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
67192         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67193         bits/socket_type.h.
67195         [BZ #13566]
67196         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
67197         checking __USE_GNU.
67199         * Makerules ($(inst_includedir)/%.h): New rule.
67200         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
67201         (install-others): Remove variable setting.
67202         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
67204 2012-03-08  Richard Henderson  <rth@twiddle.net>
67206         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
67207         from macro to inline function; merge with the
67208         !__LIBC_INTERNAL_MATH_INLINES version.
67209         (__ieee754_sqrtf): Likewise.
67211         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
67212         to inline function.
67213         (__rintf, __floor, __floorf): Likewise.
67215         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
67216         macro to inline function.
67217         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
67219         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
67220         not <math/math_private.h>.
67222 2012-03-08  David S. Miller  <davem@davemloft.net>
67224         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
67225         copyright year.
67226         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
67228 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
67230         * resolv/gai_misc.c (handle_requests): Fix struct timespec
67231         normalization.
67232         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
67233         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
67235 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
67237         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
67238         be defined individually, they must be defined as a block.  Define
67239         S for printing a string instead of hidint the different by using a
67240         macro for adding the 'l'.
67241         * stdio-common/tst-fphex-wide.c: Adjust.
67243 2012-03-07  Marek Polacek  <polacek@redhat.com>
67245         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
67247 2012-03-08  Marek Polacek  <polacek@redhat.com>
67249         [BZ #13806]
67250         * stdio-common/Makefile (tests): Add tst-fphex-wide.
67251         * stdio-common/tst-fphex.c: Define a few macros to make the
67252         test reusable.  Use them.
67253         * stdio-common/tst-fphex-wide.c: New file.
67255 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
67257         [BZ #6911]
67258         * manual/macros.texi (gnusystems): New macro.
67259         (nongnusystems): Likewise.
67260         (gnulinuxhurdsystems): Likewise.
67261         (gnuhurdsystems): Likewise..
67262         (gnulinuxsystems): Likewise.
67263         * manual/charset.texi: Use new macros or @theglibc{} to refer to
67264         variants of the GNU system, not "GNU system".
67265         * manual/conf.texi: Likewise.
67266         * manual/errno.texi: Likewise.  Update example of errno macro
67267         expansion.
67268         * manual/filesys.texi: Likewise.
67269         (getumask): Document as specific to GNU/Hurd.
67270         * manual/install.texi: Likewise.  Reword some references to
67271         GNU/Linux.
67272         * manual/intro.texi: Likewise.
67273         * manual/io.texi: Likewise.
67274         (File Name Portability): Detail which constraints are inapplicable
67275         to all GNU systems and which are only inapplicable to GNU/Hurd.
67276         * manual/job.texi: Likewise.
67277         * manual/llio.texi: Likewise.
67278         (O_NOCTTY): Document as present on GNU/Linux.
67279         * manual/maint.texi: Likewise.
67280         * manual/memory.texi: Likewise.
67281         * manual/pattern.texi: Likewise.
67282         * manual/pipe.texi: Likewise.
67283         * manual/process.texi: Likewise.
67284         * manual/resource.texi: Likewise.
67285         (RUSAGE_CHILDREN): Remove statement about specifying a particular
67286         child on GNU/Hurd.
67287         * manual/setjmp.texi: Likewise.
67288         * manual/signal.texi: Likewise.
67289         * manual/startup.texi: Likewise.
67290         * manual/stdio.texi: Likewise.
67291         * manual/terminal.texi: Likewise.
67292         (ONLCR): Document as POSIX.
67293         (OXTABS): Document availability on GNU/Linux as XTABS.
67294         (ONOEOT): Document availability separately from other bits.
67295         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
67296         * manual/time.texi: Likewise.
67297         * manual/users.texi: Likewise.
67298         * INSTALL: Regenerated.
67299         * sysdeps/gnu/errlist.c: Regenerated.
67301         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
67302         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
67303         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
67304         puts.
67305         * configure: Regenerated.
67307 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
67309         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
67310         default includes instead of AC_HEADER_CHECK.
67311         * sysdeps/i386/configure: Regenerated.
67313         [BZ #10716]
67314         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
67315         * math/s_cacoshf.c (__cacoshf): Likewise.
67316         * math/s_cacoshl.c (__cacoshl): Likewise.
67317         * math/s_casinh.c (__casinh): Set signs of result from argument.
67318         * math/s_casinhf.c (__casinhf): Likewise.
67319         * math/s_casinhl.c (__casinhl): Likewise.
67320         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
67321         (casinh_test): Add more tests.
67322         * sysdeps/i386/fpu/libm-test-ulps: Update.
67323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67325 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
67327         * po/zh_TW.po: Update from translation team.
67329         * login/Makefile (distribute): Remove variable.
67330         * catgets/Makefile: Likewise.
67331         * mach/Makefile: Likewise.
67332         * malloc/Makefile: Likewise.
67333         * misc/Makefile: Likewise.
67334         * iconv/Makefile: Likewise.
67335         * nscd/Makefile: Likewise.
67336         * hurd/Makefile: Likewise.
67337         * manual/Makefile: Likewise.
67338         * locale/Makefile: Likewise.
67339         * intl/Makefile: Likewise.
67340         * conform/Makefile: Likewise.
67341         * nss/Makefile: Likewise.
67342         * time/Makefile: Likewise.
67343         * soft-fp/Makefile: Likewise.
67344         * dirent/Makefile: Likewise.
67345         * gmon/Makefile: Likewise.
67346         * po/Makefile: Likewise.
67347         * rt/Makefile: Likewise.
67348         * socket/Makefile: Likewise.
67349         * math/Makefile: Likewise.
67350         * signal/Makefile: Likewise.
67351         * debug/Makefile: Likewise.
67352         * elf/Makefile: Likewise.
67353         * timezone/Makefile: Likewise.
67354         * stdlib/Makefile: Likewise.
67355         * iconvdata/Makefile: Likewise.
67356         * sunrpc/Makefile: Likewise.
67357         * io/Makefile: Likewise.
67358         * argp/Makefile: Likewise.
67359         * inet/Makefile: Likewise.
67360         * hesiod/Makefile: Likewise.
67361         * grp/Makefile: Likewise.
67362         * csu/Makefile: Likewise.
67363         * wctype/Makefile: Likewise.
67364         * crypt/Makefile: Likewise.
67365         * libio/Makefile: Likewise.
67366         * string/Makefile: Likewise.
67367         * nis/Makefile: Likewise.
67368         * resolv/Makefile: Likewise.
67369         * stdio-common/Makefile: Likewise.
67370         * wcsmbs/Makefile: Likewise.
67371         * dlfcn/Makefile: Likewise.
67372         * posix/Makefile: Likewise.
67374         [BZ #6959]
67375         * timezone/Makefile: Don't install timezone files, just the programs
67376         and scripts.
67378 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
67380         * nss/databases.def: Add missing gshadow entry.
67382         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
67384 2012-03-06  Marek Polacek  <polacek@redhat.com>
67386         [BZ #13726]
67387         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
67388         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
67389         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
67390         * stdio-common/tst-long-dbl-fphex.c: New file.
67392 2012-03-06  David S. Miller  <davem@davemloft.net>
67394         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67395         (set_obp_int): New function.
67396         (get_obp_int): New function.
67397         (__get_clockfreq_via_dev_openprom): Likewise.
67398         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
67399         Avoid unused variable warnings on 'val' and use builtin_expect.
67400         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
67401         __builtin_expect.
67402         (INLINE_CLONE_SYSCALL): Likewise.
67404 2012-03-05  David S. Miller  <davem@davemloft.net>
67406         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67408 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
67410         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67412         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
67413         only for |x| >= 40.
67414         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
67416 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
67418         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
67419         Replace gettimeofday with __vdso_gettimeofday.
67421         * sysdeps/unix/sysv/linux/x86_64/init-first.c
67422         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
67423         __vdso_clock_gettime and __vdso_getcpu.
67425         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
67426         time with __vdso_time.
67428 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
67430         * manual/lang.texi (size_t): Note types to which size_t may be
67431         equivalent with the GNU C Library, but do not describe when
67432         differences between them are significant.
67434 2012-03-05  Andreas Jaeger  <aj@suse.de>
67436         * sysdeps/i386/fpu/libm-test-ulps: Update.
67438 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
67440         [BZ #3976]
67441         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
67442         (__ieee754_pow): Save and restore rounding mode and use
67443         round-to-nearest for main computations.
67444         * math/libm-test.inc (pow_test_tonearest): New function.
67445         (pow_test_towardzero): Likewise.
67446         (pow_test_downward): Likewise.
67447         (pow_test_upward): Likewise.
67448         (main): Call the new functions.
67449         * sysdeps/i386/fpu/libm-test-ulps: Update.
67450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67452         [BZ #3976]
67453         * math/libm-test.inc (cosh_test_tonearest): New function.
67454         (cosh_test_towardzero): Likewise.
67455         (cosh_test_downward): Likewise.
67456         (cosh_test_upward): Likewise.
67457         (sinh_test_tonearest): Likewise.
67458         (sinh_test_towardzero): Likewise.
67459         (sinh_test_downward): Likewise.
67460         (sinh_test_upward): Likewise.
67461         (main): Call the new functions.
67462         * sysdeps/i386/fpu/libm-test-ulps: Update.
67463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67465 2012-03-05  Tom de Vries  <tom@codesourcery.com>
67467         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
67468         default stack guard is set in last bytes.
67469         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
67471 2012-03-05  Kees Cook  <keescook@chromium.org>
67473         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
67475         [BZ #13656]
67476         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
67477         possibly allocate from heap instead of stack.
67478         * stdio-common/bug-vfprintf-nargs.c: New file.
67479         * stdio-common/Makefile (tests): Add nargs overflow test.
67481 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
67483         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67485 2012-03-03  Marek Polacek  <polacek@redhat.com>
67487         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
67488         * math/math_private.h: Likewise.
67489         * stdlib/tst-strtod.c: Likewise.
67490         * sysdeps/i386/i486/bits/atomic.h: Likewise.
67491         * sysdeps/x86_64/bits/atomic.h: Likewise.
67493 2012-03-02  David S. Miller  <davem@davemloft.net>
67495         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
67496         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
67497         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
67498         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
67499         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
67500         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
67501         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
67502         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
67504 2012-03-02  Roland McGrath  <roland@hack.frob.com>
67506         [BZ #13792]
67507         * manual/examples/README: New file, says the example source files
67508         can be used under GPL>=2.
67509         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
67510         line containing just "*/".
67511         * manual/examples/add.c: Add copyright header (GPL>=2).
67512         * manual/examples/argp-ex1.c: Likewise.
67513         * manual/examples/argp-ex2.c: Likewise.
67514         * manual/examples/argp-ex3.c: Likewise.
67515         * manual/examples/argp-ex4.c: Likewise.
67516         * manual/examples/atexit.c: Likewise.
67517         * manual/examples/db.c: Likewise.
67518         * manual/examples/dir.c: Likewise.
67519         * manual/examples/dir2.c: Likewise.
67520         * manual/examples/execinfo.c: Likewise.
67521         * manual/examples/filecli.c: Likewise.
67522         * manual/examples/filesrv.c: Likewise.
67523         * manual/examples/fmtmsgexpl.c: Likewise.
67524         * manual/examples/genpass.c: Likewise.
67525         * manual/examples/inetcli.c: Likewise.
67526         * manual/examples/inetsrv.c: Likewise.
67527         * manual/examples/isockad.c: Likewise.
67528         * manual/examples/longopt.c: Likewise.
67529         * manual/examples/memopen.c: Likewise.
67530         * manual/examples/memstrm.c: Likewise.
67531         * manual/examples/mkfsock.c: Likewise.
67532         * manual/examples/mkisock.c: Likewise.
67533         * manual/examples/mygetpass.c: Likewise.
67534         * manual/examples/pipe.c: Likewise.
67535         * manual/examples/popen.c: Likewise.
67536         * manual/examples/rprintf.c: Likewise.
67537         * manual/examples/search.c: Likewise.
67538         * manual/examples/select.c: Likewise.
67539         * manual/examples/setjmp.c: Likewise.
67540         * manual/examples/sigh1.c: Likewise.
67541         * manual/examples/sigusr.c: Likewise.
67542         * manual/examples/stpcpy.c: Likewise.
67543         * manual/examples/strdupa.c: Likewise.
67544         * manual/examples/strftim.c: Likewise.
67545         * manual/examples/strncat.c: Likewise.
67546         * manual/examples/subopt.c: Likewise.
67547         * manual/examples/swapcontext.c: Likewise.
67548         * manual/examples/termios.c: Likewise.
67549         * manual/examples/testopt.c: Likewise.
67550         * manual/examples/testpass.c: Likewise.
67551         * manual/examples/timeval_subtract.c: Likewise.
67553         [BZ #13792]
67554         * manual/time.texi (Elapsed Time): Move timeval_subtract example
67555         function to ...
67556         * manual/timeval_subtract.c.texi: ... here, new file.
67558 2012-03-02  David S. Miller  <davem@davemloft.net>
67560         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
67562 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
67564         [BZ #3976]
67565         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
67566         (__sin): Save and restore rounding mode and use round-to-nearest
67567         for all computations.
67568         (__cos): Save and restore rounding mode and use round-to-nearest
67569         for all computations.
67570         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
67571         <fenv.h>.
67572         (tan): Save and restore rounding mode and use round-to-nearest for
67573         all computations.
67574         * math/libm-test.inc (cos_test_tonearest): New function.
67575         (cos_test_towardzero): Likewise.
67576         (cos_test_downward): Likewise.
67577         (cos_test_upward): Likewise.
67578         (sin_test_tonearest): Likewise.
67579         (sin_test_towardzero): Likewise.
67580         (sin_test_downward): Likewise.
67581         (sin_test_upward): Likewise.
67582         (tan_test_tonearest): Likewise.
67583         (tan_test_towardzero): Likewise.
67584         (tan_test_downward): Likewise.
67585         (tan_test_upward): Likewise.
67586         (main): Call the new functions.
67587         * sysdeps/i386/fpu/libm-test-ulps: Update.
67588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67590         [BZ #10135]
67591         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
67592         small n, then large n, before computing and testing k+n.
67593         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
67594         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
67595         Likewise.
67596         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
67597         Likewise.
67598         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
67599         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
67600         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
67601         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
67602         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
67603         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
67604         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
67605         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
67606         * math/libm-test.inc (scalbn_test): Add more tests.
67607         (scalbln_test): Likewise.
67609         * manual/filesys.texi (mode_t): Describe constraints on size and
67610         signedness, not exact equivalence to a particular type.
67611         (ino_t): Likewise.
67612         (ino64_t): Likewise.
67613         (dev_t): Likewise.
67614         (nlink_t): Likewise.
67615         (blkcnt_t): Likewise.
67616         (blkcnt64_t): Likewise.
67617         * manual/llio.texi (off_t): Likewise.
67619         [BZ #3976]
67620         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
67621         (__ieee754_exp): Save and restore rounding mode and use
67622         round-to-nearest for all computations.
67623         * math/libm-test.inc (exp_test_tonearest): New function.
67624         (exp_test_towardzero): Likewise.
67625         (exp_test_downward): Likewise.
67626         (exp_test_upward): Likewise.
67627         (main): Call the new functions.
67628         * sysdeps/i386/fpu/libm-test-ulps: Update.
67629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67631 2012-03-01  Chris Demetriou  <cgd@google.com>
67633         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
67634         have predictable order.
67636 2012-03-01  David S. Miller  <davem@davemloft.net>
67638         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
67640         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
67641         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
67642         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
67643         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
67645         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
67646         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
67647         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
67648         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
67649         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
67650         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
67651         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
67652         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
67653         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
67655         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67657         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
67658         * sysdeps/sparc/fpu/libm-test-ulps: to here.
67659         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
67661         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
67662         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
67663         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
67664         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
67665         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
67666         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
67667         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
67668         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
67669         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
67670         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
67671         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
67672         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
67673         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
67674         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
67675         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
67676         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67677         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
67678         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
67679         * sysdeps/sparc/elf/configure: Regenerated.
67681 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
67683         * configure.in (AS, LD): Require binutils 2.20 or later.
67684         * configure: Regenerated.
67685         * manual/install.texi (Tools for Compilation): Give binutils 2.20
67686         as required minimum version.
67687         * INSTALL: Regenerated.
67689         [BZ #2541]
67690         [BZ #4108]
67691         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
67692         before squaring exponent.
67693         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
67694         bottom long double and 27 bits of top long double before squaring
67695         exponent.
67696         * math/libm-test.inc (erfc_test): Add more tests.
67697         * sysdeps/i386/fpu/libm-test-ulps: Update.
67698         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
67699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67701 2012-03-01  Kai Tietz  <ktietz@redhat.com>
67703         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
67704         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
67705         containing bit-fields.
67706         * soft-fp/extended.h (_FP_UNION_E): Likewise.
67707         * soft-fp/single.h (_FP_UNION_S): Likewise.
67708         * soft-fp/double.h (_FP_UNION_D): Likewise.
67710 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
67712         [BZ #13786]
67713         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
67714         not include ../strcmp.S.
67715         [USE_AS_STRNCASECMP_L]: Likewise.
67716         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
67717         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
67718         * sysdeps/i386/i686/multiarch/strncase_l-c.c
67719         (__strncasecmp_l_ia32): Define as alias to
67720         __strncasecmp_l_nonascii.
67722         [BZ #5794]
67723         * math/libm-test.inc (expm1_test): Add test for bug 5794.
67724         * sysdeps/i386/fpu/libm-test-ulps: Update.
67725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67727         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
67728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67730 2012-02-29  Jeff Law  <law@redhat.com>
67732         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
67733         out of bounds read.
67735 2012-02-29  Marek Polacek  <polacek@redhat.com>
67737         [BZ #13706]
67738         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
67739         * elf/Makefile: Add rules to run tst-unused-dep.out.
67741 2012-02-28  David S. Miller  <davem@davemloft.net>
67743         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
67744         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
67745         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
67746         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
67747         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
67748         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
67750 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
67752         * math/libm-test.inc (llround_test): Move one test from
67753         lround_test.  Use TEST_f_L in moved test.
67754         (lround_test): Move misplaced test to llround_test.  Add testcase
67755         from bug 2561.
67757 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
67759         * sysdeps/x86_64/fpu/e_expf.S: New file.
67760         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
67762 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
67764         [BZ #13637]
67765         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
67766         of remain_len that may cause incomplete multi-byte character and
67767         false match.
67768         * posix/bug-regex33.c: New file.
67769         * posix/Makefile (tests): Add bug-regex33.
67771 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
67773         * manual/macros.texi: New file.
67774         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
67775         * manual/libc.texinfo: Include macros.texi.
67776         * manual/creatute.texi: Likewise.
67777         * manual/install.texi: Likewise.
67778         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
67779         @glibcadj{} in references to the GNU C Library.
67780         * manual/charset.texi: Likewise.
67781         * manual/conf.texi: Likewise.
67782         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
67783         when not using those macros.
67784         * manual/creature.texi: Likewise.
67785         * manual/crypt.texi: Likewise.
67786         * manual/errno.texi: Likewise.
67787         * manual/filesys.texi: Likewise.
67788         * manual/header.texi: Likewise.
67789         * manual/install.texi: Likewise.
67790         * manual/intro.texi: Likewise.
67791         * manual/io.texi: Likewise.
67792         * manual/job.texi: Likewise.
67793         * manual/lang.texi: Likewise.
67794         * manual/libc.texiinfo: Likewise.
67795         * manual/llio.texi: Likewise.
67796         * manual/locale.texi: Likewise.
67797         * manual/maint.texi: Likewise.
67798         * manual/math.texi: Likewise.
67799         * manual/memory.texi: Likewise.
67800         * manual/message.texi: Likewise.
67801         * manual/nss.texi: Likewise.
67802         * manual/pattern.texi: Likewise.
67803         * manual/process.texi: Likewise.
67804         * manual/resource.texi: Likewise.
67805         * manual/search.texi: Likewise.
67806         * manual/setjmp.texi: Likewise.
67807         * manual/signal.texi: Likewise.
67808         * manual/socket.texi: Likewise.
67809         * manual/startup.texi: Likewise.
67810         * manual/stdio.texi: Likewise.
67811         * manual/string.texi: Likewise.
67812         * manual/sysinfo.texi: Likewise.
67813         * manual/syslog.texi: Likewise.
67814         * manual/terminal.texi: Likewise.
67815         * manual/time.texi: Likewise.
67816         * manual/users.texi: Likewise.
67817         * INSTALL: Regenerated.
67818         * NOTES: Regenerated.
67819         * sysdeps/gnu/errlist.c: Regenerated.
67821 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
67823         * include/dirent.h: Include <dirstream.h> before
67824         <dirent/dirent.h>.
67826 2012-02-28  David S. Miller  <davem@davemloft.net>
67828         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
67829         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
67830         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
67831         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
67833 2012-02-27  David S. Miller  <davem@davemloft.net>
67835         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
67836         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
67837         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
67838         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
67840         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
67841         frame pointer instead of stack pointer relative arg slot.
67842         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
67843         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
67844         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
67846 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
67848         [BZ #3992]
67849         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
67851 2012-02-27  David S. Miller  <davem@davemloft.net>
67853         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
67854         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
67855         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
67856         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
67857         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
67858         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
67859         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
67860         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
67862 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
67864         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
67865         later.  Allow versions 5-9.
67866         * configure: Regenerated.
67867         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
67868         required minimum version and 4.6 as recommended version.  Do not
67869         mention bugs in GCC 2.7 and 2.8.
67870         * INSTALL: Regenerated.
67872 2012-02-27  David S. Miller  <davem@davemloft.net>
67874         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
67875         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
67876         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
67877         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
67878         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
67879         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
67880         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
67881         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
67883         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
67884         manipulate bits before adding and subtracting TWO112[sx].
67885         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
67887 2012-02-27  Roland McGrath  <roland@hack.frob.com>
67889         [BZ #13775]
67890         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
67891         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
67892         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
67893         being in POSIX, because they are in 1003.1-2008.
67895         * rt/tst-aio.c: Include <fcntl.h>.
67896         * rt/tst-aio7.c: Likewise.
67897         * rt/tst-aio64.c: Likewise.
67899         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
67901 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
67903         * manual/install.texi (--with-headers): Describe headers as
67904         interface headers, not private headers.
67905         (Specific advice for GNU/Linux systems): Describe use of headers
67906         from "make headers_install", not private headers from older
67907         kernels.
67908         * INSTALL: Regenerated.
67909         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
67910         Change to 2.6.19.
67911         * sysdeps/unix/sysv/linux/configure: Regenerated.
67913         * manual/llio.texi (fclean): Remove documentation.
67915         * manual/Makefile (libc-texi-generated): New variable.  Include
67916         version.texi.
67917         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
67918         $(libc-texi-generated), not duplicated list of files.
67919         (version.texi, stamp-version): New rules.
67920         (realclean): Remove $(libc-texi-generated), not individual files
67921         from that list.  Do not remove dir-add.texinfo.
67922         * manual/libc.texinfo: Comment out uses of edition numbers and
67923         references to printed manual.  Remove last-updated dates.
67924         (EDITION): Comment out.
67925         (ISBN): Likewise.
67926         (VERSION, UPDATED): Remove.
67927         (version.texi): Include.
67929 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
67931         * sysdeps/posix/spawni.c: Include <signal.h>.
67932         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
67933         * sysdeps/pthread/aio_fsync.c: Likewise.
67935 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
67937         * conform/Makefile (tests): Run only when not cross-compiling and
67938         when fast-check is not defined.
67940         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
67941         * conform/data/limits.h-data: Fixes for POSIX2008.
67942         * conform/run-conformtest.sh: Run all tests.
67943         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
67944         headers.
67945         * include/bits/dlfcn.h: Likewise.
67946         * include/langinfo.h: Likewise.
67947         * include/monetary.h: Likewise.
67948         * include/sys/poll.h: Likewise.
67950         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
67951         for __USE_GNU.
67952         * posix/spawn.h: Define __need_sigset_t.
67953         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
67954         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
67955         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
67956         to get sigevent_t only.
67957         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
67958         only for __USE_GNU.
67959         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
67960         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
67961         process_vm_writev only for __USE_GNU.
67962         * termios/termios.h: Declare tcgetsid also for POSIX2008.
67964         * conform/Makefile: For now ignore errors from run-conformtest.
67965         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
67966         POSIX to avoid namespace pollution.  Don't prepend headers.
67967         * conform/data/aio.h-data: Fixes for POSIX testing.
67968         * conform/data/fcntl.h-data: Likewise.
67969         * conform/data/glob.h-data: Likewise.
67970         * conform/data/grp.h-data: Likewise.
67971         * conform/data/pthread.h-data: Likewise.
67972         * conform/data/pwd.h-data: Likewise.
67973         * conform/data/signal.h-data: Likewise.
67974         * conform/data/spawn.h-data: Likewise.
67975         * conform/data/stdio.h-data: Likewise.
67976         * conform/data/stdlib.h-data: Likewise.
67977         * conform/data/stropts.h-data: Likewise.
67978         * conform/data/sys/mman.h-data: Likewise.
67979         * conform/data/sys/stat.h-data: Likewise.
67980         * conform/data/sys/types.h-data: Likewise.
67981         * conform/data/sys/wait.h-data: Likewise.
67982         * conform/data/time.h-data: Likewise.
67983         * conform/data/unistd.h-data: Likewise.
67984         * conform/data/utime.h-data: Likewise.
67986         * io/sys/stat.h: fchmod was always in POSIX.
67987         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
67988         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
67989         * rt/aio.h: Define __need_timespec before including <time.h>.
67990         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
67991         struct.  Add forward declaration of pthread_attr_t and use it in
67992         sigevent.
67993         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
67994         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
67995         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
67996         always remove CLK_TCK definition.
67998 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
68000         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
68002 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
68004         * conform/run-conformtest.sh: New file.
68005         * conform/Makefile: Run run-conformtest for tests.
68006         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
68007         support.
68009         * conform/data/uchar.h-data: New file.
68010         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
68011         * conform/data/arpa/inet.h-data: Likewise.
68012         * conform/data/assert.h-data: Likewise.
68013         * conform/data/complex.h-data: Likewise.
68014         * conform/data/cpio.h-data: Likewise.
68015         * conform/data/ctype.h-data: Likewise.
68016         * conform/data/dirent.h-data: Likewise.
68017         * conform/data/dlfcn.h-data: Likewise.
68018         * conform/data/errno.h-data: Likewise.
68019         * conform/data/fcntl.h-data: Likewise.
68020         * conform/data/float.h-data: Likewise.
68021         * conform/data/fmtmsg.h-data: Likewise.
68022         * conform/data/fnmatch.h-data: Likewise.
68023         * conform/data/ftw.h-data: Likewise.
68024         * conform/data/glob.h-data: Likewise.
68025         * conform/data/grp.h-data: Likewise.
68026         * conform/data/iconv.h-data: Likewise.
68027         * conform/data/inttypes.h-data: Likewise.
68028         * conform/data/langinfo.h-data: Likewise.
68029         * conform/data/libgen.h-data: Likewise.
68030         * conform/data/limits.h-data: Likewise.
68031         * conform/data/locale.h-data: Likewise.
68032         * conform/data/math.h-data: Likewise.
68033         * conform/data/monetary.h-data: Likewise.
68034         * conform/data/mqueue.h-data: Likewise.
68035         * conform/data/ndbm.h-data: Likewise.
68036         * conform/data/net/if.h-data: Likewise.
68037         * conform/data/netdb.h-data: Likewise.
68038         * conform/data/netinet/in.h-data: Likewise.
68039         * conform/data/nl_types.h-data: Likewise.
68040         * conform/data/poll.h-data: Likewise.
68041         * conform/data/pthread.h-data: Likewise.
68042         * conform/data/pwd.h-data: Likewise.
68043         * conform/data/regex.h-data: Likewise.
68044         * conform/data/sched.h-data: Likewise.
68045         * conform/data/search.h-data: Likewise.
68046         * conform/data/semaphore.h-data: Likewise.
68047         * conform/data/setjmp.h-data: Likewise.
68048         * conform/data/signal.h-data: Likewise.
68049         * conform/data/spawn.h-data: Likewise.
68050         * conform/data/stdarg.h-data: Likewise.
68051         * conform/data/stdio.h-data: Likewise.
68052         * conform/data/stdlib.h-data: Likewise.
68053         * conform/data/string.h-data: Likewise.
68054         * conform/data/strings.h-data: Likewise.
68055         * conform/data/stropts.h-data: Likewise.
68056         * conform/data/sys/ipc.h-data: Likewise.
68057         * conform/data/sys/mman.h-data: Likewise.
68058         * conform/data/sys/msg.h-data: Likewise.
68059         * conform/data/sys/resource.h-data: Likewise.
68060         * conform/data/sys/select.h-data: Likewise.
68061         * conform/data/sys/sem.h-data: Likewise.
68062         * conform/data/sys/shm.h-data: Likewise.
68063         * conform/data/sys/socket.h-data: Likewise.
68064         * conform/data/sys/stat.h-data: Likewise.
68065         * conform/data/sys/statvfs.h-data: Likewise.
68066         * conform/data/sys/time.h-data: Likewise.
68067         * conform/data/sys/timeb.h-data: Likewise.
68068         * conform/data/sys/times.h-data: Likewise.
68069         * conform/data/sys/types.h-data: Likewise.
68070         * conform/data/sys/uio.h-data: Likewise.
68071         * conform/data/sys/un.h-data: Likewise.
68072         * conform/data/sys/utsname.h-data: Likewise.
68073         * conform/data/sys/wait.h-data: Likewise.
68074         * conform/data/syslog.h-data: Likewise.
68075         * conform/data/tar.h-data: Likewise.
68076         * conform/data/termios.h-data: Likewise.
68077         * conform/data/utime.h-data: Likewise.
68078         * conform/data/utmpx.h-data: Likewise.
68079         * conform/data/varargs.h-data: Likewise.
68080         * conform/data/wchar.h-data: Likewise.
68081         * conform/data/wctype.h-data: Likewise.
68082         * conform/data/wordexp.h-data: Likewise.
68084         * include/stropts.h: New file.
68085         * include/uchar.h: New file.
68086         * include/aio.h: Changes to allow conformtest.pl to use the headers.
68087         * include/assert.h: Likewise.
68088         * include/ctype.h: Likewise.
68089         * include/dirent.h: Likewise.
68090         * include/dlfcn.h: Likewise.
68091         * include/fcntl.h: Likewise.
68092         * include/fnmatch.h: Likewise.
68093         * include/glob.h: Likewise.
68094         * include/grp.h: Likewise.
68095         * include/libio.h: Likewise.
68096         * include/locale.h: Likewise.
68097         * include/math.h: Likewise.
68098         * include/net/if.h: Likewise.
68099         * include/netdb.h: Likewise.
68100         * include/netinet/in.h: Likewise.
68101         * include/pthread.h: Likewise.
68102         * include/pwd.h: Likewise.
68103         * include/regex.h: Likewise.
68104         * include/sched.h: Likewise.
68105         * include/search.h: Likewise.
68106         * include/setjmp.h: Likewise.
68107         * include/signal.h: Likewise.
68108         * include/stdio.h: Likewise.
68109         * include/stdlib.h: Likewise.
68110         * include/string.h: Likewise.
68111         * include/sys/cdefs.h: Likewise.
68112         * include/sys/mman.h: Likewise.
68113         * include/sys/msg.h: Likewise.
68114         * include/sys/resource.h: Likewise.
68115         * include/sys/select.h: Likewise.
68116         * include/sys/socket.h: Likewise.
68117         * include/sys/stat.h: Likewise.
68118         * include/sys/statvfs.h: Likewise.
68119         * include/sys/time.h: Likewise.
68120         * include/sys/times.h: Likewise.
68121         * include/sys/uio.h: Likewise.
68122         * include/sys/utsname.h: Likewise.
68123         * include/sys/wait.h: Likewise.
68124         * include/termios.h: Likewise.
68125         * include/time.h: Likewise.
68126         * include/ulimit.h: Likewise.
68127         * include/unistd.h: Likewise.
68128         * include/utime.h: Likewise.
68129         * include/wchar.h: Likewise.
68130         * include/wctype.h: Likewise.
68131         * include/wordexp.h: Likewise.
68133         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
68135         * time/time.h: TIME_UTC must be a macro.
68136         Make timespec_get available for ISO C11 only as well.
68138 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
68140         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
68141         Reported by Peng Haitao <penght@cn.fujitsu.com>.
68143 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
68145         * configure.in: Use -o not -a in test for unsupported multi-arch.
68147 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
68149         * manual/texinfo.tex: Update to version 2012-01-19.16.
68151 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
68153         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
68155 2012-02-24  Roland McGrath  <roland@hack.frob.com>
68157         [BZ #13738]
68158         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
68159         * manual/fdl-1.3.texi: New file.
68160         * manual/fdl-1.1.texi: File removed.
68162         [BZ #13738]
68163         * manual/libc.texinfo (FDL_VERSION): New @set.
68164         Use it for mention of FDL in cover text.
68165         (Documentation License): Use it in @include file name.
68167 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68168             Roland McGrath  <roland@hack.frob.com>
68170         [BZ #5461]
68171         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
68172         (not LONG_LONG_MAX and LONG_LONG_MIN.
68173         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
68174         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
68175         name.
68176         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
68178 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68180         [BZ #2547]
68181         [BZ #11365]
68182         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
68183         manipulate bits before adding and subtracting TWO23[sx].
68184         * math/libm-test.inc (nearbyint_test): Add more tests.
68186 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68188         [BZ #2548]
68189         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
68190         bits before adding and subtracting TWO23[sx].
68191         * math/libm-test.inc (rint_test): Add more tests.
68192         (rint_test_tonearest): Likewise.
68193         (rint_test_towardzero): Likewise.
68194         (rint_test_downward): Likewise.
68195         (rint_test_upward: Likewise.
68197 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68199         [BZ #10110]
68200         * include/stdc-predef.h: New file.  Extracted from features.h.
68201         * include/features.h: Include stdc-predef.h.
68202         * Makefile (headers): Add stdc-predef.h.
68203         * CONFORMANCE (Compiler limitations): Update.
68205 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
68207         * manual/libc.texinfo (VERSION, UPDATED): Revert.
68209 2012-02-21  David S. Miller  <davem@davemloft.net>
68211         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
68212         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
68214 2012-02-20  David S. Miller  <davem@davemloft.net>
68216         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
68217         using a normal save/restore sequence, rather than allocating a
68218         dummy stack frame just to store a frame pointer and restore.
68219         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
68221 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
68223         * manual/install.texi: Fix stray word in line-wrapped comment.
68225 2012-02-20  David S. Miller  <davem@davemloft.net>
68227         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
68228         both binutils and gcc support GOTDATA.
68230         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
68231         "rd %pc" in the PIC register setup sequences.
68233         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
68234         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
68235         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
68236         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
68237         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
68238         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
68239         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68240         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
68241         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
68242         (SYSCALL_ERROR_HANDLER): Likewise.
68243         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
68244         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
68245         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
68246         (SYSCALL_ERROR_HANDLER): Likewise.
68248         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
68249         (HAVE_GCC_GOTDATA): New.
68250         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
68251         relocation support in both binutils and gcc.
68252         * sysdeps/sparc/elf/configure: Regenerate.
68254         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
68255         * sysdeps/sparc/sparc32/elf/configure: Delete.
68256         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
68257         * sysdeps/sparc/sparc64/elf/configure: Delete.
68258         * sysdeps/sparc/elf/configure.in: New file.
68259         * sysdeps/sparc/elf/configure: Generate.
68261         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
68262         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
68263         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
68264         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
68265         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
68267 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
68269         * manual/install.texi: Do not mention specific glibc version
68270         numbers.
68271         * manual/libc.texinfo (VERSION, UPDATED): Update.
68272         (@copying): Use @copyright{} and range of years.
68274 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
68276         [BZ #13695]
68277         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
68278         [crti.S not in sysdirs] (generated): Do not append.
68279         [crti.S not in sysdirs] (omit-deps): Likewise.
68280         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
68281         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
68282         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
68283         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
68284         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
68285         Likewise.
68286         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
68287         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
68288         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
68289         * csu/defs.awk: Remove file.
68290         * sysdeps/generic/initfini.c: Likewise.
68291         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
68292         variable.
68293         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
68294         Likewise.
68296 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
68298         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
68299         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
68300         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
68301         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
68302         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
68303         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
68304         <bits/epoll.h>.
68305         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
68306         (__EPOLL_PACKED): Define to empty if not defined by
68307         <bits/epoll.h>.
68308         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
68309         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68310         bits/epoll.h.
68312 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
68314         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
68315         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
68316         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
68317         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
68318         <bits/timerfd.h>.
68319         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
68320         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68321         bits/timerfd.h.
68323 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
68325         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
68326         in C locale.
68327         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
68328         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
68329         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
68330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68332 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
68334         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68335         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
68337 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
68339         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
68340         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
68341         defined.
68342         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
68343         Likewise.
68344         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
68345         entry for 2.16.
68347 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
68349         * math/w_acos.c: Use non-signaling floating-point comparisons.
68350         * math/w_acosf.c: Likewise.
68351         * math/w_acosh.c: Likewise.
68352         * math/w_acoshf.c: Likewise.
68353         * math/w_acoshl.c: Likewise.
68354         * math/w_acosl.c: Likewise.
68355         * math/w_asin.c: Likewise.
68356         * math/w_asinf.c: Likewise.
68357         * math/w_asinl.c: Likewise.
68358         * math/w_atanh.c: Likewise.
68359         * math/w_atanhf.c: Likewise.
68360         * math/w_atanhl.c: Likewise.
68361         * math/w_exp2.c: Likewise.
68362         * math/w_exp2f.c: Likewise.
68363         * math/w_exp2l.c: Likewise.
68364         * math/w_j0.c: Likewise.
68365         * math/w_j0f.c: Likewise.
68366         * math/w_j0l.c: Likewise.
68367         * math/w_j1.c: Likewise.
68368         * math/w_j1f.c: Likewise.
68369         * math/w_j1l.c: Likewise.
68370         * math/w_jn.c: Likewise.
68371         * math/w_jnf.c: Likewise.
68372         * math/w_log.c: Likewise.
68373         * math/w_log10.c: Likewise.
68374         * math/w_log10f.c: Likewise.
68375         * math/w_log10l.c: Likewise.
68376         * math/w_log2.c: Likewise.
68377         * math/w_log2f.c: Likewise.
68378         * math/w_log2l.c: Likewise.
68379         * math/w_logf.c: Likewise.
68380         * math/w_logl.c: Likewise.
68381         * math/w_sqrt.c: Likewise.
68382         * math/w_sqrtf.c: Likewise.
68383         * math/w_sqrtl.c: Likewise.
68384         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
68385         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
68386         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68387         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
68388         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
68390 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
68392         [BZ #9739]
68393         * manual/string.texi (strnlen): Use correct parameter name in
68394         equivalent expression.
68396 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
68398         [BZ #11174]
68399         * manual/users.texi (seteuid): Consistently use neweuid for
68400         argument name.
68402 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
68404         [BZ #13704]
68405         * manual/nss.texi (Services in the NSS configuration): Correct
68406         list of services in example configuration file.
68408 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
68410         [BZ #11322]
68411         * manual/arith.texi: Remove statements about negative zero
68412         behaving identically to zero.
68414 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
68416         [BZ #5993]
68417         * manual/install.texi: Do not document upgrading from libc5.
68419 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
68421         [BZ #4596]
68422         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
68424 2012-02-18  David S. Miller  <davem@davemloft.net>
68426         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
68427         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
68428         %o7 across the call.
68429         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
68430         instead.
68431         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
68432         SETUP_PIC_REG_LEAF.
68433         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68434         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
68435         * sysdeps/sparc/crtn.S: Likewise.
68437 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
68439         * aout/Makefile: Remove.
68441 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
68443         [BZ #13058]
68444         * manual/examples/argp-ex1.c (main): Format definition in GNU
68445         style.
68446         * manual/examples/argp-ex2.c (main): Likewise.
68447         * manual/examples/argp-ex3.c (main): Likewise.
68448         * manual/examples/argp-ex4.c (main): Likewise.
68449         * manual/examples/longopt.c (main): Use new-style prototype
68450         definition.
68451         * manual/examples/strncat.c (main): Specify return type and use
68452         (void) for arguments.
68453         * manual/examples/subopt.c (main): Use char **argv argument.
68455 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68457         [BZ #5077]
68458         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
68459         rounding modes.
68461 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
68463         [BZ #6907]
68464         * manual/string.texi (strchr): Change when strchrnul is
68465         recommended.
68467 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
68469         [BZ #174]
68470         * manual/locale.texi (setlocale): Document LOCPATH.
68472 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68474         [BZ #10210]
68475         * manual/process.texi (execle): Move @dots{} before last argument.
68477 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
68479         [BZ #12047]
68480         * manual/charset.texi (Generic Charset Conversion): Fix typo
68481         (LC_TYPE -> LC_CTYPE).
68483 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
68485         [BZ #5805]
68486         * manual/arith.texi (scalbn): Use @var{} on parameter names.
68487         (scalbnf): Likewise.
68488         (scalbnl): Likewise.
68489         (scalbln): Likewise.
68490         (scalblnf): Likewise.
68491         (scalblnl): Likewise.
68492         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
68493         (vwarnx): Likewise.
68494         (verr): Likewise.
68495         (verrx): Likewise.
68496         * manual/filesys.texi (telldir): Use braces around return type.
68497         * manual/llio.texi (mmap): Add space after comma.
68498         (mmap64): Likewise.
68499         * manual/math.texi (jn): Use @var{} on parameter names.
68500         (jnf): Likewise.
68501         (jnl): Likewise.
68502         (yn): Likewise.
68503         (ynf): Likewise.
68504         (ynl): Likewise.
68505         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
68506         line.
68507         * manual/resource.texi (ulimit): Use @dots{} instead of literal
68508         "...".
68509         (sched_get_priority_min): Remove semicolon on @deftypefun line.
68510         (sched_get_priority_max): Likewise.
68511         * manual/signal.texi (sigvec): Add space after comma.
68512         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
68513         names.
68514         (if_indextoname): Likewise.
68515         (if_freenameindex): Likewise.
68516         (sendto): Use ',' instead of '.' in prototype.
68517         * manual/startup.texi (syscall): Use @dots{} instead of literal
68518         "...".
68519         * manual/stdio.texi (__fpending): Separate initial words of
68520         paragraph from @deftypefun line.
68521         * manual/syslog.texi (syslog): Use @dots{} instead of literal
68522         "...".
68523         (vsyslog): Use @var{} on parameter names.
68524         * manual/terminal.texi (stty): Use @var{} on parameter names.
68525         * manual/users.texi (getutmp): Use @var{} on parameter names.
68526         (getutmpx): Likewise.
68528 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68530         [BZ #6884]
68531         * manual/stdio.texi (fopen): Fix typos in description of
68532         ",ccs=STRING".
68534 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
68536         [BZ #4026]
68537         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
68538         get clock_id definition.
68540 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
68542         [BZ #4822]
68543         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
68544         (madvise): Cast every argument to void on its own.
68546 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68548         [BZ #9902]
68549         * manual/startup.texi (Exit Status): Fix typo.
68551 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
68553         [BZ #10140]
68554         * manual/examples/argp-ex1.c: Include <stdlib.h>.
68555         * manual/examples/argp-ex2.c: Likewise.
68556         * manual/examples/argp-ex3.c: Likewise.
68558 2012-02-16  Richard Henderson  <rth@redhat.com>
68560         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
68561         * sysdeps/s390/s390-32/initfini.c: Remove.
68562         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
68563         * sysdeps/s390/s390-64/initfini.c: Remove.
68565 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
68567         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
68568         compiler output for sysdeps/generic/initfini.c.
68569         * sysdeps/sh/elf/initfini.c: Remove file.
68571 2012-02-16  David S. Miller  <davem@davemloft.net>
68573         [BZ #11494]
68574         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
68576         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
68577         * sysdeps/sparc/crti.S: New file.
68578         * sysdeps/sparc/crtn.S: New file.
68579         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
68580         * sysdeps/sparc/sparc64/Makefile: Likewise.
68582 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
68584         [BZ #3335]
68585         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
68587 2012-02-15  Roland McGrath  <roland@hack.frob.com>
68589         [BZ #4822]
68590         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
68592         * mach/devstream.c (cookie_io_functions_t): Macro removed.
68593         (write, read, close): Likewise.
68594         Patch by Aurelien Jarno <aurelien@aurel32.net>.
68596 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
68598         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
68599         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
68600         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
68601         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
68602         <bits/signalfd.h>.
68603         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
68604         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68605         bits/signalfd.h.
68607 2012-02-14  Marek Polacek  <polacek@redhat.com>
68609         * sysdeps/x86_64/crti.S: New file.
68610         * sysdeps/x86_64/crtn.S: New file.
68611         * sysdeps/x86_64/elf/initfini.c: Remove file.
68613 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
68615         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
68616         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
68617         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
68618         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
68619         <bits/inotify.h>.
68620         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
68621         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68622         bits/inotify.h.
68624 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
68626         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
68627         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
68628         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
68629         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
68630         <bits/eventfd.h>.
68631         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
68632         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68633         bits/eventfd.h.
68635 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
68637         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
68638         __feraiseexcept instead of feraiseexcept.
68640         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
68641         nanosleep invocations.
68642         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
68643         strings, and add error checking for a nanosleep invocations.
68645 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
68647         Replace FSF snail mail address with URLs, as per GNU coding standards.
68648         Most of the snail mail addresses were wrong anyway, and omitting
68649         them makes the source code easier to maintain.  Almost all of the
68650         changes are to license notices and to locale LC_IDENTIFICATION
68651         addresses, except for this one:
68652         * manual/libc.texinfo: In "Published by", give the FSF's URL,
68653         not its snail mail address.
68655 2012-02-09  Richard Henderson  <rth@twiddle.net>
68657         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
68658         of kernel-features.h.
68660         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
68662 2012-02-08  Marek Polacek  <polacek@redhat.com>
68664         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
68665         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
68666         * sysdeps/gnu/_G_config.h: Likewise.
68667         * sysdeps/generic/_G_config.h: Likewise.
68669 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
68671         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
68672         tests.
68673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68675         * sysdeps/powerpc/powerpc32/crti.S: New file.
68676         * sysdeps/powerpc/powerpc32/crtn.S: New file.
68677         * sysdeps/powerpc/powerpc64/crti.S: New file.
68678         * sysdeps/powerpc/powerpc64/crtn.S: New file.
68680         * Makeconfig (have-initfini): Don't set.
68681         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
68682         * configure.in (nopic_initfini): Don't substitute.
68683         * config.h.in (HAVE_INITFINI): Don't #undef.
68684         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
68685         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
68687 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
68689         Support crti.S and crtn.S provided directly by architectures.
68690         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
68691         [crti.S in sysdirs] (omit-deps): Likewise.
68692         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
68693         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
68694         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
68695         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
68696         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
68697         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
68698         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
68699         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
68700         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
68701         compiler output for sysdeps/generic/initfini.c.
68702         * sysdeps/i386/elf/Makefile: Remove file.
68703         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
68705 2012-02-07  Marek Polacek  <polacek@redhat.com>
68707         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
68708         * sysdeps/gnu/_G_config.h: Likewise.
68709         * sysdeps/mach/hurd/_G_config.h: Likewise.
68711 2012-02-07  Marek Polacek  <polacek@redhat.com>
68713         * math/Makefile (tests): Add tst-CMPLX2.
68714         * math/tst-CMPLX2.c: New file.
68716 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
68718         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68720         * math/libm-test.inc (jn_test): Add missing L suffix.
68722 2012-02-06  Marek Polacek  <polacek@redhat.com>
68724         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
68725         * sysdeps/i386/fpu/e_powf.S: Likewise.
68726         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
68727         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
68728         * sysdeps/i386/fpu/e_acosh.S: Likewise.
68729         * sysdeps/i386/fpu/e_pow.S: Likewise.
68730         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
68731         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
68732         * sysdeps/i386/fpu/s_expm1.S: Likewise.
68733         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
68734         * sysdeps/i386/fpu/e_log2.S: Likewise.
68735         * sysdeps/i386/fpu/e_log2l.S: Likewise.
68736         * sysdeps/i386/fpu/e_scalb.S: Likewise.
68737         * sysdeps/i386/fpu/e_powl.S: Likewise.
68738         * sysdeps/i386/fpu/s_log1p.S: Likewise.
68739         * sysdeps/i386/fpu/e_log10f.S: Likewise.
68740         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
68741         * sysdeps/i386/fpu/e_logl.S: Likewise.
68742         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
68743         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
68744         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
68745         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
68746         * sysdeps/i386/fpu/e_log2f.S: Likewise.
68747         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
68748         * sysdeps/i386/fpu/e_log.S: Likewise.
68749         * sysdeps/i386/fpu/s_cexp.S: Likewise.
68750         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
68751         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
68752         * sysdeps/i386/fpu/e_logf.S: Likewise.
68753         * sysdeps/i386/fpu/e_log10l.S: Likewise.
68754         * sysdeps/i386/fpu/e_atanh.S: Likewise.
68755         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
68756         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
68757         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
68758         * sysdeps/i386/fpu/e_log10.S: Likewise.
68759         * sysdeps/i386/fpu/s_frexp.S: Likewise.
68760         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
68761         * sysdeps/i386/fpu/s_asinh.S: Likewise.
68762         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
68763         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
68764         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
68765         * sysdeps/i386/asm-syntax.h: Likewise.
68766         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
68767         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68768         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
68769         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
68770         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
68771         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
68772         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
68773         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
68774         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
68775         * sysdeps/powerpc/sysdep.h: Likewise.
68776         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
68777         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
68779 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
68781         [BZ #411]
68782         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
68784 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
68786         * sysdeps/i386/sysdep.h: Include <features.h>.
68787         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
68788         version.
68790 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
68792         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
68793         Define.
68794         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
68795         LOAD_PIC_REG_STR.
68797 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
68799         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
68800         (SETUP_PIC_REG): Use GET_PC_THUNK.
68801         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
68802         macro.
68804 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
68806         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
68807         for non-PIC compilation.
68808         (SETUP_PIC_REG): Add .p2align directive.
68809         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
68810         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
68811         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
68812         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
68813         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
68814         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
68815         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
68816         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
68817         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
68818         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
68819         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
68820         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
68821         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
68822         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
68823         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
68824         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
68825         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
68826         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
68827         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
68828         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
68829         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
68830         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
68831         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
68832         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
68833         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
68834         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
68835         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
68836         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
68837         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
68838         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
68839         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
68840         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
68841         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
68842         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
68843         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
68844         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
68845         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
68846         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
68847         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
68848         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
68849         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
68851 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
68853         * math/tst-CMPLX.c: Include <stdio.h>.
68855 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
68857         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
68858         float.
68859         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
68860         * sysdeps/sparc/bits/mathdef.h: Likewise.
68862 2012-01-31  Marek Polacek  <polacek@redhat.com>
68864         * libio/libio.h: Don't define _PARAMS.
68865         * locale/programs/config.h: Don't define PARAMS.
68866         * stdlib/strtol_l.c: Likewise.
68867         (__strtol_l): Remove PARAMS from the prototype.
68869 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
68871         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
68872         names.  Just use the correct names.  Remove unnecessary wrapper
68873         functions.
68874         * malloc/arena.c: Likewise.
68875         * malloc/hooks.c: Likewise.
68877         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
68878         ARENA_TEST says not to.  Simplify test for creation of a new arena.
68879         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
68881 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
68883         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
68884         into tail calls.
68885         (update_get_addr): New function.
68886         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
68887         GET_ADDR_MODULE parameter.
68889 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
68891         * crypt/cert.c: Remove __STDC__ conditionals.
68892         * crypt/crypt-entry.c: Likewise.
68893         * crypt/crypt_util.c: Likewise.
68894         * libio/filedoalloc.c: Likewise.
68895         * libio/fileops.c: Likewise.
68896         * libio/genops.c: Likewise.
68897         * libio/iofclose.c: Likewise.
68898         * libio/iofdopen.c: Likewise.
68899         * libio/iofopen.c: Likewise.
68900         * libio/iofopen64.c: Likewise.
68901         * libio/iogetdelim.c: Likewise.
68902         * libio/iopopen.c: Likewise.
68903         * libio/obprintf.c: Likewise.
68904         * libio/oldfileops.c: Likewise.
68905         * libio/oldiofclose.c: Likewise.
68906         * libio/oldiofdopen.c: Likewise.
68907         * libio/oldiofopen.c: Likewise.
68908         * libio/oldiopopen.c: Likewise.
68909         * libio/wfiledoalloc.c: Likewise.
68910         * libio/wgenops.c: Likewise.
68911         * locale/programs/xmalloc.c: Likewise.
68912         * misc/syslog.c: Likewise.
68913         * stdio-common/xbug.c: Likewise.
68914         * string/memchr.c: Likewise.
68915         * string/memcmp.c: Likewise.
68916         * string/memrchr.c: Likewise.
68917         * string/rawmemchr.c: Likewise.
68918         * sysdeps/posix/getcwd.c: Likewise.
68919         * time/strftime_l.c: Likewise.
68921 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
68923         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
68924         * config.make.in (config-cflags-sse2avx): Define.
68925         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
68926         Fix typo.
68928 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
68930         * scripts/config.guess: Update from upstream config git repository.
68931         * scripts/config.sub: Likewise.
68933 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
68935         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
68936         (EM_NUM): Update.
68937         (R_TILEPRO_*, R_TILEGX_*): New macros.
68939         * scripts/firstversions.awk: Fix bug in version range handling.
68941         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
68943         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
68945         * include/sys/epoll.h: New file.
68946         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
68947         libc_hidden_def.
68949 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
68951         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
68952         Avoid unnecessary __WORDSIZE == 64 test.
68953         (fmaxf): Use VEX format if possible.
68954         (fmax): Likewise.
68955         (fminf): Likewise.
68956         (fmin): Likewise.
68958         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
68959         * math/math_private.h: Remove libc_fegetround* and
68960         libc_fesetround*.
68961         * sysdeps/i386/configure.in: Check for -msse2avx.
68962         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
68963         also if SSE2AVX is defined.
68964         Remove libc_fegetround* and libc_fesetround*.
68965         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
68966         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
68967         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
68968         of HAS_YMM_USABLE.
68969         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
68970         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
68971         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
68972         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
68973         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
68975         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
68977 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68979         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
68980         size is not set.
68981         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
68983 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
68985         [BZ #13618]
68986         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
68987         relocation.
68988         * Makeconfig (libm): Define.
68989         * elf/Makefile: Add rules to build and run tst-relsort1.
68990         * elf/tst-relsort1.c: New file.
68991         * elf/tst-relsort1mod1.c: New file.
68992         * elf/tst-relsort1mod2.c: New file.
68994 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
68996         * math/s_ldexp.c: Remove __STDC__ conditionals.
68997         * math/s_ldexpf.c: Likewise.
68998         * math/s_ldexpl.c: Likewise.
68999         * math/s_nextafter.c: Likewise.
69000         * math/s_nexttowardf.c: Likewise.
69001         * math/s_significand.c: Likewise.
69002         * math/s_significandf.c: Likewise.
69003         * math/s_significandl.c: Likewise.
69004         * math/w_jnl.c: Likewise.
69005         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
69006         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
69007         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
69008         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
69009         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
69010         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
69011         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
69012         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
69013         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
69014         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
69015         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
69016         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69017         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
69018         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
69019         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
69020         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
69021         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
69022         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
69023         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
69024         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
69025         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
69026         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
69027         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
69028         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
69029         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
69030         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
69031         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
69032         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
69033         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
69034         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
69035         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
69036         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
69037         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
69038         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
69039         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
69040         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
69041         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
69042         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
69043         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
69044         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
69045         * sysdeps/ieee754/k_standard.c: Likewise.
69046         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
69047         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
69048         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
69049         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
69050         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
69051         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
69052         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
69053         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
69054         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
69055         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
69056         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
69057         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
69058         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
69059         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
69060         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
69061         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
69062         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
69063         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
69064         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
69065         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
69066         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
69067         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
69068         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
69069         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
69070         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
69071         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
69072         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
69073         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
69074         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
69075         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
69076         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
69077         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
69078         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
69079         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
69080         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
69081         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
69082         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
69083         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
69084         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
69085         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
69086         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
69087         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
69088         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
69089         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
69090         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
69091         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
69092         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
69093         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
69094         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
69095         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
69096         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
69097         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
69098         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
69099         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
69100         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
69101         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
69102         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
69103         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
69104         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
69105         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
69106         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
69107         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
69108         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
69109         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
69110         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
69111         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
69112         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
69113         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
69114         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
69115         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
69116         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
69117         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
69118         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
69119         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
69120         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
69121         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
69122         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
69123         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
69124         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
69125         * sysdeps/ieee754/s_matherr.c: Likewise.
69126         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
69127         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
69128         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
69129         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
69131 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
69133         * crypt/md5.h: Remove __STDC__ conditionals.
69134         * libio/libioP.h: Likewise.
69135         * locale/programs/config.h: Likewise.
69136         * sysdeps/generic/sysdep.h: Likewise.
69137         * sysdeps/i386/asm-syntax.h: Likewise.
69138         * sysdeps/s390/asm-syntax.h: Likewise.
69139         * sysdeps/unix/sysdep.h: Likewise.
69140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
69141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
69143 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
69145         * libio/libio.h: Remove __STDC__ conditionals.
69146         * malloc/obstack.h: Likewise.
69147         * math/complex.h: Likewise.
69148         * math/math.h: Likewise.
69149         * sysdeps/generic/_G_config.h: Likewise.
69150         * sysdeps/gnu/_G_config.h: Likewise.
69151         * sysdeps/mach/hurd/_G_config.h: Likewise.
69152         * sysdeps/powerpc/bits/mathdef.h: Likewise.
69153         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
69154         * sysdeps/sparc/bits/mathdef.h: Likewise.
69156 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
69158         [BZ #13583]
69159         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
69160         Clean up HAS_* macros.
69161         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
69162         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
69163         possible.
69164         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
69165         HAS_AVX.
69166         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
69167         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
69168         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
69169         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
69170         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
69172 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
69174         * elf/tst-unique3.cc (gets): Remove declaration.
69175         * elf/tst-unique3lib.cc (gets): Likewise.
69176         * elf/tst-unique3lib2.cc (gets): Likewise.
69177         * elf/tst-unique4.cc (gets): Likewise.
69179 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
69181         * include/stdio.h: Add C++ protection.  Add gets declarations and
69182         definitions.
69183         * debug/tst-chk1.c: Don't declare gets here.
69184         * stdio-common/tst-gets.c: Likewise.
69186 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
69188         * posix/glob: Remove directory.
69190 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
69192         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
69194 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
69196         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
69197         of the non-standard EPFNOSUPPORT.
69199 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69201         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
69202         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
69203         ANYWHERE set to 1 only on KERN_NO_SPACE error.
69205 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
69207         * wcsmbs/uchar.h: Test __STDC_VERSION__.
69209 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
69211         * nscd/aicache.c (addhstaiX): Do not cache negative results of
69212         transient errors.
69213         * nscd/grpcache.c (cache_addgr): Likewise.
69214         * nscd/hstcache.c (cache_addhst): Likewise.
69215         * nscd/initgrcache.c (addinitgroupsX): Likewise.
69216         * nscd/pwdcache.c (cache_addpw): Likewise.
69217         * nscd/servicescache.c (cache_addserv): Likewise.
69219 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
69221         * malloc/malloc.c: Various cleanups.
69222         * malloc/hooks.c: Likewise.
69224         * stdlib/Makefile (tests): Add bug-fmtmsg1.
69225         * stdlib/bug-fmtmsg1.c: New file.
69227         * stdlib/fmtmsg.c (init): Add missing unlock.
69228         Patch by Peng Haitao <penght@cn.fujitsu.com>.
69230 2012-01-12  Marek Polacek  <polacek@redhat.com>
69232         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
69233         and _GNU_SOURCE.
69235 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
69237         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
69238         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
69239         macro to ensure uniqueness of label name.
69240         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
69241         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
69243 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
69245         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
69247         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
69248         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
69249         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
69250         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
69252 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
69254         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
69256         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
69257         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
69258         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
69260         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
69262         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
69263         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
69264         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
69265         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
69267         * math/bits/math-finite.h: Add ldexp support.
69269 2012-01-10  Marek Polacek  <polacek@redhat.com>
69271         * locale/programs/localedef.h (show_archive_content): Add noreturn
69272         attribute.
69274 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
69276         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
69278 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
69280         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
69282         * io/Makefile (headers): Add bits/poll2.h.
69284 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
69286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
69287         typo #include statement.
69289 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
69291         * include/sys/cdefs.h: Define __attribute_alloc_size.
69292         * catgets/gencat.c: Add alloc_size attribute and apply consistently
69293         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
69294         * elf/pldd.c: Likewise.
69295         * iconv/iconv_charmap.c: Likewise.
69296         * iconv/iconvconfig.c: Likewise.
69297         * iconv/strtab.c: Likewise.
69298         * locale/programs/locale.c: Likewise.
69299         * locale/programs/localedef.h: Likewise.
69300         * locale/programs/simple-hash.c: Likewise.
69301         * nscd/nscd.h: Likewise.
69302         * nss/makedb.c: Likewise.
69303         * sysdeps/generic/ldconfig.h: Likewise.
69304         * locale/programs/localedef.c: Remove xmalloc prototype.
69305         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
69307 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
69309         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
69310         appropriate.
69312 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
69314         * math/Makefile (tests): Add tst-CMPLX.
69315         * math/tst-CMPLX.c: New file.
69317         * math/complex.h (CMPLXL): Fix typo.
69319         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
69320         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
69321         GLIBC_2.16.
69322         * debug/tst-chk1.c: Add poll and ppoll tests.
69323         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
69324         * include/sys/poll.h: Add hidden proto for ppoll.
69325         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
69326         * sysdeps/mach/hurd/ppoll.c: Likewise.
69327         * io/ppoll.c: Likewise.
69328         * debug/poll_chk.c: New file.
69329         * debug/ppoll_chk.c: New file.
69330         * include/bits/poll2.h: New file.
69331         * io/bits/poll2.h: New file.
69333         [BZ #1350]
69334         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
69336         * configure.in: static is always set to yes.  Remove.
69337         * config.make.in: Don't set build-static.
69338         * Makeconfig: Remove use of build-static.
69339         * dlfcn/Makefile: Likewise.
69340         * elf/Makefile: Likewise.
69341         * math/Makefile: Likewise.
69342         * misc/Makefile: Likewise.
69343         * nptl/Makefile: Likewise.
69344         * sysdeps/mach/hurd/Makefile: Likewise.
69346         * configure.in: PWD_P is not used anymore.
69347         * config.make.in: Remove PWD_P entry.
69349         * configure.in: Remove last remnants of RANLIB.
69350         No need to check for signed size_t anymore.
69351         Don't set libc_commonpagesize and libc_relro_required here for Alpha
69352         and IA-64.
69353         Remove __builtin_expect test because we require at least gcc 3.4.
69354         * aclocal.m4: Likewise.
69356         * wcsmbs/mbrtoc16.c: Implement using towc function.
69357         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
69358         * wcsmbs/wcsmbsload.c: Likewise.
69359         * iconv/gconv_simple.c: Likewise.
69360         * iconv/gconv_int.h: Likewise.
69361         * iconv/gconv_builtin.h: Likewise.
69362         * iconv/iconv_prog.c: Remove CHAR16 handling.
69364         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
69366         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
69368         * configure.in: Remove --with-elf and --enable-bounded options.
69369         Dont set base_machine for ia64.  More non-ELF conditions removed.
69370         Remove testing and setting of leading underscore information.
69371         * config.make.in (build-bounded): Set to no.
69372         * config.h.in: Remove NO_UNDERSCORES entry.
69373         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
69374         them.
69375         * csu/start.c: Remove !NO_UNDERSCORE code.
69376         * locale/localeinfo.h: Likewise.
69377         * sysdeps/generic/machine-gmon.h: Likewise.
69378         * sysdeps/generic/sysdep.h: Likewise.
69379         * sysdeps/i386/sysdep.h: Likewise.
69380         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
69381         * sysdeps/mach/sysdep.h: Likewise.
69382         * sysdeps/s390/s390-32/sysdep.h: Likewise.
69383         * sysdeps/s390/s390-64/sysdep.h: Likewise.
69384         * sysdeps/sh/sysdep.h: Likewise.
69385         * sysdeps/sparc/sparc32/alloca.S: Likewise.
69386         * sysdeps/unix/i386/sysdep.S: Likewise.
69387         * sysdeps/unix/sparc/start.c: Likewise.
69388         * sysdeps/unix/sparc/sysdep.S: Likewise.
69389         * sysdeps/unix/sparc/sysdep.h: Likewise.
69390         * sysdeps/unix/start.c: Likewise.
69391         * sysdeps/unix/x86_64/sysdep.S: Likewise.
69392         * sysdeps/x86_64/sysdep.h: Likewise.
69394 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
69396         [BZ #13553]
69397         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
69398         for non-gcc.
69399         * argp/argp-fmtstream.h: Use const instead __const.
69400         * argp/argp.h: Likewise.
69401         * assert/assert.h: Likewise.
69402         * bits/fenv.h: Likewise.
69403         * bits/sched.h: Likewise.
69404         * bits/sigset.h: Likewise.
69405         * bits/sigthread.h: Likewise.
69406         * catgets/nl_types.h: Likewise.
69407         * conform/data/pthread.h-data: Likewise.
69408         * crypt/crypt-private.h: Likewise.
69409         * crypt/crypt.h: Likewise.
69410         * crypt/crypt_util.c: Likewise.
69411         * ctype/ctype.h: Likewise.
69412         * debug/execinfo.h: Likewise.
69413         * debug/mbsnrtowcs_chk.c: Likewise.
69414         * debug/mbsrtowcs_chk.c: Likewise.
69415         * debug/wcsnrtombs_chk.c: Likewise.
69416         * debug/wcsrtombs_chk.c: Likewise.
69417         * debug/wcstombs_chk.c: Likewise.
69418         * dirent/dirent.h: Likewise.
69419         * dlfcn/dlfcn.h: Likewise.
69420         * elf/neededtest4.c: Likewise.
69421         * grp/grp.h: Likewise.
69422         * gshadow/gshadow.h: Likewise.
69423         * iconv/gconv.h: Likewise.
69424         * iconv/gconv_int.h: Likewise.
69425         * iconv/gconv_simple.c: Likewise.
69426         * iconv/iconv.h: Likewise.
69427         * iconv/loop.c: Likewise.
69428         * iconv/skeleton.c: Likewise.
69429         * include/aio.h: Likewise.
69430         * include/aliases.h: Likewise.
69431         * include/argz.h: Likewise.
69432         * include/arpa/inet.h: Likewise.
69433         * include/assert.h: Likewise.
69434         * include/dirent.h: Likewise.
69435         * include/dlfcn.h: Likewise.
69436         * include/execinfo.h: Likewise.
69437         * include/fcntl.h: Likewise.
69438         * include/fenv.h: Likewise.
69439         * include/glob.h: Likewise.
69440         * include/grp.h: Likewise.
69441         * include/libintl.h: Likewise.
69442         * include/mntent.h: Likewise.
69443         * include/netdb.h: Likewise.
69444         * include/pwd.h: Likewise.
69445         * include/rpc/netdb.h: Likewise.
69446         * include/sched.h: Likewise.
69447         * include/search.h: Likewise.
69448         * include/shadow.h: Likewise.
69449         * include/signal.h: Likewise.
69450         * include/stdio.h: Likewise.
69451         * include/stdlib.h: Likewise.
69452         * include/string.h: Likewise.
69453         * include/sys/socket.h: Likewise.
69454         * include/sys/stat.h: Likewise.
69455         * include/sys/statfs.h: Likewise.
69456         * include/sys/statvfs.h: Likewise.
69457         * include/sys/syslog.h: Likewise.
69458         * include/sys/time.h: Likewise.
69459         * include/sys/uio.h: Likewise.
69460         * include/time.h: Likewise.
69461         * include/unistd.h: Likewise.
69462         * include/utmp.h: Likewise.
69463         * include/wchar.h: Likewise.
69464         * include/wctype.h: Likewise.
69465         * inet/aliases.h: Likewise.
69466         * inet/arpa/inet.h: Likewise.
69467         * inet/netinet/ether.h: Likewise.
69468         * inet/netinet/in.h: Likewise.
69469         * intl/libintl.h: Likewise.
69470         * io/bits/fcntl2.h: Likewise.
69471         * io/fcntl.h: Likewise.
69472         * io/ftw.h: Likewise.
69473         * io/sys/poll.h: Likewise.
69474         * io/sys/stat.h: Likewise.
69475         * io/sys/statfs.h: Likewise.
69476         * io/sys/statvfs.h: Likewise.
69477         * io/utime.h: Likewise.
69478         * libio/bits/stdio.h: Likewise.
69479         * libio/bits/stdio2.h: Likewise.
69480         * libio/libio.h: Likewise.
69481         * libio/libioP.h: Likewise.
69482         * libio/stdio.h: Likewise.
69483         * locale/lc-ctype.c: Likewise.
69484         * locale/locale.h: Likewise.
69485         * login/utmp.h: Likewise.
69486         * malloc/arena.c: Likewise.
69487         * malloc/malloc.c: Likewise.
69488         * malloc/malloc.h: Likewise.
69489         * malloc/mcheck.c: Likewise.
69490         * malloc/mtrace.c: Likewise.
69491         * math/bits/mathcalls.h: Likewise.
69492         * math/fenv.h: Likewise.
69493         * math/math_private.h: Likewise.
69494         * misc/bits/error.h: Likewise.
69495         * misc/bits/syslog.h: Likewise.
69496         * misc/err.h: Likewise.
69497         * misc/error.h: Likewise.
69498         * misc/fstab.h: Likewise.
69499         * misc/mntent.h: Likewise.
69500         * misc/regexp.h: Likewise.
69501         * misc/search.h: Likewise.
69502         * misc/sgtty.h: Likewise.
69503         * misc/sys/mman.h: Likewise.
69504         * misc/sys/syslog.h: Likewise.
69505         * misc/sys/uio.h: Likewise.
69506         * misc/sys/xattr.h: Likewise.
69507         * misc/ttyent.h: Likewise.
69508         * nis/rpcsvc/ypclnt.h: Likewise.
69509         * nss/nss.h: Likewise.
69510         * posix/bits/unistd.h: Likewise.
69511         * posix/fnmatch.h: Likewise.
69512         * posix/glob.h: Likewise.
69513         * posix/sched.h: Likewise.
69514         * posix/spawn.h: Likewise.
69515         * posix/sys/wait.h: Likewise.
69516         * posix/unistd.h: Likewise.
69517         * posix/wordexp.h: Likewise.
69518         * pwd/pwd.h: Likewise.
69519         * resolv/netdb.h: Likewise.
69520         * resource/sys/resource.h: Likewise.
69521         * rt/aio.h: Likewise.
69522         * rt/bits/mqueue2.h: Likewise.
69523         * rt/mqueue.h: Likewise.
69524         * shadow/shadow.h: Likewise.
69525         * signal/signal.h: Likewise.
69526         * socket/send.c: Likewise.
69527         * socket/sendto.c: Likewise.
69528         * socket/sys/socket.h: Likewise.
69529         * stdio-common/printf.h: Likewise.
69530         * stdlib/bits/stdlib.h: Likewise.
69531         * stdlib/fmtmsg.h: Likewise.
69532         * stdlib/monetary.h: Likewise.
69533         * stdlib/stdlib.h: Likewise.
69534         * stdlib/ucontext.h: Likewise.
69535         * streams/stropts.h: Likewise.
69536         * string/argz.h: Likewise.
69537         * string/bits/string2.h: Likewise.
69538         * string/string.h: Likewise.
69539         * string/strings.h: Likewise.
69540         * sunrpc/rpc/auth.h: Likewise.
69541         * sunrpc/rpc/auth_des.h: Likewise.
69542         * sunrpc/rpc/clnt.h: Likewise.
69543         * sunrpc/rpc/netdb.h: Likewise.
69544         * sunrpc/rpc/pmap_clnt.h: Likewise.
69545         * sunrpc/rpc/xdr.h: Likewise.
69546         * sysdeps/generic/inttypes.h: Likewise.
69547         * sysdeps/generic/net/if.h: Likewise.
69548         * sysdeps/generic/sys/swap.h: Likewise.
69549         * sysdeps/gnu/net/if.h: Likewise.
69550         * sysdeps/gnu/utmpx.h: Likewise.
69551         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
69552         * sysdeps/i386/i486/bits/string.h: Likewise.
69553         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
69554         * sysdeps/s390/bits/string.h: Likewise.
69555         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
69556         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
69557         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
69558         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
69559         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
69560         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
69561         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
69562         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
69563         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
69564         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
69565         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
69566         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
69567         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
69568         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
69569         * sysdeps/unix/sysv/linux/readv.c: Likewise.
69570         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
69571         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
69572         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69573         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
69574         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
69575         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
69576         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
69577         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
69578         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
69579         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
69580         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
69581         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
69582         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
69583         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
69584         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
69585         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
69586         * sysvipc/sys/ipc.h: Likewise.
69587         * sysvipc/sys/msg.h: Likewise.
69588         * sysvipc/sys/sem.h: Likewise.
69589         * sysvipc/sys/shm.h: Likewise.
69590         * termios/termios.h: Likewise.
69591         * time/sys/time.h: Likewise.
69592         * time/time.h: Likewise.
69593         * wcsmbs/bits/wchar2.h: Likewise.
69594         * wcsmbs/uchar.h: Likewise.
69595         * wcsmbs/wchar.h: Likewise.
69596         * wctype/wctype.h: Likewise.
69598         [BZ #13551]
69599         * Makeconfig: Remove all but ELF support including AIX support.
69600         * Makerules: Likewise.
69601         * config.h.in: Likewise.
69602         * config.make.in: Likewise.
69603         * configure: Likewise.
69604         * configure.in: Likewise.
69605         * csu/Makefile: Likewise.
69606         * csu/version.c: Likewise.
69607         * debug/Makefile: Likewise.
69608         * dlfcn/Makefile: Likewise.
69609         * elf/Makefile: Likewise.
69610         * extra-lib.mk: Likewise.
69611         * iconv/Makefile: Likewise.
69612         * include/libc-symbols.h: Likewise.
69613         * include/shlib-compat.h: Likewise.
69614         * resolv/Makefile: Likewise.
69615         * resolv/res_libc.c: Likewise.
69616         * rt/Makefile: Likewise.
69617         * sysdeps/i386/asm-syntax.h: Likewise.
69618         * sysdeps/i386/sysdep.h: Likewise.
69619         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
69620         * sysdeps/mach/sysdep.h: Likewise.
69621         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
69622         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
69623         * sysdeps/s390/asm-syntax.h: Likewise.
69624         * sysdeps/s390/s390-32/sysdep.h: Likewise.
69625         * sysdeps/s390/s390-64/sysdep.h: Likewise.
69626         * sysdeps/sh/sysdep.h: Likewise.
69627         * sysdeps/unix/sparc/sysdep.h: Likewise.
69628         * sysdeps/wordsize-32/divdi3.c: Likewise.
69629         * sysdeps/x86_64/sysdep.h: Likewise.
69631         * argp/Versions: Remove _argp_unlock_xxx.
69633         [BZ #13559]
69634         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
69635         * abilist/libBrokenLocale.abilist: Likewise.
69636         * abilist/libanl.abilist: Likewise.
69637         * abilist/libc.abilist: Likewise.
69638         * abilist/libcrypt.abilist: Likewise.
69639         * abilist/libdl.abilist: Likewise.
69640         * abilist/libm.abilist: Likewise.
69641         * abilist/libnsl.abilist: Likewise.
69642         * abilist/libpthread.abilist: Likewise.
69643         * abilist/libresolv.abilist: Likewise.
69644         * abilist/librt.abilist: Likewise.
69645         * abilist/libthread_db.abilist: Likewise.
69646         * abilist/libutil.abilist: Likewise.
69647         * abilist/libnss_db.abilist: New file.
69649         * scripts/abilist.awk: Add support for indirect functions.
69651         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
69653         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
69655         * shlib-versions: Remove entries for ports architectures.
69657         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
69658         files in ports.
69659         * elf/stackguard-macros.h: Remove support for IA-64.
69660         * elf/tst-auditmod1.c: Likewise.
69661         * sysdeps/generic/ldsodefs.h: Likewise.
69663         * sysdeps/unix/sysv/linux/configure.in: Ports should define
69664         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
69665         configure files.
69667         [BZ #13552]
69668         * configure.in: Remove --enable-omitfp support.
69669         * FAQ.in: Adjust.
69670         * config.make.in: Likewise.
69671         * Makeconfig: Likewise.
69672         * manual/install.texi: Likewise.
69674         In case anyone cares, the IA-64 architecture could move to ports.
69675         * sysdeps/ia64/*: Removed.
69676         * sysdeps/unix/sysv/linux/ia64/*: Removed.
69677         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
69679         [BZ #13555]
69680         * configure.in: Remove entries for unsupported architectures.
69682         [BZ #13533]
69683         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
69684         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
69685         routines.
69686         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
69687         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
69688         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
69689         fall back to using wcrtomb.
69690         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
69691         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
69692         renaming.
69693         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
69694         * wcsmbs/tst-c16c32-1.c: New file.
69696         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
69697         local variable.
69699         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
69701         * elf/tst-unique3.cc: Add explicit declaration of gets.
69702         * elf/tst-unique3lib.cc: Likewise.
69703         * elf/tst-unique3lib2.cc: Likewise.
69704         * elf/tst-unique4.cc: Likewise.
69706         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
69708 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
69710         [BZ #13566]
69711         * assert/assert.h (static_assert): Don't define for C++.
69712         * libio/stdio.h (gets): Do declare for C++ <= C++11.
69713         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
69715 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
69717         * iconv/loop.c (single loop): Fix assertion in storing of
69718         remaining bytes.
69720         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
69722 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
69724         * posix/getconf.c: Update copyright year.
69725         * nss/getent.c: Likewise.
69726         * nss/makedb.c: Likewise.
69727         * iconv/iconvconfig.c: Likewise.
69728         * iconv/iconv_prog.c: Likewise.
69729         * elf/ldconfig.c: Likewise.
69730         * elf/pldd.c: Likewise.
69731         * elf/sotruss.ksh: Likewise.
69732         * catgets/gencat.c: Likewise.
69733         * csu/version.c: Likewise.
69734         * elf/ldd.bash.in: Likewise.
69735         * elf/sprof.c (print_version): Likewise.
69736         * locale/programs/locale.c: Likewise.
69737         * locale/programs/localedef.c: Likewise.
69738         * login/programs/pt_chown.c: Likewise.
69739         * nscd/nscd.c (print_version): Likewise.
69740         * debug/xtrace.sh: Likewise.
69741         * malloc/memusage.sh: Likewise.
69742         * malloc/mtrace.pl: Likewise.
69743         * debug/catchsegv.sh: Likewise.
69745 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
69747         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
69748         pure attribute.
69750 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
69752         [BZ #13533]
69753         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
69754         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
69755         transformations.
69756         * iconv/gconv_int.h: Likewise.
69757         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
69758         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
69759         from libc for GLIBC_2.16.
69760         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
69761         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
69762         * wcsmbs/uchar.h: Really define mbstate_t.
69763         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
69764         * wcsmbs/c16rtomb.c: New file.
69765         * wcsmbs/mbrtoc16.c: New file.
69766         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
69767         for C/POSIX locale.
69768         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
69769         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
69771         * wcsmbs/wchar.h: Add missing __restrict.
69773 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
69775         [BZ #13532]
69776         * time/Makefile (routines): Add timespec_get.
69777         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
69778         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
69779         timespec for ISO C11.
69780         * time/timespec_get.c: New file.
69781         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
69782         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
69784         [BZ #13531]
69785         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
69786         * stdlib/stdlib.h: Declare aligned_alloc.
69787         * Versions.def: Add GLIBC_2.16 for libc.
69788         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
69790         [BZ 13527]
69791         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
69792         ISO C11.
69794         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
69795         code.
69797         [BZ #13528]
69798         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
69800         [BZ #13529]
69801         * assert/assert.h (static_assert): Define.
69803         * version.h: Update for 2.16 development version.
69805         [BZ #13526]
69806         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
69807         _ISOC11_SOURCE.
69809         * version.h (RELEASE): Bump for 2.15 release.
69810         * include/features.h (__GLIBC_MINOR__): Bump to 15.
69812         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
69813         Patch by Marek Polacek <mpolacek@redhat.com>.
69815         * bits/byteswap.h: Protect long long constants with __extension__.
69816         * sysdeps/i386/bits/byteswap.h: Likewise.
69817         * sysdeps/ia64/bits/byteswap.h: Likewise.
69818         * sysdeps/s390/bits/byteswap.h: Likewise.
69819         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69821 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69823         [BZ #13540]
69824         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
69825         destination buffer.
69826         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
69828 2011-12-23  Marek Polacek  <polacek@redhat.com>
69830         * elf/dl-addr.c (determine_info): Add inline keyword.
69831         * elf/tst-auditmod4b.c (check_avx): Likewise.
69832         * elf/tst-auditmod6b.c (check_avx): Likewise.
69833         * elf/tst-auditmod6c.c (check_avx): Likewise.
69834         * elf/tst-auditmod7b.c (check_avx): Likewise.
69836 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
69838         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
69839         !__SSE_MATH__.
69841 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69843         [BZ #13540]
69844         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
69845         processing for last bytes.
69847 2011-08-06  Bruno Haible  <bruno@clisp.org>
69849         [BZ #13061]
69850         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
69851         U+0385, not to U+1FEE.
69853         [BZ #13062]
69854         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
69855         entry for U+00A5 U+0301.
69857 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
69859         [BZ #13166]
69860         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
69861         buffer for the output is too small.
69863         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
69864         optimization.
69866         [BZ #13185]
69867         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
69868         SSE flags if possible.
69870 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69872         [BZ #13540]
69873         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
69874         processing for last bytes.
69876 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
69878         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
69879         (syscall-list-default-options, syscall-list-default-condition)
69880         (syscall-list-includes): Define.
69881         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
69882         list of ABIs and options and #if conditions for each ABI.  Do not
69883         handle common syscalls between ABIs specially.
69884         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
69885         Remove.
69886         (syscall-list-variants, syscall-list-32bit-options)
69887         (syscall-list-32bit-condition, syscall-list-64bit-options)
69888         (syscall-list-64bit-condition): Define.
69889         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
69890         (syscall-list-variants, syscall-list-32bit-options)
69891         (syscall-list-32bit-condition, syscall-list-64bit-options)
69892         (syscall-list-64bit-condition): Define.
69893         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
69894         Remove.
69895         (syscall-list-variants, syscall-list-32bit-options)
69896         (syscall-list-32bit-condition, syscall-list-64bit-options)
69897         (syscall-list-64bit-condition): Define.
69898         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
69899         Remove.
69900         (syscall-list-variants, syscall-list-32bit-options)
69901         (syscall-list-32bit-condition, syscall-list-64bit-options)
69902         (syscall-list-64bit-condition): Define.
69904 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
69906         * locale/iso-639.def: Add brx entry.
69908         [BZ #13328]
69909         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
69910         Proposed by Mariusz_Cukr <marcukr@op.pl>.
69912         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
69913         __feraiseexcept_renamed.
69915 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
69917         [BZ #13538]
69918         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
69919         EPOLLET with unsigned values.
69920         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
69921         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
69923         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
69924         to large cancellation.
69925         * math/s_cacoshf.c: Likewise.
69926         * math/s_cacoshl.c: Likewise.
69928 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
69930         [BZ #13305]
69931         [BZ #12786]
69932         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
69933         * math/s_cacoshf.c: Likewise.
69934         * math/s_cacoshl.c: Likewise.
69936 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
69938         [BZ #13439]
69939         * iconv/gconv.h: Define __GCONV_SWAP.
69940         * iconvdata/unicode.c: The swap bit must be stored in __flags.
69941         * iconvdata/utf-16.c: Likewise.
69942         * iconvdata/utf-32.c: Likewise.
69944 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
69946         [BZ #13524]
69947         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
69948         numerator after shifting it by one limb.
69950 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
69952         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
69953         under [__USE_EXTERN_INLINES].
69955 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
69957         [BZ #13446]
69958         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
69960 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69962         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
69963         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
69964         optimized code.
69965         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
69966         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
69967         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
69968         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
69969         for strncasecmp/strncasecmp_l compilation.
69970         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
69971         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
69973 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
69975         [BZ #13484]
69976         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
69977         of __asm__.
69979 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
69981         [BZ #13506]
69982         * time/tzfile.c (__tzfile_read): Check values from file header.
69984 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
69986         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
69987         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
69988         * powerpc/powerpc32/dl-start.S: Likewise.
69989         * powerpc/powerpc32/elf/start.S: Likewise.
69990         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
69991         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
69992         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
69993         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
69994         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
69995         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
69996         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
69997         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
69998         * powerpc/powerpc32/fpu/s_round.S: Likewise.
69999         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
70000         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
70001         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
70002         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
70003         * powerpc/powerpc32/memset.S: Likewise.
70004         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
70005         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
70006         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
70007         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
70008         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
70009         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
70010         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
70011         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
70012         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
70013         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
70014         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
70015         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
70016         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
70018 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70020         * math/libm-test.inc: Added more nearbyint tests.
70021         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
70022         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
70023         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
70024         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
70026 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
70028         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
70029         FD_CLOEXEC.
70031 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70033         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
70034         Add wcscpy-ssse3 wcscpy-c.
70035         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
70036         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
70037         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
70038         * sysdeps/x86_64/wcschr.S: New file.
70039         * sysdeps/x86_64/wcsrchr.S: New file.
70040         * string/test-strcmp.c: Remove checking of wcscmp function for
70041         wrong alignments.
70042         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
70043         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
70044         wcsrchr-sse2 wcsrchr-c.
70045         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
70046         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
70047         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
70048         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
70049         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
70050         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
70051         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
70052         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
70053         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
70054         * wcsmbc/wcschr.c (WCSCHR): New macro.
70056 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70058         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
70059         * wcsmbs/test-wcsrchr.c: New file.
70060         * string/test-strrchr.c: Add wcsrchr support.
70061         (WIDE): New macro.
70062         * wcsmbs/test-wcscpy.c: New file.
70063         * string/test-strcpy.c: Add wcscpy support.
70064         (WIDE): New macro.
70066 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
70068         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
70069         the inner loop.
70071 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
70073         [BZ #13472]
70074         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
70076 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
70078         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
70079         Minor optimizations.
70081         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
70082         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
70083         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
70085 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
70087         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
70088         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
70089         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
70090         for gcc to avoid warnings.
70091         * inet/Makefile (tests): Add tst-checks.
70092         * inet/tst-checks.c: New file.
70094         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
70095         warning.
70097         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
70098         __wmemcmp_sse2.
70100         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
70101         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
70103         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
70105 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
70107         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
70108         problem.
70110         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
70112 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
70114         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
70115         conditional on GCC version.
70116         (__arch_compare_and_exchange_val_8_acq)
70117         (__arch_compare_and_exchange_val_16_acq)
70118         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
70119         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
70120         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
70122 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
70124         * sysdeps/sh/backtrace.c: New file.
70126 2011-12-02  Andreas Schwab  <schwab@redhat.com>
70128         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
70129         parenthesis.
70131 2011-12-01  Andreas Schwab  <schwab@redhat.com>
70133         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
70134         falling back to utime.
70136 2011-11-30  Andreas Schwab  <schwab@redhat.com>
70138         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
70139         expectations for float.
70141 2011-11-29  Andreas Schwab  <schwab@redhat.com>
70143         * locale/weight.h (findidx): Add parameter len.
70144         * locale/weightwc.h (findidx): Likewise.
70145         * posix/fnmatch_loop.c (FCT): Adjust caller.
70146         * posix/regcomp.c (build_equiv_class): Likewise.
70147         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
70148         * posix/regexec.c (check_node_accept_bytes): Likewise.
70149         * string/strcoll_l.c (STRCOLL): Likewise.
70150         * string/strxfrm_l.c (STRXFRM): Likewise.
70152 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
70154         * Makefile.in: Remove CVSOPT handling.
70155         * configure.in: Remove use of AC_REVISION.
70156         * iconvdata/Makefile (distribute): No need to filter out CVS.
70157         * scripts/list-sources.sh: Remove CVS, subversion and monotone
70158         handling.
70160 2011-11-16  Andreas Schwab  <schwab@redhat.com>
70162         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
70163         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
70164         [USE_AS_STRNCASECMP_L]: Likewise.
70165         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
70166         NO_TLS_DIRECT_SEG_REFS.
70167         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
70168         Fix argument offsets for non-PIC.
70169         [USE_AS_STRNCASECMP_L]: Likewise.
70170         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
70171         NO_TLS_DIRECT_SEG_REFS.
70173 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
70175         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
70176         O_CLOEXEC.
70177         * locale/loadlocale.c (_nl_load_locale): Likewise.
70179 2011-11-15  Andreas Schwab  <schwab@redhat.com>
70181         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
70182         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
70183         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
70184         (SYSCALL_GETTIME): Set errno on error.
70186         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
70187         count references to noai6ai_cached.
70189 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
70191         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
70193         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
70194         FD_CLOEXEC for /proc/self/maps.
70196         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
70197         FD_CLOEXEC for /proc/meminfo.
70199         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
70200         gai.conf.
70202         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
70203         FD_CLOEXEC for given file.
70205         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
70207         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
70208         FD_CLOEXEC for /etc/hosts.
70209         (_gethtent): Likewise.
70211         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
70213         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
70214         cancellation and set FD_CLOEXEC for /etc/netgroup.
70216         * nss/nss_files/files-key.c (search): Don't allow cancellation when
70217         reading /etc/publickey.
70219         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
70220         allow cancellation when reading /etc/group.
70222         * nss/nss_files/files-alias.c (internal_setent): Don't allow
70223         cancellation.
70224         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
70226         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
70227         when using data file.
70229         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
70231         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
70232         (write_nis_obj): Use "c" and "e" in fopen.
70234         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
70236         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
70238         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
70240         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
70242         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
70243         locale.alias.
70245         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
70247         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
70249         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
70251         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
70252         file parsing and set FD_CLOEXEC.
70254 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
70256         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
70258 2011-11-14  Andreas Schwab  <schwab@redhat.com>
70260         * malloc/arena.c (arena_get2): Don't call reused_arena when
70261         _int_new_arena failed.
70263 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
70265         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
70266         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
70267         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
70268         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
70269         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
70270         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
70271         to compile strcasecmp and strncasecmp.
70272         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
70273         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
70275         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
70277 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
70279         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
70280         locale-defines.sym to gen-as-const-headers.
70281         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
70282         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
70283         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
70284         to compile strcasecmp and strncasecmp.
70285         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
70286         strcasecmp_l and strncasecmp_l.
70287         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
70288         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
70289         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
70290         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
70291         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
70292         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
70293         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
70294         * sysdeps/i386/i686/multiarch/strncase.S: New file.
70295         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
70296         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
70297         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
70299 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
70301         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
70302         result of SYSDEP_GETTIME_CPU to retval.
70303         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
70304         parameter list to macro.  Remove trailing semicolon.  Adjust users.
70306         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
70307         variable.
70309         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
70310         mantissa words.
70311         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
70313         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
70314         from unused variable.
70316         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
70317         DWARF definitions.
70318         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
70319         for assembling.
70321         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
70322         over namespaces.
70324         * sunrpc/rpc_prot.c (rejected): Fix case value.
70326         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
70327         unsigned long long int to avoid warnings in shift.
70329         * posix/regex_internal.c (re_string_reconstruct): Actually use result
70330         of use of trans.
70331         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
70332         variable tmp.
70334         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
70335         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
70336         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
70338         * nis/nis_table.c (nis_list): Use variable of correct type for
70339         result of __follow_path call.
70341 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70343         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
70344         of math functions ceil, trunc, floor, round, and sqrt, when
70345         avaliable on the platform.
70346         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
70347         name clash.
70348         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
70349         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
70350         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
70352 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
70354         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
70355         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
70357 2011-11-11  Roland McGrath  <roland@hack.frob.com>
70359         * include/unistd.h: Fix __readlink return type.
70360         Reported by Chris Metcalf <cmetcalf@tilera.com>.
70362 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
70364         * stdlib/ucontext.h: Undo last change for makecontext.
70366 2011-11-11  Andreas Schwab  <schwab@redhat.com>
70368         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
70370         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
70371         * setjmp/setjmp.h: Mark functions as non-leaf.
70372         * setjmp/bits/setjmp2.h: Likewise.
70373         * stdlib/ucontext.h: Likewise.
70375 2011-11-10  Andreas Schwab  <schwab@redhat.com>
70377         * malloc/arena.c (_int_new_arena): Don't increment narenas.
70378         (reused_arena): Don't check arena limit.
70379         (arena_get2): Atomically check arena limit.
70381 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
70383         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
70384         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
70386         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
70387         instructions.
70389 2011-11-07  Andreas Schwab  <schwab@redhat.com>
70391         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
70392         handler when locking.
70394         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
70395         Fix size of allocated buffer.
70397 2011-11-04  Andreas Schwab  <schwab@redhat.com>
70399         [BZ #10103]
70400         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
70401         declarations for long double functions.
70402         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
70404         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
70406 2011-11-03  Andreas Schwab  <schwab@redhat.com>
70408         * nscd/nscd.c (main): Don't start AVC thread until credentials are
70409         installed.
70411         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
70412         is disabled.
70414 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70416         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
70418 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
70420         * include/alloca.h (stackinfo_alloca_round): Define.
70421         (extend_alloca): Use it.
70422         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
70423         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
70424         here.
70426         * scripts/check-local-headers.sh: Ignore libaudit.h.
70428         * nscd/Makefile (extra-objs): Make recursively expanded.
70430 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
70432         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
70433         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
70435         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
70436         * posix/tst-rfc3484-2.c: Likewise.
70437         * posix/tst-rfc3484-3.c: Likewise.
70439         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
70440         process_vm_writev.
70441         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
70442         process_vm_writev.
70443         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
70444         process_vm_writev from libc using GLIBC_2.15 version.
70446         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
70448 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
70450         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
70451         stack usage.
70453 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
70455         [BZ #13367]
70456         * nss/getent.c (initgroups_keys): Show error message in case no group
70457         names are given.
70459         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
70460         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
70461         __bump_nl_timestamp.
70462         * nscd/connections (nscd_init): When host database is served open
70463         netlink socket and request notification about configuration changes.
70464         (main_loop_poll): Track netlink file descriptor and bump timestamp
70465         in case data becomes available.
70466         (main_loop_epoll): Likewise.
70467         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
70468         (database_pers_head): Add extra_data fileds.
70469         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
70470         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
70471         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
70472         Adjust caller.
70473         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
70474         in6ai data, call __free_in6ai.
70475         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
70476         Add -DHAVE_NETLINK.
70477         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
70478         interface information.  Reuse previous data if netlink timestamp
70479         is not changed.
70480         (__bump_nl_timestamp): New function.
70481         (__free_in6ai): New function.
70483 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
70485         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
70486         close_not_cancel_no_status here.
70487         (__check_pf): Reorganize code a bit to not call close twice if OOM.
70489 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
70491         [BZ #13276]
70492         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
70493         return value.
70495         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
70496         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
70497         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
70499 2011-07-03  Andreas Jaeger  <aj@suse.de>
70501         [BZ #10709]
70502         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
70503         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
70504         * math/libm-test.inc (sin_test): Add test case.
70506 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
70508         [BZ #13337]
70509         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
70510         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
70512         * elf/chroot_canon.c (chroot_canon): Cleanups.
70514         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
70516         [BZ #13335]
70517         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
70518         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
70520         * string/test-strchr.c: Make usable for strchrnul testing.
70521         * string/test-strchrnul.c: New file.
70522         * string/Makefile (strop-tests): Add strchrnul.
70524         * po/it.po: Update from translation team.
70525         * po/es.po: Likewise.
70527 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
70529         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
70530         the three constants needed as parameters.  Drop the others.
70531         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
70532         __m128i_strloadu_tolower.
70533         Create and initialize variable zero and use it in all the places
70534         where _mm_setzero_si128 was used.
70536         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
70537         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
70538         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
70539         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
70540         anymore.
70541         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
70542         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
70543         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
70544         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
70545         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
70546         __mpranred, __mptan.
70547         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
70548         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
70549         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
70550         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
70551         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
70552         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
70553         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
70554         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
70555         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
70557 2011-10-28  Andreas Schwab  <schwab@redhat.com>
70559         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
70560         redefine if SHARED.
70561         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
70563         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
70564         wide char related routines to wcsmbs subdir.
70566 2011-10-27  Andreas Schwab  <schwab@redhat.com>
70568         [BZ #13344]
70569         * misc/sys/cdefs.h (__THROWNL): Define.
70570         * posix/unistd.h: Use __THREADNL instead of __THREAD
70571         for memory synchronization functions.
70573 2011-10-26  Roland McGrath  <roland@hack.frob.com>
70575         [BZ #13349]
70576         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
70577         doesn't exist.
70578         * manual/stdio.texi (Obstack Streams): Node removed.
70580 2011-10-26  Andreas Schwab  <schwab@redhat.com>
70582         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
70583         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
70584         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
70586         * math/math_private.h (math_force_eval): Allow non-addressable
70587         arguments.
70588         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
70590 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
70592         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
70593         file is not needed.
70595         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
70596         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
70597         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
70598         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
70599         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
70600         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
70601         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
70602         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
70603         Add AVX variants.
70604         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
70605         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
70606         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
70607         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
70608         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
70609         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
70610         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
70611         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
70612         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
70613         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
70614         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
70615         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
70616         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
70617         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
70618         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
70619         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
70620         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
70621         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
70622         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
70624         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
70625         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
70627         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
70628         place.  Use VEX encoding when compiling for AVX.
70630 2011-10-25  Andreas Schwab  <schwab@redhat.com>
70632         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
70633         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
70635         * string/test-strchr.c (do_test): Don't generate NUL bytes.
70637 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
70639         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
70640         useless if() expression.
70641         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
70642         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
70643         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
70644         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70645         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
70646         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
70647         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
70648         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
70649         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
70650         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
70651         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
70652         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
70653         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
70654         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
70655         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
70656         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
70657         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
70658         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
70659         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
70661         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
70663 2011-10-25  Andreas Schwab  <schwab@redhat.com>
70665         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
70666         condition.
70667         * elf/dl-fini.c (_dl_sort_fini): Likewise.
70669 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
70671         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
70672         .text section.  Avoid duplicate constants.
70673         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
70674         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70675         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
70676         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70677         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70678         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70679         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70680         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70681         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
70682         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
70683         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
70684         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
70685         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
70686         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
70687         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
70688         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
70689         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
70690         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
70691         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
70692         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70693         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
70694         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
70695         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
70696         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
70697         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
70698         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
70699         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
70700         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
70701         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
70702         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
70703         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
70704         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
70705         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
70706         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
70707         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
70708         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
70709         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
70710         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
70711         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
70712         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
70713         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
70714         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
70715         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
70716         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
70717         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
70719 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
70721         * sysdeps/x86_64/dla.h: Move to ...
70722         * sysdeps/x86_64/fpu/dla.h: ...here.
70723         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
70724         situations.  Use __builtin_fma only for gcc 4.6 and up.
70726         * config.make.in: Add have-mfma4 entry.
70727         * configure.in: Substitute libc_cv_cc_fma4.
70728         * math/Makefile (dbl-only-routines): Add sincostab.
70729         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
70730         Use __sincostab not sincos.
70731         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
70732         name is a macro.
70733         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70734         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70735         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70736         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
70737         using __copysign.
70738         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
70739         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
70740         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
70741         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
70742         and __inv.
70743         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
70744         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
70745         __copysign.
70746         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
70747         define aliases when function name is a macro.
70748         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
70749         sysdeps/ieee754/dbl-64/sincos.tbl.
70750         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
70751         fma4-enabled routines.
70752         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
70753         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
70754         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
70755         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
70756         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
70757         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
70758         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
70759         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
70760         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
70761         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
70762         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
70763         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
70764         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
70765         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
70766         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
70767         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
70768         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
70769         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
70770         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
70771         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
70772         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
70773         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
70774         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
70775         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
70776         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
70777         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
70778         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
70779         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
70780         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
70781         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
70783         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
70784         rename.
70785         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70786         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70787         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70788         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70789         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70790         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70791         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70792         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70794 2011-10-24  Andreas Schwab  <schwab@redhat.com>
70796         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
70798 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
70800         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
70802         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
70803         prediction.
70804         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
70806         * string/strnlen.c: Don't define STRNLEN, reverse logic.
70807         Remove unused variable magic_bits.
70808         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
70810         * string/strnlen.c: Define and use STRNLEN macro.
70811         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
70812         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
70813         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
70814         * wcsmbs/wcslen.c: Define and use WCSLEN.
70815         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
70816         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
70817         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
70818         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
70819         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
70820         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
70821         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
70823 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70825         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70826         strnlen-sse2-no-bsf.
70827         Rename strlen-no-bsf to strlen-sse2-no-bsf.
70828         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
70829         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
70830         Add strnlen support.
70831         (USE_AS_STRNLEN): New macro.
70832         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
70833         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
70834         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
70835         * sysdeps/x86_64/wcslen.S: New file.
70837 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
70839         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
70840         XMM-moves are used for copying on small sizes.
70842 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70844         * wcsmbs/Makefile (strop-tests): Add wcschr.
70845         * wcsmbs/test-wcschr.c: New file.
70846         * string/test-strchr.c: Update.
70847         Add wcschr support.
70848         (WIDE): New macro.
70850 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70852         * wcsmbs/Makefile (strop-tests): Add wcslen.
70853         * wcsmbs/test-wcslen.c: New file.
70854         * string/test-strlen.c: Update.
70855         Add wcslen support.
70856         (WIDE): New macro.
70858 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
70860         * po/it.po: Update from translation team.
70862 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70864         * sysdeps/x86_64/wcscmp.S: Update.
70865         Fix wrong comparison semantics.
70866         wcscmp shall use signed comparison not unsigned.
70867         Don't use substraction to avoid overflow bug.
70868         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
70869         * wcsmbc/wcscmp.c: Likewise.
70870         * string/test-strcmp.c: Likewise.
70871         Add new tests to check cases with negative values.
70873 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
70875         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
70876         * sysdeps/x86_64/dla.h: ...here.  New file.
70877         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
70878         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70879         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70880         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70881         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70882         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70883         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70884         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70885         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70887 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
70889         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
70890         __ynl_finite aliases.
70892 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
70894         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70896         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
70897         define DLA_FMA.
70898         [DLA_FMA] (EMULV): Use DLA_FMA.
70899         [DLA_FMA] (MUL12): Use EMULV.
70900         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
70901         that are not needed.
70902         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70903         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70904         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70905         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70906         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70907         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70908         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70910 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
70912         * math/s_nan.c: Undef __nan.
70913         * math/s_nanf.c: Undef __nanf.
70914         * math/s_nanl.c: Undef __nanl.
70915         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
70916         "math_private.h".
70918 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
70920         * math/s_catan.c: Add branch predictions.
70921         * math/s_catanf.c: Likewise.
70922         * math/s_catanh.c: Likewise.
70923         * math/s_catanhf.c: Likewise.
70924         * math/s_catanhl.c: Likewise.
70925         * math/s_catanl.c: Likewise.
70926         * math/s_cexp.c: Likewise.
70927         * math/s_cexpf.c: Likewise.
70928         * math/s_cexpl.c: Likewise.
70929         * math/s_clog.c: Likewise.
70930         * math/s_clog10.c: Likewise.
70931         * math/s_clog10f.c: Likewise.
70932         * math/s_clog10l.c: Likewise.
70933         * math/s_clogf.c: Likewise.
70934         * math/s_clogl.c: Likewise.
70935         * math/s_csqrt.c: Likewise.
70936         * math/s_csqrtf.c: Likewise.
70937         * math/s_csqrtl.c: Likewise.
70938         * math/s_ctanf.c: Likewise.
70939         * math/s_ctanh.c: Likewise.
70940         * math/s_ctanhf.c: Likewise.
70941         * math/s_ctanhl.c: Likewise.
70942         * math/s_ctanl.c: Likewise.
70944         * math/math_private.h: Define __nan, __nanf, __nanl.
70945         * math/s_cacosh.c: Include <math_private.h>.
70946         * math/s_cacoshl.c: Likewise.
70947         * math/s_casinh.c: Likewise.
70948         * math/s_casinhf.c: Likewise.
70949         * math/s_casinhl.c: Likewise.
70950         * math/s_ccos.c: Rely entire on ccosh.
70951         * math/s_ccosf.c: Rely entire on ccoshf.
70952         * math/s_ccosl.c: Rely entirely on ccoshl.
70953         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
70954         Remove tests for FE_INVALID.
70955         * math/s_ccoshf.c: Likewise.
70956         * math/s_ccoshl.c: Likewise.
70957         * math/s_csin.c: Likewise.
70958         * math/s_csinf.c: Likewise.
70959         * math/s_csinh.c Likewise.
70960         * math/s_csinhf.c: Likewise.
70961         * math/s_csinhl.c: Likewise.
70962         * math/s_csinl.c: Likewise.
70963         * math/s_ctan.c: Likewise.
70964         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
70965         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
70966         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
70968 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
70970         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
70971         compilation problems.
70973         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
70974         __builtin_expect.
70976 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
70978         * sysdeps/i386/configure.in: Test for -mfma4 option.
70979         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
70980         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
70981         COMMON_CPUID_INDEX_80000001.
70982         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
70983         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
70984         use it if FMA3 is not supported.
70985         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
70987         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
70988         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
70990 2011-10-20  Andreas Schwab  <schwab@redhat.com>
70992         [BZ #12892]
70993         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
70994         it would create a cycle with a link time dependency.
70996 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
70998         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
70999         instruction.
71000         * string/Makefile (strop-tests): Add rawmemchr.
71001         * string/test-rawmemchr.c: New file.
71003         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
71004         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
71005         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
71006         when compiling str{,n}casecmp and when AVX is available.  Hook up
71007         new optimized code in initializers.
71009 2011-10-19  Andreas Schwab  <schwab@redhat.com>
71011         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
71012         __feraiseexcept instead of feraiseexcept.
71014 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
71016         * math/math_private.h: Define defaults for libc_fetestexcept and
71017         libc_feupdateenv.
71018         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
71019         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
71020         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
71021         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
71022         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
71023         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
71024         libc_fetestexcept and libc_feupdateenv.
71026         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
71027         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
71028         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
71029         * sysdeps/x86_64/fpu/math_private.h: Define special version of
71030         libc_feholdexcept_setround.
71032         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
71033         Add s_nearbyint-c and s_nearbyintf-c.
71034         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
71035         nearbyintf inlines.
71036         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
71037         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
71038         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
71039         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
71041         * math/math_private.h: Define defaults for libc_fegetround,
71042         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
71043         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
71044         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
71045         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
71046         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
71047         standard functions.
71048         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
71049         Remove comments and hacks for old compiler versions.
71050         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
71051         libc_fegetround, libc_fesetround, libc_feholdexcept, and
71052         libc_feholdexceptl.
71054 2011-10-18  Andreas Schwab  <schwab@redhat.com>
71056         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
71057         (__feraiseexcept_renamed): Add __NTH.
71058         (feraiseexcept): Add __NTH.  Rename local variables to fix
71059         namespace violations.
71061 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
71063         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
71065         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
71067         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
71068         recently added interfaces.
71069         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
71071         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
71072         about macro parameter expansion.
71074         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
71075         __NO_MATH_INLINES is defined.  Cleanups.
71077         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
71078         and __floorf is target has SSE4.1.
71079         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
71080         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
71081         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
71082         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
71084         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
71085         name.
71086         (floorf): Likewise.
71088         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
71090 2011-10-17  Andreas Schwab  <schwab@redhat.com>
71092         * misc/sys/cdefs.h: Fix last change.
71094         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
71095         database lookup.
71097 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
71099         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
71101         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
71102         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71103         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
71104         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71105         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71106         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
71107         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71108         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71109         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
71110         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
71111         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
71112         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
71113         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
71114         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
71115         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
71116         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
71117         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
71118         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
71119         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
71120         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
71121         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
71122         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
71124         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
71125         ceil, ceilf, floor, floorf.
71127         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
71128         Perform IRELATIVE relocations last.
71130         * elf/do-rel.h: Add another parameter nrelative, replacing the
71131         local variable with the same name.  Change name of the function
71132         to end in Rel or Rela (uppercase).
71133         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
71134         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
71135         elf_dynamic_do_##reloc function.
71137 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
71139         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
71140         is sufficient, at least on modern CPUs.
71142         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
71144         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
71145         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
71147         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
71148         __expl_finite.
71149         * math/bits/math-finite.h: Add entries for exp.
71150         * math/e_expl.c: Add __*_finite alias.
71151         * sysdeps/i386/fpu/e_exp.S: Likewise.
71152         * sysdeps/i386/fpu/e_expf.S: Likewise.
71153         * sysdeps/i386/fpu/e_expl.c: Likewise.
71154         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71155         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
71156         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
71157         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
71158         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
71159         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
71160         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
71162         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
71163         is sufficient, at least on modern CPUs.
71165         * ctype/ctype-info.c (__ctype_init): Define.
71166         * include/ctype.h (__ctype_init): Declare.
71167         (__ctype_b_loc): The variable is always initialized.
71168         (__ctype_toupper_loc): Likewise.
71169         (__ctype_tolower_loc): Likewise.
71170         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
71171         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
71173 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
71175         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
71177         * configure.in: Also look in $cxxmachine/include for C++ system
71178         headers.
71180 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71182         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
71183         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
71184         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
71185         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
71186         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
71187         (USE_AS_WMEMCMP): New macro.
71188         Fixing indents.
71189         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
71190         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
71191         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
71192         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
71193         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71194         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
71195         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
71196         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
71197         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
71198         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
71199         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
71200         (USE_AS_WMEMCMP): New macro.
71201         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
71202         * sysdeps/string/test-memcmp.c: Update.
71203         Fix simple_wmemcmp.
71204         Add new tests.
71205         * wcsmbs/wmemcmp.c: Update.
71206         (WMEMCMP): New macro.
71207         Fix overflow bug.
71209 2011-10-12  Andreas Jaeger  <aj@suse.de>
71211         [BZ #13268]
71212         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
71214 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
71216         * libio/iofwide.c (do_length): Avoid warning.
71218         * ctype/ctype.h (__isctype_f): Add missing __THROW.
71220 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
71222         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
71224         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
71225         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
71226         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
71227         * sysdeps/i386/i686/fpu/e_log.S: New file.
71228         * sysdeps/i386/i686/fpu/e_logf.S: New file.
71229         * sysdeps/i386/i686/fpu/e_logl.S: New file.
71231         * ctype/ctype.h: Add support for inlined isXXX functions when
71232         compiling C++ code.
71234 2011-10-14  Andreas Schwab  <schwab@redhat.com>
71236         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71238         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
71240 2011-10-13  Roland McGrath  <roland@hack.frob.com>
71242         [BZ #13291]
71243         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
71245 2011-10-13  Andreas Schwab  <schwab@redhat.com>
71247         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
71248         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
71249         feraiseexcept.
71251         * sysdeps/x86_64/memrchr.S: Check for zero size.
71253         * string/stratcliff.c: Add memrchr tests.
71255 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71257         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71258         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
71259         rawmemchr-sse2 rawmemchr-sse2-bsf.
71260         * sysdeps/i386/i686/multiarch/memchr.S: New file.
71261         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
71262         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
71263         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
71264         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
71265         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
71266         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
71267         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
71268         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
71269         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
71270         * string/memrchr.c (MEMRCHR): New macro.
71272 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
71274         Add integration with gcc's -ffinite-math-only and optimize wrapper
71275         functions in libm.
71276         * Versions.def: Define GLIBC_2.15 version for libm.
71277         * math/Makefile (headers): Add bits/math-finite.h.
71278         * math/bits/math-finite.h: New file.
71279         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
71280         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
71281         * math/e_acoshl.c: Add __*_finite alias.
71282         * math/e_acosl.c: Likewise.
71283         * math/e_asinl.c: Likewise.
71284         * math/e_atan2l.c: Likewise.
71285         * math/e_atanhl.c: Likewise.
71286         * math/e_coshl.c: Likewise.
71287         * math/e_exp10.c: Likewise.
71288         * math/e_exp10f.c: Likewise.
71289         * math/e_exp10l.c: Likewise.
71290         * math/e_exp2l.c: Likewise.
71291         * math/e_fmodl.c: Likewise.
71292         * math/e_gammal_r.c: Likewise.
71293         * math/e_hypotl.c: Likewise.
71294         * math/e_j0l.c: Likewise.
71295         * math/e_j1l.c: Likewise.
71296         * math/e_jnl.c: Likewise.
71297         * math/e_lgammal_r.c: Likewise.
71298         * math/e_log10l.c: Likewise.
71299         * math/e_log2l.c: Likewise.
71300         * math/e_logl.c: Likewise.
71301         * math/e_powl.c: Likewise.
71302         * math/e_sinhl.c: Likewise.
71303         * math/e_sqrtl.c: Likewise.
71304         * math/e_scalb.c: Completely rewritten and optimized.
71305         * math/e_scalbf.c: Likewise.
71306         * math/e_scalbl.c: Likewise.
71307         * math/w_acos.c: Likewise.
71308         * math/w_acosf.c: Likewise.
71309         * math/w_acosl.c: Likewise.
71310         * math/w_acosh.c: Likewise.
71311         * math/w_acoshf.c: Likewise.
71312         * math/w_acoshl.c: Likewise.
71313         * math/w_asin.c: Likewise.
71314         * math/w_asinf.c: Likewise.
71315         * math/w_asinl.c: Likewise.
71316         * math/w_atan2.c: Likewise.
71317         * math/w_atan2f.c: Likewise.
71318         * math/w_atan2l.c: Likewise.
71319         * math/w_atanh.c: Likewise.
71320         * math/w_atanhf.c: Likewise.
71321         * math/w_atanhl.c: Likewise.
71322         * math/w_exp10.c: Likewise.
71323         * math/w_exp10f.c: Likewise.
71324         * math/w_exp10l.c: Likewise.
71325         * math/w_fmod.c: Likewise.
71326         * math/w_fmodf.c: Likewise.
71327         * math/w_fmodl.c: Likewise.
71328         * math/w_j0.c: Likewise.
71329         * math/w_j0f.c: Likewise.
71330         * math/w_j0l.c: Likewise.
71331         * math/w_j1.c: Likewise.
71332         * math/w_j1f.c: Likewise.
71333         * math/w_j1l.c: Likewise.
71334         * math/w_jn.c: Likewise.
71335         * math/w_jnf.c: Likewise.
71336         * math/w_log.c: Likewise.
71337         * math/w_logf.c: Likewise.
71338         * math/w_logl.c: Likewise.
71339         * math/w_log10.c: Likewise.
71340         * math/w_log10f.c: Likewise.
71341         * math/w_log10l.c: Likewise.
71342         * math/w_log2.c: Likewise.
71343         * math/w_log2f.c: Likewise.
71344         * math/w_log2l.c: Likewise.
71345         * math/w_pow.c: Likewise.
71346         * math/w_powf.c: Likewise.
71347         * math/w_powl.c: Likewise.
71348         * math/w_remainder.c: Likewise.
71349         * math/w_remainderf.c: Likewise.
71350         * math/w_remainderl.c: Likewise.
71351         * math/w_scalb.c: Likewise.
71352         * math/w_scalbf.c: Likewise.
71353         * math/w_scalbl.c: Likewise.
71354         * math/w_sqrt.c: Likewise.
71355         * math/w_sqrtf.c: Likewise.
71356         * math/w_sqrtl.c: Likewise.
71357         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
71358         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
71359         used.
71360         * math/math_private.h: Declare __kernel_standard_f.
71361         * math/w_cosh.c: Remove cruft and optimize a bit.
71362         * math/w_coshf.c: Likewise.
71363         * math/w_coshl.c: Likewise.
71364         * math/w_exp2.c: Likewise.
71365         * math/w_exp2f.c: Likewise.
71366         * math/w_exp2l.c: Likewise.
71367         * math/w_hypot.c: Likewise.
71368         * math/w_hypotf.c: Likewise.
71369         * math/w_hypotl.c: Likewise.
71370         * math/w_lgamma.c: Likewise.
71371         * math/w_lgamma_r.c: Likewise.
71372         * math/w_lgammaf.c: Likewise.
71373         * math/w_lgammaf_r.c: Likewise.
71374         * math/w_lgammal.c: Likewise.
71375         * math/w_lgammal_r.c: Likewise.
71376         * math/w_sinh.c: Likewise.
71377         * math/w_sinhf.c: Likewise.
71378         * math/w_sinhl.c: Likewise.
71379         * math/w_tgamma.c: Likewise.
71380         * math/w_tgammaf.c: Likewise.
71381         * math/w_tgammal.c: Likewise.
71382         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
71383         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71384         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
71385         Minor optimizations.  Pretty printing.  Remove cruft.
71386         * sysdeps/i386/fpu/e_acosf.S: Likewise.
71387         * sysdeps/i386/fpu/e_acosh.S: Likewise.
71388         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
71389         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
71390         * sysdeps/i386/fpu/e_acosl.c: Likewise.
71391         * sysdeps/i386/fpu/e_asin.S: Likewise.
71392         * sysdeps/i386/fpu/e_asinf.S: Likewise.
71393         * sysdeps/i386/fpu/e_atan2.S: Likewise.
71394         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
71395         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
71396         * sysdeps/i386/fpu/e_atanh.S: Likewise.
71397         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
71398         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
71399         * sysdeps/i386/fpu/e_exp10.S: Likewise.
71400         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
71401         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
71402         * sysdeps/i386/fpu/e_exp2.S: Likewise.
71403         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
71404         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
71405         * sysdeps/i386/fpu/e_fmod.S: Likewise.
71406         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
71407         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
71408         * sysdeps/i386/fpu/e_hypot.S: Likewise.
71409         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
71410         * sysdeps/i386/fpu/e_log.S: Likewise.
71411         * sysdeps/i386/fpu/e_log10.S: Likewise.
71412         * sysdeps/i386/fpu/e_log10f.S: Likewise.
71413         * sysdeps/i386/fpu/e_log10l.S: Likewise.
71414         * sysdeps/i386/fpu/e_log2.S: Likewise.
71415         * sysdeps/i386/fpu/e_log2f.S: Likewise.
71416         * sysdeps/i386/fpu/e_log2l.S: Likewise.
71417         * sysdeps/i386/fpu/e_logf.S: Likewise.
71418         * sysdeps/i386/fpu/e_logl.S: Likewise.
71419         * sysdeps/i386/fpu/e_pow.S: Likewise.
71420         * sysdeps/i386/fpu/e_powf.S: Likewise.
71421         * sysdeps/i386/fpu/e_powl.S: Likewise.
71422         * sysdeps/i386/fpu/e_remainder.S: Likewise.
71423         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
71424         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
71425         * sysdeps/i386/fpu/e_scalb.S: Likewise.
71426         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
71427         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
71428         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
71429         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
71430         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
71431         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
71432         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71433         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71434         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
71435         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
71436         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
71437         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
71438         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
71439         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
71440         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
71441         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
71442         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
71443         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71444         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
71445         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
71446         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71447         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
71448         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
71449         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71450         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71451         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
71452         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
71453         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
71454         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
71455         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
71456         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
71457         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
71458         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
71459         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
71460         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
71461         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
71462         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
71463         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
71464         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
71465         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
71466         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
71467         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
71468         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
71469         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
71470         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
71471         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
71472         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
71473         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
71474         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
71475         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
71476         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
71477         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
71478         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
71479         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
71480         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
71481         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
71482         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
71483         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
71484         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
71485         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
71486         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
71487         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
71488         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
71489         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
71490         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
71491         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
71492         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
71493         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
71494         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
71495         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
71496         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
71497         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
71498         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
71499         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
71500         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
71501         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
71502         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
71503         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
71504         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
71505         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
71506         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
71507         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
71508         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
71509         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
71510         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
71511         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
71512         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
71513         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
71514         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
71515         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
71516         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
71517         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
71518         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
71519         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
71520         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
71521         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
71522         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
71523         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
71524         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
71525         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
71526         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
71527         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
71528         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
71529         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
71530         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
71531         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
71532         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
71533         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
71534         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
71535         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
71536         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
71537         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
71538         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
71539         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
71540         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
71541         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
71542         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
71543         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
71544         (__isnanf): Likewise.
71545         (__isinf_ns): Likewise.
71546         (__isinf_nsf): Likewise.
71547         (__finite): Likewise.
71548         (__finitef): Likewise.
71549         (__ieee754_sqrt): Define as macro.
71550         (__ieee754_sqrtf): Define as macro.
71551         (__ieee754_sqrtl): Define as macro.
71552         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
71553         inlined copy.
71554         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
71555         __FINITE_MATH_ONLY__ consistent.
71556         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
71558 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
71560         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
71561         of rawmemchr.
71563         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
71565 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
71567         * po/ja.po: Update from translation team.
71569 2011-10-08  Roland McGrath  <roland@hack.frob.com>
71571         * locale/programs/locarchive.c (prepare_address_space): New function.
71572         (create_archive, enlarge_archive, open_archive): Use it.
71574         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
71575         inside [SHARED], where it is used.
71577         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
71579         * nss/getent.c (netgroup_keys): Remove unused variable.
71580         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
71582 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
71584         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
71585         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
71586         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
71587         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
71588         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
71589         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
71590         * math/Makefile (libm-calls): Add s_isinf_ns.
71591         * math/divtc3.c: Use __isinf_nsl instead of isinf.
71592         * math/multc3.c: Likewise.
71593         * math/s_casin.c: Likewise.
71594         * math/s_casinf.c: Likewise.
71595         * math/s_casinl.c: Likewise.
71596         * math/s_ccos.c: Likewise.
71597         * math/s_ccosf.c: Likewise.
71598         * math/s_ccosl.c: Likewise.
71599         * math/s_ctan.c: Likewise.
71600         * math/s_ctanf.c: Likewise.
71601         * math/s_ctanh.c: Likewise.
71602         * math/s_ctanhf.c: Likewise.
71603         * math/s_ctanhl.c: Likewise.
71604         * math/s_ctanl.c: Likewise.
71605         * math/w_fmod.c: Likewise.
71606         * math/w_fmodf.c: Likewise.
71607         * math/w_fmodl.c: Likewise.
71608         * math/w_remainder.c: Likewise.
71609         * math/w_remainderf.c: Likewise.
71610         * math/w_remainderl.c: Likewise.
71611         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
71612         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
71613         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
71614         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
71615         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
71616         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
71617         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
71618         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
71620         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
71621         of the number.
71622         * stdio-common/printf_fphex.c: Likewise.
71623         * stdio-common/printf_size.c: Likewise.
71625         * math/e_exp10.c: Include math_private.h using <...> not "...".
71626         * math/e_exp10f.c: Likewise.
71627         * math/e_exp10l.c: Likewise.
71628         * math/e_exp2l.c: Likewise.
71629         * math/e_j0l.c: Likewise.
71630         * math/e_j1l.c: Likewise.
71631         * math/e_jnl.c: Likewise.
71632         * math/e_lgammal_r.c: Likewise.
71633         * math/e_rem_pio2l.c: Likewise.
71634         * math/e_scalb.c: Likewise.
71635         * math/e_scalbf.c: Likewise.
71636         * math/e_scalbl.c: Likewise.
71637         * math/k_cosl.c: Likewise.
71638         * math/k_sinl.c: Likewise.
71639         * math/k_tanl.c: Likewise.
71640         * math/s_cacoshf.c: Likewise.
71641         * math/s_catan.c: Likewise.
71642         * math/s_catanf.c: Likewise.
71643         * math/s_catanh.c: Likewise.
71644         * math/s_catanhf.c: Likewise.
71645         * math/s_catanhl.c: Likewise.
71646         * math/s_catanl.c: Likewise.
71647         * math/s_ccosh.c: Likewise.
71648         * math/s_ccoshf.c: Likewise.
71649         * math/s_ccoshl.c: Likewise.
71650         * math/s_cexp.c: Likewise.
71651         * math/s_cexpf.c: Likewise.
71652         * math/s_cexpl.c: Likewise.
71653         * math/s_clog.c: Likewise.
71654         * math/s_clog10.c: Likewise.
71655         * math/s_clog10f.c: Likewise.
71656         * math/s_clog10l.c: Likewise.
71657         * math/s_clogf.c: Likewise.
71658         * math/s_clogl.c: Likewise.
71659         * math/s_csin.c: Likewise.
71660         * math/s_csinf.c: Likewise.
71661         * math/s_csinh.c: Likewise.
71662         * math/s_csinhf.c: Likewise.
71663         * math/s_csinhl.c: Likewise.
71664         * math/s_csinl.c: Likewise.
71665         * math/s_csqrt.c: Likewise.
71666         * math/s_csqrtf.c: Likewise.
71667         * math/s_csqrtl.c: Likewise.
71668         * math/s_ctan.c: Likewise.
71669         * math/s_ctanf.c: Likewise.
71670         * math/s_ctanh.c: Likewise.
71671         * math/s_ctanhf.c: Likewise.
71672         * math/s_ctanhl.c: Likewise.
71673         * math/s_ctanl.c: Likewise.
71674         * math/s_ldexp.c: Likewise.
71675         * math/s_ldexpf.c: Likewise.
71676         * math/s_ldexpl.c: Likewise.
71677         * math/s_significand.c: Likewise.
71678         * math/s_significandf.c: Likewise.
71679         * math/s_significandl.c: Likewise.
71680         * math/w_acos.c: Likewise.
71681         * math/w_acosf.c: Likewise.
71682         * math/w_acosh.c: Likewise.
71683         * math/w_acoshf.c: Likewise.
71684         * math/w_acoshl.c: Likewise.
71685         * math/w_acosl.c: Likewise.
71686         * math/w_asin.c: Likewise.
71687         * math/w_asinf.c: Likewise.
71688         * math/w_asinl.c: Likewise.
71689         * math/w_atan2.c: Likewise.
71690         * math/w_atan2f.c: Likewise.
71691         * math/w_atan2l.c: Likewise.
71692         * math/w_atanh.c: Likewise.
71693         * math/w_atanhf.c: Likewise.
71694         * math/w_atanhl.c: Likewise.
71695         * math/w_cosh.c: Likewise.
71696         * math/w_coshf.c: Likewise.
71697         * math/w_coshl.c: Likewise.
71698         * math/w_dremf.c: Likewise.
71699         * math/w_exp10.c: Likewise.
71700         * math/w_exp10f.c: Likewise.
71701         * math/w_exp10l.c: Likewise.
71702         * math/w_exp2.c: Likewise.
71703         * math/w_exp2f.c: Likewise.
71704         * math/w_fmod.c: Likewise.
71705         * math/w_fmodf.c: Likewise.
71706         * math/w_fmodl.c: Likewise.
71707         * math/w_hypot.c: Likewise.
71708         * math/w_hypotf.c: Likewise.
71709         * math/w_hypotl.c: Likewise.
71710         * math/w_j0.c: Likewise.
71711         * math/w_j0f.c: Likewise.
71712         * math/w_j0l.c: Likewise.
71713         * math/w_j1.c: Likewise.
71714         * math/w_j1f.c: Likewise.
71715         * math/w_j1l.c: Likewise.
71716         * math/w_jn.c: Likewise.
71717         * math/w_jnf.c: Likewise.
71718         * math/w_jnl.c: Likewise.
71719         * math/w_lgamma.c: Likewise.
71720         * math/w_lgamma_r.c: Likewise.
71721         * math/w_lgammaf.c: Likewise.
71722         * math/w_lgammaf_r.c: Likewise.
71723         * math/w_lgammal.c: Likewise.
71724         * math/w_lgammal_r.c: Likewise.
71725         * math/w_log.c: Likewise.
71726         * math/w_log10.c: Likewise.
71727         * math/w_log10f.c: Likewise.
71728         * math/w_log10l.c: Likewise.
71729         * math/w_log2.c: Likewise.
71730         * math/w_log2f.c: Likewise.
71731         * math/w_log2l.c: Likewise.
71732         * math/w_logf.c: Likewise.
71733         * math/w_logl.c: Likewise.
71734         * math/w_pow.c: Likewise.
71735         * math/w_powf.c: Likewise.
71736         * math/w_powl.c: Likewise.
71737         * math/w_remainder.c: Likewise.
71738         * math/w_remainderf.c: Likewise.
71739         * math/w_remainderl.c: Likewise.
71740         * math/w_scalb.c: Likewise.
71741         * math/w_scalbf.c: Likewise.
71742         * math/w_scalbl.c: Likewise.
71743         * math/w_sinh.c: Likewise.
71744         * math/w_sinhf.c: Likewise.
71745         * math/w_sinhl.c: Likewise.
71746         * math/w_sqrt.c: Likewise.
71747         * math/w_sqrtf.c: Likewise.
71748         * math/w_sqrtl.c: Likewise.
71749         * math/w_tgamma.c: Likewise.
71750         * math/w_tgammaf.c: Likewise.
71751         * math/w_tgammal.c: Likewise.
71753         * po/ja.po: Update from translation team.
71755 2011-09-29  Andreas Jaeger  <aj@suse.de>
71757         [BZ #13179]
71758         * sunrpc/netname.c (netname2host): Fix logic.
71760         [BZ #6779]
71761         [BZ #6783]
71762         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
71763         correctly.
71764         * math/w_remainder.c (__remainder): Likewise.
71765         * math/w_remainderf.c (__remainderf): Likewise.
71766         * math/libm-test.inc (remainder_test): Add test cases.
71768 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71770         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
71771         sdiv_qrnnd.
71773 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
71775         * string/test-memcmp.c: Avoid unncessary #defines.
71776         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
71778 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71780         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
71781         Use new sse2 version for core i3 - i7 as it's faster
71782         than sse42 version.
71783         (bit_Prefer_PMINUB_for_stringop): New.
71784         * sysdeps/x86_64/rawmemchr.S: Update.
71785         Replace with faster SSE2 version.
71786         * sysdeps/x86_64/memrchr.S: New file.
71787         * sysdeps/x86_64/memchr.S: Update.
71788         Replace with faster SSE2 version.
71790 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
71792         * elf/dl-load.c (lose): Add cast to avoid warning.
71794 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
71796         * po/ca.po: Update from translation team.
71798         * inet/getnetgrent_r.c: Hook up nscd.
71799         * nscd/Makefile (routines): Add nscd_netgroup.
71800         (nscd-modules): Add netgroupcache.
71801         (CFLAGS-netgroupcache.c): Define.
71802         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
71803         (cache_search): Add const to second parameter.
71804         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
71805         INNETGR.
71806         (dbs): Add netgrdb entry.
71807         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
71808         (verify_persistent_db): Handle netgrdb.
71809         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
71810         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
71811         GETFDNETGR.
71812         (netgroup_response_header): Define.
71813         (innetgroup_response_header): Define.
71814         (datahead): Add netgroup_response_header and innetgroup_response_header
71815         elements.
71816         * nscd/nscd.conf: Add entries for netgroup cache.
71817         * nscd/nscd.h (dbtype): Add netgrdb.
71818         (_PATH_NSCD_NETGROUP_DB): Define.
71819         (netgroup_iov_disabled): Declare.
71820         (xmalloc, xcalloc, xrealloc): Move declarations here.
71821         (cache_search): Adjust prototype.
71822         Add netgroup-related prototypes.
71823         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
71824         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
71825         (__nscd_innetgr): Declare.
71826         * nscd/selinux.c (perms): Use access_vector_t as element type and
71827         add netgroup-related initializers.
71828         * nscd/netgroupcache.c: New file.
71829         * nscd/nscd_netgroup.c: New file.
71830         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
71831         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
71832         For four parameters use innetgr.
71833         * nss/nss_files/files-init.c: Add definition and callback for netgr.
71834         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
71835         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
71836         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
71838         * nscd/connections.c (register_traced_file): Don't register file
71839         for disabled databases.
71841 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
71843         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
71845         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
71846         from tree and freeing node.
71848 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
71850         * nss/nsswitch.c (__nss_database_lookup): Handle
71851         nss_parse_service_list out of memory case.
71853 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
71855         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
71856         out of memory case.
71858 2011-10-04  Andreas Schwab  <schwab@redhat.com>
71860         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
71861         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
71862         pass it down.
71863         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
71864         elf_machine_rela, elf_machine_lazy_rel.
71865         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
71866         (ELF_DYNAMIC_DO_REL): Likewise.
71867         (ELF_DYNAMIC_DO_RELA): Likewise.
71868         (ELF_DYNAMIC_RELOCATE): Likewise.
71869         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
71870         to ELF_DYNAMIC_DO_REL.
71871         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
71872         (dl_main): In trace mode always set __RTLD_NOIFUNC.
71873         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
71874         elf_machine_rela.
71875         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
71876         skip_ifunc, don't call ifunc function if non-zero.
71877         (elf_machine_rela): Likewise.
71878         (elf_machine_lazy_rel): Likewise.
71879         (elf_machine_lazy_rela): Likewise.
71880         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
71881         (elf_machine_lazy_rel): Likewise.
71882         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
71883         Likewise.
71884         (elf_machine_lazy_rel): Likewise.
71885         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
71886         Likewise.
71887         (elf_machine_lazy_rel): Likewise.
71888         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
71889         (elf_machine_lazy_rel): Likewise.
71890         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
71891         (elf_machine_lazy_rel): Likewise.
71892         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
71893         (elf_machine_lazy_rel): Likewise.
71894         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
71895         (elf_machine_lazy_rel): Likewise.
71896         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
71897         (elf_machine_lazy_rel): Likewise.
71898         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
71899         (elf_machine_lazy_rel): Likewise.
71901 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
71903         * nss/nss_files/files-init.c (_nss_files_init): Use static
71904         initialization for all the *_traced_file variables.
71906 2011-09-28  Andreas Schwab  <schwab@redhat.com>
71908         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71910 2011-09-27  Roland McGrath  <roland@hack.frob.com>
71912         [BZ #13226]
71913         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
71915 2011-09-27  Andreas Schwab  <schwab@redhat.com>
71917         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
71918         Reread the line before reparsing it.
71920 2011-09-26  Andreas Schwab  <schwab@redhat.com>
71922         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
71924 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
71925             Maxim Kuvyrkov  <maxim@codesourcery.com>
71926             Joseph Myers  <joseph@codesourcery.com>
71928         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
71929         if needed for __stack_chk_guard.
71931 2011-09-19  Roland McGrath  <roland@hack.frob.com>
71933         * sysdeps/posix/spawni.c (script_execute): Always define it.
71934         It will be optimized away if unused.
71935         (maybe_script_execute): New function.
71936         (__spawni): Call it.
71938         * Makerules: Don't include tls.make.
71939         (config-tls): Always set to thread.
71940         * tls.make.c: File removed.
71942 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
71944         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
71945         * config.make.in (CPPFLAGS-config): New substituted variable.
71947 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
71949         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
71951         [BZ #13192]
71952         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
71953         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
71955 2011-09-15  Roland McGrath  <roland@hack.frob.com>
71957         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
71958         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
71959         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
71960         (CALL_FAIL): Likewise.
71961         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
71962         (CALL_FAIL): Macro removed.
71963         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
71965 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
71967         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
71968         for __FINITE_MATH_ONLY__ == 1.
71970 2011-09-15  Andreas Schwab  <schwab@redhat.com>
71972         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
71973         __ieee754_sqrt instead of sqrt.
71974         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
71975         __ieee754_sqrtf instead of sqrtf.
71976         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
71977         __floorf instead of floorf.
71978         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
71979         __floorf, __truncf instead of floorf, truncf.
71981 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
71983         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
71985         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
71986         __extern_always_inline.
71987         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
71988         32-bit.
71990 2011-09-14  Andreas Schwab  <schwab@redhat.com>
71992         * elf/rtld.c (dl_main): Also relocate in dependency order when
71993         doing symbol dependency testing.
71995 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
71997         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
71998         Always define `refsym'.
72000 2011-09-13  Andreas Schwab  <schwab@redhat.com>
72002         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
72003         (__FD_ELT): Renamed from __FDELT.
72004         * misc/bits/select2.h (__FD_ELT): Likewise.
72005         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
72006         __FD_MASK instead of __FDELT, __FDMASK.
72007         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
72008         Likewise.
72009         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
72010         Likewise.
72012         * elf/Makefile (gen-ldd): Fix pattern.
72014         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
72015         (init_tls): Likewise.
72017 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
72019         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
72021 2011-09-12  Andreas Schwab  <schwab@redhat.com>
72023         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
72024         `struct cmsghdr *' instead of `void *'.
72025         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
72026         Likewise.
72028 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
72030         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
72031         if non-absolute.
72032         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
72033         ldd_rewrite_script.
72035 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
72037         * configure.in: Remove --with-tls option.
72038         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
72039         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
72040         out in case it is missing.
72041         * sysdeps/ia64/elf/configure.in: Likewise.
72042         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
72043         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
72044         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
72045         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
72046         * sysdeps/sh/elf/configure.in: Likewise.
72047         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
72048         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
72049         * sysdeps/x86_64/elf/configure.in: Likewise.
72050         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
72051         * sysdeps/mach/hurd/tls.h: Likewise.
72053         [BZ #13067]
72054         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
72056         [BZ #13090]
72057         * configure.in: Fix use of AC_INIT.
72059         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
72061 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
72063         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
72064         __set_errno.
72065         * malloc/hooks.c: Likewise.
72067         [BZ #11929]
72068         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
72069         variables statically.
72070         (narenas): Initialize.
72071         (list_lock): Initialize.
72072         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
72073         initializtion of main_arena and list_lock.  Small cleanups.
72074         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
72075         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
72076         Add initializers to main_arena and mp_.
72077         (malloc_state): Remove pagesize member.  Change all users to use
72078         GLRO(dl_pagesize).
72080         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
72081         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
72082         is always initialized.
72084         * malloc/malloc.c: Removed unused configurations and dead code.
72085         * malloc/arena.c: Likewise.
72086         * malloc/hooks.c: Likewise.
72087         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
72089         * include/tls.h: Removed.  USE___THREAD must always be defined.
72090         * bits/libc-tsd.h: Don't handle !USE___THREAD.
72091         * elf/dl-libc.c: Likewise.
72092         * elf/dl-tsd.c: Likewise.
72093         * include/errno.h: Likewise.
72094         * include/netdb.h: Likewise.
72095         * include/resolv.h: Likewise.
72096         * inet/herrno-loc.c: Likewise.
72097         * inet/herrno.c: Likewise.
72098         * malloc/arena.c: Likewise.
72099         * malloc/hooks.c: Likewise.
72100         * malloc/malloc.c: Likewise.
72101         * resolv/res-state.c: Likewise.
72102         * resolv/res_libc.c: Likewise.
72103         * sysdeps/i386/dl-machine.h: Likewise.
72104         * sysdeps/ia64/dl-machine.h: Likewise.
72105         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
72106         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
72107         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
72108         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
72109         * sysdeps/sh/dl-machine.h: Likewise.
72110         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
72111         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
72112         * sysdeps/unix/i386/sysdep.S: Likewise.
72113         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
72114         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
72115         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
72116         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
72117         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
72118         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
72119         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
72120         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
72121         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72122         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
72123         * sysdeps/unix/x86_64/sysdep.S: Likewise.
72124         * sysdeps/x86_64/dl-machine.h: Likewise.
72125         * tls.make.c: Likewise.
72127         * configure.in: Remove --with-__thread option.  Make tests for
72128         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
72129         tls_model attribute fail if no support is available.  Remove
72130         USE_IN_LIBIO.
72131         * Makeconfig: Adjust for dropped configure option.  All features are
72132         now mandatory.
72133         * Makerules: Likewise.
72134         * Versions.def: Likewise.
72135         * argp/argp-fmtstream.c: Likewise.
72136         * argp/argp-fmtstream.h: Likewise.
72137         * argp/argp-help.c: Likewise.
72138         * assert/assert.c: Likewise.
72139         * config.h.in: Likewise.
72140         * config.make.in: Likewise.
72141         * configure: Likewise.
72142         * configure.in: Likewise.
72143         * csu/Versions: Likewise.
72144         * csu/init.c: Likewise.
72145         * elf/tst-audit2.c: Likewise.
72146         * elf/tst-tls10.c: Likewise.
72147         * elf/tst-tls10.h: Likewise.
72148         * elf/tst-tls11.c: Likewise.
72149         * elf/tst-tls12.c: Likewise.
72150         * elf/tst-tls14.c: Likewise.
72151         * elf/tst-tlsmod11.c: Likewise.
72152         * elf/tst-tlsmod12.c: Likewise.
72153         * elf/tst-tlsmod13.c: Likewise.
72154         * elf/tst-tlsmod13a.c: Likewise.
72155         * elf/tst-tlsmod14a.c: Likewise.
72156         * elf/tst-tlsmod15b.c: Likewise.
72157         * elf/tst-tlsmod16a.c: Likewise.
72158         * elf/tst-tlsmod16b.c: Likewise.
72159         * elf/tst-tlsmod7.c: Likewise.
72160         * elf/tst-tlsmod8.c: Likewise.
72161         * elf/tst-tlsmod9.c: Likewise.
72162         * gmon/gmon.c: Likewise.
72163         * grp/fgetgrent_r.c: Likewise.
72164         * grp/putgrent.c: Likewise.
72165         * hurd/fopenport.c: Likewise.
72166         * include/libc-symbols.h: Likewise.
72167         * include/tls.h: Likewise.
72168         * intl/gettextP.h: Likewise.
72169         * intl/loadinfo.h: Likewise.
72170         * locale/global-locale.c: Likewise.
72171         * locale/localeinfo.h: Likewise.
72172         * mach/devstream.c: Likewise.
72173         * malloc/arena.c: Likewise.
72174         * malloc/set-freeres.c: Likewise.
72175         * misc/err.c: Likewise.
72176         * misc/getttyent.c: Likewise.
72177         * misc/mntent_r.c: Likewise.
72178         * posix/getopt.c: Likewise.
72179         * posix/wordexp.c: Likewise.
72180         * pwd/fgetpwent_r.c: Likewise.
72181         * resolv/Versions: Likewise.
72182         * resolv/res_hconf.c: Likewise.
72183         * shadow/fgetspent_r.c: Likewise.
72184         * shadow/putspent.c: Likewise.
72185         * stdio-common/printf_fphex.c: Likewise.
72186         * stdio-common/tmpfile.c: Likewise.
72187         * stdlib/abort.c: Likewise.
72188         * stdlib/fmtmsg.c: Likewise.
72189         * sunrpc/auth_unix.c: Likewise.
72190         * sunrpc/clnt_perr.c: Likewise.
72191         * sunrpc/clnt_tcp.c: Likewise.
72192         * sunrpc/clnt_udp.c: Likewise.
72193         * sunrpc/clnt_unix.c: Likewise.
72194         * sunrpc/openchild.c: Likewise.
72195         * sunrpc/svc_simple.c: Likewise.
72196         * sunrpc/svc_tcp.c: Likewise.
72197         * sunrpc/svc_udp.c: Likewise.
72198         * sunrpc/svc_unix.c: Likewise.
72199         * sunrpc/xdr.c: Likewise.
72200         * sunrpc/xdr_array.c: Likewise.
72201         * sunrpc/xdr_rec.c: Likewise.
72202         * sunrpc/xdr_ref.c: Likewise.
72203         * sunrpc/xdr_stdio.c: Likewise.
72205 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
72207         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72209 2011-07-03  Andreas Jaeger  <aj@suse.de>
72211         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
72212         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
72213         regenerate with gen-libm-tests.pl.
72215 2010-05-12  Petr Baudis  <pasky@suse.cz>
72217         [BZ #11589]
72218         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
72219         around j0() zero points by switching to j1().
72220         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
72221         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
72222         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
72223         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
72225 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
72227         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
72228         instead of 0.
72229         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
72230         instead of 0.
72231         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72232         Patch in part by Pavel Roskin <proski@gnu.org>.
72234         [BZ #13138]
72235         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
72236         realloc.
72237         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
72238         Free memory block if necessary.
72240         [BZ #12847]
72241         * libio/genops.c (INTDEF): For string streams the _lock pointer can
72242         be NULL.  Don't lock in this case.
72244 2011-09-09  Roland McGrath  <roland@hack.frob.com>
72246         * elf/elf.h (ELFOSABI_GNU): New macro.
72247         (ELFOSABI_LINUX): Define to that.
72249 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
72251         * string/strncat.c (strncat): Undef the symbol in case it has been
72252         defined in bits/string.h.
72254 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
72256         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
72258         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
72259         link map.
72261 2011-08-17  Andreas Jaeger  <aj@suse.de>
72263         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
72265 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
72266             Ian Lance Taylor  <iant@google.com>
72268         * math/libm-test.inc (lround_test): New testcase.
72269         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
72271 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
72273         * Makefile: Remove support for automatic cvs check-ins.
72274         * Makerules: Likewise.
72275         * config.make.in: Likewise.
72276         * configure.in: Likewise.
72277         * intl/Makefile: Likewise.
72278         * locale/Makefile: Likewise.
72279         * po/Makefile: Likewise.
72280         * posix/Makefile: Likewise.
72281         * sysdeps/gnu/Makefile: Likewise.
72282         * sysdeps/mach/hurd/Makefile: Likewise.
72283         * sysdeps/sparc/sparc32/Makefile: Likewise.
72285         [BZ #13118]
72286         * posix/Makefile (bug-regex32-ENV): Define.
72287         Patch by John Stanley <jpsinthemix@verizon.net>.
72289         * misc/Makefile (headers): Add bits/select2.h.
72290         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
72291         * misc/bits/select2.h: New file.
72292         * include/bits/select2.h: New file.
72293         * debug/Makefile (routines): Add fdelt_chk.
72294         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
72295         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
72296         FD_ISSET.
72297         * debug/fdelt_chk.c: New file.
72299         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
72300         * wcsmbs/test-wmemcmp.c: Likewise.
72301         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
72302         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
72304 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72306         * string/Makefile (strop-tests): Add memcmp.
72307         * string/test-wmemcmp.c: New file.
72308         * string/test-memcmp.c: Add wmemcmp support.
72310 2011-09-08  Roland McGrath  <roland@hack.frob.com>
72312         [BZ #13153]
72313         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
72314         2011-07-19 change.
72316         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
72317         garbage value in a __mach_port_mod_refs call in the cases of the
72318         task-self and thread-self ports.
72320 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72322         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
72324 2011-09-08  Andreas Schwab  <schwab@redhat.com>
72326         * elf/dl-load.c (lose): Check for non-null L.
72328 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
72330         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
72332         * elf/dl-libc.c (dlerror_run): Pass back error code from
72333         dl_catch_error.
72335         [BZ #13123]
72336         * elf/dl-load.c (lose): Free l_origin if it is valid.
72338         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
72339         names.
72340         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
72341         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
72342         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
72343         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
72344         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
72345         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
72347 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72349         * sysdeps/powerpc/fpu/e_hypot.c: New file.
72350         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
72351         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
72352         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
72353         * sysdeps/powerpc/fpu/k_cosf.c: New file.
72354         * sysdeps/powerpc/fpu/k_sinf.c: New file.
72355         * sysdeps/powerpc/fpu/s_cosf.c: New file.
72356         * sysdeps/powerpc/fpu/s_sinf.c: New file.
72357         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
72358         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
72360 2011-08-15  Alan Modra  <amodra@gmail.com>
72362         [BZ #13092]
72363         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
72364         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
72365         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
72366         ppc_mcount to static-only-routines.
72367         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
72368         __mcount_internal.
72369         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
72370         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
72372 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
72374         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
72375         for finite and infinity parameters.
72377 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
72379         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
72380         and add nop instructions for throughput optimization.
72381         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72383 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
72385         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
72386         aligned copy for power7 with vector-scalar instructions.
72387         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
72389 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
72391         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
72392         AVX check.
72394 2011-09-07  Andreas Schwab  <schwab@redhat.com>
72396         [BZ #13144]
72397         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
72398         last change.
72400 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
72402         * sysdeps/unix/sysv/linux/x86_64/init-first.c
72403         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
72404         syscall wrapper around clock_gettime in __vdso_clock_gettime.
72405         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
72406         clock_gettime.
72408 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
72410         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
72411         Forgot to demangle the pointer.
72413         * sysdeps/i386/sysdep.h: Define atom_text_section.
72414         * sysdeps/x86_64/sysdep.h: Likewise.
72415         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
72416         section with atom_text_section.
72417         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
72418         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
72419         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
72420         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
72421         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
72423         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
72424         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
72425         already be defined.  Change to take two parameters and don't assign
72426         result to variable.  Adjust all users.
72427         Define INTERNAL_GETTIME if not already defined.
72428         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
72429         call.
72430         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
72431         HAVE_CLOCK_GETTIME_VSYSCALL.
72432         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
72434         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
72435         gettimeofday vsyscall, just use time.
72437 2011-09-06  Andreas Schwab  <schwab@redhat.com>
72439         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
72440         <errno.h>.
72442 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
72444         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
72445         syscall on x86-64.
72446         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
72447         syscall.
72448         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
72449         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
72450         syscall if possible.
72452 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
72454         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
72455         e_ident.  Don't pass to find_mapsXX.
72456         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
72458 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72460         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72461         strchr-sse2-no-bsf strrchr-sse2-no-bsf
72462         * sysdeps/x86_64/multiarch/strchr.S: Update.
72463         Check bit_slow_BSF bit.
72464         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
72465         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
72466         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
72468 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
72470         [BZ #13134]
72471         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
72472         before glibc 2.15.
72473         (tryshell): Define.
72474         (__spawni): Change last parameter to be flag.  Test
72475         SPAWN_XFLAGS_USE_PATH flag to use path or not.
72476         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
72477         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
72478         * posix/spawni.c: Likewise.
72479         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
72480         * posix/spawnp.c: Likewise.  Change normal version to use
72481         SPAWN_XFLAGS_USE_PATH.
72482         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
72483         SPAWN_XFLAGS_TRY_SHELL.
72485         [BZ #13150]
72486         * posix/glob.h: Remove gcc 1.x support.
72488         [BZ #13068]
72489         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
72491 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72493         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72494         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
72495         strrchr-sse2-bsf
72496         * sysdeps/i386/i686/multiarch/strchr.S: New file.
72497         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
72498         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
72499         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
72500         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
72501         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
72503 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72505         * sysdeps/x86_64/wcscmp.S: New file.
72507         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
72508         wcscmp-c wcscmp-sse2
72509         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
72510         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
72511         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
72512         * wcsmbs/wcscmp.c: Allow renaming.
72514 2011-09-05  David S. Miller  <davem@davemloft.net>
72516         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
72517         stack slot, rather than the struct return pointer slot.
72518         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
72519         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
72520         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
72521         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
72523 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
72525         * po/ja.po: Update from translation team.
72527         [BZ #13144]
72528         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
72529         kernel in 64-bit binaries.
72531 2011-09-01  David S. Miller  <davem@davemloft.net>
72533         * elf/elf.h (HWCAP_SPARC_*): Move to..
72534         * sysdeps/sparc/sysdep.h: this new file and add new values.
72535         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
72536         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
72537         _DL_HWCAP_COUNT to 24.
72538         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
72539         entries.
72540         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
72541         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
72542         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
72543         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
72544         instead of magic constants.
72545         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
72547 2011-08-31  David S. Miller  <davem@davemloft.net>
72549         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
72550         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
72551         Reimplement to do errno handling inline.
72552         (SYSCALL_ERROR_HANDLER): New macro.
72553         (__SYSCALL_STRING): Do not do errno handling in asm.
72554         (__CLONE_SYSCALL_STRING): Delete.
72555         (__INTERNAL_SYSCALL_STRING): Delete.
72556         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
72557         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
72558         (PSEUDO): Reimplement to do errno handling inline.
72559         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
72560         (SYSCALL_ERROR_HANDLER): New macro.
72561         (__SYSCALL_STRING): Do not do errno handling in asm.
72562         (__CLONE_SYSCALL_STRING): Delete.
72563         (__INTERNAL_SYSCALL_STRING): Delete.
72564         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
72565         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
72566         i386.
72567         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
72568         (inline_syscall*): Add 'err' argument.
72569         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
72570         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
72571         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
72572         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
72574         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
72575         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
72577 2011-08-30  Andreas Schwab  <schwab@redhat.com>
72579         * elf/rtld.c (dl_main): Relocate objects in dependency order.
72581 2011-08-29  Jiri Olsa <jolsa@redhat.com>
72583         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
72584         directive.
72586 2011-08-24  David S. Miller  <davem@davemloft.net>
72588         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
72590 2011-08-24  Andreas Schwab  <schwab@redhat.com>
72592         * elf/Makefile: Add rules to build and run unload8 test.
72593         * elf/unload8.c: New file.
72594         * elf/unload8mod1.c: New file.
72595         * elf/unload8mod1x.c: New file.
72596         * elf/unload8mod2.c: New file.
72597         * elf/unload8mod3.c: New file.
72599         * elf/dl-close.c (_dl_close_worker): Reset private search list if
72600         it wasn't used.
72602 2011-08-23  David S. Miller  <davem@davemloft.net>
72604         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
72605         subtract stack bias.
72606         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
72607         %sp not %fp in calculations.
72608         (_JMPBUF_UNWINDS_ADJ): Likewise.
72610         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
72611         (aio_suspend): Call it to force an exception region around the
72612         AIO_MISC_WAIT() invocation.
72614 2011-08-23  Andreas Schwab  <schwab@redhat.com>
72616         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
72617         backslash.
72619 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
72621         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
72622         protection macro.
72623         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
72624         and <dl-machine.h>.
72625         (Elf64_FuncDesc): Remove.
72627 2011-08-22  David S. Miller  <davem@davemloft.net>
72629         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
72630         sigaltstack check, add missing cfi directives.
72631         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
72632         missing cfi directives, and sigaltstack handling.
72634 2011-08-16  Andreas Schwab  <schwab@redhat.com>
72636         [BZ #11724]
72637         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
72638         object is seen twice.
72639         * elf/dl-fini.c (_dl_sort_fini): Likewise.
72641         * elf/Makefile (distribute): Add tst-initorder2.c.
72642         (tests): Add tst-initorder2.
72643         (modules-names): Add tst-initorder2a tst-initorder2b
72644         tst-initorder2c tst-initorder2d.  Add rules to build them.
72645         ($(objpfx)tst-initorder2.out): New rule.
72646         * elf/tst-initorder2.c: New file.
72647         * elf/tst-initorder2.exp: New file.
72649 2011-08-22  Andreas Schwab  <schwab@redhat.com>
72651         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
72653         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
72654         dependencies back to end of function.
72656         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
72657         $(elfobjdir)/ld.so.
72659 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
72661         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
72662         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
72663         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
72664         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
72665         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
72666         of __vdso_gettimeofday.
72667         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
72668         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
72669         attribute_hidden.
72670         (_libc_vdso_platform_setup): Remove initialization of
72671         __vdso_gettimeofday and __vdso_time.
72673 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
72675         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
72676         and fgetc_unlocked.
72677         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
72678         getc_unlocked.
72680         * elf/dl-open.c (add_to_global): Report additions to the global scope
72681         for LD_DEBUG=scopes.
72682         (dl_open_worker): Also print scope of newly loaded dependencies.
72683         (_dl_show_scope): Indicate if there is no scope.
72685         [BZ #13114]
72686         * stdio-common/Makefile (tests): Add bug24.
72687         * stdio-common/bug24.c: New file.
72689 2011-08-19  Andreas Jaeger  <aj@suse.de>
72691         [BZ #13114]
72692         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
72693         non-existant file when using close-on-exec mode.
72695 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
72697         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
72698         the very first instruction.
72700         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
72701         the CFI state in the end.
72702         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
72703         inclusion of dl-trampoline.h.
72704         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
72706 2011-08-19  Andreas Schwab  <schwab@redhat.com>
72708         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
72709         expectations for long double.
72711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
72712         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
72714 2011-08-14  David S. Miller  <davem@davemloft.net>
72716         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
72717         artificual limit depends upon the system page size.
72719 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
72721         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
72722         * resolv/Makefile: Define CFLAGS-libresolv.
72724 2011-08-17  Andreas Schwab  <schwab@redhat.com>
72726         * nss/makedb.c (compute_tables): Make variables used in nested
72727         function static.
72729 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
72731         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
72732         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
72733         if buffer was too small.
72735         * elf/pldd.c (main): Attach to all threads in the process.
72736         Rewrite /proc handling to use *at functions.
72738 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
72740         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
72741         specifies first scope to show.
72742         (dl_open_worker): Update callers.  Move printing scope of new
72743         object to before the relocation.
72744         * elf/rtld.c (dl_main): Update _dl_show_scope call.
72745         * sysdeps/generic/ldsodefs.h: Update declaration.
72747         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
72748         string for the scope number.
72750 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
72752         * nscd/servicescache.c (cache_addserv): Make sure written is always
72753         initialized.
72755 2011-08-14  Roland McGrath  <roland@hack.frob.com>
72757         * sysdeps/i386/i486/bits/atomic.h
72758         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
72759         statement expression, so as to suppress "set but not used" warning.
72760         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
72762         * string/strncat.c (STRNCAT): Use prototype definition.
72764         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
72765         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
72766         -Iprograms here.
72767         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
72768         (localedef-modules): Add localedef.
72769         (locale-modules): Add locale.
72771         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
72772         * elf/rtld.c (dl_main): Invert order of assignment in last change,
72773         to avoid a warning.
72775 2011-08-14  David S. Miller  <davem@davemloft.net>
72777         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
72778         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
72780 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
72782         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
72783         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
72784         * elf/rtld.c (dl_main): Set l_name of vDSO.
72785         Call _dl_show_scope when DL_DEBUG_SCOPES.
72786         (process_dl_debug): Recognize scopes flag and also set it for all.
72787         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
72788         Declare _dl_show_scope.
72790         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
72791         (do_dlopen): Pass caller_dlopen to dl_open.
72792         (__libc_dlopen_mode): Initialize caller_dlopen.
72794         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
72795         of libc.  Make tolower call locale-independent.  Optimize a bit by
72796         using isdigit instead of isalnum.
72797         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
72799 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
72801         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
72802         was a dependency or dynamically loaded.
72804 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
72806         * intl/l10nflist.c: Allow architecture-specific pop function.
72807         * sysdeps/x86_64/l10nflist.c: New file.
72809         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
72810         classification.
72812 2011-08-10  Andreas Schwab  <schwab@redhat.com>
72814         * include/dirent.h: Add libc_hidden_proto for scandirat and
72815         scandirat64.  Don't declare __scandirat64.
72816         * dirent/scandirat.c: Add libc_hidden_def.
72817         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
72818         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
72820 2011-08-10  David S. Miller  <davem@davemloft.net>
72822         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
72823         enum.
72824         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
72825         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
72826         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
72828 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
72830         * Versions.def [libc]: Add GLIBC_2.15.
72831         * dirent/Makefile (routines): Add scandirat and scandirat64.
72832         * dirent/Versions [libc]: Export scandirat and scandirat64 for
72833         GLIBC_2.15.
72834         * dirent/dirent.h: Declare scandirat and scandirat64.
72835         * dirent/scandirat.c: New file.
72836         * dirent/scandirat64.c: New file.
72837         * sysdeps/wordsize-64/scandirat.c: New file.
72838         * sysdeps/wordsize-64/scandirat64.c: New file.
72839         * dirent/opendir.c: Define opendirat.
72840         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
72841         using scandirat.
72842         * dirent/scandir64.c: Adjust for scandir.c change.
72843         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
72844         __scandirat64, and __scandir_cancel_handler.
72845         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
72846         additional parameter and use openat instead of open (outside of ld.so).
72847         Add new __opendir as wrapper around __opendirat.
72848         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
72849         here without requiring old scandirat implementation.
72851 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
72853         * dirent/scandir.c (cancel_handler): Renamed to
72854         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
72855         defined.  Adjust users.
72856         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
72857         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
72859 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
72861         * string/test-string.h (IMPL): Use __STRING to expand name and then
72862         stringify it.
72864         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
72865         of cleanups.
72867 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72869         * string/Makefile: Update.
72870         (strop-tests): Append strncat.
72871         * string/test-wcscmp.c: New file.
72872         New comprehensive test for wcscmp.
72873         * string/test-strcmp.c: Update.
72874         (WIDE): New define.
72876 2011-07-22  Andreas Schwab  <schwab@redhat.com>
72878         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
72879         line.
72881 2011-07-26  Andreas Schwab  <schwab@redhat.com>
72883         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
72884         encoding to ACE if AI_IDN.
72886 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
72888         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
72889         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
72891 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72893         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
72894         Fix overflow bug in strncat.
72895         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
72897         * string/test-strncat.c: Update.
72898         Add new tests for checking overflow bugs.
72900 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72902         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72903         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
72904         * sysdeps/i386/i686/multiarch/strcat.S: New file.
72905         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
72906         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
72907         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
72908         * sysdeps/i386/i686/multiarch/strncat.S: New file.
72909         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
72910         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
72912         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
72913         (USE_AS_STRCAT): Define.
72914         Add strcat and strncat support.
72915         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
72917 2011-07-25  Andreas Schwab  <schwab@redhat.com>
72919         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
72920         __n bigger than INT_MAX+1.
72921         (__strncmp_g): Likewise.
72923 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
72925         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
72926         * libio/stido.h: Likewise.
72928         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
72929         (AF_NFC): Define.
72930         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
72931         (AF_NFC): Define.
72933         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
72934         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
72935         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
72936         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
72937         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
72939         [BZ #13021]
72940         * scripts/test-installation.pl: Don't expect libnss_test1 to be
72941         installed.
72943         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
72944         typo.
72945         (_dl_x86_64_save_sse): Likewise.
72947 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
72949         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
72950         OSXSAVE.
72951         (_dl_x86_64_save_sse): Likewise.
72953         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
72955         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
72957 2011-07-21  Andreas Schwab  <schwab@redhat.com>
72959         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
72960         change.
72961         (_dl_x86_64_save_sse): Use correct AVX check.
72963 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72965         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
72966         bug in strncpy/strncat.
72967         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
72969 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
72971         * string/tester.c (test_strcat): Add tests for different alignments
72972         of source and destination.
72973         (test_strncat): Likewise.
72975 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
72977         [BZ #12852]
72978         * posix/glob.c (glob): Check passed in values before using them in
72979         expressions to avoid some overflows.
72980         (glob_in_dir): Likewise.
72982         [BZ #13007]
72983         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
72984         check for AVX enablement so that we don't crash with old kernels and
72985         new hardware.
72986         * elf/tst-audit4.c: Add same checks here.
72987         * elf/tst-audit6.c: Likewise.
72989         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
72991 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
72993         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
72995 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
72997         * po/cs.po: Update from translation team.
72998         * po/bg.po: Likewise.
73000 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
73002         * misc/sys/cdefs.h: Add support for const attribute.
73003         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
73004         to gnu_dev_{major,minor,makedev} functions.
73006 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
73008         * intl/dcigettext.c (get_output_charset): Add missing bracket.
73010 2011-07-20  Andreas Schwab  <schwab@redhat.com>
73012         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
73013         strlen results.
73015 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73017         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
73018         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
73019         register in order to avoid conflicts with the soft frame pointer
73020         being held in r11 when necessary.
73021         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
73022         (INTERNAL_VSYSCALL_NCS): Likewise.
73024 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
73026         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
73027         * elf/dl-fini.c (_dl_fini): Adjust caller.
73028         * elf/dl-close.c (_dl_close_worker): Likewise.
73029         * sysdeps/generic/ldsodefs.h: Adjust declaration.
73031 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
73033         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
73034         "aux_cache->nlibs < 0".
73036         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
73037         in the reload-count case.
73039 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73041         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73042         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
73043         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
73044         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
73045         * sysdeps/x86_64/multiarch/strcat.S: New file.
73046         * sysdeps/x86_64/multiarch/strncat.S: New file.
73047         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
73048         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
73049         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
73050         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
73051         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
73052         (USE_AS_STRCAT): Define.
73053         Add strcat and strncat support.
73054         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
73055         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
73056         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
73057         * string/strncat.c: Update.
73058         (USE_AS_STRNCAT): Define.
73059         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73060         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
73061         and i7.
73062         * sysdeps/x86_64/multiarch/init-arch.h
73063         (bit_Prefer_PMINUB_for_stringop): New.
73064         (index_Prefer_PMINUB_for_stringop): Likewise.
73065         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
73066         bit_Prefer_PMINUB_for_stringop.
73068 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
73070         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
73071         buffer64.
73072         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
73073         of casting of buffer.
73074         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
73075         buffer32 and buffer64.
73076         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
73077         writes instead of casting of buffer.
73078         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
73079         buffer32.
73080         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
73081         casting of buffer.
73083 2011-07-19  Andreas Schwab  <schwab@redhat.com>
73085         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
73087 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
73089         * nscd/nscd.c (termination_handler): Don't do anything for a database
73090         if it has not yet been initialized.
73092 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
73094         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
73096 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
73098         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
73100 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
73102         * po/nl.po: Update from translation team.
73103         * po/sv.po: Likewise.
73105 2011-07-16  Roland McGrath  <roland@hack.frob.com>
73107         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
73108         now disallowed by GCC.
73110         * configure.in (use-default-link): Default to yes if a test -shared
73111         link meets our qualifications.
73112         * configure: Regenerated.
73114         * config.make.in (output-format): New variable.
73115         * configure.in: Check for ld --print-output-format support.
73116         * configure: Regenerated.
73117         * Makerules ($(common-objpfx)format.lds)
73118         [$(output-format) != unknown]: Just use $(output-format),
73119         instead of the linker-script munging.
73121 2011-07-14  Roland McGrath  <roland@hack.frob.com>
73123         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
73124         of $(common-objpfx)shlib.lds.
73125         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
73127         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
73128         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
73130         * configure.in (-z relro check): Adjust test code to add a large
73131         writable data section after it.
73132         * configure: Regenerated.
73134 2011-07-11  Roland McGrath  <roland@hack.frob.com>
73136         * configure.in (-z relro check): Fix test code to make the variable
73137         truly const.
73138         * configure: Regenerated.
73140 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
73142         * nscd/nscd.h (struct traced_file): Define.
73143         (struct database_dyn): Remove inotify_descr, reset_res, and filename
73144         elements.  Add traced_files.
73145         (inotify_fd): Declare.
73146         (register_traced_file): Declare.
73147         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
73148         (inotify_fd): Export.
73149         (resolv_conf_descr): Remove.
73150         (nscd_init): Move inotify descriptor creation to main.
73151         Don't register files for notification here.
73152         (register_traced_file): New function.
73153         (invalidate_cache): Don't use reset_res to determine whether to call
73154         res_init, go through the list of registered files.
73155         (main_loop_poll): The inotify descriptors are now stored in the
73156         structures for the traced files.
73157         (main_loop_epoll): Likewise.
73158         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
73159         to __nss_disable_nscd.
73160         * nscd/cache.c (prune_cache): There is no single inotify descriptor
73161         for a database anymore.  Check the records for all the registered
73162         files instead.
73163         * nss/Makefile (libnss_files-routines): Add files-init.
73164         (libnss_db-routines): Add db-init.
73165         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
73166         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
73167         * nss/nss_db/db-init.c: New file.
73168         * nss/nss_files/files-init.c: New file.
73169         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
73170         __nss_lookup_function.
73171         (__nss_lookup_function): Call nss_load_library.
73172         (nss_load_all_libraries): New function.
73173         (__nss_disable_nscd): Take parameter with callback function for files
73174         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
73175         used for the cached services.
73176         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
73177         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
73178         options for features to all the files in nscd.
73180         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
73182 2011-07-10  Roland McGrath  <roland@hack.frob.com>
73184         * csu/elf-init.c (__libc_csu_init): Comment typo.
73186 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
73188         * po/pl.po: Update from translation team.
73189         * po/ja.po: Likewise.
73190         * po/ru.po: Likewise.
73191         * po/ko.po: Likewise.
73192         * po/fr.po: Likewise.
73194 2011-07-09  Roland McGrath  <roland@hack.frob.com>
73196         * configure.in (.ctors/.dtors header and trailer check):
73197         Use an empirical test on a built program.
73198         * configure: Regenerated.
73200         * configure.in (-z relro check): Use an empirical test on a built DSO.
73201         Detect, but do not require, on ia64.
73202         * configure: Regenerated.
73204         * configure.in (READELF): Find it with AC_CHECK_TOOL.
73205         Update tests that use readelf to use $READELF instead.
73206         * configure: Regenerated.
73208 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
73210         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
73211         if the result is not used.
73213 2011-07-05  Andreas Jaeger  <aj@suse.de>
73215         [BZ#9696]
73216         * stdlib/tst-strtod.c: Add testcase.
73218 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
73220         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
73221         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
73222         The latter has a higher limit.  Take additional parameter to pass to
73223         the new function.
73224         (__pathconf): Pass file to __statfs_link_max.
73225         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
73226         __statfs_link_max.
73227         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
73228         __statfs_link_max.
73230         [BZ #12868]
73231         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
73232         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
73233         Handle Lustre.
73234         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
73235         (__statfs_filesize_max): Likewise.
73236         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
73238 2011-07-05  Andreas Jaeger  <aj@suse.de>
73240         * resolv/res_comp.c (dn_skipname): Remove unused variable.
73242 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
73244         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
73245         `status' variable.
73246         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
73247         Likewise.
73249 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
73251         * Makefile (strop-tests): Add strncat.
73252         * string/test-strncat.c: New file.
73254 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
73256         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
73258 2011-06-21  Andreas Jaeger  <aj@suse.de>
73260         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
73261         Copy rule from iconvdata/Makefile.
73263 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
73265         [BZ #12922]
73266         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
73267         but no long options are defined, just return 'W'.
73269 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
73271         [BZ #9696]
73272         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
73274 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
73276         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
73277         netgroups to read.
73278         (innetgr): Likewise.
73280 2011-07-05  Roland McGrath  <roland@hack.frob.com>
73282         * config.make.in (install_root): Default to $(DESTDIR).
73284 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
73286         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
73288 2011-07-02  Roland McGrath  <roland@hack.frob.com>
73290         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
73292         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
73293         containing directory rather than embedding absolute directory names.
73295         * scripts/check-local-headers.sh: Rewritten using awk.
73296         Match by word, not by line.  Print error messages for matches.
73297         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
73299         * Makerules [shlib-lds-flags empty]:
73300         ($(common-objpfx)libc_pic.opts): New target.
73301         ($(common-objpfx)libc_pic.os.clean): New target.
73302         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
73304         * config.make.in (OBJCOPY): New variable.
73305         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
73306         * configure: Regenerated.
73308         * config.make.in (use-default-link): New variable.
73309         * configure.in (use_default_link): Grok --with-default-link to set it.
73310         * configure: Regenerated.
73311         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
73312         (shlib-lds, shlib-lds-flags): Define to empty.
73314         * Makerules (shlib-lds): New variable.
73315         (shlib-lds-flags): New variable.
73316         (build-shlib, build-moduile, build-module-asneeded): Use it.
73317         ($(common-objpfx)libc.so): Use $(shlib-lds).
73318         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
73319         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
73321         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
73322         DT_FLAGS/DT_FLAGS_1 with zero flags.
73324         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
73325         linker script munging.
73327 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
73329         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
73330         as 128-bit value.
73331         * crypt/sha512.c (sha512_process_block): Perform total addition using
73332         128-bit if possible.
73333         (__sha512_finish_ctx): Likewise.
73334         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
73335         as 64-bit value.
73336         * crypt/sha256.c (SWAP64): Define.
73337         (sha256_process_block): Perform total addition using 64-bit if
73338         possible.
73339         (__sha256_finish_ctx): Likewise.
73341 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
73343         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
73344         * nscd/initgrcache.c (addinitgroupsX): Likewise.
73345         * nscd/hstcache.c (cache_addhst): Likewise.
73346         * nscd/grpcache.c (cache_addgr): Likewise.
73347         * nscd/aicache.c (addhstaiX): Likewise.
73348         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
73350 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
73352         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
73353         * nscd/initgrcache.c (addinitgroupsX): Likewise.
73354         * nscd/hstcache.c (cache_addhst): Likewise.
73355         * nscd/grpcache.c (cache_addgr): Likewise.
73356         * nscd/aicache.c (addhstaiX): Likewise.
73358 2011-07-01  Andreas Schwab  <schwab@redhat.com>
73360         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
73361         domain only when needed.
73363 2011-06-30  Andreas Schwab  <schwab@redhat.com>
73365         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
73366         is always restored.
73368 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
73370         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
73371         are re-adding the entry.
73372         * nscd/servicescache.c (cache_addserv): Likewise.
73374 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
73376         * sysdeps/generic/dl-irel.h: fix protection against multiple
73377         inclusions.
73378         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
73380 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
73382         [BZ #12935]
73383         * malloc/memusage.sh: Fix quoting in message.
73384         * debug/xtrace.sh: Likewise.
73386         * configure.in: Remove support for --experimental-malloc option, make
73387         it the default.
73388         * config.make.in: Likewise.
73389         * malloc/Makefile: Likewise.
73391 2011-06-27  Andreas Schwab  <schwab@redhat.com>
73393         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
73394         two-byte characters.
73396 2011-06-27  Roland McGrath  <roland@hack.frob.com>
73398         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
73399         AC_CACHE_CHECK invocation.
73400         * configure: Regenerated.
73402         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
73404 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
73406         [BZ #12350]
73407         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
73408         bit from old_res_options.
73410         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
73412         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
73413         value type for setfct.
73415 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
73417         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
73418         __gettimeofday instead of gettimeofday.
73420 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
73422         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
73424 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
73426         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
73428         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
73429         info.
73431 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
73433         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73434         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
73435         strcpy-sse2-unaligned strncpy-sse2-unaligned
73436         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
73437         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
73438         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
73439         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
73440         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
73441         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
73442         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
73443         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
73444         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
73445         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
73446         (STRCPY): Support SSE2 and SSSE3 versions.
73448 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
73450         [BZ #12874]
73451         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
73452         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
73453         kernels which artificially limit size of requests.
73455 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
73457         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73458         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
73459         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
73460         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
73461         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
73462         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
73463         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
73464         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
73465         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
73466         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
73467         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
73468         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
73469         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
73470         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
73471         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
73472         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73473         Enable unaligned load optimization for Intel Core i3, i5 and i7
73474         processors.
73475         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
73476         Define.
73477         (index_Fast_Unaligned_Load): Define.
73478         (HAS_FAST_UNALIGNED_LOAD): Define.
73480 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
73482         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
73484 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
73486         [BZ #12907]
73487         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
73488         until it is clear that the information is realy needed.
73489         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
73491 2011-06-22  Andreas Schwab  <schwab@redhat.com>
73493         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
73495 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
73497         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
73498         /sys/devices/system/cpu/online if it is usable.
73500         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
73501         reading the information from the /proc filesystem to once a second.
73503 2011-06-21  Andreas Jaeger  <aj@suse.de>
73505         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
73506         NULL after inclusion of kernel headers.
73508 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
73510         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
73511         calls to internal_setent.
73513         [BZ #12885]
73514         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
73515         addresses using gethostbyname4_r ignore IPv4 addresses.
73517         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
73518         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
73520         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
73522 2011-06-20  David S. Miller  <davem@davemloft.net>
73524         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
73525         inclusions.
73526         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
73528         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
73529         (elf_irel): Use it.
73530         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
73531         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
73532         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
73533         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
73534         * sysdeps/x86_64/dl-irel.h: Likewise.
73536         * elf/dl-runtime.c: Use elf_ifunc_invoke.
73537         * elf/dl-sym.c: Likewise.
73539 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
73541         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
73542         need to dereference resplen2.
73544 2011-06-14  Andreas Schwab  <schwab@redhat.com>
73546         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
73548 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
73550         * Makeconfig: Define vardbdir and inst_vardbdir.
73551         * nss/Makefile: Add rules to install db-Makefile.
73553         * nss/nss_db/db-XXX.c: Cleanup.
73555         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
73556         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
73557         GLIBC_PRIVATE.
73558         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
73559         * nss/makedb.c: Implement -g option to specify that value strings
73560         are generated and should not be added to table iterated over for
73561         get*ent calls.
73562         * nss/nss_db/db-initgroups.c: New file.
73564         * nss/getent.c: Add support for initgroups lookups through getgrouplist
73565         interface.
73567         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
73568         (internal_getgrouplist): Adjust to name change.
73569         Update use_initgroups_entry if this is not the first call.
73570         * nss/databases.def: Add initgroups entry.
73572         * nss/makedb.c (compute_tables): Check result of multiple hash table
73573         sizes to minimize maximum chain length.
73575 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
73577         * Versions.def: Add entry for libnss_db.
73578         * shlib-versions: Likewise.
73579         * nss/Makefile: Add rules to build libnss_db.
73580         * nss/Versions: Add libnss_db information.  Organize libnss_files
73581         entries better.
73582         * nss/db-Makefile: Add gshadow support.  Change rules for the new
73583         makedb progra.  Some minor improvements to generate smaller files.
73584         * nss/nss_db/nss_db.h: Move NSS database header data structures to
73585         here from...
73586         * nss/makedb.c: ...here.
73587         Improve database format to be smaller and require less memory at
73588         runtime.
73589         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
73590         db anymore.
73591         * nss/nss_db/db-netgrp.c: Likewise.
73592         * nss/nss_db/db-open.c: Likewise.
73593         * nss/nss_files/flies-XXX.x: Adjust comments.
73594         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
73595         * nss/nss_files/files-grp.c: Likewise.
73596         * nss/nss_files/files-hosts.c: Likewise.
73597         * nss/nss_files/files-network.c: Likewise.
73598         * nss/nss_files/files-proto.c: Likewise.
73599         * nss/nss_files/files-pwd.c: Likewise.
73600         * nss/nss_files/files-rpc.c: Likewise.
73601         * nss/nss_files/files-service.c: Likewise.
73602         * nss/nss_files/files-sgrp.c: Likewise.
73603         * nss/nss_files/files-spwd.c: Likewise.
73604         * nss/nss_db/db-alias.c: Removed.
73605         * nss/nss_db/dummy-db.h: Removed.
73607 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
73609         * nss/makedb.c: Rewritten to not use database library.
73610         * nss/Makefile: Update to build new makedb program.
73612 2011-06-14  Andreas Jaeger  <aj@suse.de>
73614         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
73615         memset declaration.
73617 2011-06-10  Andreas Schwab  <schwab@redhat.com>
73619         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
73620         tmpbuf.
73622 2011-06-10  Roland McGrath  <roland@hack.frob.com>
73624         * Makerules (shlib.lds): Fail if the linker script comes out empty.
73625         * elf/Makefile ($(objpfx)ld.so): Likewise.
73627         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
73628         Don't list ld.so twice in dependencies.
73630         * posix/bug-regex31.c: Include <stdlib.h>.
73632         * nscd/hstcache.c (cache_addhst): Remove unused variable.
73634         * nis/nss_compat/compat-spwd.c
73635         (getspent_next_nss_netgr): Remove unused variable.
73636         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
73638         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
73639         nonmembers" output to use the right array.
73641         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
73643         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
73645         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
73646         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
73647         * catgets/gencat.c (read_input_file): Likewise.
73648         * locale/programs/locarchive.c (enlarge_archive): Likewise.
73650         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
73651         variable definition inside #if's controlling its use.
73653         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
73655         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
73657         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
73659         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
73660         unreachable code.
73662         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
73664         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
73665         * configure: Regenerated.
73667         * Makerules: Revert last change.
73668         * elf/Makefile: Likewise.
73670 2011-06-09  Roland McGrath  <roland@hack.frob.com>
73672         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
73673         * elf/Makefile ($(objpfx)librtld.os): Likewise.
73674         (reloc-link): Likewise.
73676 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
73678         * elf/Makefile: Add rules to build pldd.
73679         * elf/pldd.c: New file.
73680         * elf/pldd-xx.c: New file.
73682 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
73684         * version.h: Update for 2.15 development version.
73686 2011-06-07  David S. Miller  <davem@davemloft.net>
73688         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
73689         ifuncs.
73690         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
73691         elf_machine_lazy_rel): Likewise.
73692         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
73693         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
73694         elf_machine_lazy_rel): Likewise.
73695         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
73696         dl_hwcap via passed in argument.
73697         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
73698         Likewise.
73700 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73702         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
73704 2011-06-06  Roland McGrath  <roland@hack.frob.com>
73706         [BZ #12849]
73707         * manual/fdl-1.1.texi: New file, verbatim from:
73708         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
73709         * manual/lgpl-2.1.texi: New file, verbatim from:
73710         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
73711         * manual/Makefile (licenses): New variable, list those new file names.
73712         (texis): Use it.
73713         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
73715         * manual/fdl.texi: File removed.
73716         * manual/lesser.texi: File removed.
73717         * manual/libc.texinfo (Copying, Documentation License):
73718         Use new @include file names, put @appendix directive before @include.
73720 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
73722         [BZ #12841]
73723         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
73724         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
73725         (mq_open): Add __NTH.
73727 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
73729         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73730         Assume Intel Core i3/i5/i7 processor if AVX is available.
73732 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
73734         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
73735         typo.
73737 2011-05-31  Andreas Schwab  <schwab@redhat.com>
73739         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
73740         memory.  Use alloca_account.  Fix memory leak when retrying.
73742 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
73744         * version.h (RELEASE): Bump for 2.14 release.
73745         * include/features.h (__GLIBC_MINOR__): Bump to 14.
73747         * config.make.in (RANLIB): Remove entry.
73749 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
73751         * po/Makefile (po-sed-cmd): Add ksh to extensions.
73752         (libc.pot): Work around missing support for .ksh extension in xgettext.
73754         [BZ #12684]
73755         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
73756         if both request failed.
73757         (send_dg): In case of server errors clear resplen or *resplen2.
73759         [BZ #12454]
73760         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
73761         when there are multiple maps.
73762         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
73763         (_dl_fini): Remove test here.
73765         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
73767 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
73769         [BZ #12350]
73770         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
73771         bit from old_res_options.
73772         (gaih_inet): Likewise.
73774         [BZ #11099]
73775         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
73776         as signed.
73778         * resolv/res_init.c (res_setoptions): Make the code more compact.
73780         [BZ #11558]
73781         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
73782         set RES_USEVC.
73784         [BZ #11634]
73785         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
73787         * malloc/malloc.h: Mark malloc hook variables as deprecated.
73789         [BZ #11781]
73790         * malloc/malloc.h: Declare malloc hook variables as volatile.
73792         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
73793         in last patch.
73795         [BZ #11799]
73796         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
73797         raise in the comment.
73798         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
73799         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
73800         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
73802 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
73804         [BZ #12811]
73805         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
73806         grow the buffers more if it already has to be sufficient.
73807         (build_wcs_upper_buffer): Likewise.
73808         * posix/regexec.c (check_matching): Likewise.
73809         (clean_state_log_if_needed): Likewise.
73810         (extend_buffers): Don't enlarge buffers beyond size of the input
73811         buffer.
73812         Patches mostly by Emil Wojak <emil@wojak.eu>.
73813         * posix/bug-regex32.c: New file.
73814         * posix/Makefile (tests): Add bug-regex32.
73816         * locale/findlocale.c (_nl_find_locale): Return right away if
73817         _nl_explode_name failed.
73818         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
73820         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
73822         * debug/xtrace.sh: Unify messages.
73823         * malloc/memusage.sh: Likewise.
73825         [BZ #12813]
73826         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
73827         time symbol from vDSO.  Substitute with vsyscall if not available.
73828         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
73829         __vdso_time.
73831         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
73832         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
73833         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
73834         Add sendmmsg and internal_sendmmsg.
73835         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
73836         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
73837         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
73839         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
73840         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
73841         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
73843 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
73845         [BZ #12813]
73846         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
73847         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
73848         available.
73849         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
73850         __vdso_getcpu.
73852         [BZ #12814]
73853         * iconvdata/Makefile (tests): Add bug-iconv9.
73854         * iconvdata/bug-iconv9.c: New file.
73856 2011-05-27  Andreas Schwab  <schwab@redhat.com>
73858         [BZ #12814]
73859         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
73861 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
73863         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
73864         (struct user_regs_struct): Change intcs field back to cs.
73866 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
73868         * po/ja.po: Update from translation team.
73870 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
73872         [BZ #12795]
73873         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
73874         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
73876 2011-05-20  Andreas Schwab  <schwab@redhat.com>
73878         * stdlib/longlong.h: Update from GCC.
73880 2011-05-23  Andreas Schwab  <schwab@redhat.com>
73882         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
73883         parameter name.
73884         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
73885         Add parameter name.
73886         (__sysconf): Pass it down.
73888 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
73890         [BZ #12671]
73891         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
73892         some situations.
73893         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
73894         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
73895         add in in __libc_use_alloca calls.  Adjust callers.
73896         (glob): Use malloc in some situations.
73898         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
73899         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
73900         pltexit.
73902 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
73904         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
73905         and CLOCK_BOOTTIME_ALARM.
73907         [BZ #12782]
73908         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
73909         is returned.
73911         * string/_strerror.c (__strerror_r): Print negative errors as signed
73912         numbers.
73914         [BZ #12777]
73915         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
73916         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
73917         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
73919         * configure.in: Fix typo in redirection and correct removal of test
73920         files in two cases.
73922         [BZ #12788]
73923         * locale/setlocale.c (new_composite_name): Fix test to check for
73924         identical name of all categories.
73926         [BZ #12792]
73927         * libio/filedoalloc.c (local_isatty): New function.
73928         (_IO_file_doallocate): Use local_isatty.
73929         * stdio-common/perror.c (perror): In case a new stream is used
73930         forward the stream error.
73931         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
73932         error flag.
73934 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
73936         [BZ #11884]
73937         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
73938         alloca.
73939         * include/alloca.h (extend_alloca_account): Define.
73941         [BZ #11857]
73942         * posix/regex.h: Fix comments with documentation of user-accessible
73943         fields after compilation and describe correct free'ing of pattern
73944         after re_compile_pattern.
73945         Patch by Reuben Thomas <rrt@sc3d.org>.
73947 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
73949         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
73950         and -mno-altivec to prevent the compiler from using Altivec and/or
73951         VSX instructions when the corresponding registers are not available.
73953 2011-05-19  Andreas Schwab  <schwab@redhat.com>
73955         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
73957 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
73959         * libio/freopen.c (freopen): Use __dup2, not dup2.
73960         * libio/freopen64.c (freopen64): Likewise.
73962 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
73964         [BZ #12775]
73965         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
73966         * math/Makefile (tests): Add test-powl.
73967         (CFLAGS-test-powl.c): Define.
73968         * math/test-powl.c: New file.
73970 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73972         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
73974 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
73976         [BZ #11837]
73977         * iconvdata/gb18030.c: Update to GB18020-2005.
73979 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
73981         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
73982         RE_SYNTAX_POSIX_AWK): Update to match recent development.
73983         Patch by Aharon Robbins <arnold@skeeve.com>.
73985         [BZ #11892]
73986         * stdlib/putenv.c (putenv): Don't always create copy of the variable
73987         on the stack.
73989         [BZ #11895]
73990         * misc/pselect.c (__pselect): Handle timeout value errors hidden
73991         through underflows.
73993         [BZ #12766]
73994         * misc/error.c (error_at_line): Ensure file_name and old_file_name
73995         point to strings before performing equality test for error_one_per_line
73996         mode.
73998         [BZ #11697]
73999         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
74001         [BZ #11820]
74002         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
74003         (struct user_fpregs_struct): Avoid __uint*_t types.
74005         [BZ #6420]
74006         * malloc/mtrace.c (tr_where): Add additional parameter to point to
74007         symbol info.  Use it instead of calling _dl_addr locally.
74008         (lock_and_info): New function.
74009         (tr_freehook): Call lock_and_info and pass symbol info as additional
74010         parameter to tr_where.
74011         (tr_mallochook): Likewise.
74012         (tr_reallochook): Likewise.
74013         (tr_memalignhook): Likewise.
74015         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
74016         used and couldn't be at all thread-safe.
74018 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
74020         * libio/freopen.c (freopen): Don't close old file descriptor
74021         before the new one is opened.  Instead dup the new file descriptor
74022         to the old one after the new stream is created.
74023         * libio/freopen64.c (freopen64): Likewise.
74024         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
74025         * libio/fileops.c (_IO_new_file_close_it): Handle new
74026         _IO_FLAGS2_NOCLOSE flag.
74027         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
74028         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
74029         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
74030         _IO_FLAGS2_NOCLOSE flag.
74031         * include/unistd.h: Add hidden_proto for dup3.
74032         Define __have_dup3.
74033         * io/dup3.c: Define hidden symbol.
74034         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
74036         [BZ #7101]
74037         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
74038         when an incomplete long option is used.
74039         * posix/tst-getopt_long1.c: New file.
74040         * posix/Makefile (tests): Add tst-getopt_long1.
74042         [BZ #10138]
74043         * scripts/config.guess: Update from autoconf-2.68.
74044         * scripts/config.sub: Likewise.
74046         [BZ #10157]
74047         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
74048         tests into ...
74049         (has_cpuclock): ...this.  New function.
74050         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
74051         macro here based on has_cpuclock code.
74053         [BZ #10149]
74054         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
74055         First byte (not low byte) is now always NUL.
74056         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
74058         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
74059         Use non-cancelable interfaces.
74061         [BZ #9809]
74062         * locale/iso-639.def: Add entry for Sorani.
74064         [BZ #11901]
74065         * include/stdlib.h: Move include protection to the right place.
74066         Define abort_msg_s.  Declare __abort_msg with it.
74067         * stdlib/abort.c (__abort_msg): Adjust type.
74068         * assert/assert.c (__assert_fail_base): New function.  Majority
74069         of code from __assert_fail.  Allocate memory for __abort_msg with
74070         mmap.
74071         (__assert_fail): Now call __assert_fail_base.
74072         * assert/assert-perr.c: Remove bulk of implementation.  Use
74073         __assert_fail_base.
74074         * include/assert.hL Declare __assert_fail_base.
74075         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
74076         mmap.
74077         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
74079 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
74081         [BZ #11952]
74082         [BZ #12453]
74083         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
74084         until all modules are registered in the DTV.
74085         * elf/Makefile: Add rules to build and run tst-tls19.
74086         * elf/tst-tls19.c: New file.
74087         * elf/tst-tls19mod1.c: New file.
74088         * elf/tst-tls19mod2.c: New file.
74089         * elf/tst-tls19mod3.c: New file.
74090         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
74092         [BZ #12083]
74093         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
74094         correctly.
74096         [BZ #12601]
74097         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
74098         two-byte sequence errors.
74099         * iconvdata/Makefile (tests): Add bug-iconv8.
74100         * iconvdata/bug-iconv8.c: New file.
74102         [BZ #12626]
74103         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
74104         buf2 definition.
74106         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
74108         [BZ #12432]
74109         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
74110         (dummy_getcfa): New function.
74111         (init): Get _Unwind_GetCFA address, use dummy if not found.
74112         (backtrace_helper): In recursion check, also check whether CFA changes.
74113         (__backtrace): Completely initialize arg.
74115         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
74116         storing incomplete byte sequence in state object.  Avoid testing for
74117         guaranteed too small input if we know there is enough data available.
74119 2011-05-11  Andreas Schwab  <schwab@redhat.com>
74121         * Makeconfig (+link-pie): Indent.
74122         * Rules (binaries-pie): Define if $(have-fpie) and
74123         $(build-shared).
74124         (binaries-shared): Also filter out $(binaries-pie).
74125         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
74126         * nscd/Makefile (others-pie): Add nscd.
74127         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
74128         ($(objpfx)nscd): Remove command override.
74129         * login/Makefile (others-pie): Add pt_chown.
74130         ($(objpfx)pt_chown): Remove command override.
74131         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
74132         remove command overrides.
74134 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
74136         * libio/tst_putwc.c: Fix error messages.
74138         [BZ #12724]
74139         * libio/fileops.c (_IO_new_file_close_it): Always flush when
74140         currently writing and seek to current position when not.
74141         * libio/Makefile (tests): Add bug-fclose1.
74142         * libio/bug-fclose1.c: New file.
74144 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
74146         [BZ #12511]
74147         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
74148         don't set DF_1_NODELETE here.
74149         (do_lookup_x): When entering new entry test for copy relocation
74150         and if necessary set DF_1_NODELETE flag.
74151         * elf/tst-unique4.cc: New file.
74152         * elf/tst-unique4.h: New file.
74153         * elf/tst-unique4lib.cc: New file.
74154         * elf/Makefile: Add rules to build and run tst-unique4.
74155         Patch by Piotr Bury <pbury@goahead.com>.
74157 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
74159         [BZ #12052]
74160         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
74162         [BZ #12625]
74163         * misc/mntent_r.c (addmntent): Flush the stream after the output
74165         [BZ #12393]
74166         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
74167         (is_trusted_path_normalize): Skip initial colon.  Append slash
74168         to empty buffer.  Duplicate is_trusted_path code but allow
74169         constructed patch to be prefix.
74170         (is_dst): Allow $ORIGIN followed by /.
74171         (_dl_dst_substitute): Correct clearing of check_for_trusted.
74172         Correct testing of result of is_trusted_path_normalize
74173         (decompose_rpath): Fix warning.
74175 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
74177         [BZ #11257]
74178         * grp/initgroups.c (internal_getgrouplist): When we found the service
74179         list through the initgroups entry in nsswitch.conf do not always
74180         continue on a successful lookup.  Don't always use the
74181         __nss_group_database value if it is set.
74182         * nss/nsswitch.conf (initgroups): Change action for successful db
74183         lookup to continue for compatibility.
74185 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
74187         [BZ #11532]
74188         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
74189         and CP774 modules.
74190         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
74191         and CP774 modules.
74192         * iconvdata/tst-tables.sh: Likewise.
74193         * iconvdata/cp770.c: New file.
74194         * iconvdata/cp771.c: New file.
74195         * iconvdata/cp772.c: New file.
74196         * iconvdata/cp773.c: New file.
74197         * iconvdata/cp774.c: New file.
74198         * iconvdata/testdata/CP770: New file.
74199         * iconvdata/testdata/CP770..UTF8: New file.
74200         * iconvdata/testdata/CP771: New file.
74201         * iconvdata/testdata/CP771..UTF8: New file.
74202         * iconvdata/testdata/CP772: New file.
74203         * iconvdata/testdata/CP772..UTF8: New file.
74204         * iconvdata/testdata/CP773: New file.
74205         * iconvdata/testdata/CP773..UTF8: New file.
74206         * iconvdata/testdata/CP774: New file.
74207         * iconvdata/testdata/CP774..UTF8: New file.
74209         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
74210         END CHARMAP line.
74211         * iconvdata/gen-8bit-gap.sh: Likewise.
74212         * iconvdata/gen-8bit.sh: Likewise.
74214         * locale/iso-639.def: Add ary entry.
74216         [BZ #11258]
74217         * locale/C-translit.h.in: Add U20A1 transliteration.
74219         [BZ #12178]
74220         * locale/iso-639.def: Add wae entry.
74221         Patch by Kevin Bortis <bortis@translate-wae.ch>.
74223         [BZ #12545]
74224         * locale/programs/localedef.c (construct_output_path): Use ssize_t
74225         for n.
74227         [BZ #12711]
74228         * locale/C-translit.h.in: Add entry for U20B9.
74229         Patch by pravin.d.s@gmail.com.
74231 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
74233         [BZ #12713]
74234         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
74235         ENAMETOOLONG use generic getcwd.
74236         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
74237         in rtld.  Use *stat64.
74238         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
74239         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
74240         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
74241         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
74242         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
74243         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
74244         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
74245         __fstatat64 macros.
74246         * include/dirent.h: Add libc_hidden_proto for rewinddir.
74247         * dirent/rewinddir.c: Add libc_hidden_def.
74248         * sysdeps/mach/hurd/rewinddir.c: Likewise.
74249         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
74251         * include/dirent.h (__alloc_dir): Add flags parameter.
74252         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
74253         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
74254         __alloc_dir.
74255         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
74256         from fdopendir if O_CLOEXEC is already set.
74258 2011-03-15  Alan Modra  <amodra@gmail.com>
74260         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
74261         l_tls_firstbyte_offset non-zero.  Save padding offset in
74262         l_tls_firstbyte_offset for later use.
74263         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
74264         freeing static tls block.
74266 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
74268         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
74269         where #ifdef was intended.  The intent is to prevent ARG_MAX from
74270         being defined by the kernel headers.
74272 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
74274         [BZ #12734]
74275         * resolv/resolv.h: Define RES_NOTLDQUERY.
74276         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
74277         no-tld-query and set RES_NOTLDQUERY.
74278         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
74279         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
74280         modern BIND to search name as TLD unless forbidden.
74282 2011-05-07  Petr Baudis  <pasky@suse.cz>
74283             Ulrich Drepper  <drepper@gmail.com>
74285         [BZ #12393]
74286         * elf/dl-load.c (fillin_rpath): Move trusted path check...
74287         (is_trusted_path): ...to here.
74288         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
74289         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
74290         using is_trusted_path_normalize() in setuid scripts.
74292 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
74294         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
74295         __BEGIN/__END_DECLS.
74297 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
74299         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
74300         NSS_STATUS_NOTFOUND if no record was found.
74302 2011-05-05  Andreas Schwab  <schwab@redhat.com>
74304         * sunrpc/Makefile (headers): Add rpc/netdb.h.
74305         (headers-not-in-tirpc): Remove rpc/netdb.h
74306         * resolv/netdb.h: Revert last change.
74308 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
74310         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
74311         circular dependency between libgcc.a and libc.a.
74313 2011-05-05  Andreas Schwab  <schwab@redhat.com>
74315         * resolv/netdb.h: Don't include <rpc/netdb.h>.
74316         * nis/Makefile: Don't install rpcsvc/*.
74317         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
74318         instead of <rpc/types.h>.
74319         (MAXHOSTNAMELEN): Define.
74321 2011-05-03  Andreas Schwab  <schwab@redhat.com>
74323         * elf/ldconfig.c (add_dir): Don't crash on empty path.
74325 2011-04-28  Maciej Babinski  <mbabinski@google.com>
74327         [BZ #12714]
74328         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
74329         gethostbyname4_r when IPv6 results are possible.
74331 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
74333         [BZ #12723]
74334         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
74335         _PC_PIPE_BUF handling.
74337 2011-04-30  Bruno Haible  <bruno@clisp.org>
74339         [BZ #12717]
74340         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
74341         * resolv/netdb.h (getnameinfo): Change type of flags parameter
74342         to 'int'.
74343         * inet/getnameinfo.c (getnameinfo): Likewise.
74345 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
74347         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
74348         to groups setting in database lookup.
74349         * nss/nsswitch.conf: Add initgroups entry.
74351 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
74353         [BZ #12685]
74354         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
74355         mode string.
74356         Patch by Eric Blake <eblake@redhat.com>.
74358 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
74360         * sunrpc/Makefile (need-export-routines): Add svc_run.
74361         (routines): Remove svc_run.
74362         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
74363         * sunrpc/clnt_perr.c (clnt_perrno): Export.
74364         * sunrpc/svc_run.c (svc_run): Likewise.
74365         * sunrpc/svc_udp.c (svcudp_create): Likewise.
74367 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
74369         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
74370         problem in reallocation in last patch.
74372 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
74374         * sunrpc/Makefile: Move inclusion of Rules.
74376 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
74378         * nss/nss_files/files-initgroups.c: New file.
74379         * nss/Makefile (libnss_files-routines): Add files-initgroups.
74380         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
74381         _nss_files_initgroups_dyn.
74383 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
74385         * elf/elf.h (R_ARM_IRELATIVE): Define.
74387 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
74389         * po/ru.po: Update from translation team.
74391 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
74393         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
74394         dependencies.
74396 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
74398         [BZ #12653]
74399         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
74400         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
74401         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
74402         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
74403         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
74405 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
74407         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
74408         differing bytes.
74409         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
74410         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
74411         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
74413 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
74415         [BZ #12420]
74416         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
74417         storing it.
74418         * stdlib/bug-getcontext.c: New file.
74419         * stdlib/Makefile: Add rules to build and run bug-getcontext.
74421 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74423         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
74424         instructions into .machine "z9-109".
74425         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
74426         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
74428 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74430         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
74431         between environment variables and auxiliary vector.
74433 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
74435         * Makefile: Add rules to build linkobj/libc.so.
74436         * include/libc-symbols.h: Define libc_hidden_nolink.
74437         * include/rpc/auth.h: Mark functions which are to be hidden.
74438         * include/rpc/auth_des.h: Likewise.
74439         * include/rpc/auth_unix.h: Likewise.
74440         * include/rpc/clnt.h: Likewise.
74441         * include/rpc/des_crypt.h: Likewise.
74442         * include/rpc/key_prot.h: Likewise.
74443         * include/rpc/pmap_clnt.h: Likewise.
74444         * include/rpc/pmap_prot.h: Likewise.
74445         * include/rpc/pmap_rmt.h: Likewise.
74446         * include/rpc/rpc_msg.h: Likewise.
74447         * include/rpc/svc.h: Likewise.
74448         * include/rpc/svc_auth.h: Likewise.
74449         * include/rpc/xdr.h: Likewise.
74450         * nis/Makefile: Link all DSOs against linkobj/libc.so.
74451         * nss/Makefile: Likewise.
74452         * sunrpc/Makefile: Don't install headers.  Build library with normal
74453         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
74454         * sunrpc/auth_des.c: Hide exported symbols by default, export some
74455         for the compat linking library.  Remove use of INTDEF/INTUSE.
74456         * sunrpc/auth_none.c: Likewise.
74457         * sunrpc/auth_unix.c: Likewise.
74458         * sunrpc/authdes_prot.c: Likewise.
74459         * sunrpc/authuxprot.c: Likewise.
74460         * sunrpc/clnt_gen.c: Likewise.
74461         * sunrpc/clnt_perr.c: Likewise.
74462         * sunrpc/clnt_raw.c: Likewise.
74463         * sunrpc/clnt_simp.c: Likewise.
74464         * sunrpc/clnt_tcp.c: Likewise.
74465         * sunrpc/clnt_udp.c: Likewise.
74466         * sunrpc/clnt_unix.c: Likewise.
74467         * sunrpc/des_crypt.c: Likewise.
74468         * sunrpc/des_soft.c: Likewise.
74469         * sunrpc/get_myaddr.c: Likewise.
74470         * sunrpc/key_call.c: Likewise.
74471         * sunrpc/key_prot.c: Likewise.
74472         * sunrpc/netname.c: Likewise.
74473         * sunrpc/pm_getmaps.c: Likewise.
74474         * sunrpc/pm_getport.c: Likewise.
74475         * sunrpc/pmap_clnt.c: Likewise.
74476         * sunrpc/pmap_prot.c: Likewise.
74477         * sunrpc/pmap_prot2.c: Likewise.
74478         * sunrpc/pmap_rmt.c: Likewise.
74479         * sunrpc/publickey.c: Likewise.
74480         * sunrpc/rpc_cmsg.c: Likewise.
74481         * sunrpc/rpc_common.c: Likewise.
74482         * sunrpc/rpc_dtable.c: Likewise.
74483         * sunrpc/rpc_prot.c: Likewise.
74484         * sunrpc/rpc_thread.c: Likewise.
74485         * sunrpc/rtime.c: Likewise.
74486         * sunrpc/svc.c: Likewise.
74487         * sunrpc/svc_auth.c: Likewise.
74488         * sunrpc/svc_authux.c: Likewise.
74489         * sunrpc/svc_raw.c: Likewise.
74490         * sunrpc/svc_run.c: Likewise.
74491         * sunrpc/svc_simple.c: Likewise.
74492         * sunrpc/svc_tcp.c: Likewise.
74493         * sunrpc/svc_udp.c: Likewise.
74494         * sunrpc/svc_unix.c: Likewise.
74495         * sunrpc/svcauth_des.c: Likewise.
74496         * sunrpc/xcrypt.c: Likewise.
74497         * sunrpc/xdr.c: Likewise.
74498         * sunrpc/xdr_array.c: Likewise.
74499         * sunrpc/xdr_float.c: Likewise.
74500         * sunrpc/xdr_intXX_t.c: Likewise.
74501         * sunrpc/xdr_mem.c: Likewise.
74502         * sunrpc/xdr_rec.c: Likewise.
74503         * sunrpc/xdr_ref.c: Likewise.
74504         * sunrpc/xdr_sizeof.c: Likewise.
74505         * sunrpc/xdr_stdio.c: Likewise.
74507 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
74509         [BZ #12650]
74510         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
74511         * sysdeps/ia64/dl-tls.h: Likewise.
74512         * sysdeps/powerpc/dl-tls.h: Likewise.
74513         * sysdeps/s390/dl-tls.h: Likewise.
74514         * sysdeps/sh/dl-tls.h: Likewise.
74515         * sysdeps/sparc/dl-tls.h: Likewise.
74516         * sysdeps/x86_64/dl-tls.h: Likewise.
74517         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
74519 2011-03-14  Andreas Schwab  <schwab@redhat.com>
74521         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
74522         rpath element also skip the following colon.
74523         (expand_dynamic_string_token): Add is_path parameter and pass
74524         down to DL_DST_REQUIRED and _dl_dst_substitute.
74525         (decompose_rpath): Call expand_dynamic_string_token with
74526         non-zero is_path.  Ignore empty rpaths.
74527         (_dl_map_object_from_fd): Call expand_dynamic_string_token
74528         with zero is_path.
74530 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
74532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
74533         Make cancelable.
74535 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
74537         [BZ #12655]
74538         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
74539         Patch by Filipe David Manana <fdmanana@apache.org>.
74541 2011-04-07  Andreas Schwab  <schwab@redhat.com>
74543         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
74544         Maintain aligned stack.
74545         (CHECK_RSP): Remove unused macro.
74547 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
74549         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
74550         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
74552 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
74554         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
74556         * include/features.h: Mention __USE_XOPEN2K8 in comment.
74558 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
74560         [BZ #12518]
74561         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
74562         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
74563         * sysdeps/x86_64/memmove.c: New file.
74564         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
74565         (memcpy): Renamed to ...
74566         (__new_memcpy): This.
74567         (memcpy): Provide GLIBC_2_14 memcpy.
74568         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
74569         (memcpy): Provide GLIBC_2_2_5 memcpy.
74571 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
74573         [BZ #12631]
74574         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
74576 2011-03-30  Andreas Schwab  <schwab@redhat.com>
74578         * misc/syncfs.c: New file.
74579         * misc/Makefile (routines): Add syncfs.
74580         * posix/unistd.h: Declare syncfs.
74581         * sysdeps/unix/syscalls.list: Add syncfs.
74583 2011-04-01  Andreas Schwab  <schwab@redhat.com>
74585         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
74586         open_by_handle_at.
74587         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
74588         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
74589         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
74590         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
74591         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
74592         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
74593         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
74595 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
74597         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
74598         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
74599         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
74600         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
74601         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
74602         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
74603         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
74605         * io/Makefile: Compile fallocate.c, fallocate64.c, and
74606         sync_file_range.c with -fexceptions.
74607         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
74608         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
74609         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
74610         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
74611         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
74612         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
74613         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
74614         sync_file_range as cancellation point
74615         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
74616         now a wrapper around __call_sync_file_range with cancellation handling.
74617         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
74618         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
74619         function name to __call_sync_file_range.
74620         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
74621         Add call_sync_file_range.
74623 2011-04-01  Andreas Schwab  <schwab@redhat.com>
74625         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74626         bits/timex.h.
74628 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
74630         * iconv/iconv.h: Fix typo in comment.
74631         * io/fcntl.h: Likewise.
74632         * libio/stdio.h: Likewise.
74633         * posix/spawn.h: Likewise.
74634         * posix/unistd.h: Likewise.
74635         * stdlib/stdlib.h: Likewise.
74636         * time/time.h: Likewise.
74637         * wcsmbs/wchar.h: Likewise.
74639         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
74640         open_by_handle): Add.
74641         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
74642         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
74643         Augment a few comments.
74644         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
74645         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
74646         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
74647         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
74648         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
74649         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
74650         open_by_handle.
74652         * io/fcntl.h (AT_EMPTY_PATH): Define.
74654 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
74656         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
74657         * sysdeps/unix/sysv/linux/bits/time.h: New file.
74658         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
74659         to...
74660         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
74661         * Versions.def: Add GLIBC_2.14.
74662         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
74663         Export.
74665 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
74667         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
74668         round counter.
74669         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
74671 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
74673         [BZ #12597]
74674         * string/test-strncmp.c (do_page_test): New function.
74675         (check2): Likewise.
74676         (test_main): Call check2.
74677         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
74679 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
74681         [BZ #12587]
74682         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
74683         Handle cache information in CPU leaf 4.
74684         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
74686 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
74688         [BZ #12583]
74689         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
74690         character representation.
74691         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
74693 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
74695         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
74696         END(__isnan) to END(__isnanf) to match function entry point/label
74697         EALIGN(__isnanf,...).
74699 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
74701         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
74703 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
74705         [BZ #12510]
74706         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
74707         copy from the symbol referenced in the relocation to initialize the
74708         used variable.
74709         Patch by Piotr Bury <pbury@goahead.com>.
74710         * elf/Makefile: Add rules to build and tst-unique3.
74711         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
74712         * elf/tst-unique3.cc: New file.
74713         * elf/tst-unique3.h: New file.
74714         * elf/tst-unique3lib.cc: New file.
74715         * elf/tst-unique3lib2.cc: New file.
74717         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
74719 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
74721         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
74722         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
74723         to _start.
74725 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
74727         * elf/dl-load.c (_dl_map_object): If we are looking for the first
74728         to-be-loaded object along a path to loader is ld.so.
74730 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
74731             Ulrich Drepper  <drepper@gmail.com>
74733         * sysdeps/x86_64/memset.S: After aligning destination, code
74734         branches to different locations depending on the value of
74735         misalignment, when multiarch is enabled. Fix this.
74737 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
74739         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
74740         Set _x86_64_preferred_memory_instruction for AMD processsors.
74741         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74742         Set bit_Prefer_SSE_for_memop for AMD processors.
74744 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
74746         * libio/fmemopen.c (fmemopen): Optimize a bit.
74748 2011-03-03  Andreas Schwab  <schwab@redhat.com>
74750         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
74752 2011-03-03  Roland McGrath  <roland@redhat.com>
74754         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
74756 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
74758         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
74759         __bzero_ultra1 instead of __memset_ultra1.
74761 2011-02-23  Andreas Schwab  <schwab@redhat.com>
74762             Ulrich Drepper  <drepper@gmail.com>
74764         [BZ #12509]
74765         * include/link.h (struct link_map): Add l_orig_initfini.
74766         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
74767         returning unsuccessfully.
74768         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
74769         close of a file loaded at startup, restore the original l_initfini
74770         list.
74771         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
74772         list, store the pointer.
74773         * elf/Makefile ($(objpfx)noload-mem): New rule.
74774         (noload-ENV): Define.
74775         (tests): Add $(objpfx)noload-mem.
74776         * elf/noload.c: Include <memcheck.h>.
74777         (main): Call mtrace.  Close all opened handles.
74779 2011-02-17  Andreas Schwab  <schwab@redhat.com>
74781         [BZ #12454]
74782         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
74783         dependencies are missing.
74785 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74787         Fix __if_freereq crash: Unlike the generic version which uses free,
74788         Hurd needs munmap.
74789         * sysdeps/mach/hurd/ifreq.h: New file.
74791 2011-01-27  Petr Baudis  <pasky@suse.cz>
74792             Ulrich Drepper  <drepper@gmail.com>
74794         [BZ 12445]#
74795         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
74796         to extend_alloca().
74797         * stdio-common/bug23.c: New file.
74798         * stdio-common/Makefile (tests): Add bug23.
74800 2010-09-28  Andreas Schwab  <schwab@redhat.com>
74801             Ulrich Drepper  <drepper@gmail.com>
74803         [BZ #12489]
74804         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
74805         before performing relro protection.  At old place add assertion
74806         to make sure nothing changed.
74808 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
74809             Glauber de Oliveira Costa  <glommer@gmail.com>
74811         * elf/elf.h: Add new ARM TLS relocs.
74813 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
74815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
74816         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
74817         cast from r3.
74818         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
74819         'tests' variable.
74820         * sysdeps/wordsize-64/tst-writev.c: New file.
74822 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
74824         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
74825         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
74826         insns in _dl_start to prevent a TOC reference before relocs are
74827         resolved.
74829 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
74831         [BZ #12469]
74832         * Makeconfig: Remove RANLIB definition.
74833         * Makerules: Don't use RANLIB.
74834         * aclocal.m4: Remove ranlib test.
74835         * configure.in: No need to check for ranlib.
74836         * elf/rtld-Rules: Don't use RANLIB.
74838 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74840         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
74841         protection macro.
74842         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
74843         inclusion protection macro.
74845         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
74846         SIGRTMIN and SIGRTMAX and print information in that case only when
74847         SIGRTMIN is defined.
74849 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
74851         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
74852         arginfo fn returning -1.
74854         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
74855         and thousands string is zero terminated.
74857 2011-02-03  Andreas Schwab  <schwab@redhat.com>
74859         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
74860         sysdeps/unix/sysv/linux/bits/socket.h.
74862 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74864         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
74865         (__CPU_COUNT): Remove old macros.
74866         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
74867         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
74868         (__CPU_ALLOC, __CPU_FREE): Add macros.
74869         (__sched_cpualloc, __sched_cpufree): Add declarations.
74871 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
74873         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
74874         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
74875         * nscd/aicache.c (addhstaiX): Return timeout of added value.
74876         (readdhstai): Return value of addhstaiX call.
74877         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
74878         (addgrbyX): Return value returned by cache_addgr.
74879         (readdgrbyname): Return value returned by addgrbyX.
74880         (readdgrbygid): Likewise.
74881         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
74882         (addpwbyX): Return value returned by cache_addpw.
74883         (readdpwbyname): Return value returned by addhstbyX.
74884         (readdpwbyuid): Likewise.
74885         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
74886         (addservbyX): Return value returned by cache_addserv.
74887         (readdservbyname): Return value returned by addservbyX:
74888         (readdservbyport): Likewise.
74889         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
74890         (addhstbyX): Return value returned by cache_addhst.
74891         (readdhstbyname): Return value returned by addhstbyX.
74892         (readdhstbyaddr): Likewise.
74893         (readdhstbynamev6): Likewise.
74894         (readdhstbyaddrv6): Likewise.
74895         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
74896         (readdinitgroups): Return value returned by addinitgroupsX.
74897         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
74898         (prune_cache): Keep track of timeout value of re-added entries.
74899         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
74900         * nscd/nscd.h: Adjust prototypes of readd* functions.
74902 2011-02-04  Roland McGrath  <roland@redhat.com>
74904         * nis/nis_server.c (nis_servstate): Use the right name for 0.
74905         (nis_stats): Likewise.
74906         * nis/nis_modify.c (nis_modify): Likewise.
74907         * nis/nis_remove.c (nis_remove): Likewise.
74908         * nis/nis_add.c (nis_add): Likewise.
74910         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
74912         * posix/fnmatch_loop.c: Add some consts.
74914         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
74916 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
74918         [BZ #12460]
74919         * config.make.in (config-cflags-novzeroupper): Define.
74920         * configure.in: Substitute libc_cv_cc_novzeroupper.
74921         * elf/Makefile (AVX-CFLAGS): Define.
74922         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
74923         (CFLAGS-tst-auditmod4a.c): Likewise.
74924         (CFLAGS-tst-auditmod4b.c): Likewise.
74925         (CFLAGS-tst-auditmod6b.c): Likewise.
74926         (CFLAGS-tst-auditmod6c.c): Likewise.
74927         (CFLAGS-tst-auditmod7b.c): Likewise.
74928         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
74930 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
74932         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
74933         function to the callback.
74934         Patch partly by Jiri Olsa <jolsa@redhat.com>.
74936 2011-02-02  Andreas Schwab  <schwab@redhat.com>
74938         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
74939         of errno.
74941 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
74943         [BZ #11724]
74944         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
74945         of constructors.
74946         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
74947         of destructors.
74948         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
74950         [BZ #11724]
74951         * elf/Makefile: Add rules to build and run new test.
74952         * elf/tst-initorder.c: New file.
74953         * elf/tst-initorder.exp: New file.
74954         * elf/tst-initordera1.c: New file.
74955         * elf/tst-initordera2.c: New file.
74956         * elf/tst-initordera3.c: New file.
74957         * elf/tst-initordera4.c: New file.
74958         * elf/tst-initorderb1.c: New file.
74959         * elf/tst-initorderb2.c: New file.
74960         * elf/tst-order-a1.c: New file.
74961         * elf/tst-order-a2.c: New file.
74962         * elf/tst-order-a3.c: New file.
74963         * elf/tst-order-a4.c: New file.
74964         * elf/tst-order-b1.c: New file.
74965         * elf/tst-order-b2.c: New file.
74966         * elf/tst-order-main.c: New file.
74967         New test case by George Gensure <werkt0@gmail.com>.
74969 2010-10-01  Andreas Schwab  <schwab@redhat.com>
74971         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
74972         decoding ACE if AI_CANONIDN.
74974 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
74976         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
74978 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
74980         * version.h (RELEASE): Bump for 2.13 release.
74981         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
74983         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
74985         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
74986         MADV_NOHUGEPAGE.
74987         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
74988         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
74989         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
74990         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
74991         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
74992         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
74994         * posix/getconf.c: Update copyright year.
74995         * catgets/gencat.c: Likewise.
74996         * csu/version.c: Likewise.
74997         * debug/catchsegv.sh: Likewise.
74998         * debug/xtrace.sh: Likewise.
74999         * elf/ldconfig.c: Likewise.
75000         * elf/ldd.bash.in: Likewise.
75001         * elf/sprof.c (print_version): Likewise.
75002         * iconv/iconv_prog.c: Likewise.
75003         * iconv/iconvconfig.c: Likewise.
75004         * locale/programs/locale.c: Likewise.
75005         * locale/programs/localedef.c: Likewise.
75006         * malloc/memusage.sh: Likewise.
75007         * malloc/mtrace.pl: Likewise.
75008         * nscd/nscd.c (print_version): Likewise.
75009         * nss/getent.c: Likewise.
75011         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
75012         PF_CAIF, and PF_ALG.
75013         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75015 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
75017         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
75018         (modules-names): Use them.
75019         (ifunc-test-modules, ifunc-pie-tests): Define.
75020         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
75021         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
75022         (test-extras): Likewise.
75023         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
75024         $(compile-command.c).
75025         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
75026         (all-built-dso): Define.
75027         (check-textrel.out, check-execstack.out): Depend on it.
75029         * configure.in: Don't override --enable-multi-arch.
75031 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
75033         [BZ #6812]
75034         * nscd/hstcache.c (tryagain): Define.
75035         (cache_addhst): Return tryagain not notfound for temporary errors.
75036         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
75037         failed.
75039 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
75041         [BZ #10563]
75042         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
75043         to make the syscall.
75044         * sysdeps/unix/sysv/linux/setgroups.c: New file.
75046         [BZ #12378]
75047         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
75048         and fall back to matching as normal character if the string ends before
75049         the matching ']' is found.  This is what POSIX requires.
75050         * posix/testfnm.c: Adjust test result.
75051         * posix/globtest.sh: Adjust test result.  Add new test.
75052         * posix/tst-fnmatch.input: Likewise.
75053         * posix/tst-fnmatch2.c: Add new test.
75055 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
75057         * elf/Makefile (check-execstack): Revert last change.  Depend on
75058         check-execstack.h.
75059         (check-execstack.h): New target.
75060         (generated): Add check-execstack.h.
75061         * elf/check-execstack.c: Include "check-execstack.h".
75062         (main): Revert last change.
75063         (handle_file): Return zero if GNU_STACK is absent and
75064         DEFAULT_STACK_PERMS doesn't include PF_X.
75066 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
75068         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
75069         in child fails because the descriptor is already closed.
75070         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
75071         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
75072         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
75074         [BZ #12397]
75075         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
75076         syscall.
75078         [BZ #10484]
75079         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
75080         temporary buffer used to handle multi lookups locally.
75081         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
75083 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
75085         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
75086         loader is ld.so.
75088 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
75090         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
75091         alignment for SSE2.
75093 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
75095         [BZ #12394]
75096         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
75097         characters.  When rounding increased number of integer digits recompute
75098         number of groups.
75099         * stdio-common/tst-grouping.c: New file.
75100         * stdio-common/Makefile: Add rules to build and run tst-grouping.
75102 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
75104         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
75105         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
75107         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
75108         void.
75109         * bits/select.h: Likewise.
75111 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
75113         * po/ja.po: Update from translation team.
75115 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
75117         [BZ #11155]
75118         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
75119         implementation just like for lxstat, fxstatat, et al.
75121 2010-12-27  Jim Meyering  <meyering@redhat.com>
75123         [BZ #12348]
75124         * posix/regexec.c (build_trtable): Return failure indication upon
75125         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
75127 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
75129         [BZ #12201]
75130         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
75131         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
75132         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
75133         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
75135         [BZ #12207]
75136         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
75138         [BZ #12204]
75139         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
75140         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
75142 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
75144         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
75145         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
75146         script has SORT_BY_INIT_PRIORITY.
75147         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
75148         NO_CTORS_DTORS_SECTIONS is defined.
75149         * elf/soinit.c: Likewise.
75150         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
75151         NO_CTORS_DTORS_SECTIONS is defined.
75152         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
75153         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
75154         * sysdeps/sh/init-first.c: Likewise.
75155         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
75157 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
75159         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
75160         always use the slow path.
75162 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
75164         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
75165         similar rule which adds the sysdep directories to the header search in
75166         order to pick up the correct platform stackinfo.h.
75167         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
75168         perform test if it is, otherwise return successfully without testing.
75169         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
75170         DEFAULT_STACK_PERMS define in stackinfo.h.
75171         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
75172         defined in stackinfo.h.
75173         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
75174         DEFAULT_STACK_PERMS defined in stackinfo.h.
75175         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
75176         * sysdeps/ia64/stackinfo.h: Likewise.
75177         * sysdeps/s390/stackinfo.h: Likewise.
75178         * sysdeps/sh/stackinfo.h: Likewise.
75179         * sysdeps/sparc/stackinfo.h: Likewise.
75180         * sysdeps/x86_64/stackinfo.h: Likewise.
75181         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
75182         PF_X for powerpc64.  Retain PF_X for powerpc32.
75184 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
75186         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
75187         accurately.
75188         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
75189         GETDENTS_64BIT_ALIGNED.
75191 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
75193         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
75195 2010-12-10  Andreas Schwab  <schwab@redhat.com>
75197         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
75198         _GNU_SOURCE.
75200         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
75201         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
75202         Remove __restrict.
75203         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
75204         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
75206 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
75208         [BZ #11655]
75209         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
75210         are initialized.
75212 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
75214         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
75216 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
75218         * po/it.po: Update from translation team.
75220 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
75222         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
75223         unused codes.
75225 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
75227         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
75229 2010-11-24  Andreas Schwab  <schwab@redhat.com>
75231         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
75232         specially.
75233         (gaih_getanswer_slice): Likewise.
75235 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
75237         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
75239 2010-05-31  Petr Baudis  <pasky@suse.cz>
75241         [BZ #11149]
75242         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
75243         silently even in the chroot mode.
75245 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
75247         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
75248         last patch a bit.  Pretty printing
75250 2010-05-31  Petr Baudis <pasky@suse.cz>
75252         [BZ #10085]
75253         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
75254         initialization of skip_initgroups_dyn.
75256 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
75258         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
75259         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
75261 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
75263         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
75265 2010-11-11  Andreas Schwab  <schwab@redhat.com>
75267         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
75268         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
75269         (tst-fnmatch-ENV): Set MALLOC_TRACE.
75270         ($(objpfx)tst-fnmatch-mem): New rule.
75271         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
75272         * posix/tst-fnmatch.c (main): Call mtrace.
75274 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
75276         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75277         Support Intel processor model 6 and model 0x2c.
75279 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
75281         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
75282           signed comparison.
75284 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
75286         [BZ #12205]
75287         * string/test-strncasecmp.c (check_result): New function.
75288         (do_one_test): Use it.
75289         (check1): New function.
75290         (test_main): Use it.
75291         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
75292         Support strcasecmp and strncasecmp.
75294 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
75296         [BZ #12194]
75297         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
75298         * sysdeps/x86_64/bits/byteswap.h: Likewise.
75300 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
75302         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
75303         IFUNC support.
75304         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75305         memset-x86-64.
75306         * sysdeps/x86_64/multiarch/bzero.S: New file.
75307         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
75308         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
75309         * sysdeps/x86_64/multiarch/memset.S: New file.
75310         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
75311         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75312         Set bit_Prefer_SSE_for_memop for Intel processors.
75313         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
75314         Define.
75315         (index_Prefer_SSE_for_memop): Define.
75316         (HAS_PREFER_SSE_FOR_MEMOP): Define.
75318 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
75320         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
75321         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
75323 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
75325         [BZ #12191]
75326         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
75327         (__x86_64_raw_data_cache_size_half): Likewise.
75328         (__x86_64_raw_shared_cache_size): Likewise.
75329         (__x86_64_raw_shared_cache_size_half): Likewise.
75331         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
75332         (__x86_64_raw_data_cache_size_half): Likewise.
75333         (__x86_64_raw_shared_cache_size): Likewise.
75334         (__x86_64_raw_shared_cache_size_half): Likewise.
75335         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
75336         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
75337         and __x86_64_raw_shared_cache_size_half.  Round
75338         __x86_64_data_cache_size_half, __x86_64_data_cache_size
75339         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
75340         to multiple of 256 bytes.
75342 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
75344         [BZ #12167]
75345         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
75346         of inacessible symlinks.  Verify result of symlink before returning it.
75347         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
75348         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
75350 2010-10-28  Erich Ritz  <erichritz@gmail.com>
75352         * math/math.h (isinf): Fix typo in comment.
75354 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
75356         * po/da.po: Update from translation team.
75358 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
75360         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
75361         is added to the list.
75363 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75364             Ulrich Drepper  <drepper@gmail.com>
75366         * elf/dl-object.c (_dl_new_object): Don't append the new object to
75367         the global list here.  Move code to...
75368         (_dl_add_to_namespace_list): ...here.  New function.
75369         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
75370         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
75371         * elf/dl-load.c (lose): Don't remove the element from the list.
75372         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
75373         (_dl_map_object): Likewise.
75375 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
75377         [BZ #12159]
75378         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
75379         into all bytes of SSE register.
75380         Patch by Richard Li <richardpku@gmail.com>.
75382 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
75384         [BZ #12140]
75385         * malloc/malloc.c (_int_free): Fill correct number of bytes when
75386         perturbing.
75388 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
75390         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
75391         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
75392         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
75393         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
75394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
75395         submachine.
75396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
75398 2010-10-22  Andreas Schwab  <schwab@redhat.com>
75400         * include/dlfcn.h (__RTLD_SECURE): Define.
75401         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
75402         mode & __RTLD_SECURE instead.
75403         (open_path): Rename preloaded parameter to secure.
75404         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
75405         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
75406         * elf/dl-deps.c (openaux): Likewise.
75407         * elf/rtld.c (struct map_args): Remove is_preloaded.
75408         (map_doit): Don't use it.
75409         (dl_main): Likewise.
75410         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
75411         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
75413 2010-09-09  Andreas Schwab  <schwab@redhat.com>
75415         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
75416         (sysd-rules-targets): Remove duplicates.
75417         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
75418         rtld-%.$o dependency.
75420 2010-10-18  Andreas Schwab  <schwab@redhat.com>
75422         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
75423         _dl_map_object do it.
75425 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
75427         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
75428         fast fma builtins, define the macros in the C99 standard.
75429         (FP_FAST_FMAF): Likewise.
75430         (FP_FAST_FMAL): Likewise.
75431         * sysdeps/x86_64/bits/mathdef.h: Likewise.
75433         * bits/mathdef.h: Update copyright year.
75434         * sysdeps/powerpc/bits/mathdef.h: Likewise.
75436 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
75438         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
75439         builtins, define the macros in the C99 standard.
75440         (FP_FAST_FMAF): Likewise.
75441         (FP_FAST_FMAL): Likewise.
75442         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
75443         multiply/add.
75444         (FP_FAST_FMAF): Likewise.
75446 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
75448         [BZ #3268]
75449         * math/libm-test.inc (fma_test): Some new testcases.
75450         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
75451         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
75452         y and infinite z.  Do multiplication by C already in long double.
75453         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
75454         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
75455         y and infinite z.  Do bitwise or of inexact bit into u.d.
75456         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
75457         * sysdeps/i386/fpu/s_fmaf.S: Removed.
75458         * sysdeps/i386/fpu/s_fma.S: Removed.
75459         * sysdeps/i386/fpu/s_fmal.S: Removed.
75461 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
75463         [BZ #3268]
75464         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
75465         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
75466         computation is not scheduled after fetestexcept.  Fix value
75467         of minimum denormal long double.
75469 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
75471         [BZ #3268]
75472         * math/libm-test.inc (fma_test): Add some more tests.
75473         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
75474         correctly.
75476 2010-10-15  Andreas Schwab  <schwab@redhat.com>
75478         * scripts/data/localplt-s390-linux-gnu.data: New file.
75479         * scripts/data/localplt-s390x-linux-gnu.data: New file.
75481 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
75483         [BZ #3268]
75484         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
75485         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
75486         instead of dbl-64.
75487         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
75488         inlines.
75489         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
75490         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
75491         if one of x and y is very large and the other is subnormal.
75492         * sysdeps/s390/fpu/s_fmaf.c: New file.
75493         * sysdeps/s390/fpu/s_fma.c: New file.
75494         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
75495         * sysdeps/powerpc/fpu/s_fma.S: New file.
75496         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
75497         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
75498         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
75500 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
75502         [BZ #3268]
75503         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
75504         fma tests.
75505         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
75506         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
75507         * sysdeps/i386/i686/multiarch/s_fma.c: Include
75508         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
75509         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
75510         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
75511         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
75513 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
75515         [BZ #12078]
75516         * posix/regcomp.c (parse_branch): One more memory leak plugged.
75517         * posix/bug-regex31.input: Add test case.
75519 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
75521         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
75522         * posix/bug-regex31.input: New file.
75524         [BZ #12078]
75525         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
75526         (parse_sub_exp): Fix last change, use postorder.
75528         * posix/bug-regex31.c: New file.
75529         * posix/Makefile: Add rules to build and run bug-regex31.
75531         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
75533         [BZ #12078]
75534         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
75536         [BZ #12108]
75537         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
75538         to have entries in sys_siglist.
75540         [BZ #12093]
75541         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
75542         be NULL.
75544 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
75546         [BZ #3268]
75547         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
75548         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
75549         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
75550         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
75551         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
75552         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
75553         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
75554         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
75555         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
75556         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
75557         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
75558         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
75559         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
75560         * math/ftestexcept.c (fetestexcept): Likewise.
75561         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
75562         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
75563         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
75564         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
75565         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
75566         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
75567         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
75569 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
75571         [BZ #12107]
75572         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
75573         newline.
75575 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
75577         * string/bug-strstr1.c: New file.
75578         * string/Makefile: Add rules to build and run bug-strstr1.
75580 2010-10-05  Eric Blake  <eblake@redhat.com>
75582         [BZ #12092]
75583         * string/str-two-way.h (two_way_long_needle): Always clear memory
75584         when skipping input due to the shift table.
75586 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
75588         [BZ #12005]
75589         * malloc/mcheck.c: Handle large requests.
75591         [BZ #12077]
75592         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
75593         for strncmp and strncasecmp.
75594         * string/stratcliff.c: Add tests for strcmp and strncmp.
75595         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
75597 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
75599         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
75600         __set_fpscr.
75602 2010-09-30  Andreas Jaeger  <aj@suse.de>
75604         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
75605         (CGROUP_SUPER_MAGIC): Define.
75606         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
75607         Handle btrfs and cgroup file systems.
75608         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
75609         Likewise.
75611 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
75613         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
75614         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
75616 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75618         [BZ #12067]
75619         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
75620         trying to locate the ELF header.
75622 2010-09-27  Andreas Schwab  <schwab@redhat.com>
75624         [BZ #11611]
75625         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
75626         Mask out sign-bit copies when constructing f_fsid.
75628 2010-09-24  Petr Baudis <pasky@suse.cz>
75630         * debug/stack_chk_fail_local.c: Add missing licence exception.
75631         * debug/warning-nop.c: Likewise.
75633 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
75635         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
75636         implementing getdents64 using getdents syscall, set d_type if
75637         __ASSUME_GETDENTS32_D_TYPE.
75639 2010-09-16  Andreas Schwab  <schwab@redhat.com>
75641         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
75642         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
75644 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
75646         [BZ #12037]
75647         * posix/unistd.h: Undo change of feature selection for ftruncate from
75648         2010-01-11.
75650 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
75652         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
75653         detection.
75655 2010-09-20  Andreas Schwab  <schwab@redhat.com>
75657         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
75658         fanotify_mark.
75659         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
75661 2010-09-14  Andreas Schwab  <schwab@redhat.com>
75663         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
75664         variables after CHECK_SP call.
75665         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
75667 2010-09-13  Andreas Schwab  <schwab@redhat.com>
75668             Ulrich Drepper  <drepper@redhat.com>
75670         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
75671         re-relocationg ld.so.
75672         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
75673         _dl_init_paths call.
75674         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
75675         here anymore.
75677 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
75679         * resolv/res_init.c (__res_vinit): Count the default server we added.
75681 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
75682             Ulrich Drepper  <drepper@redhat.com>
75684         [BZ #11968]
75685         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
75686         (____longjmp_chk): Use %ebx for saving value across system call.
75687         Add unwind info.
75689 2010-09-06  Andreas Schwab  <schwab@redhat.com>
75691         * manual/Makefile: Don't mix pattern rules with normal rules.
75693 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
75695         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
75696         operation.
75697         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
75698         * libio/iofopncook.c (_IO_cookie_init): Likewise.
75699         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
75700         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
75701         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75702         Likewise.
75704 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
75706         [BZ #11979]
75707         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
75708         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
75710 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
75712         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
75713         * sysdeps/x86_64/addmul_1.S: Likewise.
75714         * sysdeps/x86_64/lshift.S: Likewise.
75715         * sysdeps/x86_64/mul_1.S: Likewise.
75716         * sysdeps/x86_64/rshift.S: Likewise.
75717         * sysdeps/x86_64/sub_n.S: Likewise.
75718         * sysdeps/x86_64/submul_1.S: Likewise.
75720 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75722         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
75723         Define __sched_param instead of SCHED_* and sched_param when
75724         <bits/sched.h> is included with __need_schedparam defined.
75725         * bits/sched.h [__need_schedparam]
75726         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
75727         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
75728         (__defined_schedparam): Define to 1.
75729         (__sched_param): New structure, identical to sched_param.
75730         (__need_schedparam): Undefine.
75732 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
75734         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
75735         (epoll_create1): Declare.
75737         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
75739 2010-08-31  Andreas Schwab  <schwab@redhat.com>
75741         [BZ #7066]
75742         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
75743         shifting retval into place.
75745 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
75747         * nis/rpcsvc/nis.h: Update copyright notice.
75748         * nis/rpcsvc/nis.x: Likewise.
75749         * nis/rpcsvc/nis_callback.h: Likewise.
75750         * nis/rpcsvc/nis_callback.x: Likewise.
75751         * nis/rpcsvc/nis_object.x: Likewise.
75752         * nis/rpcsvc/nis_tags.h: Likewise.
75753         * nis/rpcsvc/yp.h: Likewise.
75754         * nis/rpcsvc/yp.x: Likewise.
75755         * nis/rpcsvc/ypupd.h: Likewise.
75756         * nis/yp_xdr.c: Likewise.
75757         * nis/ypupdate_xdr.c: Likewise.
75759         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
75760         mainly the body of pmap_getport.  Add parameters to specify timeouts.
75761         (pmap_getport): Use __libc_rpc_getport.
75762         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
75763         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
75764         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
75766 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
75768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
75769         fanotify_mark.
75771 2010-08-27  Roland McGrath  <roland@redhat.com>
75773         * sysdeps/i386/i686/multiarch/Makefile
75774         (CFLAGS-varshift.c): New variable.
75776 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
75778         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
75779         * sysdeps/i386/i686/multiarch/varshift.c: New file.
75781         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
75783         * sysdeps/x86_64/strlen.S: Minimal code improvement.
75785 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
75787         * sysdeps/x86_64/strlen.S: Unroll the loop.
75788         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75789         strlen-sse2 strlen-sse2-bsf.
75790         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
75791         __strlen_no_bsf if bit_Slow_BSF is set.
75792         (__strlen_sse42): Removed.
75793         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
75794         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
75796 2010-08-25  Roland McGrath  <roland@redhat.com>
75798         * sysdeps/x86_64/multiarch/varshift.S: File removed.
75799         * sysdeps/x86_64/multiarch/varshift.c: New file.
75800         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
75801         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
75802         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
75803         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
75805 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
75807         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75808         strlen-sse2 strlen-sse2-bsf.
75809         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
75810         __strlen_sse2_bsf if bit_Slow_BSF is unset.
75811         (__strlen_sse2): Removed.
75812         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
75813         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
75814         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
75815         bit_Slow_BSF for Atom.
75816         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
75817         (index_Slow_BSF): Define.
75818         (HAS_SLOW_BSF): Define.
75820 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
75822         [BZ #10851]
75823         * resolv/res_init.c (__res_vinit): When no server address at all
75824         is given default to loopback.
75826 2010-08-24  Roland McGrath  <roland@redhat.com>
75828         * configure.in: Remove config-name.h generation.
75829         * configure: Regenerated.
75830         * config-name.in: File removed.
75831         * scripts/config-uname.sh: New file.
75832         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
75833         ($(objdir)config-name.h): New target.
75835         * sunrpc/rpc_parse.h: Avoid nested comment.
75837 2010-08-24  Richard Henderson  <rth@redhat.com>
75838             Ulrich Drepper  <drepper@redhat.com>
75839             H.J. Lu  <hongjiu.lu@intel.com>
75841         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
75842         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
75843         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
75844         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
75845         _mm_alignr_epi8 with _mm_loadu_si128.
75846         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
75847         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
75848         (__m128i_shift_right): Removed.
75849         * sysdeps/i386/i686/multiarch/varshift.h: New file.
75850         * sysdeps/i386/i686/multiarch/varshift.S: New file.
75851         * sysdeps/x86_64/multiarch/varshift.h: New file.
75852         * sysdeps/x86_64/multiarch/varshift.S: New file.
75854 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
75856         * configure.in: Move assembler checks to before sysdep dir checking.
75858 2010-08-20  Petr Baudis  <pasky@suse.cz>
75860         * LICENSES: Sync the sunrpc license.
75862 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
75864         * sunrpc/auth_des.c: Update copyright notice once again.
75865         * sunrpc/auth_none.c: Likewise.
75866         * sunrpc/auth_unix.c: Likewise.
75867         * sunrpc/authdes_prot.c: Likewise.
75868         * sunrpc/authuxprot.c: Likewise.
75869         * sunrpc/bindrsvprt.c: Likewise.
75870         * sunrpc/clnt_gen.c: Likewise.
75871         * sunrpc/clnt_perr.c: Likewise.
75872         * sunrpc/clnt_raw.c: Likewise.
75873         * sunrpc/clnt_simp.c: Likewise.
75874         * sunrpc/clnt_tcp.c: Likewise.
75875         * sunrpc/clnt_udp.c: Likewise.
75876         * sunrpc/clnt_unix.c: Likewise.
75877         * sunrpc/des_crypt.c: Likewise.
75878         * sunrpc/des_soft.c: Likewise.
75879         * sunrpc/get_myaddr.c: Likewise.
75880         * sunrpc/getrpcport.c: Likewise.
75881         * sunrpc/key_call.c: Likewise.
75882         * sunrpc/key_prot.c: Likewise.
75883         * sunrpc/openchild.c: Likewise.
75884         * sunrpc/pm_getmaps.c: Likewise.
75885         * sunrpc/pm_getport.c: Likewise.
75886         * sunrpc/pmap_clnt.c: Likewise.
75887         * sunrpc/pmap_prot.c: Likewise.
75888         * sunrpc/pmap_prot2.c: Likewise.
75889         * sunrpc/pmap_rmt.c: Likewise.
75890         * sunrpc/rpc/auth.h: Likewise.
75891         * sunrpc/rpc/auth_unix.h: Likewise.
75892         * sunrpc/rpc/clnt.h: Likewise.
75893         * sunrpc/rpc/des_crypt.h: Likewise.
75894         * sunrpc/rpc/key_prot.h: Likewise.
75895         * sunrpc/rpc/netdb.h: Likewise.
75896         * sunrpc/rpc/pmap_clnt.h: Likewise.
75897         * sunrpc/rpc/pmap_prot.h: Likewise.
75898         * sunrpc/rpc/pmap_rmt.h: Likewise.
75899         * sunrpc/rpc/rpc.h: Likewise.
75900         * sunrpc/rpc/rpc_des.h: Likewise.
75901         * sunrpc/rpc/rpc_msg.h: Likewise.
75902         * sunrpc/rpc/svc.h: Likewise.
75903         * sunrpc/rpc/svc_auth.h: Likewise.
75904         * sunrpc/rpc/types.h: Likewise.
75905         * sunrpc/rpc/xdr.h: Likewise.
75906         * sunrpc/rpc_clntout.c: Likewise.
75907         * sunrpc/rpc_cmsg.c: Likewise.
75908         * sunrpc/rpc_common.c: Likewise.
75909         * sunrpc/rpc_cout.c: Likewise.
75910         * sunrpc/rpc_dtable.c: Likewise.
75911         * sunrpc/rpc_hout.c: Likewise.
75912         * sunrpc/rpc_main.c: Likewise.
75913         * sunrpc/rpc_parse.c: Likewise.
75914         * sunrpc/rpc_parse.h: Likewise.
75915         * sunrpc/rpc_prot.c: Likewise.
75916         * sunrpc/rpc_sample.c: Likewise.
75917         * sunrpc/rpc_scan.c: Likewise.
75918         * sunrpc/rpc_scan.h: Likewise.
75919         * sunrpc/rpc_svcout.c: Likewise.
75920         * sunrpc/rpc_tblout.c: Likewise.
75921         * sunrpc/rpc_util.c: Likewise.
75922         * sunrpc/rpc_util.h: Likewise.
75923         * sunrpc/rpcinfo.c: Likewise.
75924         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
75925         * sunrpc/rpcsvc/key_prot.x: Likewise.
75926         * sunrpc/rpcsvc/klm_prot.x: Likewise.
75927         * sunrpc/rpcsvc/mount.x: Likewise.
75928         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
75929         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
75930         * sunrpc/rpcsvc/rex.x: Likewise.
75931         * sunrpc/rpcsvc/rstat.x: Likewise.
75932         * sunrpc/rpcsvc/rusers.x: Likewise.
75933         * sunrpc/rpcsvc/sm_inter.x: Likewise.
75934         * sunrpc/rpcsvc/spray.x: Likewise.
75935         * sunrpc/rpcsvc/yppasswd.x: Likewise.
75936         * sunrpc/rtime.c: Likewise.
75937         * sunrpc/svc.c: Likewise.
75938         * sunrpc/svc_auth.c: Likewise.
75939         * sunrpc/svc_authux.c: Likewise.
75940         * sunrpc/svc_raw.c: Likewise.
75941         * sunrpc/svc_run.c: Likewise.
75942         * sunrpc/svc_simple.c: Likewise.
75943         * sunrpc/svc_tcp.c: Likewise.
75944         * sunrpc/svc_udp.c: Likewise.
75945         * sunrpc/svc_unix.c: Likewise.
75946         * sunrpc/svcauth_des.c: Likewise.
75947         * sunrpc/xcrypt.c: Likewise.
75948         * sunrpc/xdr.c: Likewise.
75949         * sunrpc/xdr_array.c: Likewise.
75950         * sunrpc/xdr_float.c: Likewise.
75951         * sunrpc/xdr_mem.c: Likewise.
75952         * sunrpc/xdr_rec.c: Likewise.
75953         * sunrpc/xdr_ref.c: Likewise.
75954         * sunrpc/xdr_sizeof.c: Likewise.
75955         * sunrpc/xdr_stdio.c: Likewise.
75957         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
75958         handling.
75960 2010-08-19  Andreas Schwab  <schwab@redhat.com>
75962         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
75964 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
75966         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
75967         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
75968         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
75969         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
75970         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
75971         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
75972         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
75973         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
75974         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
75975         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
75976         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
75977         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
75978         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
75979         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
75981 2010-07-26  Anton Blanchard  <anton@samba.org>
75983         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
75984         * malloc/arena.c (heap_trim): Likewise.
75986 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
75988         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
75989         here.  Not...
75990         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
75991         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
75993 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
75995         * sysdeps/i386/elf/Makefile: New file.
75997 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
75999         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
76000         from fanotify_init.
76001         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
76002         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
76004 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
76006         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
76007         of strncasecmp_l.
76008         * sysdeps/multiarch/strcmp.S: Likewise.
76010 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
76012         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
76013         strncase_l-nonascii.
76014         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
76015         Add strncase_l-ssse3.
76016         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
76017         * sysdeps/x86_64/strcmp.S: Likewise.
76018         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
76019         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
76020         * sysdeps/x86_64/strncase.S: New file.
76021         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
76022         * sysdeps/x86_64/strncase_l.S: New file.
76023         * string/Makefile (strop-tests): Add strncasecmp.
76024         * string/test-strncasecmp.c: New file.
76026         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
76027         warning.
76029         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
76030         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
76032 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
76034         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
76036 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
76038         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
76039         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
76040         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
76042 2010-05-01  Alan Modra  <amodra@gmail.com>
76044         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
76045         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
76046         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
76047         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
76048         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
76049         tidying.  Don't tail-call __sigjmp_save for static lib.
76050         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
76051         save location.
76052         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
76053         (CALL_MCOUNT): Add eh info, and nop after bl.
76054         (TAIL_CALL_SYSCALL_ERROR): New macro.
76055         (PSEUDO_RET): Use it.
76056         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
76057         Correct save location of integer regs and cr.
76058         (_dl_profile_resolve): Correct cr save location.  Delete nops
76059         after bl when SHARED.  Reduce cfi size a little by better
76060         placement of cfi directives.
76061         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
76062         make a stack frame.  Instead use parm save area as a temp.
76063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
76064         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
76065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
76066         Don't make a stack frame for parent, use parm save area.
76067         Increase child stack frame to 112 bytes.  Don't save unused reg,
76068         and adjust reg usage.  Set up cfi on error recovery and
76069         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
76070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
76071         (__makecontext): Add dummy nop after jump to exit.
76072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
76073         Use correct parm save area and cr save, reduce stack frame.
76074         Correct cfi for possible PSEUDO_RET frame setup.
76075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
76076         Branch to local label emitted by PSEUDO_RET rather than
76077         __syscall_error.
76079 2010-08-12  Andreas Schwab  <schwab@redhat.com>
76081         [BZ #11904]
76082         * locale/programs/locale.c (print_assignment): New function.
76083         (show_locale_vars): Use it.
76085 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
76087         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
76088         field.
76089         (struct statfs64): Likewise.
76090         (_STATFS_F_FLAGS): Define.
76091         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
76092         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76093         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
76094         (ST_VALID): Define locally.
76095         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
76096         __statvfs_getflags, use the provided value.
76097         * sysdeps/unix/sysv/linux/kernel-features.h: Define
76098         __ASSUME_STATFS_F_FLAGS.
76100         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
76102         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
76103         Add sys/fanotify.h.
76104         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
76105         fanotify_mask for GLIBC_2.13.
76106         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
76107         fanotify_init and fanotify_mark.
76108         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
76109         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
76111         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
76112         Add prlimit.
76113         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
76114         prlimit64 for GLIBC_2.13.
76115         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
76116         prlimit64.
76117         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
76118         syscall.
76119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
76120         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
76121         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
76122         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
76123         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
76124         add prlimit alias.
76125         * sysdeps/unix/sysv/linux/prlimit.c: New file.
76127         [BZ #11903]
76128         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
76129         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
76131         * nss/Makefile: Add rules to build and run tst-nss-test1.
76132         * shlib-versions: Add entry for libnss_test1.
76133         * nss/nss_test1.c: New file.
76134         * nss/tst-nss-test1.c: New file.
76136         * nss/nsswitch.c (__nss_database_custom): Define new variable.
76137         (__nss_configure_lookup): Set appropriate entry in
76138         __nss_configure_lookup to true.
76139         * nss/nsswitch.h: Define enum with indeces of databases in
76140         databases and __nss_database_custom arrays.  Declare
76141         __nss_database_custom.
76142         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
76143         to avoid using nscd when custom rules are installed.
76144         * nss/getXXbyYY_r.c: Likewise.
76145         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
76147         * nss/nss_files/files-parse.c: Whitespace fixes.
76149 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
76151         [BZ #11883]
76152         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
76153         * posix/fnmatch_loop.c: Likewise.
76155 2010-07-17  Andi Kleen  <ak@linux.intel.com>
76157         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
76158         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
76159         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
76160         * Versions.def [GLIBC_2.13]: Add.
76162 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
76164         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
76165         Also fail if tpwd after pwuid call is NULL.
76167 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76169         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
76170         when converting to ms.
76172 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76174         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
76175         EOPNOTSUPP errors with ENOTTY.
76176         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
76177         EOPNOTSUPP errors with ENOTTY.
76179 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
76181         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
76182         Add strcasecmp_l-ssse3.
76183         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
76184         strcasecmp.
76185         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
76186         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
76187         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
76189 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
76191         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
76193         * string/Makefile (strop-tests): Add strcasecmp.
76194         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
76195         strcasecmp_l-nonascii.
76196         (gen-as-const-headers): Add locale-defines.sym.
76197         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
76198         * sysdeps/x86_64/strcasecmp.S: New file.
76199         * sysdeps/x86_64/strcasecmp_l.S: New file.
76200         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
76201         * sysdeps/x86_64/locale-defines.sym: New file.
76202         * string/test-strcasecmp.c: New file.
76204         * string/test-strcasestr.c: Test both ends of the range of characters.
76205         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
76207 2010-07-29  Roland McGrath  <roland@redhat.com>
76209         [BZ #11856]
76210         * manual/locale.texi (Yes-or-No Questions): Fix example code.
76212 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
76214         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
76215         for ld.so.
76217 2010-07-27  Andreas Schwab  <schwab@redhat.com>
76219         * manual/memory.texi (Malloc Tunable Parameters): Document
76220         M_PERTURB.
76222 2010-07-26  Roland McGrath  <roland@redhat.com>
76224         [BZ #11840]
76225         * configure.in (-fgnu89-inline check): Set and substitute
76226         gnu89_inline, not libc_cv_gnu89_inline.
76227         * configure: Regenerated.
76228         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
76230 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
76232         * string/test-strnlen.c: New file.
76233         * string/Makefile (strop-tests): Add strnlen.
76234         * string/tester.c (test_strnlen): Add a few more test cases.
76235         * string/tst-strlen.c: Better error reporting.
76237         * sysdeps/x86_64/strnlen.S: New file.
76239 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
76241         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
76242         lower-latency instructions.
76244 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
76246         * string/test-strcasestr.c: New file.
76247         * string/test-strstr.c: New file.
76248         * string/Makefile (strop-tests): Add strstr and strcasestr.
76249         * string/str-two-way.h: Don't undefine MAX.
76250         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
76252 2010-07-21  Andreas Schwab  <schwab@redhat.com>
76254         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76255         strcasestr-nonascii.
76256         (CFLAGS-strcasestr-nonascii.c): Define.
76257         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
76258         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
76259         Remove unused attribute.
76261 2010-07-20  Roland McGrath  <roland@redhat.com>
76263         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
76264         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
76265         ld.so.cache was broken.  With it, there is no way to disable dsocaps
76266         like LD_HWCAP_MASK can disable hwcaps.
76268 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
76270         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
76272 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
76274         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
76275         call in strcasestr.
76276         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
76277         __strcasestr_sse42_nonascii.
76278         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
76279         strcasestr-nonascii.c.
76280         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
76282 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
76284         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
76285         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
76286         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
76287         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
76289 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
76291         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
76292         fcntl.
76294 2010-07-06  Andreas Schwab  <schwab@redhat.com>
76296         [BZ #11577]
76297         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
76298         dl_signal_cerror.
76300 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
76302         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
76303         _PC_PIPE_BUF using F_GETPIPE_SZ.
76305 2010-07-05  Roland McGrath  <roland@redhat.com>
76307         * manual/arith.texi (Rounding Functions): Fix rint description
76308         implicit in round description.
76310 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
76312         * elf/Makefile: Fix linking for a few tests to make recent linker
76313         happy.
76315 2010-06-30  Andreas Schwab  <schwab@redhat.com>
76317         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
76318         $(common-objpfx)libc_nonshared.a.
76320 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
76322         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
76323         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
76324         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
76325         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
76326         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
76327         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
76328         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
76329         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
76330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
76331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
76332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
76333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
76334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
76335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
76336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
76337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
76338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
76339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
76340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
76341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
76342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
76343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
76344         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
76345         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
76346         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
76347         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
76348         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
76349         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
76350         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
76351         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
76352         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
76353         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
76354         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
76355         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
76356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
76357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
76358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
76359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
76360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
76361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
76362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
76363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
76364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
76365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
76366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
76367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
76368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
76369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
76371 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
76373         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
76374         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
76375         * string/memmove.c (memmove): Renamed to ...
76376         (MEMMOVE): ...this.  Default to memmove.
76377         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
76378         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
76379         (END_CHK): Define.
76380         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76381         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
76382         mempcpy-ssse3-back memmove-ssse3-back.
76383         * sysdeps/x86_64/multiarch/bcopy.S: New file .
76384         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
76385         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
76386         * sysdeps/x86_64/multiarch/memcpy.S: New file.
76387         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
76388         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
76389         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
76390         * sysdeps/x86_64/multiarch/memmove.c: New file.
76391         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
76392         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
76393         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
76394         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
76395         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
76396         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
76397         Define.
76398         (index_Fast_Copy_Backward): Define.
76399         (HAS_ARCH_FEATURE): Define.
76400         (HAS_FAST_REP_STRING): Define.
76401         (HAS_FAST_COPY_BACKWARD): Define.
76403 2010-06-21  Andreas Schwab  <schwab@redhat.com>
76405         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
76406         Restore proper fallback handling.
76408 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
76410         [BZ #11701]
76411         * posix/group_member.c (__group_member): Correct checking loop.
76413         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
76414         OOM in getpwuid_r correctly.  Return error number when the caller
76415         should return, otherwise -1.
76416         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
76417         call returning > 0 value.
76418         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
76420 2010-06-07  Andreas Schwab  <schwab@redhat.com>
76422         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
76423         libc_nonshared.a from targets in modules-names.
76425 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
76427         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
76428         requires it.
76430 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
76432         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
76433         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
76434         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
76435         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
76437 2010-06-02  Andreas Schwab  <schwab@redhat.com>
76439         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
76441 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
76443         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
76444         and F_GETPIPE_SZ.
76445         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
76446         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76447         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76448         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76449         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76450         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76452 2010-06-14  Roland McGrath  <roland@redhat.com>
76454         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
76456 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
76458         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
76459         __REDIRECT followed by __THROW.
76460         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
76461         * posix/getopt.h (getopt): Likewise.
76463 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
76465         * hurd/lookup-at.c (__file_name_lookup_at): Accept
76466         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
76467         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
76468         in AT_FLAGS.
76469         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
76470         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
76472 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
76474         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
76476 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
76478         [BZ #11640]
76479         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76480         Properly check family and model.
76482 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
76484         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
76486 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
76488         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
76490 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
76492         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
76493         symbol reference.
76495 2010-05-19  Andreas Schwab  <schwab@redhat.com>
76497         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
76498         symbol reference.
76500 2010-05-21  Andreas Schwab  <schwab@redhat.com>
76502         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
76503         and internal_recvmmsg.
76504         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
76505         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
76506         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
76507         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
76509         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
76510         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
76511         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
76513 2010-05-20  Andreas Schwab  <schwab@redhat.com>
76515         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
76517 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
76519         POWER7 optimizations.
76520         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
76521         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
76523 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
76525         * version.h: Update for 2.13 development version.
76527 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
76529         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
76530         exceptions.  Return 0.
76532 2010-05-07  Roland McGrath  <roland@redhat.com>
76534         * elf/ldconfig.c (main): Add a const.
76536 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
76538         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
76539         (args_options): Add no-idn option.
76540         (ahosts_keys_int): Add idn_flags to ai_flags.
76541         (parse_option): Handle 'i' option to clear idn_flags.
76543         * malloc/malloc.c (_int_free): Possible race in the most recently
76544         added check.  Only act on the data if no current modification
76545         happened.
76547 See ChangeLog.17 for earlier changes.